DJ:=AMOUNT/(V*100);
X1:=REF(DJ,4);
X2:=REF(DJ,3);
X3:=REF(DJ,2);
X4:=REF(DJ,1);
H1:=REF(H,4);
H2:=REF(H,3);
H3:=REF(H,2);
H4:=REF(H,1);
C1:=REF(C,4);
C2:=REF(C,3);
C3:=REF(C,2);
C4:=REF(C,1);
O1:=REF(O,4);
O2:=REF(O,3);
O3:=REF(O,2);
O4:=REF(O,1);
L1:=REF(L,4);
L2:=REF(L,3);
L3:=REF(L,2);
L4:=REF(L,1);
JZ:(H1*O2*C3*L4*X1+H2*O3*C4*L*X2+H3*O4*C*X3+H4*O*X4+H*H*DJ)*DJ/500;
M1:SMA(JZ,55,18);
M2:WMA(JZ,9);
M3:EMA(JZ,18);
M4:MEMA(M3,9);
STICKLINE(C>EMA(C,162),M3,M4,0.00001,0),COLORRED;
STICKLINE(C
STICKLINE(DAY=3,M4+M4*0.2,M4-M4*0.2,1,0),COLORYELLOW;
{obv}
VA:=IF(C>REF(C,1),V,-V);
OB:=SUM(IF(C=REF(C,1),0,VA),0);
VRA:=(EMA(C,9)-EMA((REF(C,1)+O)/2,9));
AV:=vrA*EMA(OB,18)/100;
AM9:=EMA(AV,9);
DRAWTEXT(crOSS(AM9,0),JZ,'正量能'),COLORYELLOW;