通达信桑氏模型主图+副图+选股指标 踩中轨 源码 贴图

2022-11-02 10:08:00来源:本站整理浏览:1603

通达信桑氏模型主图+副图+选股指标 踩中轨 源码 贴图

模型踩中轨副图源码:
{参数: N: 1V,V1000V,V1}
A1:="BOLL-M".BOLL;
A2:="BOLL-M".UB;
A3:="BOLL-M".LB;
A4:=C>A1;
A5:=C<A1*1.035 AND C/REF(C,1)>0.905;
A7:=H>A2;
A8:=BARSLAST(A7);
A9:=A8<15;
A:=A4 AND A5 AND A9;
D1:=((MA(C,30)+MA(C,72))/2)*1.2;
D2:=(MA(C,30)+MA(C,72))/2;
D3:=((MA(C,30)+MA(C,72))/2)*0.8;
D4:=C>D2;
D5:=C<D2*1.07 AND C/REF(C,1)>0.905;
D6:=H>D1;{公式网www.gpxiazai.com}
D7:=BARSLAST(D6);
D8:=D7<15;
D:=D4 AND D5 AND D8;
XG:=A OR D;
模型踩中轨:=EXIST(XG,N);
STICKLINE(模型踩中轨,0,55,2,0),COLORCC66FF;

桑氏中轨选股源码:
{参数: N: 1V,V1000V,V1}
A1:="BOLL-M".BOLL;
A2:="BOLL-M".UB;
A3:="BOLL-M".LB;
A4:=C>A1;
A5:=C<A1*1.035 AND C/REF(C,1)>0.905;
A7:=H>A2;
A8:=BARSLAST(A7);
A9:=A8<15;
A:=A4 AND A5 AND A9;
D1:=((MA(C,30)+MA(C,72))/2)*1.2;
D2:=(MA(C,30)+MA(C,72))/2;
D3:=((MA(C,30)+MA(C,72))/2)*0.8;
D4:=C>D2;{公式网www.gpxiazai.com}
D5:=C<D2*1.07 AND C/REF(C,1)>0.905;
D6:=H>D1;
D7:=BARSLAST(D6);
D8:=D7<15;
D:=D4 AND D5 AND D8;
XG:=A OR D;
模型踩中轨:EXIST(XG,N);

通达信桑氏模型主图+副图+选股指标 踩中轨 源码 贴图

通达信桑氏模型主图+副图+选股指标 踩中轨 源码 贴图


N1:=MA(C,5);
执行线:N1,COLORWHITE,LINETHICK2;
E11:=C<N1;
E12:=C>N1;
IF(E11,N1,DRAWNULL),COLORBLUE,LINETHICK2;
IF(E12,N1,DRAWNULL),COLORWHITE,LINETHICK2;
生命线:MA(C,21),COLORRED,LINETHICK3;
E13:=C<MA(C,21);
E14:=C>=MA(C,21);
IF(E13,MA(C,21),DRAWNULL),COLORBLUE,LINETHICK2;
IF(E14,MA(C,21),DRAWNULL),COLORRED,LINETHICK2;
上轨:((MA(C,30)+MA(C,72))/2)*1.2,COLORBLUE,DOTLINE,LINETHICK1;
趋势:(MA(C,30)+MA(C,72))/2,COLORYELLOW,DOTLINE,LINETHICK1;
下轨:((MA(C,30)+MA(C,72))/2)*0.8,COLORRED,DOTLINE,LINETHICK1;
A1:=(C/REF(C,1)-1)*100>9.9;
A2:=C<5 AND (C/REF(C,1)-1)*100>9.8 AND C=H;
A:=A1 OR A2;
STICKLINE(A,OPEN,CLOSE,3,0),COLORYELLOW;
W1:=MA(C,5);
W2:=(C/REF(C,1)-1)*100>9.9;
W3:=C<5 AND (C/REF(C,1)-1)*100>9.8 AND C=H;
W4:=W2 OR W3;
W5:=COUNT(W4,22)>=1;
W6:=COUNT(W4,30)>=2;
W:=W5 OR W6;
W7:=C<HHV(H,20)*0.90;
W8:=C<LLV(C,60)*1.8;
W9:=REF(C,1)<REF(W1,1);
W10:=C>W1;
W11:=REF(C,2)<REF(W1,2);
WW:= W AND W7 AND W8 AND W9 AND W10 AND W11 ;
DRAWTEXT(WW=1,L-0.1,'↖板五'),COLORYELLOW;
STICKLINE(WW=1,C,O,2,0),COLORRED;
P1:=(C/REF(C,1)-1)*100>9.9;
P2:=C<5 AND (C/REF(C,1)-1)*100>9.8 AND C=H;
P:=P1 OR P2;
P3:=BARSLAST(P);
P4:=COUNT(P,16)>=2;
P5:=HHV(H,8)<LLV(L,8)*1.35;
P6:=(REF(C,1)/REF(C,2)-1)*100<9.9;
P7:=LLV(L,7)*1.21>REF(C,1);
P8:=C<LLV(L,60)*1.80;
P9:=C<MA(C,60)*1.45;
P10:=C<=LLV(L,4)*1.22;
P11:=REF(C,1)<REF(C,2)*1.098;
P12:=C<LLV(L,120)*1.80;
P13:=C<LLV(L,400)*2.2;
XG66:=1<P3<=16 AND P AND P10 AND P4 AND P5 AND P6 AND P7 AND P8 AND P9 AND P11 AND P12 AND P13;
DRAWTEXT(FILTER(XG66=1,1),H+0.1,'双龙'),COLORRED;
STICKLINE(FILTER(XG66=1,1),C,O,1,0),COLORRED;
Z1:=(O-C)/C*100>5;
Z2:=V=HHV(V,20);
Z3:=C<REF(C,1)*0.945;
Z4:=Z1 AND Z2;
Z5:=C>O AND (H-C)/C*100>5;
Z6:=O>C AND (H-O)/O*100>5;
Z7:=Z5 OR Z6;
Z8:=Z3 OR Z4 OR Z7;
Z9:=BARSLAST(Z8);
Z:=Z9=1;
V1:=O>REF(C,1)*1.022;
V2:=O<REF(C,1)*1.05;
VV:=V1 AND V2;
X1:=O<LLV(C,30)*1.45;
X2:=O<LLV(C,60)*1.6;
X3:=O<LLV(C,130)*2.5;
X:=X1 AND X2 AND X3;
XG999:=Z AND VV AND X;
DRAWTEXT(FILTER(XG999=1,8),H+0.1,'买'),COLORYELLOW;
STICKLINE(FILTER(XG999=1,8),C,O,1,0),COLORRED;
M1:=L<HHV(H,10)*0.78 AND L=LLV(L,10);
M2:=O<REF(C,1)*0.96;
M3:=C>O*1.05;
M4:=C<LLV(L,100)*1.90;
M:=M1 AND M2 AND M3 AND M4;
DRAWTEXT(FILTER(M=1,1),L-0.1,'买'),COLORYELLOW;
STICKLINE(FILTER(M=1,1),C,O,1,0),COLORRED;
{公式网WWW.GPXIAZAI.COM}
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.98,1,1,DYBLOCK),COLORBLUE;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.92,1,1,HYBLOCK),COLORRED;
所属概念:DRAWTEXT_FIX(ISLASTBAR ,0.86,1,6,GNBLOCK),COLORYELLOW;
所属风格:DRAWTEXT_FIX(ISLASTBAR ,0.35,1,3,FGBLOCK),COLORWHITE;
{公式网WWW.GPXIAZAI.COM}
市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));
市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));
市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2));
净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));
毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
净利润率:=STRCAT(' 净利润率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2));
主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
业绩:=STRCAT('业绩: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));
DRAWTEXT_FIX(ISLASTBAR,0.4,0.01,0,业绩),COLORRED;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式