通达信安全买入指标公式

通达信资金趋势+敢死队+能量潮指标公式

通达信安全买入指标公式:

涨幅:=C/REF(C,1);

X_1:=HHV(HIGH,9);

X_2:=LLV(LOW,9);

X_3:=(X_1-X_2)/100;

X_4:=(CLOSE-X_2)/(X_1-X_2)*100;

X_5:=SMA(X_4,3,1);

X_6:=SMA(X_5,3,1);

X_7:=3*X_5-2*X_6;

X_8:=X_5*X_3+X_2;

X_9:=X_6*X_3+X_2;

X_10:=X_7*X_3+X_2;

X_11:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_12:=EMA(X_11,9);

X_13:=2*(X_11-X_12);

X_14:=1.25*X_11-0.25*X_12;

X_15:=(X_14*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;

X_16:=(X_11*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;

X_17:=(X_12*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;

X_18:=(X_15+X_17)/2;

X_19:=ATAN((X_16-REF(X_16,1))/REF(X_16,1)*100)*180/3.14159;

K:=X_15;

X_20:=X_16;

X_21:=X_18;

Q:=X_17;

X_22:=EMA(K,3);

X_23:=EMA(K,2);

F:=EMA(X_21,1);

安全:crOSS(F,Q) AND 涨幅<1.09,NODRAW,COLORYELLOW;

谨慎:CROSS(F,Q) AND 涨幅>=1.09,NODRAW,COLORRED;

AQ:stICKLINE(安全 ,0,8,1,0),COLORGREEN;

JS:STICKLINE(谨慎 ,0,8,1,0),COLORRED;

DRAWTEXT(安全,5,'安全买入'),COLORYELLOW;

DRAWTEXT(谨慎,5,'谨慎买入'),COLORWHITE;

通达信趋势贪吃蛇主图指标公式