最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信历史量比公式源码

    正文概述    2024-05-04 04:43:28  

    以下是通达信历史公式源码和截图


    通达信历史量比公式源码:

       JL5:=MA(V,5);

       LB:=DYNAINFO(17);

       历史量比:IF(DYNAINFO(4)=OANDDYNAINFO(5)=HANDDYNAINFO(6)=LANDDYNAINFO(7)

       =C,DYNAINFO(17),V/JL5),LINETHICK,COLORYELLOW;

       STICKLINE(历史量比 =1,历史量比,0,3,1)COLORRED;

       STICKLINE(历史量比 1,历史量比,0,3,0)COLORFF9800;

       STICKLINE(LB =1ANDDYNAINFO(7)=CANDDYNAINFO(6)=LANDDYNAINFO(5)=HAND

       DYNAINFO(4)=O,LB,0,7,0),COLORRED;

       STICKLINE(LB 1ANDDYNAINFO(7)=CANDDYNAINFO(6)=LANDDYNAINFO(5)=HAND

       DYNAINFO(4)=O,LB,0,7,0),COLORWHITE;

       现量比:LB,COLORFFFFFF,NODRAW;DRAWGBK(CURRBARSCOUNT=1,RGB(2,1,1),RGB(8,3,0),0,'',0);

       DRAWGBK(CLOSE 1,RGB(0,0,0),RGB(220,20,60),0,0,0);

       虚拟成交:=IF(CURRBARSCOUNT=1ANDPERIOD=5,*240/FROMOPEN,DRAWNULL);

       STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,虚拟成交,0,-1,-1),COLORC0C0C0;

       量高:HHV(V,120)*0.382,COLORCYAN,DOTLINE;

       量比:V/REF(V,1),NODRAW,COLOR0000FF;

       STICKLINE(IF(V REF(HHV(V,239),1),0.99,1) 1,V,0,-1,1),COLORDD00DD;

       STICKLINE(IF(V REF(HHV(V,239),1),0.99,1) 1ANDO C,V,0,-1,0),COLORDD00DD;

       STICKLINE(IF(V REF(LLV(V,119),1),0.99,1) 1,V,0,-1,0),COLOR00DD00;

       STICKLINE(IF(V REF(LLV(V,239),1),0.99,1) 1,V,0,-1,0),COLORDD0000;

       STICKLINE(V/REF(V,1) 2,0,V/2,2,0),COLORDDDDDD;

       DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

       DEA:=EMA(DIF,9);

       MACD:=2*(DIF-DEA),STICK;

       RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

       K:=SMA(RSV,3,1);

       D:=SMA(K,3,1);

       J:=3*K-2*D;

       STICKLINE(DIF =DEA,0,VOL,3,-1),COLORRED;

       STICKLINE(DIF =DEA,0,VOL,3,-1),COLORGREEN;

       STICKLINE(J D,VOL/2,VOL,3,-1),COLORRED;

       STICKLINE(J D,VOL/2,VOL,3,-1),COLORGREEN;

       {STICKLINE(((MACD =0)AND(MACD REF(MACD,1))),0,VOL/8,2,0),COLORMAGENTA;

       STICKLINE((MACD =0)ANDMACD REF(MACD,1),0,VOL/8,2,0),COLORRED;}

       0.COLORLIBLUE;

       MAC5:=SUM(C*V,5)/SUM(V,5);

       红色持股:=C MAC5ANDMACD REF(MACD,1)ANDDIF =REF(DIF,1)ANDJ REF(J,1)ANDDIF DEAANDJ D,COLOR0000CC;

       STICKLINE(红色持股,0,VOL/4,2.8,0),COLORYELLOW;

       STICKLINE(红色持股,0,VOL/4,1.5,0),COLOR11BBBB;

       STICKLINE(红色持股,0,VOL/4,0.8,0),COLOR11DDDD;

       STICKLINE(红色持股,0,VOL/4,0.1,0),COLOR11FFFF;

       量比:=V/REF(V,1);

       VAR1:=Ema(EMA(EMA(CLOSE,5),2),1);

       AA:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1;

       BB:=EMA(AA,13);

       CC:=0;

       VAR2:=AMOUNT/vol/100;

       VAR3:=MAX(Abs(HIGH-VAR2),ABS(VAR2-LOW));

       VAR4:=ABS((OPEN+CLOSE)/2-VAR2);

       VAR5:=5;

       VAR6:=(VAR3+VAR4)/VAR2*50;

       DD:=IF(crOSS(VAR6,VAR5),0.008,0);

       XG:=AA CCANDCROSS(BB,CC)ANDDDAND量比 =1.01;

       DRAWICON(XG,1.2,24);

       stICKLINE(XG,1,0,2,0),COLORLIRED;




    通达信历史量比公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信历史量比公式源码 加入收藏