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

    正文概述    2024-04-14 15:25:20  

    源码

    N:=26;P:=2;

    Var1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
    Var2:=SMA(Var1,3,1);
    Var3:=SMA(Var2,3,1);
    Var4:=3*Var2-2*Var3;
    Var5:=LLV(LOW,5);
    Var6:=HHV(HIGH,5);
    Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;
    Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);
    Var9:=3*Var7-2*Var8;
    VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
    VarB:=POW(MA(LOW,5),2)+MA(LOW,5);
    VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
    VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;
    VarE:=SMA(VarD,3,1)*1.5-100;
    VarF:=SMA(VarE,3,1);
    Var10:=3*VarE-2*VarF;
    Var11:=(HIGH+LOW+CLOSE*2)/4;
    Var12:=EMA(Var11,13);
    Var13:=STD(Var11,13);
    Var14:=(Var11-Var12)*100/Var13;
    Var15:=EMA(Var14,5);
    Var16:=EMA(Var15,13);
    Var17:=EMA(Var15,13)+200-100;
    Var18:=EMA(Var17,10);
    Var19:=3*Var17-2*Var18;
    Var1A:=Var2+Var7+VarE+Var17;
    Var1B:=Var3+Var8+VarF+Var18;
    Var1C:=Var4+Var9+Var10+Var19;
    Var1D:=(HIGH+LOW+CLOSE)/3;
    Var1E:=AMOUNT/VOL/100;
    Var1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
    Var20:=(Var1D-MA(Var1D,34))/(0.015*AVEDEV(Var1D,34));
    Var21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
    Var22:=(HIGH+LOW+CLOSE+Var1D)/4;
    Var23:=EMA(Var22,24);
    Var24:=STD(Var22,24);
    Var25:=(Var22-Var23)/Var24*100;
    Var26:=(Var1D-MA(Var1D,24))/(0.015*AVEDEV(Var1D,24));
    Var27:=EMA(Var25,5);
    Var28:=(Var1E-MA(Var1E,21))/(0.015*AVEDEV(Var1E,21));
    Var29:=(Var1F-MA(Var1F,90))/(0.015*AVEDEV(Var1F,90));
    Var2A:=((Var29+Var28+Var27+Var26+Var20)/5+165)/4;
    Var2B:=(Var1A+Var1B+Var1C*30)/32/5-15;
    Var2C:=(Var2A+Var2B)/2/1.1;
    短线: Var2C;
    MID: MA(短线,N);
    UPPER: MID+P*STD(短线,N);
    LOWER: MID-P*STD(短线,N);
    IF(短线>MID,MID,短线);
    买点: DRAWICON(CROSS(短线,MID),MID*0.97,1);
    DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3);
    卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);
    MID;


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