STICKLINE(C>0,120,-30,10,0),COLOR333333,LINETHICK2;
〖强弱指数〗:(C-L)/(H-L)*100,COLORGREEN;
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;
DA:=EMA((REF(H,1)+L)/2,3);{//下跌值}
DB:=EMA((REF(L,1)+L)/2,3);{//卖出低点值}
DC:=EMA((H+L+C)/3*2-H,3);{//突破卖出值}
次日买价:(DA+DB+DC+L)/4,,LINETHICK,COLOR0089FF;{//均值}
ZA:=EMA((H+REF(L,1))/2,3);{//上涨值}
ZB:=EMA((H+REF(H,1))/2,3);{//买进高点值}
ZC:=EMA((H+L+C)/3*2-L,3);{//突破买入值}
次日卖价:(ZA+ZB+ZC+H)/4,,LINETHICK,COLOR00FFFF;{//均值};
A:70,,COLORRED,LINETHICK1;
B:50,,COLORMAGENTA;
J:30,COLORF68E00,LINETHICK1;
DRAWTEXT( C=C AND CURRBARSCOUNT=100 ,120,' ■强弱指数>50要涨;低于50要
跌!'),COLOR00B900;
DRAWTEXT( C=C AND CURRBARSCOUNT=65,120,' ■摆荡指数>70看涨;小于30%-看跌! 30至70之间
-中性!'),COLORWHITE;