以下是通达信短买预警源码
K30:=SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100),3,1);
A1:=REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4);
SST:=C>REF(O,3);
ST1:=REF(C,1)<=REF(O,2);
ST2:=REF(C,2)/REF(C,3)<1 AND REF(L,2)<REF(C,3);
ST3:=REF(C,2)/REF(C,3)>1 AND REF(O,2)<REF(C,3);
ST4:=ST2 OR ST3;
ST5:=C/REF(C,1)>1.03;
XG1:=A1 AND SST AND ST1 AND ST4 AND V/REF(V,1)>1 AND ST5 AND V/REF(V,1)>1.5 AND K30<50;
XG2:=REF(C,5)/REF(L,1)>1.09 AND C>REF(O,2) AND V/REF(V,1)>1.2 AND K30<50;
XG1 OR XG2;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)