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

    正文概述    2024-04-14 17:17:17  

    N:=20;M:=32;P1:=80;P2:=100;
    VAR1:=(C+H+O+L)/4;
    卖出:XMA(VAR1,N)*(1+P1/1000),COLORFFFFFF,LINETHICK3;
    买入:XMA(VAR1,M)*(1-P2/1000),COLOR0000FF,LINETHICK3;
    DRAWBAND(卖出,RGB(200,50,55),卖出*1.03,RGB(0,100,50));
    DRAWBAND(买入,RGB(0,55,0),买入*0.97,RGB(55,55,0));
    幅度:100*(卖出-买入)/买入,NODRAW;
    MA1:=MA(VAR1,3);
    STICKLINE(卖出>LOW AND 卖出 STICKLINE(卖出>MIN(C,O) AND 卖出 STICKLINE(卖出>LOW AND 卖出 STICKLINE(卖出 STICKLINE(卖出 STICKLINE(买入>LOW AND 买入 STICKLINE(买入>MIN(C,O) AND 买入 STICKLINE(买入>LOW AND 买入 DRAWTEXT(crOSS(C,卖出),卖出*1.05,'卖出'),COLOR00FFFF;
    机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0,LINETHICK2;
    RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;
    D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;
    J2:=3*K2-2*D2;
    BB1:=EMA(J2,5);
    BB2:=REF(BB1,1);
    金叉:=CROSS(BB1,BB2);
    DRAWTEXT(CROSS(C,买入) AND BB1>BB2 AND C>REF(O,2),买入*0.95,'买入'),COLOR0000FF;
    DRAWICON(CROSS(C,买入) AND 金叉 AND 机会来临 ,LOW*0.96,26);
    DRAWTEXT(CROSS(C,买入) AND 金叉 AND 机会来临,LOW*0.92,''),COLOR00FF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信领航回归主图指标公式 加入收藏