以下是通达信在分时主图中加入了CYC的均线参考

在分时主图中加入了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的均线参考

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。