摆荡指标
X:=HHV(H,5)-REF(O,5);
Y:=C-LLV(L,5);
Z:=(HHV(H,5)-LLV(L,5))*2;
〖摆荡指数〗:(X+Y)/Z*100,COLORWHITE;
DRAWTEXT( C=C AND CURRBARSCOUNT=65,120,' ■摆荡指数>70看涨;小于30%-看跌! 30至70之间
-中性!'),COLORWHITE;
A:70,,COLORRED,LINETHICK1;
B:50,,COLORMAGENTA;
D:30,COLORF68E00,LINETHICK1;