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

    正文概述    2024-04-14 15:31:50  

    源码

    n:=3;m:=2;
    {n,1,100,3  m,1,100,2}
    Var3:=REF(HIGH,1)*1.1;
    Var4:=HIGH*1.1;
    Var5:=(Var4*VOL+Var3*(CAPITAL-VOL))/CAPITAL;
    Var6:=REF(LOW,1)*0.9;
    Var7:=LOW*0.9;
    Var8:=(Var7*VOL+Var6*(CAPITAL-VOL))/CAPITAL;
    Var9:=EMA(Var8,30);
    VarA:=EMA(Var5,30);
    VarB:=VarA-2;
    VarC:=IF(CLOSE<=Var9,VarB,VarA);
    VarD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
    出手: STICKLINE(VarC-VarB=0  AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),50,0,5,0),coloryellow;
    赢: DRAWTEXT(FILTER(VarC-VarB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),55,'买入'),colorwhite , ;
    VarE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
    卖出线: SMA(SMA(VarE,3,1),3,1),colorff6633 , ;
    买入线: 3*SMA(VarE,3,1)-2*卖出线,colorred , ;
    DRAWICON(CROSS(90,买入线),90,2);
    顶: STICKLINE(CROSS(90,买入线),15,0,5,0),colorgreen ,;
    黄金点: STICKLINE(SMA(VarE,3,1)>卖出线,SMA(VarE,3,1),卖出线,4,0),coloryellow , ;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐股信副图指标 加入收藏