最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 觅庄建仓

    正文概述    2024-04-14 08:10:15  

    九毛八公式指标

    公式模块:

    “觅庄建仓”的源码如下:
    Var2:=REF(LOW,1);
    Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;
    Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);
    Var5:=LLV(LOW,34);
    Var6:=HHV(Var4,34);
    Var7:=IF(LLV(LOW,56),1,0);
    Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
    Var9:=EMA(CLOSE,5);
    Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
    STICKLINE(Var9>REF(Var9,1),0,Var9*0.08,4,1),color10E410;
    减仓:IF(Var9>REF(Var9,1),Var9,0),color10E410,linethick0;
    STICKLINE(Var9<REF(Var9,1),0,Var9*0.08,4,1),color1010FF;
    增仓:IF(Var9<REF(Var9,1),Var9,0),color1010FF,linethick0;
    STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),color10FFFF;
    主力进场:IF(Var8>REF(Var8,1),Var8*8,0),color10FFFF,linethick0;
    STICKLINE(Var8<REF(Var8,1),0,Var8,4,1),colorFFF810;
    洗缓:IF(Var8<REF(Var8,1),Var8*10,0),colorFFF810,linethick0;
    主力持仓:(LOW*5),colorFf10FF,linethick0;
    增减力度:Var10,colorFF7676;
    XL1:=MA(LOW,2)*0.96;
    XL2:=MA(LOW,26)*0.85;
    XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
    STICKLINE(XL3,0,Var8*3,4,0),Color006EFF;
    DRAWTEXT(XL3,Var8*2,'买'),Color006EFF;
    ↑买:DRAWICON(XL3,0,4),colorred;

    我想修改的是:1,在预警公式里,当出现“主力进场”或“主力进场”的值达到70以上的时候,发出预警;
    2,在选股公式里,在一定的周期内(比如10个周期),选出“主力进场”进场的股票。

    Var2:=REF(LOW,1);
    Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;
    Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);
    Var5:=LLV(LOW,34);
    Var6:=HHV(Var4,34);
    Var7:=IF(LLV(LOW,56),1,0);
    Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
    {1}主力进场:Var8>REF(Var8,1) or Var8*8>70,color10FFFF,linethick0;
    {2}COUNT(主力进场,10)>0;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 觅庄建仓 加入收藏