通达信多空警戒线主图指标公式
2021/1/22 18:38:39
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;
投股 票网 www.tou 18.cn
股市公式下载推荐