DIFZ:=EMA(C,12)-EMA(C,26);DEAZ:=EMA(DIFZ,9);Z:=8*(DIFZ-DEAZ);RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*247.2-123.6;SQX:=(C-MA(CLOSE,13))*10;DIF:=EMA(MA(SQX,7),1);DEA:=EMA(DIF,7);MACD:=(DIF-DEA)*2;STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,0.1,0),COLORRED;STICKLINE(MACD>0 AND MACD
[REF(MACD,1),MACD,0,0.1,0),COLORBROWN;K:SMA(SMA( RSV,3,1),3,1),COLORWHITE;D:MA(EMA(K,3),3),COLORYELLOW;J:3*K-2*D,COLORMAGENTA;A11:=BARSLAST(REF(OSS(DIF,DEA),1));B1:=REF(C,A11+1)>C AND REF(DIF,A11+1)
]