DIFF:= EMA(CLOSE,12) – EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
macd:= 2*(DIFF-DEA);
TS:= BArslAST(C/REF(C,1)>1.085);{上一个涨停距今天数}
A2:= IF(REF(L,TS)>REF(H,TS+1),REF(C,TS+1),REF(O,TS));{涨停当天最低价}
A3:= BETWEEN(TS,2,13); {天数条件}
A4:= C>=A2 AND BETWEEN(L/A2,1.035,0.97);{价格条件}
A5:= V<REF(V,1) AND V<MA(V,5);{成交量条件}
A6:= Abs(C/O-1)*100<5;{k线条件}
A7:= LLV(C,TS)>=A2;{单阳不破}
A8:= MacD>-1;{MACD条件}
左侧低吸: A3 AND A4 AND A5 AND A6 AND A7 AND A8;
A9:=MA(C,5)>=A2 AND C>A2 AND C>=MA(C,5) AND REF(C,1)<=REF(MA(C,5),1)
AND LLV(L,TS)<A2*1.045;
右侧突破: REF(A3,1)>0 AND A9;

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