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

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

    源码

    P1:=5;P2:=10;P3:=20;P4:=60;

    STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
    STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
    STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
    STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;

    STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
    STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
    STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
    STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;

    STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
    STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
    STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
    STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;

    MA1:MA(CLOSE,P1);
    MA2:MA(CLOSE,P2);
    MA3:MA(CLOSE,P3);
    MA4:MA(CLOSE,p4);
    MA120:MA(CLOSE,120);
    MA240:MA(CLOSE,240);

    cond:= "ssxexDll@isLast";
    DRAWTEXT(filter(backset(cond,P1),p1),low*0.992,'5'),coloryellow;
    DRAWTEXT(filter(backset(cond,P2),p2),low*0.992,'10'),coloryellow;
    DRAWTEXT(filter(backset(cond,P3),p3),low*0.992,'20'),coloryellow;
    DRAWTEXT(filter(backset(cond,p4),p4),low*0.992,'60'),coloryellow;
    DRAWTEXT(filter(backset(cond,120),120),low*0.992,'120'),coloryellow;
    DRAWTEXT(filter(backset(cond,240),240),low*0.992,'240'),coloryellow;

    A0:=EMA(C,2)COLORYELLOW;
    A:=EMA(REF(C,1),3)*1.02;
    A1:=REF(EMA(C,3),1)*1.03;
    B:=EMA(REF(C,1),4)*0.98;
    B1:=REF(EMA(C,4),1)*0.97;
    A2:=(A+B)/2,COLORGREEN;
    DRAWTEXT(CROSS(A0,A2) ,L-0.05,'↑' ),ALIGN0,COLORyellow;
    DRAWNUMBER(CROSS(A0,A2),l-0.1,a2,2),COLORccff00;
    DRAWTEXT(CROSS(A2,A0) ,H+0.1,'↓' ),ALIGN0,COLORwhite;
    DRAWNUMBER(CROSS(A2,A0),h+0.1,a0,2),COLORcccccc;
    选股:if(CROSS(A0,A2),1,0),LINETHICK0;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐均线买卖主图指标 加入收藏