DIFF:(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*2000;
DEA:EMA(DIFF,9);
macd:2*(DIFF-DEA), COLORSTICK;
SH:=(EMA(H,7)+EMA(H,9)+EMA(H,11))/3;
SL:=(EMA(L,7)+EMA(L,9)+EMA(L,11))/3;
HH:=REF(HHV(SH,9),1);
LL:=REF(LLV(SL,9),1);
SV:=-((CLOSE-HH)/(HH-LL)*100);
KK:EMA(sv,9),COLORGREEN;