强中强指标 红黄强,绿蓝弱,黄绿蓝红为中
加微信:zb-mart免费验证!
强中强指标
红黄强,绿蓝弱,黄绿蓝红为中
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE(DIF>DEA,0,VOL,3,0),coloryellow;
STICKLINE(DIF<DEA,0,VOL,3,0),colorblue;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
STICKLINE(J>D,VOL/2,VOL,3,0),colorred;
STICKLINE(J<D,VOL/2,VOL,3,0),colorgreen;