指标介绍:出现对数顶要减仓,突破对数顶要加仓,跌破对数底要卖出突破对数底要买入,突破上通道要加速。跌破高量底要卖出,突破高量高要买入。
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORBROWN;{涨停}
HH:=HHV(VOL,30);
T:=BARSLAST(HH=VOL);
高量高:DRAWLINE(T=0,H,REF(T=0,1),REF(H,1),1)COLORMAGENTA,LINETHICK1;
T1:=BARSLAST(L=VOL);
高量低:DRAWLINE(T=0,L,REF(T=0,1),REF(L,1),1)COLORLIBLUE,LINETHICK1;
DRAWTEXT(ISLASTBAR, 高量高, ' 第二天不过减仓,过线加仓')LINETHICK1,COLORWHITE;
DRAWTEXT(ISLASTBAR, 高量低, ' 收盘价不过清仓,过线买')LINETHICK1;
MA3:=MA(CLOSE,10),COLORWHITE,LINETHICK1;
涨停板最低划线:DRAWLINE(涨停,L,REF(涨停,1),REF(L,1),1),COLORGRAY;
AA00:=BARSLAST(涨停);
涨停板最高划线:DRAWLINE(涨停,H,REF(涨停,1),REF(H,1),1),COLORGREEN;
J250:=MA(C,250),COLORWHITE,LINETHICK2;
Z250:=REF(MA(C,250),1);
IF(J250 =Z250,J250,DRAWNULL),COLORBLACK,LINETHICK2;
IF(J250 Z250,J250,DRAWNULL),COLORBLACK,LINETHICK2;
上通道:EMA(C,51)*1.0804,COLORYELLOW,DOTLINE;
下通道:EMA(C,51)/1.0804,COLORGREEN,DOTLINE;
启动线:=EMA(C,24),COLORYELLOW,LINETHICK2;
生命线:=EMA(C,120),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(C O,0.01,0.9,0,' 牛犇犇专用'),COLORBLUE;
涨停1:=C/REF(C,1) =1.099;
STICKLINE(涨停1,OPEN,CLOSE,2,0),COLORGRAY;{涨停}
DRAWTEXT(O REF(H,1)AND CROSS(C,下通道)AND CROSS(C,上通道) ,L,'成妖')COLORWHITE;
AA:=L;{九毛八公式指标网www.9m8.cn}
尾数0:=FRACPART(AA)*100=00;
尾数1:=FRACPART(AA)*100=11;
尾数2:=FRACPART(AA)*100=22;
尾数3:=FRACPART(AA)*100=33;
尾数4:=FRACPART(AA)*100=44;
尾数5:=FRACPART(AA)*100=55;
尾数6:=FRACPART(AA)*100=66;
尾数7:=FRACPART(AA)*100=77;
尾数8:=FRACPART(AA)*100=88;
尾数9:=FRACPART(AA)*100=99;
对数底:=尾数9 OR 尾数8 OR 尾数7 OR 尾数6 OR 尾数5 OR 尾数4 OR 尾数3 OR 尾数2 OR 尾数1 ;
BB:=H;{九毛八公式指标网www.9m8.cn}
尾数00:=FRACPART(BB)*100=00;
尾数10:=FRACPART(BB)*100=11;
尾数20:=FRACPART(BB)*100=22;
尾数30:=FRACPART(BB)*100=33;
尾数40:=FRACPART(BB)*100=44;
尾数50:=FRACPART(BB)*100=55;
尾数60:=FRACPART(BB)*100=66;
尾数70:=FRACPART(BB)*100=77;
尾数80:=FRACPART(BB)*100=88;
尾数90:=FRACPART(BB)*100=99;
对数顶:=尾数90 OR 尾数80 OR 尾数70 OR 尾数60 OR 尾数50 OR 尾数40 OR 尾数30 OR 尾数20 OR 尾数10 ;
DRAWTEXT(尾数90 OR 尾数80 OR 尾数70 OR 尾数60 OR 尾数50 OR 尾数40 OR 尾数30 OR 尾数20 OR 尾数10 ,H,'对数顶')COLORMAGENTA;
DRAWTEXT(尾数9 OR 尾数8 OR 尾数7 OR 尾数6 OR 尾数5 OR 尾数4 OR 尾数3 OR 尾数2 OR 尾数1 ,L,' 尾数底')COLORBLUE;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
X1:=L=LLV(L,5);
X2:=BARSLAST(X1);
A1:=L=LLV(L,10);
A2:=BARSLAST(A1);
ZF:=(C-REF(C,1))/REF(C,1)*100;
涨副:=ZF 3.3 ;
X35:REF(H,BARSLAST(CURRBARSCOUNT=CONST(X2)+1)),COLORBROWN,LINETHICK2;
DRAWTEXT(BARSLAST(CURRBARSCOUNT=CONST(X2)+1)+1,H,'上线买入'),COLORBROWN,DRAWABOVE;
DRAWICON(CROSS(C,X35)AND 涨副,L,1);
A310:REF(H,BARSLAST(CURRBARSCOUNT=CONST(A2)+1)),COLORBLUE,LINETHICK2;
DRAWTEXT(BARSLAST(CURRBARSCOUNT=CONST(A2)+1)+1,H,'上线买入'),COLORBLUE,DRAWABOVE;
DRAWICON(CROSS(C,A310)AND 涨副,L,1);
B1:=L=LLV(L,30);
B2:=BARSLAST(B1);
B330:REF(H,BARSLAST(CURRBARSCOUNT=CONST(B2)+1)),COLORGREEN,LINETHICK2;
DRAWTEXT(BARSLAST(CURRBARSCOUNT=CONST(B2)+1)+1,H,'上线买入'),COLORGREEN,DRAWABOVE;
DRAWICON(CROSS(C,B330)AND 涨副,L,1);
C1:=L=LLV(L,60);
C2:=BARSLAST(C1);
C360:REF(H,BARSLAST(CURRBARSCOUNT=CONST(C2)+1)),COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(BARSLAST(CURRBARSCOUNT=CONST(C2)+1)+1,H,'上线买入'),COLORLIMAGENTA,DRAWABOVE;
DRAWICON(CROSS(C,C360)AND 涨副,L,1);