最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信启动进场优化主图指标公式

    正文概述    2024-05-04 04:35:43  

    以下是通达信启动进场优化主图指标公式源码和使用说明


    通达信启动进场优化主图指标公式源码:

       ma6:=MA(CLOSE,6);

       MA18:=MA(CLOSE,18);

       MA3:(3)*(MA18)-(2)*(MA6),LINETHICK1,COLORD39D91;

       MA4:(3)*(MA6)-(2)*(MA18),LINETHICK2,COLOR87B08B;

       M1:SUM((EMA((CLOSE+LOW)/(2),2))/(2.98),3),POINTDOT,COLORFFFFFF;

       M2:EMA(M1,21),COLORFF00FF;

       M30:MA(CLOSE,30),LINETHICK1,COLORFF0000;

       VAR1:=(2)*(MA((LLV((CLOSE+LOW)/(2),8))*(1.1),13))-EMA((CLOSE+LOW)/(2),3)-((CLOSE+LOW)/(2))*(0.1);

       VAR2:=IF(((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5) 0),(POW((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5),2)))/(10));

       VAR3:=IF((VAR2 0),VAR2-0,(-1));

       DRAWTEXT(crOSS(VAR3,0)AND((CLOSE+LOW)/(2) MA((CLOSE+LOW)/(2),8)),(M2)*(1.01),'绝杀'),LINETHICK2,COLORYELLOW;

       stICKLINE(CROSS(VAR3,0)AND((CLOSE+LOW)/(2) MA((CLOSE+LOW)/(2),8)),(LOW)*(0.99),(LOW)*(0.95),4,0),COLORYELLOW;

       EMA3:=EMA(C,3),COLORWHITE,LINETHICK1;

       EMA13:=EMA(C,13),COLORYELLOW;

       EMA21:EMA(C,21),COLORWHITE,LINETHICK1;

       EMA55:=EMA(C,55),COLORGREEN;

       AR1:=EMA21 EMA13ANDEMA13 EMA3;

       AR2:=BArslAST((C-EMA3)/EMA3*100

       AR3:=EMA3 =REF(EMA3,2);

       AR4:=COUNT(crOSS(C,EMA3),AR2)=1;

       AR5:=AR1ANDAR2ANDAR3ANDAR4;

       AR6:=AR5ANDFILTER(AR5,10);

       DRAWTEXT(AR6,L-0.09,'启动'),COLORYELLOW;

       STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;

       {STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}

       BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5),5)=5;

       BR2:=Abs((EMA3-EMA13)+(EMA13-EMA21))/C

       BR3:=C EMA21AND(REF(C,1) REF(EMA21,1)ORREF(C,2) REF(EMA21,2)ORREF(C,3) REF(EMA21,3)ORREF(C,4) REF(EMA21,4)ORREF

       (C,5) REF(EMA21,5));

       BR4:=BR1ANDBR2ANDBR3;

       {DRAWTEXT(BR4ANDFILTER(BR4,10),L-0.09,'蚂转强'),COLOR00C5FF;}

       {STICKLINE(BR4ANDFILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;}

       {STICKLINE(BR4ANDFILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}

       CR1:=(C-REF(C,1))/REF(C,1)*100

       CR2:=V MA(V,5)*0.6;

       CR3:=COUNT(CROSS(EMA3,EMA21),3)=1;

       CR4:=ABS(EMA13-EMA21)/EMA21 0.03;

       CR5:=EMA21 =EMA55ANDEMA21 =REF(EMA21,1);

       CR6:=FILTER(CR1ANDCR2ANDCR3ANDCR4ANDCR5,2);

       {STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;}

       {STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}

       {DRAWTEXT(CR6,L-0.09,'侠拉升2'),COLORF00FF0;}

       DR1:=EMA3 EMA13ANDEMA13 EMA21;

       DR2:=BARSLAST(CROSS(C,EMA21));

       DR3:=H=HHV(H,DR2);

       DR4:=BARSLAST(DR3);

       DR5:=COUNT(O CANDC REF(C,1)ANDC EMA21ANDBETWEEN((C-EMA21)/EMA21,0,0.02),DR4)=1;

       DR6:=C REF(C,1);

       DR7:=DR1ANDDR5ANDDR6;

       DR8:=DR7ANDFILTER(DR7,10);

       {DRAWTEXT(DR8,L-0.09,'黑拉升1'),COLORD6BA63;}

       {STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;}

       {STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;

       ER:=BARSLAST(REF(CROSS(EMA21,EMA13),1))ANDCROSS(EMA13,EMA21);

       DRAWTEXT(ER,L-0.09,'均上攻'),COLOR0099FF;}

       {STICKLINE(ER,H,L,0.5,1),COLOR0099FF;}

       {STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}

       FR:=BARSLAST(REF(CROSS(EMA13,EMA3),1))ANDCROSS(EMA3,EMA13);

       {DRAWTEXT(FR,L-0.09,'梅上升中继'),COLORWHITE;

       STICKLINE(FR,H,L,0.5,1),COLORWHITE;}

       {STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}

       GR1:=BARSLAST(BETWEEN("bias.BIAS2"(6,3,24),0,5));

       GR2:=EMA3 EMA13ANDEMA13 EMA21ANDEMA3 REF(EMA3,1);

       GR3:=COUNT("BIAS.BIAS2"(6,3,24) 10ANDH=HHV(H,GR1),GR1);

       GR4:=H=HHV(H,GR1);

       GR5:=".MacD"(12,26,9) REF("MACD.MACD"(12,26,9),1);

       GR6:=GR2ANDGR3ANDGR4;

       GR7:=GR2ANDGR3ANDGR4ANDGR5;

       DRAWTEXT(GR6ANDGR7,H+0.3,'见'),COLOR00FF00;

       STICKLINE(GR6ANDGR7,H,H+0.09,4,0),COLOR00FF00;

       HR2:=EMA3 =REF(EMA3,3)ANDEMA13 =REF(EMA13,1)ANDEMA21 =REF(EMA21,1)ANDCROSS(C,EMA3)ANDCROSS(C,EMA13)ANDCROSS

       (C,EMA21){ANDCROSS(C,EMA55)};

       DRAWTEXT(HR2ANDFILTER(HR2,10),L-0.09,'进场!'),COLORFFC8FF;

       STICKLINE(HR2ANDFILTER(HR2,10),H,L,0.5,1),COLORFFC8FF;

       {STICKLINE(HR2ANDFILTER(HR2,10),O,C,6,1),LINETHICK2,COLORFFC8FF;};

       MA1:=MA(CLOSE,34),COLORBLUE;

       K1:=(C+H+L)/3;

       D1:=MA(K1,4);

       高:=REF(HHV(H,80),1);

       低:=REF(LLV(L,80),1);

       顶点:REFDATE(高,DATE),COLORGREEN,LINETHICK1;

       低点:REFDATE(低,DATE),COLORRED,LINETHICK1;

       AA05:=MA(C,5),LINETHICK2,COLOR00CCFF;

       BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

       IF(BB05 30ANDAA05 REF(AA05,1),AA05,DRAWNULL),LINETHICK2,COLORRED;

       {DRAWTEXT(REF(C,1) D1ANDC D1ANDD1 REF(D1,1),H*1.02,'卖'),COLORGREEN;

       DRAWTEXT(REF(C,1) D1ANDC D1ANDD1 REF(D1,1),L*0.98,'买'),COLORRED;};

       Z1:=STRCAT(HYBLOCK,'');

       Z2:=STRCAT(Z1,DYBLOCK);

       Z3:=STRCAT(Z2,'');

       DRAWTEXT_FIX(ISLASTBAR,0.4,0.04,0,EXTERNSTR(0,3)),COLORWHITE;

       DRAWTEXT_FIX(ISLASTBAR,0.4,0.07,0,EXTERNSTR(0,6)),COLORLIBLUE;

       DRAWTEXT_FIX(ISLASTBAR,0.4,0.1,0,EXTERNSTR(0,12)),COLORLIGREEN;

       DRAWTEXT_FIX(ISLASTBAR,0.35,0.08,0,FGBLOCK),COLORLIMAGENTA;

       DRAWTEXT_FIX(ISLASTBAR,0.4,0.13,0,EXTERNSTR(0,1)),COLORYELLOW;

       总额:=AMOUNT;

       买:=IF(O=CAND(C-REF(C,1))/REF(C,1)*100 9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));

       买%:=买/AMOUNT*100;

       流入:=AMOUNT*买%/10000000000;

       流出:=AMOUNT/100000000-流入;

       净流:=流入-流出;

       净流3:=SUM(流入-流出,3);

       净流5:=SUM(流入-流出,5);

       净流10:=SUM(流入-流出,10);

       总额10:=SUM(AMOUNT,10);

       画:=CONST(FINDHIGH(总额10,0,190,1));

       DRAWTEXT_FIX(CURRBARSCOUNT=30,0.08,0.08,0,'净流亿(135):'),COLOR0099FF;

       DRAWNUMBER_FIX(CURRBARSCOUNT=25,0.17,0.08,0,CONST(净流)),COLORRED;

       DRAWNUMBER_FIX(CURRBARSCOUNT=19,0.22,0.08,0,CONST(净流3)),COLORYELLOW;

       DRAWNUMBER_FIX(CURRBARSCOUNT=13,0.26,0.08,0,CONST(净流5)),COLORFF00FF;

       :V/REF(V,1)COLORYELLOWNODRAW;

       所属地域:DRAWTEXT_FIX(1,0.005,0.05,0,DYBLOCK),COLORWHITE;

       所属行业:DRAWTEXT_FIX(1,0.005,0.1,0,HYBLOCK),COLORWHITE;

       所属概念:DRAWTEXT_FIX(1,0.005,0.15,0,GNBLOCK),COLORWHITE;

       SSTS:=STRCAT(STRCAT('上市:',CON2STR(FINANCE(42)/1,0)),'天');

       LTSZ:=STRCAT(STRCAT('流通市值:',CON2STR(FINANCE(40)/100000000,0)),'亿');

       YSTB:=STRCAT(STRCAT('营收同比:',CON2STR(FINANCE(44)/1,2)),'%');

       LRTB:=STRCAT(STRCAT('利润同比:',CON2STR(FINANCE(43)/1,2)),'%');

       DRAWTEXT_FIX(1,0.005,0,0,SSTS),COLORWHITE;

       DRAWTEXT_FIX(1,0.085,0,0,LTSZ),COLORWHITE;

       DRAWTEXT_FIX(1,0.185,0,0,YSTB),COLORWHITE;

       DRAWTEXT_FIX(1,0.285,0,0,LRTB),COLORWHITE;

       净资收益率:=(FINANCE(33)/FINANCE(34)*100);

       主营利润率:=(FINANCE(23)/FINANCE(20)*100);

       主营业增长率:=FINANCE(44);

       每股净资产:=CONST(FINANCE(34));

       每股收益:=CONST(FINANCE(38));

       净利润增长率:=FINANCE(43);

       市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));

       现金负债比:=(FINANCE(25)/FINANCE(15));

       每股未分配:=CONST(FINANCE(32));

       每股公积金:=CONST(FINANCE(18));

       SY01:=净资收益率

       SY02:=净资收益率 0.01AND净资收益率

       SY03:=主营利润率

       SY04:=主营利润率

       SY05:=主营业增长率

       SY06:=主营业增长率

       SY07:=净利润增长率

       SY08:=净利润增长率

       SY09:=每股收益 0.01;

       SY10:=每股收益 0.001;

       SY11:=每股净资产

       SY12:=每股净资产 0.01;

       SY13:=每股未分配

       SY14:=每股未分配 0.001;

       SY15:=每股公积金

       SY16:=每股公积金 0.002;

       SY17:=每股未分配 =2AND每股公积金

       SY18:=每股未分配 2OR每股公积金

       优秀:=SY01ANDSY03ANDSY05ANDSY07ANDSY09ANDSY11

       ANDSY13ANDSY15;

       较好:=SY02ANDSY04ANDSY06ANDSY08ANDSY10ANDSY12

       ANDSY14ANDSY16;

       一般:=NOT(优秀)ANDNOT(较好);

       DRAWTEXT_FIX(优秀AND较好=0,0.45,0,0,'综合评估:优秀!'),COLORMAGENTA;

       DRAWTEXT_FIX(较好,0.45,0,0,'综合评估基本面:较好!'),COLORRED;

       DRAWTEXT_FIX(一般,0.45,0,0,'综合评估基本面:一般!'),COLORGREEN;

       DRAWTEXT_FIX(SY17,0.65,0,0,'是否具备高送转潜力:是!'),COLORMAGENTA;

       DRAWTEXT_FIX(SY18,0.65,0,0,'是否具备高送转潜力:否!'),COLORGREEN;

       AA1:=SUM(IF(CLOSE REF(CLOSE,1),/CAPITAL*100,IF(CLOSE REF(CLOSE,1),-

       VOL/CAPITAL*100,0)),0);

       成交额:=V*C/100,NODRAW;{万元}

       AA2:=SUM((IF(((成交额/8 20)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0);

       AA3:=SUM((IF(((成交额/8 20)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0);

       AA4:=SUM((IF(((成交额/8 20)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0);

       AA5:=SUM((IF(((成交额/8 20)AND(CLOSE (REF(CLOSE,1)))),成交额,0)),0);

       AA6:=((AA2+AA3)+AA4)+AA5;

       DD1:=1;

       AAA1:=STRCAT(STRCAT('持有',CON2STR((100*AA2)/AA6,0)),'%');

       AAA2:=STRCAT(STRCAT('持有',CON2STR((100*AA3)/AA6,0)),'%');

       DRAWTEXT_FIX(DD1=1,0.9,0.9,0,AAA1),COLORRED;

       DRAWTEXT_FIX(DD1=1,0.9,0.99,0,AAA2),COLORGREEN;

       线:=20;

       F1:=ZIG(3,15);

       方向:=IF((F1 REF(F1,1)),5,105);

       A1:=DYNAINFO(6);

       A2:=IF(LOW A1,0,IF(HIGH A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));

       A3:=VOL/WINNER(LOW);

       A4:=REF(HHV(CLOSE,120),1);

       A5:=REF(LLV(CLOSE,120),1);

       A6:=100*(CLOSE-A5)/(A4-A5);

       A7:=A2 0ORA2=1;

       A8:=A7ANDA3/REF(A3,3) =3ANDA6

       A11:=IF(FILTER(A8,3),5,0);

       XG:=A11;

       合并:CROSS(抄底线,方向)ANDXG;




    通达信启动进场优化主图指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信启动进场优化主图指标公式 加入收藏