X_1:=12;
X_2:=26;
X_3:=9;
X_4:=3;
X_5:=EMA(CLOSE,35)-EMA(CLOSE,70);
X_6:=EMA(X_5,12);
MACD:X_5,COLORSTICK;
X_7:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_8:=EMA(X_7,9);
X_9:=X_7;
X_10:=X_8;
IF(X_7>=X_8,X_7,DRAWNULL),COLORRED,LINETHICK2;
X_11:=(X_2-X_1)/2;
X_12:=X_11*(EMA(CLOSE,X_1)-REF(EMA(CLOSE,X_1),1));
DIF:EMA(X_12,X_2),COLOR1234AA,LINETHICK3;
DEA:EMA(DIF,X_3),COLOR338833,LINETHICK3;
X_13:=(DIF-DEA)*2;
K:SMA(X_12,X_4,1)*1,COLORFEDCBA;
D:SMA(K,X_4,1),COLOR13F8F9;
J:3*K-2*D,COLORF813F9;
X_14:=REF(J,1);
X_15:=ABS(J-X_14);
X_16:=(HHV(X_15,240)+LLV(X_15,240))/2;
STICKLINE(J>X_14,J,X_14,2.3,0),COLOR1388D3;
STICKLINE(J>X_14,J,X_14,1,0),COLOR13AAD3;
STICKLINE(J<X_14,J,X_14,2.3,0),COLOR338833;
STICKLINE(J<X_14,J,X_14,1,0),COLOR33AA33;
STICKLINE(J<X_14 AND X_15<0.2*X_16,J-0.1*X_16,X_14+0.1*X_16,0.1,0),COLOR33AA33;
STICKLINE(J>=X_14 AND X_15<0.2*X_16,J+0.1*X_16,X_14-0.1*X_16,0.1,0),COLOR13AADD;