最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 趋势看盘--专做主升浪!

    正文概述    2024-04-13 12:30:21  

    打蛇要打七寸,牵牛要牵牛鼻,炒股就要做主升浪!
     主升浪做的是趋势, 本帖指标有三个,一个主图,两个附图。
     用法在图中有说明!用一二三标明了,很容易理解的操作!
     第一次发帖,希望大家喜欢! 
    源码在图后面!
    {趋势主图,选择主图叠加}
    DRAWBAND(MA(CLOSE,5),RGB(100,0,0),MA(CLOSE,20),RGB(0,100,0));
    DRAWKLINE(H,O,L,C);
    PM:MA(C,5),COLORGRAY,LINETHICK1;{可用13}
    IF(PM IF(PM>=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
    IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
    A:=MA(CLOSE,12)+ABS(MA(CLOSE,12)-REF(MA(CLOSE,12),1));{原公式为17,最终确定为12}
    B:=MA(CLOSE,12)+MA(CLOSE,12)-REF(MA(CLOSE,12),1);
    分水岭:=IF(MA(CLOSE,12) 操作线:=分水岭-(EMA(C,3)-分水岭);
    AA:=CROSS(分水岭,操作线);
    STICKLINE(AA,C,O,3,0),COLOR0000AA;
    STICKLINE(AA,C,O,2,0),COLOR0033CC;
    STICKLINE(AA,C,O,1,0),COLOR0055EE;
    STICKLINE(AA,C,O,0.3,0),COLOR0099FF;
    STICKLINE(AA,H,L,0,1),COLOR0099FF;
    RR:=CROSS((MA(VOL,5)),(MA(VOL,10))) AND MA(C,2)>=MA(C,4); {AND VOL>=REF(VOL,1)}
    STICKLINE(RR,C,O,3,0),COLOR0000AA;
    STICKLINE(RR,C,O,2,0),COLOR0033CC;
    STICKLINE(RR,C,O,1,0),COLOR0055EE;
    STICKLINE(RR,C,O,0.3,0),COLOR0099EE;
    STICKLINE(RR,H,L,0,1),COLOR0099FF;
    MA5:MA(CLOSE,5),NODRAW;
    MA20:MA(CLOSE,20),COLORFFCC66,LINETHICK2;
    DRAWICON(CROSS(PM,MA20),L*0.9998,9);

     


    {见红有庄附图}
    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;
    AA:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
    AA1:=EMA(AA,M1);
    DRAWBAND(AA,RGB(255,0,0),AA1,RGB(0,100,50));
    BTJ1:=(C-JJ)/JJ<-0.005;
    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(AA,AA1) AND  AA<-0.3;
    BTJ32:=CROSS(AA,AA1) AND  AA<-0.1;
    STJ31:=CROSS(AA1,AA);
    STJ32:=CROSS(AA1,AA) AND  AA>1.618;
    BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
    BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
    BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
    DRAWICON(BTJ82,AA1,23);
    DRAWICON(BTJ81 AND TIME>10,AA1,27);
    DRAWICON(BTJ811 AND TIME>10,AA1,26);
    DRAWTEXT(BTJ81,AA1,''),COLORRED;
    DRAWTEXT(BTJ811,AA1*1.2,'有庄'),COLORWHITE;


    {老指标,主力控盘}
    VAR1:=EMA(EMA(CLOSE,9),9);
    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
    STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;
    A10:=CROSS(控盘,0);
    无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,LINETHICK1;
    开始控盘:IF(A10,5,0),LINETHICK2,COLORYELLOW;
    STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;
    有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,LINETHICK1;
    VAR2:=100*WINNER(CLOSE*0.95);
    STICKLINE(VAR2>50 AND COST(85)0,控盘,0,1,0),COLORFF00FF;
    高度控盘:IF(VAR2>50 AND COST(85)0,控盘,0),COLORFF00FF,LINETHICK1;
    STICKLINE(控盘0,控盘,0,1,0),COLOR00FF00;
    控盘趋弱:IF(控盘0,控盘,0),COLOR00FF00,LINETHICK1;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 趋势看盘--专做主升浪! 加入收藏