{//atr条件
TR1 := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
atr:=tr1/ref(c,1)*100;
atr条件:=atr>9 and c>ref(c,1);
}
//涨幅
zf:=(c/ref(c,1)-1)*100;
zf条件:=zf>9.2;
//前低
低点:=l<=llv(l,5) and l<=refx(llv(l,2),2);
低点距离:=barslast(低点);
涨幅:=(h/ref(l,低点距离)-1)*100;
日平均涨幅:=涨幅/低点距离;
//条件1:=any(atr条件,低点距离);
条件1:=any(zf条件,低点距离);
条件2:=涨幅>20;
条件3:=日平均涨幅>1.2;
条件:=条件1 and 条件2 and 条件3;
DRAWICON(条件,l*0.90,12);
最后修改:2022 年 08 月 11 日
如果觉得我的文章对你有用,请随意赞赏