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

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

    以下是通达信指数指标公式源码和截图


    通达信指数k线指标公式源码:


       DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);

       A:=(INDEXC);

       MA(A,5);

       MA(A,10);

       MA(A,20);

       MA(A,60);

       MA(A,120);

       N1:=IF(BARSCOUNT(C) =8,8,BARSCOUNT(C));

       AMOV:=*(C+L+H)/3;

       MN:SUM(AMOV,N1)/SUM(VOL,N1),COLOR00FF00,LINETHICK3;

       IF(MN =REF(MN,1),MN,DRAWNULL),COLORFF00FF,LINETHICK3;

       C1:=C

       C2:=C

       AA:=C1

       BB:=C2

       DRAWICON(crOSS(C1,C2),L-0.1,23);

       DRAWICON(CROSS(C2,C1),H+0.1,15);

       stICKLINE(AA,C,O,3,0),COLORRED;

       STICKLINE(AA,H,L,0,0),COLORRED;

       STICKLINE(BB,C,O,3,0),COLOR00FF00;

       STICKLINE(BB,H,L,0,0),COLOR00FF00;

       STICKLINE(AA,CLOSE,OPEN,3,0),COLOR000099;

       STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0000CC;

       STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR0000FF;

       STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORCC66FF;

       STICKLINE(BB,CLOSE,OPEN,3,0),COLORFF7700;

       STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORFF9900;

       STICKLINE(BB,CLOSE,OPEN,1.5,0),COLORFFBB00;

       STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN;

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

       K:=MA(RSV,3);

       D:=MA(K,3);

       J:=3*K-2*D;

       STICKLINE(J =K,CLOSE/C,OPEN/C,1,0),COLOR00FF00;

       STICKLINE(J =K,CLOSE/C,OPEN/C,1,0),COLORRED;

       TYP:=(HIGH+LOW+CLOSE)/3;

       CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

       K1:=MA(CCI,3);

       D1:=MA(K1,3);

       J1:=3*K1-2*D1;

       STICKLINE(J1 =K1,CLOSE/C-0.1,OPEN/C-0.1,1,0),COLOR00FF00;

       STICKLINE(J1 =K1,CLOSE/C-0.1,OPEN/C-0.1,1,0),COLORRED;

       LC:=REF(CLOSE,1);

       RSI1:=MA(MAX(CLOSE-LC,0),6)/MA(ABS(CLOSE-LC),6)*100;

       RSI3:=MA(MAX(CLOSE-LC,0),24)/MA(ABS(CLOSE-LC),24)*100;

       STICKLINE(RSI1 =RSI3,CLOSE/C-0.2,OPEN/C-0.2,1,0),COLOR00FF00;

       STICKLINE(RSI1 =RSI3,CLOSE/C-0.2,OPEN/C-0.2,1,0),COLORRED;

       DIF:=MA(CLOSE,5)-MA(CLOSE,34);

       DEA:=MA(DIF,5);

       STICKLINE(DIF =DEA,CLOSE/C-0.3,OPEN/C-0.3,1,0),COLOR00FF00;

       STICKLINE(DIF =DEA,CLOSE/C-0.3,OPEN/C-0.3,1,0),COLORRED;



    通达信指数k线指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信指数k线指标公式 加入收藏