同花顺NO1指标
//主力持仓: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;www.88gs.com
//散筹筹码集中度:(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( 价格差 >3) 价差z :价格差 ,colorred,LINETHICK3;
IF( 价格差 < 0) 价差f:价格差 ,colorgreen,LINETHICK3;
// 价差MA:SUM(价格差,20) ,colorffffff;
理想涨幅: SUM(pjbl,5) ,colorff00ff,linethick2;
现实涨幅: SUM(spbl,5) ,colorred,linethick2;
理想涨幅cq=SUM(pjbl,13),colorff00ff,linethick2;
现实涨幅cq=SUM(spbl,13),colorred,linethick2;
涨幅差cq=现实涨幅-理想涨幅 ,coloryellow,linethick2;
jgcj=IF( C>SUM(C,3)/3 ,1,0);
//获利盘:WINNER(C),colorblue,linethick2 ;
//换手10日:SUM(VOL/CAPITAL,1);
//涨幅周期:HHVBARS(现实涨幅,20);
zdzzq=HHVBARS(ABS(价格差),5);
zdzfc:REF(价格差,zdzzq);
zfcxz=0;
IF (ABS(zdzfc)>SUM(ABS(价格差),5)*0.5) {现实涨幅=现实涨幅-zdzfc*0.6;};
涨幅差:现实涨幅-理想涨幅 ,coloryellow,linethick2;
现实涨幅:现实涨幅;
理想涨幅:理想涨幅;
涨幅差:涨幅差;
IF(jgcj AND (涨幅差)>=0 AND C>-1 AND (价格差 > 0 OR C>0) AND 收盘价>MID) 价差MA:涨幅差,colorffffff,linethick2 ;
//IF((涨幅差)<0 ) 价差MA_:EMA((现在总涨幅-总涨幅),1),colorlired,linethick2;
DRAWTEXT(CROSS(现实涨幅,理想涨幅),现实涨幅,'买');
DRAWTEXT(CROSS(理想涨幅,现实涨幅),现实涨幅,'卖'),colorgreen;
//差周期:LLVBARS(涨幅差,10);
金叉周期:BARSLAST(CROSS(现实涨幅,理想涨幅));