本站提倡有节制游戏,合理安排游戏时间,注意劳逸结合。

【单贴吧版源码】【近期底部指标源码】【html源码库】通达信缺口主图公式源码_通达信 缺口

2024-11-18 13:50:16 来源:知识 分类:知识

1.通达信选股公式 同时存在 向下跳空缺口 向上跳空缺口 出现缺口时 股价大致相同或相近差距<5%
2.请高手帮我把下面的通达图通达信指标公式再修改一下
3.请把这个通达信指标改为选股公式!要求把当天出现“买入”提示的信缺股选出来,全分压上,口主单贴吧版源码谢谢。式源

通达信缺口主图公式源码_通达信 缺口

通达信选股公式 同时存在 向下跳空缺口 向上跳空缺口 出现缺口时 股价大致相同或相近差距<5%

       选股公式:

       { 缺口}

       YZZT:=C=O AND C>REF(C,码通近期底部指标源码1) AND (C-REF(C,1))/REF(C,1)>0.;

       YZDT:=C=O AND C<REF(C,1) AND (REF(C,1)-C)/REF(C,1)>0.;

       SSQK:=O>REF(H,1) AND C>O AND NOT(YZZT);

       XDQK:=O<REF(L,1) AND C<O AND NOT(YZDT);

       TSCZ:= EXIST(SSQK,) AND EXIST(XDQK,);

       SSQKJG:= REF(H,BARSLAST(SSQK));

       XDQKJG:= REF(H,BARSLAST(XDQK));

       JGJJ:= ABS(SSQKJG-XDQKJG)/SSQKJG<=0.;

       QKXG: TSCZ AND JGJJ;

       主图公式:

       { 缺口}

       YZZT:=C=O AND C>REF(C,1) AND (C-REF(C,1))/REF(C,1)>0.;

       YZDT:=C=O AND C<REF(C,1) AND (REF(C,1)-C)/REF(C,1)>0.;

       SSQK:O>REF(H,1) AND C>O AND NOT(YZZT),NODRAW;

       XDQK:O<REF(L,1) AND C<O AND NOT(YZDT),NODRAW;

       DRAWTEXT(SSQK,O,'SS'),COLORYELLOW;

       DRAWTEXT(XDQK,O,'XD'),COLORYELLOW;

       TSCZ:= EXIST(SSQK,) AND EXIST(XDQK,);

       SSQKJG:= REF(H,BARSLAST(SSQK));

       XDQKJG:= REF(H,BARSLAST(XDQK));

       JGJJ:= ABS(SSQKJG-XDQKJG)/SSQKJG<=0.;

       QKXG:= TSCZ AND JGJJ;

请高手帮我把下面的通达信指标公式再修改一下

       N1:=;N2:=;DISP:=2;

       K:=IF(PERIOD=5,1,{ 日}

       IF(PERIOD=6,1,{ 周}

       IF(PERIOD=7,1,{ 月}

       IF(PERIOD=8,1,{ 多分钟}

       IF(PERIOD=9,1,{ 多日}

       IF(PERIOD=,1,{ 季}

       IF(PERIOD=,2,{ 年}

       IF(PERIOD=4,1,{ F}

       IF(PERIOD=3,1,{ F}

       IF(PERIOD=2,1,{ F}

       IF(PERIOD=1,1{ 5F},1{ 1F})))))))))))/;

       P1:=PEAK(1,K*N1,1);

       P2:=PEAK(1,K*N1,2);

       WP1:=PEAKBARS(1,K*N1,1);

       WP2:=PEAKBARS(1,K*N1,2);

       T1:=TROUGH(2,K*N2,1);

       T2:=TROUGH(2,K*N2,2);

       WT1:=TROUGHBARS(2,K*N2,1);

       WT2:=TROUGHBARS(2,K*N2,2);

       TJ1:=P1>T1 AND P2>T2 ;

       ZD:=MAX(T1,T2);

       ZG:=MIN(P1,P2);

       LL:=MIN(T1,T2);

       HH:=MAX(P1,P2);

       TJ2:=FILTER(ZG>ZD,2);

       TJ3:=ZG=REF(ZG,BARSLAST(TJ2)) OR ZD=REF(ZD,BARSLAST(TJ2));

       TJ4:=TJ1&&TJ2&&NOT(TJ3);

       TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1)));

       TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1)));

       TJ7:=ZG>REF(ZG,REF(BARSLAST(TJ4),1))&&ZD<REF(ZD,REF(BARSLAST(TJ4),1));

       TJ8:=TJ4&&NOT(TJ5 OR TJ6 OR TJ7);

       ZSD:=IF(TJ8,ZD,DRAWNULL);

       ZSG:=IF(TJ8,ZG,DRAWNULL);

       ZSH:=IF(TJ8,HH,DRAWNULL);

       ZSL:=IF(TJ8,LL,DRAWNULL);

       STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORMAGENTA;

       STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORMAGENTA;

       DRAWTEXT(DISP=2,ZSH,'中枢'),COLORWHITE;

       中枢高:=PLOYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),COLORFFFF

       ,POINTDOT,LINETHICK4;

       中枢低:=PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),COLORYELLOW,POINTDOT,LINETHICK4;

       中枢最高:PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,COLORRED;

       中枢最低:PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,COLORGREEN;

       趋势高:PLOYLINE(DISP=3,ZIG(1,K*N1)),COLORLIBLUE;

       趋势低:PLOYLINE(DISP=3,ZIG(2,K*N2)),COLORLIBLUE;

       局部低点预选A:=BACKSET(LLV(L,5)<REF(LLV(L,4),1),4);

       局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2);

       局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0);

       局部高点预选A:=BACKSET(HHV(H,5)>REF(HHV(H,4),1),4);

       局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2);

       局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0);

       缺口判断:=IF(L>REF(H,1),1,IF(H<REF(L,1),-1,0));

请把这个通达信指标改为选股公式!要求把当天出现“买入”提示的达信html源码库股选出来,全分压上,缺口谢谢。通达图

       你的信缺公式里没有 “买入”字出现,公式不全吧?我有一个公式送你如下{ 选股公式在下面},口主不知合意不?

       { 彩色筹码峰主图}

       DA1:=IF(>TOTALBARSCOUNT,式源TOTALBARSCOUNT,);

       DA:=IF(CURRBARSCOUNT>DA1,0,DA1);

       HI:=REFDATE(HHV(H,DA),DATE);

       LO:=REFDATE(LLV(L,DA),DATE);

       C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);

       GZ:=EXP(LN(HI/LO)/);

       LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);

       LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);

       LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);

       LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);

       LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);

       LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);

       LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);

       LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);

       LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);

       LH:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);

       L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;

       L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;

       L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;

       L4:=REFDATE(HHV(LH4,DA),DATE);

       L5:=REFDATE(HHV(LH5,DA),DATE);

       L6:=REFDATE(HHV(LH6,DA),DATE);

       L7:=REFDATE(HHV(LH7,DA),DATE);

       L8:=REFDATE(HHV(LH8,DA),DATE);

       L9:=REFDATE(HHV(LH9,DA),DATE);

       L:=REFDATE(HHV(LH,DA),DATE);

       SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L);

       STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*/,HI/GZ,9,0),COLORFF,LINETHICK3;

       STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*/,HI/POW(GZ,2),9,0),COLORBROWN,LINETHICK3;

       STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*/,HI/POW(GZ,3),9,0),COLOR,LINETHICK3;

       STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*/,HI/POW(GZ,4),9,0),COLORDDFF,LINETHICK3;

       STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*/,HI/POW(GZ,5),9,0),COLOR,LINETHICK3;

       STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*/,HI/POW(GZ,6),9,0),COLORFFFF,LINETHICK3;

       STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*/,HI/POW(GZ,7),9,0),COLORFF,LINETHICK3;

       STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*/,9,0),COLOR,LINETHICK3;

       STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*/,9,0),COLORLICYAN,LINETHICK3;

       STICKLINE(CEILING(DA*L/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*/,9,0),COLORFF,LINETHICK3;

       DRAWKLINE(H,O,L,C);

       { 缺口公式 说明:向上跳空红色,向下跳空绿色}

       STICKLINE(L>REF(H,码通1),L,REF(H,1),,),COLORRED;

       STICKLINE(REF(L,1)>H,REF(L,1),H,,),COLORGREEN;

       { 箱体}

       HHH:HHV(H,);

       LLL:LLV(L,);

       A5:EMA(AMOUNT/(*VOL),5);

       A:EMA(AMOUNT/(*VOL),);

       A:EMA(AMOUNT/(*VOL),);

       A:EMA(AMOUNT/(*VOL),);

       IF(C>A,A,DRAWNULL),COLORFFFF,LINETHICK2;

       DRAWTEXT(CROSS(A5,A),L,'?'),COLORYELLOW;

       { 立桩量}

       AAA:=(3*C+H+L+O)/6;

       VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)

       +3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/;

       TJ1:=VOL=HHV(VOL,) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;

       立桩量:=FILTER(TJ1,5);

       TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2

       AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));

       突破:=TJ2=1;

       TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF

       (BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));

       三天法则:=TJ3=1;

       成立:=三天法则 AND 突破;

       条件成立:=FILTER(成立,3);

       DRAWTEXT(条件成立=1,L*0.,'成立'),COLORYELLOW;

       --------------------------

       AAA:=(3*C+H+L+O)/6; { 选股公式}

       VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)

       +3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/;

       TJ1:=VOL=HHV(VOL,) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;

       立桩量:=FILTER(TJ1,5);

       TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2

       AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));

       突破:=TJ2=1;

       TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF

       (BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));

       三天法则:=TJ3=1;

       成立:=三天法则 AND 突破;

       条件成立:FILTER(成立,3);

相关推荐
一周热点