通达信飞天指标公式

通达信四色趋势波段指标公式

通达信飞天指标公式:

VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR22:=SMA(VAR1,20,1);

VAR33:=SMA(VAR22,15,1);

VAR44:=(3*VAR22+2*VAR33)/4;

VAR55:= REF(VAR44,1);

RSA:=SMA(MAX(VAR44-VAR55,0),2,1)/SMA(Abs(VAR44-VAR55),2,1)*100 ,COLORRED,NODRAW ,LINETHICK1;

RSB:=MA(RSA,10),NODRAW;

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

DEA:=EMA(DIFF,9),COLORWHITE;

macd:=(DIFF-DEA)*2;

A:stICKLINE(MacD>=0 AND MACD>=REF(MACD,1) AND REF(MACD,1)<0

AND MACD>=0.01,90,MACD,2,1) ,COLORGREEN;

DRAWTEXT(A,80,'飞天'),COLORYELLOW ;

VVAR1:=2*MA(LLV((C+L)/2,8)*1.1,13)-EMA((C+L)/2,3)-((C+L)/2)*0.1;

VVAR2:=IF((EMA((C+L)/2,3)-VVAR1)*5>0,POW((EMA((C+L)/2,3)-VVAR1)*5,2)/10,-1*POW((EMA((C+L)/2,3)-VVAR1)*5,2)/10);

VVAR3:=IF(VVAR2>0,VVAR2-0,0);

STICKLINE(VVAR3>0 AND REF(VVAR3,1)=0 AND (C+L)/2>MA((C+L)/2,8),0,35,2,0),COLORYELLOW;

DRAWTEXT(VVAR3>0 AND REF(VVAR3,1)=0 AND (C+L)/2>MA((C+L)/2,8),40,'动');

通达信反包买点指标公式