以下是通达信出击 (源码)
MA1:EXPMA(CLOSE,12);
A2:= MA(C,60)>=REF(MA(C,60),1);
A3:= MA(C,150)>=REF(MA(C,150),1);
VS:=EVERY(A2,2);
VS1:=EVERY(A3,2);
短:=((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)-50)*1.032+50),COLORRED;
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
长:=EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00;
判:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
VAR5:=CROSS(短,长)AND 长<25;
STICKLINE(VAR5 AND VS1,C,O,3,0) ;
DRAWTEXT(VAR5 AND VS1,O,’出击’);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)