通达信超买超卖波段副图指标公式源码


HIGHV:=HHV(HIGH,18);
KMM:EMA(RSVM,5),COLORWHITE;
DRAWBAND(KMM,RGB(150,140,140),DMM,RGB(0,40,170));
超买:IF(KMM>=80,KMM,90),COLOR4080FF;
超卖:IF(KMM< 10,KMM,3),COLORCYAN,LINETHICK2;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR24:=IF(VAR22>=160 AND VAR22< 210 AND VAR23>=160 AND VAR23< 210,10,0);
上下:IF(VAR23<=-210 AND VAR22<=-160,-30,VAR25)+50,COLORGREEN,LINETHICK2;