通达信精准小刀指标公式
通达信火山喷发指标公式
通达信精准小刀指标公式:
X_1:=MAX(MA(CLOSE,5),MAX(MA(CLOSE,10),MA(CLOSE,20)));
X_2:=MIN(MA(CLOSE,5),MIN(MA(CLOSE,10),MA(CLOSE,20)));
X_3:=(X_1/X_2-1)*100;
X_4:=(MAX(MA(CLOSE,5),MA(CLOSE,10))/MIN(MA(CLOSE,5),MA(CLOSE,10))-1)*100;
X_5:=(MAX(MA(CLOSE,10),MA(CLOSE,20))/MIN(MA(CLOSE,10),MA(CLOSE,20))-1)*100;
X_6:=(EMA(CLOSE,5)-LOW)/LOW*100;
X_7:=crOSS(10,X_6);
X_8:=BArslAst(X_7);
X_9:=REF(HIGH,X_8);
X_10:=REF(MAX(CLOSE,OPEN),X_8);
X_11:=REF(MIN(CLOSE,OPEN),X_8);
X_12:=REF(LOW,X_8);
X_13:=BETWEEN(X_8,1,5);
X_14:=X_13 AND CLOSE>OPEN AND CLOSE>X_10 AND MA(CLOSE,5)<MA(CLOSE,10) AND MA(CLOSE,10)<MA(CLOSE,20) AND NOT(CROSS(MA(CLOSE,20),MA(CLOSE,10)));
X_15:=X_14 AND COUNT(X_14,X_8)=1;
X_16:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
洗盘结束:FILTERX(X_6>=10,BARSLAST(X_6>=10=0)),NODRAW,COLORLIGREEN;
STICKLINE(洗盘结束,0,0.328,(-1),0),COLORLIGREEN;
准备:X_7,NODRAW,COLORLIRED;
STICKLINE(X_7,0,0.618,(-1),0),COLORLIRED;
开干:X_15,NODRAW,COLORRED;
STICKLINE(X_15,0,1,(-1),0),COLORRED;
DRAWTEXT(洗盘结束,0.3,'准备'),COLORWHITE;
DRAWTEXT(X_7,0.5,'洗盘结束'),COLORWHITE;
DRAWTEXT(X_15,0.8,'坚决干'),COLORWHITE;
通达信优化变色MACD波段指标公式