最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 智能辅助线(多空线)+MA30+EMA60+EMA120+RPY2

    正文概述    2024-04-13 13:40:40  

    公式是主图,有未来函数

     


    VARJ:=(3*CLOSE+LOW+HIGH+OPEN)/6;

    卖出:XMA(VARJ,20)*1.08,COLOR00FF00,LINETHICK2;

    买入:XMA(VARJ,32)*0.9,COLORFF00FF,LINETHICK2;

    幅度:=100*(卖出-买入)/买入,COLOR00FF00,NODRAW;

    HHJSJDA:=(CLOSE+OPEN+LOW+HIGH)/4;

    主力成本线:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)

    +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)

    +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+

    REF(HHJSJDA,20))/210,COLORYELLOW;

    止损线:MA(主力成本线,10),COLORFF00FF;

    BIAS主力成本:(CLOSE-主力成本线)/主力成本线*100,COLORWHITE,NODRAW;

    MA30:MA(CLOSE,30),COLOR0099FF,LINETHICK5;

    BIAS30:(CLOSE-MA30)/MA30*100,COLORYELLOW,NODRAW;

    EMA60:EMA(VARJ,60),COLOR00FF00;

    EMA120:EMA(VARJ,120),COLORFFFF00;

    均价:(HIGH+LOW+OPEN+3*CLOSE)/6,COLOR0099FF,NODRAW;

    RPY2:(CLOSE-LLV(LOW,500))/(HHV(HIGH,500)-LLV(LOW,500))*100,COLORYELLOW,NODRAW;

    VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

    VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

    VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

    VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);

    VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

    VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);

    VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

    VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);

    VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

    VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

    买1:=VAR10;

    买2:=(VAR11+VAR13+VAR15+VAR17);

    卖1:=(VAR12+VAR14+VAR16+VAR18);

    B1:IF(买1>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0099FF;

    B2:IF(买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;

    DRAWTEXT(买1>0 OR 买2>0,LOW*0.97,'买入'),COLORRED;

    S1:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLOR00FF00;

    DRAWTEXT(卖1>0,HIGH*1.02,'卖出'),COLOR00FF00;

    S2:IF(PEAKBARS(3,16,1)=0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 智能辅助线(多空线)+MA30+EMA60+EMA120+RPY2 加入收藏