最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧仁治macd指标公式

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

    以下是大智慧仁治指标公式源码和截图


    大智慧仁治macd指标公式源码:

       input:LONG(20,10,100),SHORT(8,5,40),M(9,2,60);

       DRAWGBK((CLOSE 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));

       DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORblack;

       DEA:EMA(DIFF,M),COLORblack;

       MACD:2*(DIFF-DEA),COLORBLACK;

       a51:=MACD*20;

       净流入1:SUM(a51,1),COLORblack;

       净流入2:SUM(a51,2),COLORblack;

       净流入3:SUM(a51,3),COLORblack;

       净流入4:SUM(a51,4),COLORblack;

       净流入5:SUM(a51,5),COLORblack;

       净流入6:SUM(a51,6),COLORblack;

       净流入7:SUM(a51,7),COLORblack;

       净流入8:SUM(a51,8),COLORblack;

       净流入9:SUM(a51,9),COLORblack;

       净流入10:SUM(a51,10),COLORblack;

       净流入11:SUM(a51,11),COLORblack;

       净流入12:SUM(a51,12),COLORblack;

       净流入13:SUM(a51,13),COLORblack;

       净流入14:SUM(a51,14),COLORblack;

       净流入15:SUM(a51,15),COLORblack;

       净流入16:SUM(a51,16),COLORblack;

       净流入17:SUM(a51,17),COLORblack;

       净流入18:SUM(a51,18),COLORblack;

       净流入19:SUM(a51,19),COLORblack;

       a60:=净流入1 =ref(净流入1,1);

       a61:=净流入2 =ref(净流入2,1);

       a62:=净流入3 =ref(净流入3,1);

       a63:=净流入4 =ref(净流入4,1);

       a64:=净流入5 =ref(净流入5,1);

       a65:=净流入6 =ref(净流入6,1);

       a66:=净流入7 =ref(净流入7,1);

       a67:=净流入8 =ref(净流入8,1);

       a68:=净流入9 =ref(净流入9,1);

       a69:=净流入10 =ref(净流入10,1);

       a70:=净流入11 =ref(净流入11,1);

       a71:=净流入12 =ref(净流入12,1);

       a72:=净流入13 =ref(净流入13,1);

       a73:=净流入14 =ref(净流入14,1);

       a74:=净流入15 =ref(净流入15,1);

       a75:=净流入16 =ref(净流入16,1);

       a76:=净流入17 =ref(净流入17,1);

       a77:=净流入18 =ref(净流入18,1);

       a78:=净流入19 =ref(净流入19,1);

       a80:=净流入1 =ref(净流入1,1);

       a81:=净流入2 =ref(净流入2,1);

       a82:=净流入3 =ref(净流入3,1);

       a83:=净流入4 =ref(净流入4,1);

       a84:=净流入5 =ref(净流入5,1);

       a85:=净流入6 =ref(净流入6,1);

       a86:=净流入7 =ref(净流入7,1);

       a87:=净流入8 =ref(净流入8,1);

       a88:=净流入9 =ref(净流入9,1);

       a89:=净流入10 =ref(净流入10,1);

       a90:=净流入11 =ref(净流入11,1);

       a91:=净流入12 =ref(净流入12,1);

       a92:=净流入13 =ref(净流入13,1);

       a93:=净流入14 =ref(净流入14,1);

       a94:=净流入15 =ref(净流入15,1);

       a95:=净流入16 =ref(净流入16,1);

       a96:=净流入17 =ref(净流入17,1);

       a97:=净流入18 =ref(净流入18,1);

       a98:=净流入19 =ref(净流入19,1);

       a99:=a51 =ref(a51,1);

       a100:=a51 =ref(a51,1);

       partline(a51,a99,rgb(255,0,0),a100,rgb(0,0,255)),linethick1;

       partline(净流入1,a60,rgb(255,0,0),a80,rgb(0,255,0)),linethick1;

       partline(净流入5,a64,rgb(255,0,0),a84,rgb(0,255,0)),linethick1;

       partline(净流入9,a68,rgb(255,0,0),a88,rgb(0,255,0)),linethick1;

       partline(净流入13,a72,rgb(255,0,0),a92,rgb(0,255,0)),linethick1;

       partline(净流入19,a78,rgb(255,0,0),a98,rgb(0,255,0)),linethick1;

       DRAWTEXT(a60ANDa61ANDa62ANDa63ANDa64ANDa65ANDa66,净流入7,'←'),COLOR00FFFF,linethick1;

       DRAWTEXT(a80ANDa81ANDa82ANDa83ANDa84ANDa85ANDa86,净流入7,'←'),COLOR33FF00,linethick1;

       DRAWTEXT(a67ANDa68ANDa69ANDa70ANDa71ANDa72,净流入13,'←'),COLORFF00FF,linethick1;

       DRAWTEXT(a87ANDa88ANDa89ANDa90ANDa91ANDa92,净流入13,'←'),COLOR33FF00,linethick1;

       DRAWTEXT(a73ANDa74ANDa75ANDa76ANDa77ANDa78,净流入19,'←'),COLORFF0000,linethick1;

       DRAWTEXT(a93ANDa94ANDa95ANDa96ANDa97ANDa98,净流入19,'←'),COLOR33FF00,linethick1;

       1:(a60ANDa61ANDa62ANDa63ANDa64ANDa65ANDa66),colorwhite;

       Var2:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;

       a101:SMA(Var2,6,1),colorblack;

       介入:CROSS(净流入1,0)ANDa101 40and选股1;

       DRAWTEXT(介入,净流入19,'←注意'),COLORblue,linethick4;

       DRAWTEXT(CROSS(0,净流入1)ANDa101 60anda80ANDa81ANDa82ANDa83ANDa84ANDa85ANDa86,净流入19,'←空仓'),COLORyellow,linethick4;

       0,COLORwhite;

       N:=5;XG7:BARSLAST(REF("MACD.DIF#DAY",1) REF("macd.DEA#DAY",1)AND"MACD.DIF#DAY" ="MACD.DEA#DAY") =2ANDBARSLAST(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"))

       提示符:=1;

       DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

       DEA1:=EMA(DIF1,9);

       {柱状线}

       陶金商贸1:=(DIF1-DEA1)*2*60;

       陶金商贸上:IF(陶金商贸1 REF(陶金商贸1,1),陶金商贸1,DRAWNULL),

       STICK,COLORRED,LINETHICK1;

       陶金商贸下:IF(陶金商贸1 REF(陶金商贸1,1),陶金商贸1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;

       线:15;

       :陶金商贸1-REF(陶金商贸1,1),COLORRED;

       DRAWICON(CROSS(主力,黑马线),黑马线,提示符);




    大智慧仁治macd指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧仁治macd指标公式 加入收藏