以下是通达信一阳定势启动副图/选股预警源码

一阳定势启动副图/选股预警 通达信 源码 附图

 量比:=V/REF(MA(V,1),1);
五日涨幅:((C-REF(C,5))/REF(C,5)*100)NODRAW;
今获利:WINNER(C)*100,NODRAW;
昨获利:=REF(今获利,1);
获利比增:今获利-昨获利,NODRAW;

多方力度:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00FFFF,LINETHICK2;
空方力度:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))COLOR00EC00,LINETHICK1;
 RSV:=(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
 VAR2:=EMA(VAR1,8);
 VAR3:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);

趋势线:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4;
牛熊线:=MA(CLOSE,26);
生命线:=EMA(CLOSE,55);
 JD1:=MAX(MAX(趋势线,牛熊线),生命线);
JX1:=MIN(MIN(趋势线,牛熊线),生命线);
一阳定势:(C>JD1 AND O<JX1 AND 量比>1 AND CROSS(多方力度,空方力度) AND C/REF(C,1)>1.02);
金银袋:(C>生命线 AND L <生命线 AND C>趋势线 AND CROSS(多方力度,空方力度) AND C/REF(C,1)>1.02 AND 量比>1.1 AND C>O AND H/MAX(O,C)<1.05);
红钻石:C/REF(C,1)>1.03 AND 量比>1.1 AND CROSS(多方力度,空方力度);
JD2:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));
 JX2:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
一阳三线:(JX2/JD2*100>98.5 AND C>JD2 AND O<JX2 AND REF(MA(C,20),1)/MA(C,20)<1);
金手指:(H>JD1 AND L<JX1) AND C/REF(C,1)>1.03 AND 量比>1.3 AND H/MAX(O,C)<1.03;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。