把这个指标出现买字的地方做个选股指标
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
源码如下AA1:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);AA:=XMA((AA1-REF(AA1,1))/REF(AA1,1),11)*1000,COLOR0000FF,NODRAW;BB:=EMA(AA,44);CC:=EMA(AA-BB,1),NODRAW;AA2:=XMA(XMA(XMA(EMA(WINNER(C)*100,1),2),2),2),NODRAW;STICKLINE(AA2>30 AND COST(50)0,CC,0,4,0),COLOR000099;STICKLINE(AA2>30 AND COST(50)0,CC,0,3,0),COLOR0000CC;STICKLINE(AA2>30 AND COST(50)0,CC,0,2,0),COLOR0000FF;STICKLINE(AA2>30 AND COST(50)0,CC,0,0.5,0),COLORCC66FF;STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,4,0),COLOR990099;STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,3,0),COLORBB00BB;STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,2,0),COLORDD00DD;STICKLINE(AA2>30 AND COST(50)>C AND CC>0,CC,0,0.5,0),COLORFF00FF;STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,4,0),COLOR000099;STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,3,0),COLOR0000CC;STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,2,0),COLOR0000BB;STICKLINE(AA2<30 AND COST(50)>C AND CC>0,CC,0,1,0),COLOR0000FF;STICKLINE(AA2>30 AND COST(50)C AND CC<0,CC,0,3,0),COLOR009900;A1:=MA(C,1);A5:=MA(C,5);A6:=MA(C,6);DRAWICON(CROSS(1,5),0,1);DRAWTEXT(CROSS( CC,0),0,'*买'),COLORYELLOW;DRAWTEXT(CROSS(0, CC),0,'*卖'),COLORGREEN; 谢谢
解答:
AA1:=XMA(XMA(XMA(EMA(C,1),2),2),2);
AA:=XMA((AA1-REF(AA1,1))/REF(AA1,1),11)*1000;
BB:=EMA(AA,44);
CC:=EMA(AA-BB,1);
买:CROSS(CC,0);
选股票看什么指标最好 >
股票指标网
精彩评论