最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 在分时主图中加入了CYC的均线参考

    正文概述    2024-04-13 16:33:20  

    在分时主图中加入了CYC的均线参考

    上涨家数:HY_INDEXADV,NODRAW;
    下跌家数:HY_INDEXDEC,NODRAW;
    VAR1:=AMOUNT/VOL/100;
    VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
    VAR3:=SUM(AMOUNT,5)/VAR1/100;
    VAR4:=SUM(AMOUNT,13)/VAR1/100;
    VAR5:=SUM(AMOUNT,34)/VAR1/100;
    VAR6:=SUM(AMOUNT,120)/VAR1/100;
    CYC5:=DMA(VAR2,VOL/VAR3);
    CYC13:=DMA(VAR2,VOL/VAR4);
    CYC34:DMA(VAR2,VOL/VAR5),COLORRED;
    CYC0:=DMA(VAR2,VOL/VAR6),COLORYELLOW;
    MA5:= MAA引用.MA1#DAY
    ZG:= MAA引用.MA2#DAY
    ZD:= MAA引用.MA3#DAY


    DRAWTEXT_FIX(1,0.00.01,0.00,0,STRCAT(STRCAT('昨最高: ',CON2STR(ZG,2)),'元')),COLORRED;
    DRAWTEXT_FIX(1,0.00.01,0.10,0,STRCAT(STRCAT('昨最低: ',CON2STR(ZD,2)),'元'));
    DRAWTEXT_FIX(1,0.00.01,0.20,0,STRCAT(STRCAT('五日均: ',CON2STR(MA5,2)),'元'))COLORLICYAN;

    =======================================================================
    需另建一个指标名为 MAA引用 的引用指标
    MA1:MA(C,5);
    MA2:REF(H,1);
    MA3:REF(L,1);

    在分时主图中加入了CYC的均线参考

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 在分时主图中加入了CYC的均线参考 加入收藏