DIF:EMA(JGL_DF,LONG),COLOR1234AA,LINETHICK3;
DEA:EMA(DIF,MID),COLOR338833,LINETHICK3;
MACD_L:=(DIF-DEA)*2,COLORA9A813,COLORSTICK;
K:SMA(JGL_DF,M,1)*1,COLORFEDCBA;
D:SMA(K,M,1),COLOR13F8F9;
J:3*K-2*D,COLORF813F9;
RF:=REF(J,1);
DJ:=ABS(J-RF);
MM:=(HHV(DJ,240)+LLV(DJ,240))/2;
STICKLINE(J RF,J,RF,2.3,0),COLOR1388D3;
STICKLINE(J RF,J,RF,1.0,0),COLOR13AAD3;
STICKLINE(J RF,J,RF,2.3,0),COLOR338833;
STICKLINE(J RF,J,RF,1.0,0),COLOR33AA33;
STICKLINE(J RF AND DJ 0.2*MM,J-0.1*MM,RF+0.1*MM,0.1,0),COLOR33AA33;
STICKLINE(J =RF AND DJ 0.2*MM,J+0.1*MM,RF-0.1*MM,0.1,0),COLOR13AADD;