最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 将【突击】和【强势】两个选股公式合并一个选股公式

    正文概述    2024-04-14 17:16:59  

    【突击】选股公式源码:
    VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
    VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
    VAR400:=EMA(VAR300,5);
    操盘:=3*VAR300-2*VAR400;
    选股:CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O,COLOR770077;
     

    =======================

    【强势】选股公式源码:

    JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
    介必升:=FILTER(JBS,28)*100;
    VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
    VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
    强势预警:=VAR2 AND COUNT(VAR2,60)=1;
    STICKLINE(强势预警 ,75,66,1,0),COLORRED;
    STICKLINE(强势预警 ,66,57,2,0),COLORMAGENTA;
    STICKLINE(强势预警 ,57,48,3,0),COLORGREEN;
    STICKLINE(强势预警 ,48,39,4,0),COLORBLUE;
    STICKLINE(强势预警 ,30,21,6,0),COLORBROWN;
    STICKLINE(强势预警 ,39,30,5,0),COLORCYAN;
    STICKLINE(强势预警 ,21,12,7,0),COLORYELLOW;
    STICKLINE(强势预警 ,12,3,8,0),COLORWHITE;
    DRAWTEXT(强势预警,90,'强势预警'),COLORRED;
    DRAWICON(强势预警,80,13);

    =========================

    合并的选股指标:


    VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
    VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
    VAR400:=EMA(VAR300,5);
    操盘:=3*VAR300-2*VAR400;
    选股:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O,COLOR770077;
    JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
    介必升:=FILTER(JBS,28)*100;
    VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
    VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
    强势预警:=VAR2 AND COUNT(VAR2,60)=1;
    XG:选股 AND 强势预警;



    上一篇:明显放量考虑入    下一篇:macd底背离预警


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将【突击】和【强势】两个选股公式合并一个选股公式 加入收藏