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

    正文概述    2024-04-14 15:27:13  

    源码

    N1:=9;R:=75;

    Var1:=REF(OPEN,1);
    Var2:=SMA(MAX(OPEN-Var1,0),N1,1)/SMA(ABS(OPEN-Var1),N1,1)*100;
    Var3:=REF(CLOSE,1);
    Var4:=SMA(MAX(CLOSE-Var3,0),N1,1)/SMA(ABS(CLOSE-Var3),N1,1)*100;
    Var5:=REF(HIGH,1);
    Var6:=SMA(MAX(HIGH-Var5,0),N1,1)/SMA(ABS(HIGH-Var5),N1,1)*100;
    Var7:=REF(LOW,1);
    Var8:=SMA(MAX(LOW-Var7,0),N1,1)/SMA(ABS(LOW-Var7),N1,1)*100;
    Var9:=COST(10)*0;
    开盘价: Var2, POINTDOT;
    收盘价: Var4, POINTDOT;
    VarA:=Var6;
    VarB:=Var8;
    STICKLINE(收盘价>开盘价,VarA,VarB,0.5,1);
    STICKLINE(收盘价<开盘价,VarA,VarB,0.5,0);
    STICKLINE(收盘价>开盘价,收盘价,开盘价,5,1);
    STICKLINE(收盘价<开盘价,收盘价,开盘价,5,0);
    超买线: 80;
    VarC:=(2*CLOSE+HIGH+LOW)/4;
    VarD:=LLV(LOW,34);
    VarE:=HHV(HIGH,34);
    VarF:=EMA((VarC-VarD)/(VarE-VarD)*100,13);
    Var10:=EMA(0.667*REF(VarF,1)+0.333*VarF,2);
    持仓: STICKLINE(VarF>Var10,-6,-4,10,1);
    空仓: STICKLINE(VarF MA5: MA(收盘价,5);
    MA10: MA(收盘价,10);
    MA30: MA(收盘价,30);
    买进: IF(CROSS(MA5,MA10) AND MA10<20,70,0);
    DRAWICON(买进,65,0);
    卖出: IF(收盘价>=82,48,0);
    DRAWICON(卖出,40,2);

     


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