通达信多空警戒线主图指标公式

通达信最强单阳不破选股指标公式

通达信多空警戒线主图指标公式:

VAR0:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * CLOSE;

VAR1:=EMA(VAR0,3);

VAR3:=EMA(VAR0,7);

HH:=HHV(VAR3,64);

LL:=LLV(VAR3,64);

VARHIGH:IF(VAR1<=REF(HH,1),REF(H,BArslAst(VAR1>=REF(HH,1))),DRAWNULL),COLORYELLOW;

NOTEXTGH:IF(VAR1>REF(HH,1),REF(VARHIGH,BARSLAST(crOSS(REF(HH,1),REF(VAR1,1)))),DRAWNULL),COLORYELLOW;

STICKLINE(1,NOTEXTGH,NOTEXTGH,10,0),COLORYELLOW;

VARLOW:IF(VAR1>REF(LL,1),REF(L,BARSLAST(VAR1<=REF(LL,1))),DRAWNULL),COLORGREEN,LINETHICK2;

B3:MA(C,21),COLORFF00FF,LINETHICK2;

通达信九星共振指标公式