源码
//主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;
//指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;
//强弱分界: 80,coloryellow;
//主力筹码集中度:WINNER(C)*100 ,colorred,linethick2;
//散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2;
MID = MA(CLOSE,20);
UPPER= MID + 2*STD(CLOSE,20);
LOWER= MID - 2*STD(CLOSE,20);
MONEYMA=EMA(MONEY,5);
valma=EMA(VOL,5);
PREma==EMA(PRE,5);
收盘价:CLOSE,coloryellow;
平均持仓价格: (MONEY/VOL),colorred;
spbl= (CLOSE-PRE)/PRE*100 ,coloryellow;
pjbl= (MONEY/VOL-PRE)/PRE*100 ,colorred;
//PJMA5:EMA(平均持仓价格,5),colorblue;
价格差= (spbl-pjbl) ;
//IF( 价格差 >= 0) 价差z :价格差 ,colorred,LINETHICK3;
IF( 价格差 < 0) 价差f:价格差 ,colorgreen,LINETHICK3;
// 价差MA:SUM(价格差,20) ,colorffffff;
总涨幅:SUM(pjbl,3),colorff00ff,linethick2;
现在总涨幅:SUM(spbl,3),colorred,linethick2;
IF((现在总涨幅-总涨幅)>=0 AND 价格差 > 0 AND 收盘价>MID) 价差MA:EMA((现在总涨幅-总涨幅),1),colorffffff,linethick2 ;
IF((现在总涨幅-总涨幅)<0 ) 价差MA_:EMA((现在总涨幅-总涨幅),1),colorlired,linethick2 ;