最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 将红绿主力进场改为选股公式

    正文概述    2024-04-14 08:11:55  

    九毛八公式指标

    公式模块:

    解决一下,将红绿主力进场改为选股公式,要求:先出现红再出现绿的时候可以选出。。。多谢!!

    公式如下:

    N1 1 100 9
    N2 1 100 5

    mtm:=C-REF(C,1);
    ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),colorwhite;
    MAZL:MA(ZLGJ,N2),coloryellow;

    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
    VAR3:=EMA(VAR2,10);
    VAR4:=LLV(LOW,33);
    VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
    主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
    洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;

    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
    VAR3:=EMA(VAR2,10);
    VAR4:=LLV(LOW,33);
    VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
    主力进场:=IF(VAR5>REF(VAR5,1),VAR5,0);
    洗盘:=IF(VAR5<REF(VAR5,1),VAR5,0);
    XG:REF(主力进场>0,1) AND 洗盘>0;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将红绿主力进场改为选股公式 加入收藏