最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信轴点支撑位主图显示指标源码主图

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

    通达信轴点支撑位主图显示指标 源码 附图
    主图显示四个支撑位,做日内低吸有帮助。
     

     

    BOLL:MA(C,20);
    UB:BOLL+2*STD(C,20);
    LB:BOLL-2*STD(C,20);
    MA5:MA(C,5);
    MA10:MA(C,10);
    MA20:MA(C,20);
    JX:= REF(H-L,1);
    JXA:= REF((H-L)-(C-L),1)*0.191*1.382;
    SX:= 2;
    轴点A:= REF(H+C+L,1)/3;
    撑AA:= 轴点A-JX*0.382;
    撑BB:= 轴点A-JX*0.618;
    撑CC:= 轴点A-JX;
    撑DD:=轴点A-JX*1.382+IF(REF(COUNT(C>=REF(MAX(C,O),1),2)>1 AND C>=REF(H,1),1),JXA,-JXA);
    压AA:= 轴点A+JX*0.382;
    压BB:= 轴点A+JX*0.618;
    压CC:= 轴点A+JX;
    压DD:=轴点A+JX*1.618+IF(REF(COUNT(C>=REF(MAX(C,O),1),2)>1 AND C>=REF(H,1),1),JXA,-JXA);
    撑A:= 撑AA;
    撑B:=撑BB;
    撑C:=撑CC;
    撑D:=撑DD;
    压A:=压AA;
    压B:=压BB;
    压C:=压CC;
    压D:=压DD;

    DRAWTEXT_FIX(ISLASTBAR,0.27,0.05,0,'撑A:'),COLOR0000FF;
    DRAWNUMBER_FIX(ISLASTBAR,0.30,0.05,0,撑A),COLOR0000FF;
    DRAWTEXT_FIX(ISLASTBAR,0.40,0.05,0,'撑B:'),COLOR0000FF;
    DRAWNUMBER_FIX(ISLASTBAR,0.43,0.05,0,撑B),COLOR0000FF;
    DRAWTEXT_FIX(ISLASTBAR,0.50,0.05,0,'撑C:'),COLOR0000FF;
    DRAWNUMBER_FIX(ISLASTBAR,0.53,0.05,0,撑C),COLOR0000FF;
    DRAWTEXT_FIX(ISLASTBAR,0.60,0.05,0,'撑D:'),COLOR0000FF;
    DRAWNUMBER_FIX(ISLASTBAR,0.63,0.05,0,撑D),COLOR0000FF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信轴点支撑位主图显示指标源码主图 加入收藏