大道至简均线
指标包含了自创的BS买卖点提示,包含涨跌停K线颜色显示,为最新优化版本
流通市值:SHGZG*C,nodraw;
换手率:VOL/SHGZG*100,nodraw;
MA5:MA(CLOSE,5),colorff00ff;
MA10:MA(CLOSE,10),colorgray;
MA20:MA(CLOSE,20),colorred;
MA25:MA(CLOSE,25),colorgreen;
MA30:=MA(CLOSE,30),color008b00;
MA60:MA(CLOSE,60),colorgray;
C2:=REF(C,1);
STICKLINE(C>O AND C=H AND C<REF(C,1)*1.098,CLOSE,OPEN,7,0),colorred;//光头阳线//
STICKLINE(C>O AND C=H AND C>REF(C,1)*1.098,CLOSE,O ,7,0),coloryellow;//涨停//
STICKLINE(C>O AND C<H AND H>REF(C,1)*1.098,(CLOSE+OPEN)/2,OPEN,7,0),coloryellow;//打开涨停//
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(C<O,OPEN,CLOSE,9,0),color008800;
STICKLINE(跌停,OPEN,CLOSE,9,0),colorblue;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
//不能是上影线//
s05:=C/H>=0.98;
MA20:=MA(C,20);
ZSSB:= (REF(C,1)<MA20 AND C>MA20 ) OR (O<MA20 AND C>MA20 AND C>MA(C,5));
ZS:=(( C>O AND ZSSB AND C/H>0.975)),coloryellow;
DRAWTEXT (ZS AND diff>dea ,L*0.97,'ZS');
S19:=C>O;
S19B:=S19 AND REF(S19,1);
S191:=COUNT(S19B,10)<2;////
S102:=C<REF(C,1);
S103:=COUNT(S102,10)>=5;////
S104:=COUNT(S102,5)>=3;////
MA5:=MA(C,5);
MA15:=MA(C,15);
R151:=MA15>REF(MA15,2);////
MA20:=MA(C,20);
MA25:=MA(C,25);
R251:=MA25>REF(MA25,2);////
WRFT:=(FILTER(C>O AND S104 AND REF(C,1)*1.15>REF(O,2) AND (L<MA20 OR C>MA5) AND MA5>MA20 AND (REF(C,1)*1.15<REF(H,5)) AND (REF(H,5)*0.80>REF(L,9) OR O<MA25 AND C>MA25),1)),colorred;
QSFT:=(FILTER(C>O AND C*1.02>H AND S191 AND REF(C,1)*1.15>REF(O,2) AND REF(C,1)*0.98<REF(O,1) AND R251 AND C>REF(C,1) AND S103 AND (L<MA20 OR C>MA5) AND REF(C,1)*1.15<REF(H,10) AND (REF(H,10)*0.80>REF(L,20) OR REF(H,10)*0.85>REF(L,14)),8) OR WRFT),colorgreen;
DRAWTEXT (QSFT,L*0.97,'FT');
//流通盘小于100-500亿//
LT01:=SHGZG*C/1000000000<10;
S05:=REF(O,1)>REF(C,1) AND C/H>0.97 AND REF(C,1)<REF(C,2) AND C<REF(O,1) AND REF(O,1)/ REF(C,1)<1.06 AND O>L;
振幅:=(H-L)/H*100;
振幅2:=振幅<4 AND C/L>=H/C;
SZX:=( S05 AND 振幅2 AND (C/O<1.01 AND C/O>=0.995) AND (REF(C,1)>=C OR L<MA(C,20))),COLORFF00FF;
DRAWTEXT (SZX,L*0.97,'SL');