通达信水落石出指标公式

通达信MACD水下三金叉股价双背离主图指标公式

通达信水落石出指标公式:

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

VAR2:=SMA(Abs(HIGH-VAR1),13,1)/SMA(MAX(HIGH-VAR1,0),10,1);

VAR3:=EMA(VAR2,10);

VAR4:=HHV(HIGH,33);

VAR5:=EMA(IF(HIGH>=VAR4,VAR3,0),3);

洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORRED,NODRAW;

stICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0 ),COLORRED;

水落石出:IF(VAR5>REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;

STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),COLORGREEN;

通达信MACD水下三金叉股价双背离副图指标公式