DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100,colormagenta;
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*2,NODRAW,coloryellow;
DRAWBAND(MACD,RGB(255,0,0),0,RGB(0,255,0));
DRAWICON(CROSS(DIF,0),DIF,1);
DRAWICON(CROSS(0,DIF),DIF,2);
RSV=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
a=SMA(RSV,3,1);
b=SMA(a,3,1);
e=3*a-2*b;
K:a;
D:b;
J:e;
MAV:=(C*2+H+L)/4;
SK:=EMA(MAV,7) - EMA(MAV,21);
SD:=EMA(SK,5);
多方主力:(2*(SK-SD))*100,colormagenta,LINETHICK2;
空方主力:(-2*(SK-SD))*100,colorgreen,LINETHICK2;