「翔博精选指标」圆月弯弓刀(通达信公式 副图 源码 测试图)
2021-11-05原创 编 辑:翔博软件
{圆月弯弓刀}
XA_1:=(CLOSE+LOW*2+HIGH)/4;
XA_2:=(MA(XA_1,4)+MA(XA_1,8)+MA(XA_1,16))/3;
XA_3:=(MA(XA_1,9)+MA(XA_1,18)+MA(XA_1,36))/3;
XA_4:=(MA(XA_1,13)+MA(XA_1,26)+MA(XA_1,52))/3;
XA_5:=(MA(XA_1,24)+MA(XA_1,48)+MA(XA_1,96))/3;
XA_6:=MAX(MAX(XA_2,XA_3),XA_4);
XA_7:=LONGCROSS(XA_2,XA_4,20) AND (XA_5-XA_4)/XA_4<0.05 AND XA_6<XA_5;
XA_8:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_9:=EMA(XA_8,9);
XA_10:=2*(XA_8-XA_9);
XA_12:=BARSLAST(LONGCROSS(XA_8,XA_9,5));
XA_13:=BARSLAST(CROSS(0,XA_8));
XA_14:=HHV(HIGH,XA_13+10);
XA_15:=BARSLAST(XA_7)<=8 AND COUNT(XA_10>0,5)=5 AND VOL/REF(MA(VOL,5),1)>1.5 AND XA_13>XA_12 AND XA_12>5 AND CROSS(CLOSE,REF(XA_14,XA_12)) AND CLOSE/REF(CLOSE,1)>1.095 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20);
FILTER(XA_15,5);