|
STICKLINE(1,3,0,8,0),COLOR002000;
WR:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
LC := REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY:= VAR2*(1+VAR1);
SHT:= MY;
黄球WR:CROSS(WR,50)*6,POINTDOT,LINETHICK7,COLOR00FFFF;
粉球RSI:CROSS(RSI,50)*5,POINTDOT,LINETHICK7,COLORFF00FF;
红球MACD:CROSS(DIFF,DEA)*4,POINTDOT,LINETHICK7,COLOR0000FF;
绿球KDJ:CROSS(K,D)*3,POINTDOT,LINETHICK7,COLOR00FF00;
蓝球SHT:CROSS(SHT,0)*2,POINTDOT,LINETHICK7,COLORFF0000;
0,POINTDOT,LINETHICK7,COLOR002000;
8,POINTDOT,LINETHICK7,COLOR002000;
0,COLOR005000;
3,COLOR005000; |
|