JgX:=(2*C+(H-L)/2+L+o)/4;
ajb:=IF(capital>20000000,capital*30/100,IF(capital>12000000,capital*25/100,capital*20/100));
AV:=if(INDEXC=C,amount/10000000000,100*V/(capital-ajb));
kk:=if(INDEXC=C,300,100);
SK:=IF(SUM(AV,0)<kk,BARSCOUNT(C),SUMBARS(AV,kk));
SV:=SUM(V,SK);
筹:=IF(INDEXC=c OR SV=0,MA(c,SK),SUM(AMOUNT,SK)/SV/100),LINETHICK1,color18A4FF,LINEDOT;
XS:=(ema(筹,55)+ema(筹,144)+ema(筹,233))/3;
SM:=EMA((((EMA(筹,1)-ema(xs,1))/ema(xs,1))*(0-100)),233);
航向线:=EMA(((SM/10)+ema(xs,1)),144),COLORRED,LINETHICK2;
主力:SUM(1-(EMA(JgX,1)-航向线)/航向线*100,3);
MM:EMA(主力,2);
MAD:-2*(主力-MM),COLORSTICK,LINETHICK2;
弱:PARTLINE(主力>0,0),COLORGREEN;
强:PARTLINE(主力<0,0),COLORRED;