通达信机构对数顶底主图指标 源码 贴图
2024-04-03 10:40:00来源:本站整理浏览:1497
通达信机构对数顶底主图指标 源码 贴图
涨停:=C/REF(C,1)>=1.092;
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)COLOR247FFF,LINETHICK1;
T1:=BARSLAST(L=VOL);
高量低:DRAWLINE(T=0,L,REF(T=0,1),REF(L,1),1)COLOR247FFF,LINETHICK1;
DRAWTEXT(ISLASTBAR, 高量高, ' 第二天不过减仓,过线加仓')LINETHICK1,COLORMAGENTA;
DRAWTEXT(ISLASTBAR, 高量低, ' 收盘价不过清仓,过线买')LINETHICK1;
MA3:=MA(CLOSE,10),COLORWHITE,LINETHICK1;
涨停板最低划线:DRAWLINE(涨停,L,REF(涨停,1),REF(L,1),1),COLOR247FFF;
AA00:=BARSLAST(涨停);
涨停板最高划线:DRAWLINE(涨停,H,REF(涨停,1),REF(H,1),1),COLOR247FFF;
J250:=MA(C,250),COLORWHITE,LINETHICK2;
Z250:=REF(MA(C,250),1);{公式网WWW.GPXIAZAI.COM}
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(O>REF(H,1)AND CROSS(C,下通道)AND CROSS(C,上通道) ,L,'成妖')COLORWHITE;
AA:=L;
尾数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;
尾数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;
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)),COLOR247FFF,LINETHICK2;
DRAWTEXT(BARSLAST(CURRBARSCOUNT=CONST(C2)+1)+1,H,'上线买入'),COLOR247FFF,;
DRAWICON(CROSS(C,C360)AND 涨副,L,1);
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)COLOR247FFF,LINETHICK1;
T1:=BARSLAST(L=VOL);
高量低:DRAWLINE(T=0,L,REF(T=0,1),REF(L,1),1)COLOR247FFF,LINETHICK1;
DRAWTEXT(ISLASTBAR, 高量高, ' 第二天不过减仓,过线加仓')LINETHICK1,COLORMAGENTA;
DRAWTEXT(ISLASTBAR, 高量低, ' 收盘价不过清仓,过线买')LINETHICK1;
MA3:=MA(CLOSE,10),COLORWHITE,LINETHICK1;
涨停板最低划线:DRAWLINE(涨停,L,REF(涨停,1),REF(L,1),1),COLOR247FFF;
AA00:=BARSLAST(涨停);
涨停板最高划线:DRAWLINE(涨停,H,REF(涨停,1),REF(H,1),1),COLOR247FFF;
J250:=MA(C,250),COLORWHITE,LINETHICK2;
Z250:=REF(MA(C,250),1);{公式网WWW.GPXIAZAI.COM}
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(O>REF(H,1)AND CROSS(C,下通道)AND CROSS(C,上通道) ,L,'成妖')COLORWHITE;
AA:=L;
尾数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;
尾数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;
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)),COLOR247FFF,LINETHICK2;
DRAWTEXT(BARSLAST(CURRBARSCOUNT=CONST(C2)+1)+1,H,'上线买入'),COLOR247FFF,;
DRAWICON(CROSS(C,C360)AND 涨副,L,1);
- 上一篇公式:通达信量价双杀主图指标 源码 贴图 指标介绍
- 下一篇公式:通达信资金仓位控制副图指标 源码 贴图