AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*vol,0),4)/SUM(IF(AA
DD:=REF(100-(100/(1+CC)),1);
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
macd:=(DIFF-DEA)*2;
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
DRAWBAND(DIFF,RGB(224,224,224),DEA,RGB(255,255,96));
F60:EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
A60:EMA(F60,9/2);
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
DRAWBAND(F60,RGB(0,224,224),A60,RGB(255,96,96));
F30:(EMA(CLOSE,12/4)-EMA(CLOSE,26/4)),COLORGREEN;
A30:(EMA(F30,9/4)),COLORWHITE;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;