将此均线操盘主图公式,在出现机会时做选股副图
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

请将此TDX均线操盘公式,在出现机会时做一个副图选股指标。谢谢。

源码如下:
MA10:MA(C,5),COLORGREEN;
MA20:MA(C,24),COLORYELLOW;
MA30:MA(C,39),COLORWHITE;
MA40:=MA(C,72),COLORBLUE;
AAB:=MA10+MA20+MA30;
BB0:=AAB/3;
CC1:=ABS(BB0-MA10)/BB0<=0.00618;
CC2:=ABS(BB0-MA20)/BB0<=0.00618;
CC3:=ABS(BB0-MA30)/BB0<=0.00618;
XG:=CC1 AND CC2 AND CC3;
TJ:=MA20>MA10;
DRAWTEXT(XG ,L-L*0.02,'机'),COLORYELLOW;
DRAWTEXT(XG ,L-L*0.04,'会'),COLORYELLOW;

 
解答如下:
MA10:=MA(C,5),COLORGREEN;
MA20:=MA(C,24),COLORYELLOW;
MA30:=MA(C,39),COLORWHITE;
MA40:=MA(C,72),COLORBLUE;
AAB:=MA10+MA20+MA30;
BB0:=AAB/3;
CC1:=ABS(BB0-MA10)/BB0<=0.00618;
CC2:=ABS(BB0-MA20)/BB0<=0.00618;
CC3:=ABS(BB0-MA30)/BB0<=0.00618;
XG:CC1 AND CC2 AND CC3;

 


选股票看什么指标最好 >股票指标网