通达信:【波段大阳战法】副图+选股指标
副图指标:
X_1:=4;
X_2:=CLOSE/REF(CLOSE,1)>1.05;
X_3:=CLOSE/REF(CLOSE,1)>1.05 AND HIGH>REF(HIGH,X_1-1) AND LOW<LLV(HIGH,X_1);
X_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_5:=EMA(X_4,9);
X_6:=(X_4-X_5)*2;
X_7:=X_6<0 AND X_6>REF(X_6,1) AND REF(X_6,1)<REF(X_6,2) AND REF(X_6,2)<REF(X_6,3) AND REF(X_6,3)<REF(X_6,4);
X_8:=LOW>REF(LLV(LOW,30),1);
萧啸实战训练营:0,COLORRED;
波段大阳:X_2 AND X_7,COLORYELLOW;
DRAWICON(X_2 AND X_7,0.35,11);
X_9:=X_3 AND X_8;
X_10:=X_2 AND X_7 AND X_8;
包含大阳:X_9 OR X_10,COLORMAGENTA;
大阳战法:波段大阳 OR 包含大阳,COLORRED;
DRAWICON(X_9 OR X_10,0.5,1);
{波段大阳选股公式}
X_1:=4;
X_2:=CLOSE/REF(CLOSE,1)>1.05;
X_3:=CLOSE/REF(CLOSE,1)>1.05 AND HIGH>REF(HIGH,X_1-1) AND LOW<LLV(HIGH,X_1);
X_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_5:=EMA(X_4,9);
X_6:=(X_4-X_5)*2;
X_7:=X_6<0 AND X_6>REF(X_6,1) AND REF(X_6,1)<REF(X_6,2) AND REF(X_6,2)<REF(X_6,3) AND REF(X_6,3)<REF(X_6,4);
波段大阳:X_2 AND X_7;
{包含大阳选股指标}
X_1:=4;
X_2:=CLOSE/REF(CLOSE,1)>1.05;
X_3:=CLOSE/REF(CLOSE,1)>1.05 AND HIGH>REF(HIGH,X_1-1) AND LOW<LLV(HIGH,X_1);
X_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_5:=EMA(X_4,9);
X_6:=(X_4-X_5)*2;
X_7:=X_6<0 AND X_6>REF(X_6,1) AND REF(X_6,1)<REF(X_6,2) AND REF(X_6,2)<REF(X_6,3) AND REF(X_6,3)<REF(X_6,4);
X_8:=LOW>REF(LLV(LOW,30),1);
X_9:=X_3 AND X_8;
X_10:=X_2 AND X_7 AND X_8;
包含大阳:X_9 OR X_10;