「翔博精选指标」XJP新极波段(通达信公式 副图 源码 测试图)
2021-10-21原创 编 辑:翔博软件
{XJP新极波段}
XA_2:=1;
XA_3:=VOL<=REF(VOL,1)*0.73*XA_2 AND REF(VOL,2)*2*XA_2<=REF(VOL,1) AND REF(OPEN,1)*1.02*XA_2<REF(CLOSE,1);
XA_4:=BARSLAST(XA_3);
XA_5:=REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,1)>REF(CLOSE,2)*1.097 OR (REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3)*1.0597);
XA_6:=VOL<=REF(VOL,1)*0.73*XA_2 AND LLV(VOL,6)=VOL AND (OPEN+CLOSE)*0.5/MIN(OPEN,CLOSE)<1.017*XA_2 AND XA_5;
XA_7:=BARSLAST(XA_6);
XA_8:=(OPEN+CLOSE)*0.5/MIN(OPEN,CLOSE)<1.017 AND XA_7<4 AND XA_4<15 AND CAPITAL*100*CLOSE<65999998976 AND CLOSE<45;
XA_9:=REF(CLOSE,2)>REF(CLOSE,3)*1.09*XA_2 AND CLOSE<REF(CLOSE,2) AND REF(VOL,1)<REF(VOL,2)*1.4*XA_2;
XA_10:=REF(CLOSE,3)>REF(CLOSE,4)*1.09*XA_2 AND REF(CLOSE,1)<REF(CLOSE,3) AND REF(VOL,2)<REF(VOL,3)*1.4*XA_2;
XA_11:=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);
XA_12:=LLV(LOW,36);
XA_13:=HHV(HIGH,30);
XA_14:=EMA((CLOSE-XA_12)/(XA_13-XA_12)*4,4)*25;
XA_15:=XA_11>=XA_14 AND (XA_9 OR XA_10) AND VOL<=REF(VOL,1)*0.73 AND CAPITAL*100*CLOSE<65999998976 AND CLOSE<45 AND CLOSE>5;
XG:XA_8 OR XA_15;