金控配资 20240630 通达信“倍量炸板3日买入”主图指标选股公式--抄底逃顶

专业股票配资平台_股票配资_倍顺网

  • 首页
  • 专业股票配资平台
  • 股票配资
  • 倍顺网
  • 你的位置:专业股票配资平台_股票配资_倍顺网 > 倍顺网 > 金控配资 20240630 通达信“倍量炸板3日买入”主图指标选股公式--抄底逃顶
    金控配资 20240630 通达信“倍量炸板3日买入”主图指标选股公式--抄底逃顶
    发布日期:2024-09-02 09:20    点击次数:57

    欧欧 欧欧量化 2024-06-30 08:03 广西 金控配资

    图片金控配资

    一、指标说明:

    1、黄金支撑线:这是一种用于识别潜在支撑区域的技术分析信号,有助于判断价格可能的支撑点。

    2、强弱分界色带:通过颜色的变化来直观显示市场的强弱状态,帮助投资者辨识市场趋势

    3、止跌反转线:这是一种用于识别可能的价格反转点的公式,有助于捕捉止跌回升的机会。

    二、主图公式如下:

    CTA1:=IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1));

    CTA2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,CTA1)));

    CTA3:=IF(MOD(FROMOPEN,CTA2)<0.5,CTA2,MOD(FROMOPEN,CTA2));

    CTA4:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),V*(CTA2+3)/(CTA3+3),V);

    CTA5:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6),0.2,0.1));

    CTA6:=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,CTA5));

    CTA7:=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,CTA5));

    CTA8:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,CTA5)) AND H!=L AND H>0;

    CTA9:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,CTA5)) AND H=L AND H>0;

    CTA10:=C<=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,CTA5)) AND H!=L AND L>0;

    CTA11:=C<=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,CTA5)) AND H=L AND L>0;

    CTA12:=EMA(COST(85),10)>=REF(EMA(COST(85),10),1);

    CTA13:=CTA12 AND EMA(COST(99),10)>=REF(EMA(COST(99),10),1);

    CTA14:=BARSLAST(H>=CTA6 AND C<H);

    CTA15:=REF(CTA14,CTA14+1)+CTA14+1;

    CTA16:=REF(CTA14,CTA15+2)+CTA15+2;

    CTA17:=CROSS(C,REF(AMOUNT/V/100,CTA14));

    CTA18:=CTA17 OR (REF(C<=REF(AMOUNT/V/100,CTA14),1) AND C>REF(AMOUNT/V/100,CTA14));

    CTA19:=BETWEEN(CTA14,1,8) AND (CTA18) AND REF(COUNT(C>REF(REF(H,CTA14),1),CTA14),1)=0 AND C>O;

    CTA20:=C>REF(REF(AMOUNT/V/100,CTA14),1) AND C>O;

    CTA21:=CTA14>8 AND REF(C,1)<=REF(REF(AMOUNT/V/100,CTA14),1) AND CTA20;

    CTA22:=CTA14>8 AND REF(C,1)<=REF(REF(H,CTA14),1) AND C>REF(REF(H,CTA14),1) AND C>O;

    CTA23:=REF(CTA8 OR CTA9,1) AND C<O;

    CTA24:=CTA23 AND (V>=REF(V,1)*1.9 OR AMOUNT>=REF(AMOUNT,1)*1.9);

    CTA25:=BARSLAST(CTA24);

    CTA26:=H=C OR (O>=REF(H,1) AND C>O);

    CTA27:=H-MAX(O,C)<MAX(O,C)-MIN(O,C);

    CTA28:=MAX(O,C)-MIN(O,C)>(H-MAX(O,C))*1.38;

    CTA29:=MAX(O,C)-MIN(O,C)>MIN(O,C)-L AND MAX(O,C)-MIN(O,C)>H-MAX(O,C);

    CTA30:=IF(CTA26,1,IF(L=O,CTA27,IF(H-MAX(O,C)>MIN(O,C)-L,CTA28,IF(L<O AND H>C,CTA29,DRAWNULL))));

    CTA31:=DYNAINFO(4)>0 AND BARSLASTCOUNT(C/REF(C,1)>1.09)=1;

    CTA32:=BARSLAST(BARSLASTCOUNT(C>REF(C,4))=9>0);

    CTA33:=CTA32>4 AND C/REF(C,1)>1.09 AND C>REF(H,CTA32) AND CTA31;

    CTA34:=MAX(MAX((H-L),ABS((REF(C,1)-H))),ABS((REF(C,1)-L)));

    CTA35:=(REF(CLOSE,1)-REF(MA(CTA34,13),1));

    CTA36:=(C-REF(C,1))/REF(C,1)*100<-5.5 OR C/O<=0.955;

    CTA37:=REF(BARSLAST(CTA36),BARSLAST(CTA36)+1)+BARSLAST(CTA36)+1;

    CTA38:=(REF(O,BARSLAST(CTA36))+REF(C,BARSLAST(CTA36)))/2;

    CTA39:=IF(PERIOD=4,60,IF(PERIOD=5, TOTALFZNUM,1));

    CTA40:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,CTA39)));

    CTA41:=IF(MOD(FROMOPEN,CTA40)<0.5,CTA40,MOD(FROMOPEN,CTA40));

    CTA42:=IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,AMOUNT*(CTA40+3)/(CTA41+3),AMOUNT);

    CTA43:=CTA42>=REF(AMOUNT,1)*1.9 AND (IF(C<=O,C>REF(C,1),1));

    CTA44:=AMOUNT=HHV(AMOUNT,120) AND CTA43 AND CTA4/REF(MA(V,5),1)>2 AND (BARSCOUNT(C)+1)>120;

    CTA45:=REF(BARSLAST(CTA44),BARSLAST(CTA44)+1)+BARSLAST(CTA44)+1;

    CTA46:=REF(DOWNNDAY(C,3),1) AND C>REF(C,1) AND C>=O;

    CTA47:=IF(C>O,V/((H-L)*2-ABS(C-O))*(H-L),IF(C<O,V/((H-L)*2-ABS(C-O))*((H-O)+(C-L)),V/2));

    CTA48:=0-V/((H-L)*2-ABS(C-O))*((H-C)+(O-L));

    CTA49:=IF(C>O,CTA48,IF(C<O,0-V/((H-L)*2-ABS(C-O))*(H-L),0-V/2));

    CTA50:=(CTA47+CTA49)/99/AMOUNT/10000*100;

    CTA51:=STRCAT(STRCAT('总上涨:',CON2STR(DYNAINFO(60),0)),' 只');

    CTA52:=STRCAT(STRCAT('总下跌:',CON2STR(DYNAINFO(61),0)),' 只');

    CTA53:=(DYNAINFO(60)+DYNAINFO(61));

    CTA54:=STRCAT(STRCAT('涨跌比:',CON2STR(DYNAINFO(60)/CTA53*100,2)),' %');

    CTA55:=REF(AMOUNT/V/100,CTA14);

    CTA56:=BETWEEN(CTA14,0,8) AND IF(CTA14=0 AND BETWEEN(C,AMOUNT/V/100,REF(H,CTA14)),1,IF(CTA14>0,COUNT(C<REF(AMOUNT/V/100,CTA14),CTA14)=0 AND COUNT(C>REF(REF(H,CTA14),1),CTA14)=0,0));

    CTA57:=CTA56 AND IF(CODELIKE('43') OR CODELIKE('83') OR CODELIKE('87') OR CODELIKE('88') OR BETWEEN(FINANCE(3),4,8) OR FINANCE(3)=2 OR NAMEINCLUDE('ST') OR NAMELIKE('*'),0,1);

    CTA89:=BETWEEN(C,AMOUNT/V/100,REF(H,CTA14));

    CTA88:=COUNT(C<REF(AMOUNT/V/100,CTA14),CTA14)=0;

    DRAWTEXT_FIX(C>O,0,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF;

    DRAWTEXT_FIX(1,0.00,0.00,0,'板块:'),COLORCYAN;

    DRAWTEXT_FIX(1,0.05,0.00,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'__'),GNBLOCK),'__'),DYBLOCK)),COLORCYAN;

    今夕比:CTA4/REF(V,1),COLORWHITE,NODRAW;

    弱分界:EMA(COST(85),10),COLORRED,DOTLINE;

    强分界:EMA(COST(99),10),COLORGREEN,DOTLINE;

    八日内不破均突:BETWEEN(CTA14,1,8) AND REF(IF(CTA14=0 AND CTA89,1,IF(CTA14>0,CTA88 AND COUNT(C>REF(REF(H,CTA14),1),CTA14)=0,0)),1)=1 AND C>REF(REF(H,CTA14),1),COLORMAGENTA,NODRAW;

    八日内突:CTA19 AND REF(COUNT(CTA19,CTA14),1)=0,COLORYELLOW,NODRAW;

    超八突:CTA21 AND REF(COUNT(CTA21,CTA14),1)<=2,COLORRED,NODRAW;

    超八加:CTA22 AND REF(COUNT(CTA22,CTA14),1)<=2,COLORWHITE,NODRAW;

    破倍阴均:REF(C,1)<=REF(REF(AMOUNT/V/100,CTA25),1) AND C>REF(REF(AMOUNT/V/100,CTA25),1) AND CTA30,COLORYELLOW,NODRAW;

    破倍阴高:REF(C,1)<=REF(REF(H,CTA25),1) AND C>REF(REF(H,CTA25),1) AND CTA30,COLORMAGENTA,NODRAW;

    DRAWBAND(弱分界,RGB(20,20,20),强分界,RGB(60,60,8));

    DRAWBAND(IF(CTA13,强分界,弱分界),RGB(139,35,35),弱分界,RGB(00,00,00));

    DRAWKLINE(H,O,L,C);

    STICKLINE(CTA8,O,C,3,0),COLORMAGENTA;

    STICKLINE(CTA8,H,L,0,0),COLORMAGENTA;

    STICKLINE(CTA10,O,C,3,0),COLORFF8000;

    STICKLINE(CTA10,H,L,0,0),COLORFF8000;

    STICKLINE(CTA9,O,C,3,0),COLORMAGENTA;

    STICKLINE(CTA11,O,C,3,0),COLORBLUE;

    STICKLINE(H>=CTA6 AND C<H,H,MIN(O,C),0,0),COLOR5900B3;

    STICKLINE(H>=CTA6 AND C<H,O,C,0.18,0),COLOR5900B3;

    STICKLINE(L<=CTA7 AND C=CTA6,MIN(O,C),L,0,0),COLORFF8000;

    STICKLINE(L<=CTA7 AND C=CTA6,O,C,0.18,0),COLORFF8000;

    DRAWTEXT(H>=CTA6 AND C<H,H,'炸'),COLORMAGENTA;

    STICKLINE(CURRBARSCOUNT<=CONST(CTA16)+1 AND CTA14>=0,REF(H,CTA14),REF(H,CTA14),4.2,-1),COLORMAGENTA;

    STICKLINE(CURRBARSCOUNT<=CONST(CTA15)+1 AND CTA14>=0,REF(H,CTA14),REF(H,CTA14),4.2,-1),COLORMAGENTA;

    STICKLINE(CURRBARSCOUNT<=CONST(CTA14)+1 AND CTA14>=0,REF(H,CTA14),REF(H,CTA14),4.2,0),COLORMAGENTA;

    DRAWTEXT(ISLASTBAR,REF(H,CTA14),VARCAT(VAR2STR(REF(H,CTA14),2),'←炸分高')),COLORMAGENTA;

    DRAWTEXT(ISLASTBAR,CTA55,VARCAT(VAR2STR(REF(AMOUNT/V/100,CTA14),2),'↙炸分均')),COLORLIGRAY,DRAWABOVE;

    DRAWTEXT(CTA24,H*1.012,'倍阴'),COLORLIGREEN;

    STICKLINE(CTA24,O,C,3,0),COLORLIGREEN;

    STICKLINE(CTA24,L,H,0,0),COLORLIGREEN;

    DRAWTEXT((BARSLASTCOUNT(C>REF(C,4)))=9 AND C>=O,(O+C)/2,'9'),COLORGREEN;

    DRAWTEXT((BARSLASTCOUNT(C>REF(C,4)))=9 AND C<O,(O+C)/2,'9'),COLORFF0000;

    DRAWTEXT((BARSLASTCOUNT(C<REF(C,4)))=9,(O+C)/2,'9'),COLORRED;

    DRAWTEXT(FILTER(CTA33>0,3),L*0.998,'9'),COLORGREEN;

    黄金支撑:(HHV(CTA35,12)),COLORYELLOW;

    DRAWTEXT(ISLASTBAR,黄金支撑,VARCAT(VAR2STR(黄金支撑,2),'←金支撑')),COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<=CONST(CTA37)+1 AND (C<REF(CTA38,BARSLAST(CTA36)) OR BARSLASTCOUNT(C>REF(CTA38,BARSLAST(CTA36)))<=3),CTA38,CTA38,2,0),COLORGREEN;

    DRAWTEXT(CURRBARSCOUNT<=CONST(CTA37)+1 AND BARSLAST(CTA36)=1,CTA38,VARCAT(VAR2STR(CTA38,2),'←上线3日买')),COLORGREEN,DRAWABOVE;

    STICKLINE(CURRBARSCOUNT<=CONST(BARSLAST(CTA46))+1 AND BARSLAST(CTA46)>=0,REF(O,BARSLAST(CTA46)),REF(O,BARSLAST(CTA46)),4,0),COLOR0000BB;

    反转线:REF(H,BARSLAST(CONST(BARSLAST(CTA46))+4=CURRBARSCOUNT)),COLOR65EBD0,DOTLINE;

    DRAWTEXT(ISLASTBAR,反转线,VARCAT(VAR2STR(反转线,2),'←反转')),COLOR65EBD0;

    STICKLINE(CTA44,MIN(O,C),(O+C)/2,2.5,0),COLORLIGREEN;

    DRAWTEXT_FIX(ISLASTBAR AND (CTA47+CTA49)/99>=200 AND (C/REF(C,1)-1)*100>=3,0.92,0.0,0,VARCAT(VARCAT('净买:',VAR2STR((CTA47+CTA49)/99,0)),'万')),COLORRED;

    DRAWTEXT_FIX(ISLASTBAR AND (CTA47+CTA49)/99<-200 AND (C/REF(C,1)-1)*100<=-2,0.92,0.0,0,VARCAT(VARCAT('流出:',VAR2STR((CTA47+CTA49)/99,0)),'万')),COLORGREEN;

    DRAWTEXT_FIX(ISLASTBAR AND CTA50<15,0.92,0.05,0,STRCAT('净流占比:',STRCAT(CON2STR(CTA50,0),'%'))),COLORYELLOW;

    DRAWTEXT_FIX(ISLASTBAR AND CTA50>=15,0.92,0.05,0,STRCAT('净流占比:',STRCAT(CON2STR(CTA50,0),'%'))),COLORMAGENTA;

    DRAWTEXT_FIX(ISLASTBAR,0,1,0,CTA51),COLORRED;

    DRAWTEXT_FIX(ISLASTBAR,0.12,1,0,CTA52),COLORGREEN;

    DRAWTEXT_FIX(ISLASTBAR,0.23,1,0,CTA54),COLORWHITE;

    DRAWTEXT_FIX(ISLASTBAR AND (C/LLV(C,10)-1)*100>=15,0.88,1,0,STRCAT('十日最大涨幅:',STRCAT(CON2STR((C/LLV(C,10)-1)*100,2),' %'))),COLORRED;

    DRAWTEXT_FIX(ISLASTBAR AND (C/LLV(C,10)-1)*100<15,0.88,1,0,STRCAT('十日最大涨幅:',STRCAT(CON2STR((C/LLV(C,10)-1)*100,2),' %'))),COLORWHITE;

    三、上线3日买选股:

    CTA1:=IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1));CTA2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,CTA1)));CTA3:=IF(MOD(FROMOPEN,CTA2)<0.5,CTA2,MOD(FROMOPEN,CTA2));CTA4:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),V*(CTA2+3)/(CTA3+3),V);CTA5:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6),0.2,0.1));CTA36:=(C-REF(C,1))/REF(C,1)*100<-5.5 OR C/O<=0.955;CTA37:=REF(BARSLAST(CTA36),BARSLAST(CTA36)+1)+BARSLAST(CTA36)+1;CTA38:=(REF(O,BARSLAST(CTA36))+REF(C,BARSLAST(CTA36)))/2;XG:CURRBARSCOUNT<=CONST(CTA37)+1 AND BARSLAST(CTA36)=1;

    风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。

    图片

    END 本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。

    上一篇:昭通股票配资 6月28日基金净值:工银尊益中短债A最新净值1.1585,涨0.01%
    下一篇:石家庄炒股配资 2024世界人工智能大会暨人工智能全球治理高级别会议全体会议在上海举办,图灵得主共话“全球治理”