最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 将“生命线”副图改为不显示原K线的主图指标

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

    九毛八公式指标

    公式模块:

    n:=10;
    f:=25;
    Var1:=HHV(HIGH,9)-LLV(LOW,9);
    Var2:=HHV(HIGH,9)-CLOSE;
    Var3:=CLOSE-LLV(LOW,9);
    Var4:=Var2/Var1*100-70;
    Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    Var6:=(high+low+open+close)/4;
    Var7:=SMA(Var3/Var1*100,3,1);
    Var8:=LLV(LOW,34);
    Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
    VarA:=IF(Var9>100,Var9-100,0);
    VarB:=HHV(HIGH,34);
    VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
    VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
    VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
    VarF:=MA(VarE,3);
    Var10:=REF(VarF,1);

    生命线:EMA(VarD,N),colorFFAA00;
    Var11:=(CLOSE-LLV(LOW,F))/(HHV(HIGH,F)-LLV(LOW,F))*100;
    K:=SMA(Var11,3,1);
    D:=SMA(K,3,1);

    {多空信号}
    STICKLINE(VarC-VarD>0,VarC,VarD,8,1),COLOR0000FF;{多头行情显出红柱状}
    STICKLINE(VarC-VarD<0,VarC,VarD,8,0),COLOR00FF00;{空头行情显出绿色柱状};

    n:=10;
    f:=25;
    Var1:=HHV(HIGH,9)-LLV(LOW,9);
    Var2:=HHV(HIGH,9)-CLOSE;
    Var3:=CLOSE-LLV(LOW,9);
    Var4:=Var2/Var1*100-70;
    Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    Var6:=(high+low+open+close)/4;
    Var7:=SMA(Var3/Var1*100,3,1);
    Var8:=LLV(LOW,34);
    Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
    VarA:=IF(Var9>100,Var9-100,0);
    VarB:=HHV(HIGH,34);
    VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
    VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
    {多空信号}
    STICKLINE(VarC-VarD>0,C,O,8,0),COLOR0000FF;{多头行情显出红柱状}
    STICKLINE(VarC-VarD>0,L,H,0,0),COLOR0000FF;
    STICKLINE(VarC-VarD<0,C,O,8,0),COLOR00FF00;{空头行情显出绿色柱状};
    STICKLINE(VarC-VarD<0,L,H,0,0),COLOR00FF00;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将“生命线”副图改为不显示原K线的主图指标 加入收藏