最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信经典波段与发现大庄结合使用副图源码

    正文概述    2024-04-13 20:25:45  

    指标来源于网络,使用心得,股价连续三天在5日线以上,经典波段指标大于0,发现大庄指标出现买入,DMA指标金叉三天以上,坚决买入

    经典波段:
    N:=21;
    VAR1:=HHV(HIGH,9)-LLV(LOW,9);
    VAR2:=HHV(HIGH,9)-CLOSE;
    VAR3:=CLOSE-LLV(LOW,9);
    VAR4:=VAR2/VAR1*100-70;
    VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    VAR6:=(2*CLOSE+HIGH+LOW)/4;
    VAR7:=SMA(VAR3/VAR1*100,3,1);
    VAR8:=LLV(LOW,34);
    VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
    VARA:=IF(VAR9>100,VAR9-100,0);
    VARB:=HHV(HIGH,34);
    AA:= VARA*2;
    BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
    VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
    CC:= SMA(VAR5,20,1);
    VARD:=SMA(AA,2,1)-AA;
    VARE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;
    VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
    VAR2A:=SMA(VAR1A,9,1)+100;
    VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    VAR4A:=SMA(VAR3A,3,1);
    VAR5A:=SMA(VAR4A,3,1)+100;
    VAR6A:=VAR5A-VAR2A;
    提前抄底: IF(VAR6A>N,VAR6A-N,0),COLORFFFFFF;
    LC:=REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    E:=CROSS(83,RSI);
    STICKLINE( E,E,55,1,0),COLOR00FFFF;
    DRAWTEXT(E,50,' 逃顶'),COLORFF9966;
    STICKLINE(REF(提前抄底,1)<提前抄底,提前抄底,REF(提前抄底,1),5,0),COLORFF00FF;
    STICKLINE(REF(提前抄底,1)>提前抄底,提前抄底,REF(提前抄底,1),5,0),COLORFFCC66;

    发现大庄:.cn}

    VAR1:=EMA(EMA(CLOSE,13),13);
    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
    STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;
    STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;
    无庄控盘:=控盘<0;
    STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;
    有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
    VAR2:=100*WINNER(CLOSE*0.95);
    STICKLINE(控盘0,控盘,0,1,1),COLORFFFF00;
    主力出货:=控盘0;
    STICKLINE(VAR2>50 AND COST(85)0,控盘,0,1,1),COLOR00FFFF;
    高度控盘: VAR2>50 AND COST(85)0,COLOR00FFFF,LINETHICK2;
    A10:=CROSS(控盘,0);
    控盘B:=FILTER(IF(A10,1,0),5);
    {分时价格原码}
    JJ:=DYNAINFO(11);
    {波段买卖原码}
    P:=55;S:=8;M1:=3;
    财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
    神:=EMA(财,M1),COLORGREEN,LINETHICK1;
    DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));
    {股价与均线偏离买卖条件}
    BTJ1:=(C-JJ)/JJ<-0.03;
    BTJ11:=(C-JJ)/JJ<-0.03;
    BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
    STJ1:=(C-JJ)/JJ>0.005;
    {控盘买卖条件}
    STJ01:=控盘0.5;
    STJ02:=控盘>0;
    BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
    BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
    {波段买卖条件}
    BTJ3:=CROSS(财,神) AND 财<-0.3;
    BTJ32:=CROSS(财,神) AND 财<-0.1;
    STJ31:=CROSS(神,财);
    STJ32:=CROSS(神,财) AND 财>1.618;
    {以下为信号};.cn}
    BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
    BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
    BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
    DRAWTEXT(BTJ81,神,'↑买底'),COLORRED;
    DRAWTEXT(BTJ811,神*1.2,'↑有庄'),COLORWHITE;
    STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
    STJ82:=FILTER(STJ02 AND STJ32 ,13);
    STJ83:=STJ81 AND STJ82;
    DRAWTEXT(STJ83,神,'↓卖'),COLOR00FF00;
    DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED;
    DEA: EMA(DIFF,3),COLORGREEN;
    庄:= BTJ11 AND BTJ2 AND BTJ3;
    有庄:FILTER(庄,55),COLORWHITE;
    DRAWTEXT(BTJ811,有庄,'有庄'),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信经典波段与发现大庄结合使用副图源码 加入收藏