最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信大黑马买在启动前之选股指标公式

    正文概述    2024-05-04 04:44:29  

    以下是通达信大买在启动前之指标公式源码和截图


    通达信大黑马买在启动前之选股指标公式源码:

       DIFF:Ema(CLOSE,7)-EMA(CLOSE,19);

       DEA:EMA(DIFF,9);

       :2*(DIFF-DEA),COLORstICK;

       A1:=BArslAST(REF(crOSS(DIFF,DEA),1));

       B1:=REF(C,A1+1) CANDREF(DIFF,A1+1) DIFFANDCROSS(DIFF,DEA);

       A2:=BARSLAST(REF(CROSS(".K"(9,3,3),"kdJ.D"(9,3,3)),1));

       B2:=REF(C,A2+1) CANDREF("KDJ.K"(9,3,3),A2+1) "KDJ.K"(9,3,3)ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));

       A3:=BARSLAST(REF(CROSS(".RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));

       B3:=REF(C,A3+1) CANDREF("RSI.RSI1"(6,12,24),A3+1) "RSI.RSI1"(6,12,24)ANDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));

       C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));

       D1:=REF(C,C1+1) CANDREF(DIFF,C1+1) DIFFANDCROSS(DEA,DIFF);

       C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));

       D2:=REF(C,C2+1) CANDREF("KDJ.K"(9,3,3),C2+1) "KDJ.K"(9,3,3)ANDCROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));

       C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));

       D3:=REF(C,C3+1) CANDREF("RSI.RSI1"(6,12,24),C3+1) "RSI.RSI1"(6,12,24)ANDCROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));

       MacD底背:IF(B1 0,-0.1,0),COLORRED,POINTDOT;

       KDJ底背:IF(B2 0,-0.1,0),COLORFF00FF,POINTDOT;

       RSI底背:IF(B3 0,-0.1,0),COLORYELLOW,POINTDOT;

       MACD顶背:IF(D1 0,0.1,0),COLOR00FF00,POINTDOT;

       KDJ顶背:IF(D2 0,0.1,0),COLORFFCC66,POINTDOT;

       RSI顶背:IF(D3 0,0.1,0),COLORWHITE,POINTDOT;

       STICKLINE(B1 0,-0.1,0,2,0),COLORRED;

       STICKLINE(B2 0,-0.1,0,2,0),COLORFF00FF;

       STICKLINE(B3 0,-0.1,0,2,0),COLORYELLOW;

       STICKLINE(D1 0,0.1,0,2,0),COLOR00FF00;

       STICKLINE(D2 0,0.1,0,2,0),COLORFFCC66;

       STICKLINE(D3 0,0.1,0,2,0),COLORWHITE;

       STICKLINE(MACD REF(MACD,1)ANDMACD 0,0,MACD,0,0),COLORRED;

       STICKLINE(MACD =REF(MACD,1)ANDMACD 0,0,MACD,0,0),COLORYELLOW;

       STICKLINE(MACD REF(MACD,1)ANDMACD 0,0,MACD,0,0),COLORCYAN;

       STICKLINE(MACD =REF(MACD,1)ANDMACD 0,0,MACD,0,0),COLORMAGENTA;

       STICKLINE(C 0,0,0,50,1),COLORBLUE;

       DIFF,COLORGREEN;

       DEA,COLORYELLOW;强:IF(DIFF MA(DIFF,2),DIFF,DRAWNULL),COLORRED;

       弱:IF(DEA MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;

       {

       选股公式:

       IF(TROUGHBARS(3,15,1)=0ANDHIGH LOW+0.01,1,-0);

       }

       上:=(SMA(HIGH,21,2)*1.05);

       下轨道:(SMA(LOW,21,2)*0.969),POINTDOT,COLOR00FFFF;

       BMA:=MA(CLOSE,118);

       阻挡:=(SMA(HIGH,21,2)*1.05);

       RSV:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100);

       K:=SMA(RSV,3,1);

       D:=SMA(K,3,1);

       J:=((3*K)-(2*D));

       RSV12:=(((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*100);

       K12:=SMA(RSV12,3,1);

       D12:=SMA(K12,3,1);

       J12:=((3*K12)-(2*D12));

       RSV24:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100);

       K24:=SMA(RSV24,3,1);

       D24:=SMA(K24,3,1);

       J24:=((3*K24)-(2*D24));

       支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));

       压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),COLOR00FF00;

       U2L:=IF((CLOSE =MA(CLOSE,20)),80,50);

       L2L:=IF((CLOSE =MA(CLOSE,20)),50,20);

       RH1:=IF(((J U2L)AND(REF(J,1) =U2L)),HHV(REF(HIGH,1),(BARSLAST(((J =U2L)AND(REF(J,1) U2L)))-1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J =U2L)AND(REF(J,1) U2L)))-1)),BARSLAST(((J U2L)ANDREF(J,1)))));

       RH4:=IF((HIGH RH1),LOW,REF(LOW,BARSLAST((HIGH RH1))));

       RH42:=IF((HIGH RH1),J,REF(J,BARSLAST((HIGH RH1))));

       RH5:=IF((((HIGH RH4)AND(J RH42))AND(J J24)),HIGH,REF(HIGH,BARSLAST((((HIGH RH4)AND(J RH42))AND(J J24)))));

       RL1:=IF(((J L2L)AND(REF(J,1) =L2L)),LLV(REF(LOW,1),(BARSLAST(((J =L2L)AND(REF(J,1) L2L)))-1)),REF(LLV(REF(LOW,1),(BARSLAST(((J =L2L)AND(REF(J,1) L2L)))-1)),BARSLAST(((J L2L)ANDREF(J,1)))));

       RL4:=IF((LOW RL1),HIGH,REF(HIGH,BARSLAST((LOW RL1))));

       RL42:=IF((LOW RL1),J,REF(J,BARSLAST((LOW RL1))));

       RL5:=IF((((LOW RL4)AND(J RL42))AND(J J24)),LOW,REF(LOW,BARSLAST((((LOW RL4)AND(J RL42))AND(J J24)))));

       CB:=((AMOUNT/VOL)/100);

       CD:=((CB HIGH)OR(CB LOW));

       黑马:=MA(CLOSE,3);

       MAP:=MA(CLOSE,8);

       AA5:=MA(CLOSE,21);

       AA10:MA(CLOSE,8),COLOR00FFFF;

       AA12:MA(CLOSE,12),COLOR0000FF;

       BB10:=((ATAN((AA10-REF(AA10,1)))*3.1416)*10);

       BB12:=((ATAN((AA12-REF(AA12,1)))*3.1416)*10);

       MA13:=MA(CLOSE,13);

       DRAWTEXT(FILTER(((((((CLOSE/OPEN) 1.04)AND((CLOSE-REF(CLOSE,1)) 0))AND(CLOSE 下轨道))AND((AA10-REF(AA10,1)) 0))AND(CLOSE 上)),3),(LOW-0.07),''追击''),COLORD1E768;

       VARD:=((((OPEN+LOW)+HIGH)+CLOSE)/4);

       支撑:=EMA(VARD,5);

       短期底部:=LLV(OPEN,30);

       X1:=(((((3*CLOSE)+HIGH)+LOW)+OPEN)/6);

       X2:=EMA(X1,10);

       X3:=REF(X2,1);

       X4:=((REF(HIGH,1)+REF(LOW,1))/2);

       X5:=(MA(CLOSE,21)+(2*STD(CLOSE,21)));

       X6:=REF(CLOSE,1);

       X7:=((SMA(MAX((CLOSE-X6),0),7,1)/SMA(ABS((CLOSE-X6)),7,1))*100);

       X8:=CROSS(79,X7);

       X9:=FILTER(X8,4);

       MAP1:=MA(CLOSE,60);

       30:=MA(CLOSE,30);

       均线89:=MA(CLOSE,89);

       均线:=MA(CLOSE,16);

       均线34:=MA(CLOSE,34);

       均线55:=MA(CLOSE,55);

       VAR1:=EMA(CLOSE,8);

       VAR2:=EMA(VAR1,20);

       VAR3:=CROSS(VAR1,VAR2);

       VAR4:=(VAR1 MA(CLOSE,60));

       VAR5:=(((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*100);

       VAR6:=SMA(VAR5,5,1);

       VAR7:=SMA(VAR6,8,1);

       VAR8:=(CROSS(VAR6,VAR7)AND(VAR7 16));

       VAR9:=((CLOSE (LLV(CLOSE,60)+(0.3*LLV(CLOSE,60))))ANDVAR8);

       VARA:=IF((CLOSE 1000),VAR8,VAR9);

       黑马起步:=(VAR3ANDVAR4);

       逃遁:=VARA;

       均线20:=MA(CLOSE,20);

       均线120:=MA(CLOSE,120);

       牛熊线:=MA(CLOSE,250);

       VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));

       VB:=(MA(CLOSE,20) MA(CLOSE,120));

       VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));

       VD:=(MA(CLOSE,20) MA(CLOSE,120));

       VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));

       VF:=(MA(CLOSE,20) MA(CLOSE,250));

       VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));

       DRAWTEXT((((((均线-REF(均线,1)) 0)ANDCROSS(均线20,均线120))AND(LOW =均线120))AND(CLOSE =均线120)),LOW,'三线开花'),COLORFFFFFF;

       短期底部2:LLV(HIGH,30),LINETHICK2,COLOR0000FF;

       上轨:(SMA(HIGH,21,2)*1.092),POINTDOT,COLORFFFFFF;

       中轨道:(SMA(HIGH,21,2)*1.017),POINTDOT,COLORFFFFFF;

       DRAWTEXT(FILTER(((((LOW 下轨道)AND(CLOSE MA(CLOSE,15)))AND(CLOSE 短期底部2))AND(HIGH 压力位)),10),LOW,'★5%'),COLOR9DC522;

       DRAWTEXT(((((((HIGH =均线120)AND(CLOSE REF(CLOSE,1)))AND(CLOSE REF(CLOSE,1)))AND(HIGH 上))AND(CLOSE 上))AND(CLOSE 均线120)),(HIGH+0.05),'减仓'),COLOR00FF00;

       DRAWTEXT(FILTER(((HIGH 阻挡)AND(CLOSE 阻挡)),5),(HIGH+0.15),'←逃命');

       DRAWTEXT(((VE VG)AND(HIGH 阻挡)),(LOW-0.65),'★黑马短线'),COLOR00FFFF;

       DRAWTEXT(FILTER(((((((((((OPEN X2)AND(CLOSE X2))AND((支撑-REF(支撑,1)) 0))AND((支撑-REF(支撑,1)) 0))AND(CLOSE 阻挡))AND((均线-REF(均线,1)) 0))AND(CLOSE =均线))AND(HIGH 阻挡))AND((AA10-REF(AA10,1)) 0))AND((阻挡-REF(阻挡,2)) 0)),11),(LOW-0.15),'★快马加鞭'),COLOR0000FF;

       DRAWTEXT((((((((CROSS(黑马趋势,RL5)AND((黑马趋势-REF(黑马趋势,1)) 0))AND(HIGH 压力位))AND(LOW =短期底部))AND(CLOSE 支撑位))AND(CD 1))AND(CLOSE OPEN))AND(CLOSE RL5)),LOW,'←短买'),COLOR00FF00;

       DRAWTEXT(FILTER((((((((LOW =短期底部)AND((CLOSE-REF(CLOSE,1)) CLOSE))AND((MA(CLOSE,10)-REF(MA(CLOSE,10),1)) 0))AND(WINNER(CLOSE) 0.05))AND(短期底部=RL5))AND(LOW =RL5))AND(HIGH 压力位)),3),LOW,'★机会难得'),COLORFFFFFF;

       SS1:=(LOW+HIGH+CLOSE*2)/4;

       SS2:=MA(SS1,4);

       SS3:=HHV(SS2,10);

       SS4:=MA(SS3,3);

       SS5:=1.25*SS4-0.25*SS3;

       XKKJ:=IF(SS5 SS3,SS3,SS5);

       FF1:=LLV(SS2,10);

       FF2:=MA(FF1,3);

       FF3:=1.25*FF2-0.25*FF1;

       DKKJ:=IF(FF3 FF1,FF1,FF3);

       MA13:=MA(C,13);

       ZDHM:=CROSS(C,DKKJ)ANDCROSS(C,MA13)ANDCROSS(C,XKKJ);

       ZHM:=CROSS(C,MA13)ANDCROSS(C,XKKJ);

       大黑马:IF(ZDHMORZHM,50,0);




    通达信大黑马买在启动前之选股指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信大黑马买在启动前之选股指标公式 加入收藏