决策线:EMA(JgX,1),COLORRED,LINETHICK2;
黄金线:((EMA(JGX,89)+EMA(JGX,13))/2+EMA(JGX,13))/2,COLORYELLOW,LINETHICK2;
ajb:=IF(capital>20000000,capital*33/100,IF(capital>12000000,capital*27/100,capital*22/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;
平均成本:EMA(((COST(85)+COST(15))/2+COST(50))/2,3),COLOR9900FF,LINETHICK3;
FF:=ABS(筹-平均成本)/平均成本;
DD:=DMA(筹,FF);
上:(1+8/100)*DD,LINEDOT,COLORYELLOW;
下:(1-8/100)*DD,LINEDOT,COLORYELLOW;
中:(上+下)/2,COLORWHITE,LINEDOT;
天:(1+16/100)*DD,COLORGRAY;
地:(1-16/100)*DD,COLORGRAY;
疯牛:(1+24/100)*DD,LINETHICK,COLORMAGENTA;
极地:(1-24/100)*DD,LINETHICK,COLORGRAY;
PARTLINE(C>疯牛,疯牛),COLORWHITE,LINETHICK2,CIRCLEDOT;
PARTLINE(C<极地,极地),COLORWHITE,LINETHICK2,CIRCLEDOT;
PARTLINE(操盘线>=七妹,操盘线),COLOR9900FF,LINETHICK2;
PARTLINE(操盘线<七妹,操盘线),COLOR00bb00,LINETHICK2;
合:=2*EMA(LLV(均价,7),10)-均价;
空线:=3*合-2*SMA(合,10,1)*1,COLORGREEN;