最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 不太一样的《量macd》--取之论坛的量macd,感谢源码提供者!

    正文概述    2024-04-08 00:26:07  
    DRAWGBK(CLOSE 0,COLORRGB(0,32,33),COLORRGB(0,32,33),0);
    画面起点:=SYSPARAM(2); 画面终点:=SYSPARAM(3);画面K线数:=画面终点-画面起点+1;
    成交量最高:=HHV(VOL,画面K线数);成交量视高:=成交量最高[画面终点];
    交易分钟数:=if(CURRENTTIME 93000 and CURRENTTIME 150000,
    if(CURRENTTIME 113000,(TIMETOT0(CURRENTTIME)-34200)/60,
    if(CURRENTTIME 130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
    日期差:=DATEDIFF(DATE,CURRENTDATE); 预测量:=IF(BARSTATUS=2 and 日期差=0,VOL/交易分钟数*240,VOL);
    VAR1:=EMA(EMA(EMA((OPEN+HIGH+LOW+CLOSE)/4,13),13),13);
    VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1);
    量DIFF1:VAR2;
    量DEA1:EMA(VAR2,21);
    量MACD1:=(量DIFF1-量DEA1)*1.4;
    量MACD最高:=HHV(IF(量DIFF1 量MACD1,量DIFF1,量MACD1),画面K线数);量MACD视高:=量MACD最高[画面终点];
    量MACD最低:=LLV(IF(量DIFF1 量MACD1,量DIFF1,量MACD1),画面K线数);量MACD视低:=量MACD最低[画面终点];
    量DIFF:(量DIFF1-量MACD视低)*成交量视高/(量MACD视高-量MACD视低),color00FFFF,linethick;
    量DEA:(量DEA1-量MACD视低)*成交量视高/(量MACD视高-量MACD视低),colorFF8800,linethick;
    量MACD:=(量MACD1-量MACD视低)*成交量视高/(量MACD视高-量MACD视低);
    量MACD零:=(0-量MACD视低)*成交量视高/(量MACD视高-量MACD视低);
    STICKLINE(量DIFF 量DEA,量MACD零,量MACD,8,10),color00aa00;
    STICKLINE(量DIFF 量DEA,量MACD零,量MACD,8,10),colorccccff;
    FILLRGN(量DIFF 量DEA,量DIFF,量DEA),COLOR0000aa;
    FILLRGN(量DIFF 量DEA,量DIFF,量DEA),COLOR00aa00;
    VAR3:=EMA(量DIFF, 5);
    持股:STICKLINE(量DIFF 1*REF(量DIFF, 1), 量DIFF, VAR3, 5, 0), COLORRED;
    洗盘:STICKLINE(量DIFF 1*REF(量DIFF,1) AND VAR3 1*REF(VAR3,1),量DIFF,VAR3,8,0),COLORFFFFFF;
    PARTLINE(C,量DIFF),color00FF,linethick2;PARTLINE(C,量DEA),colorFFAA00;
    PARTLINE(量DIFF 量DEA,量DIFF),linethick3,COLORGREEN;
    STICKLINE(CLOSE =REF(CLOSE,1),VOL,0,8,0),COLORRED;
    STICKLINE(CLOSE REF(CLOSE,1),VOL,0,8,0),COLORGREEN;
    AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买盘:IF(CLOSE OPEN,AA*(HIGH-LOW),IF(CLOSE OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),LINETHICK0,COLORRED;
    卖盘:IF(CLOSE OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,AA*(HIGH-LOW),VOL /2)),LINETHICK0,COLORCYAN;
    M1:MA(VOL,5),COLORWHITE,LINETHICK0;
    买盘大1:=(买盘-卖盘)/买盘 0.99,LINETHICK0;
    DRAWICON(买盘大1,M1,1);
    量价配合:=ref(v,1) max(ma(v,5),max(ma(v,10),ma(v,20))) and v max(ma(v,5),max(ma
    (v,10),ma(v,20))) and v 2*ref(v,1) and cross(c,ma(c,21));
    stickline(量价配合,v/3,2*v/3,18,0),coloryellow;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 不太一样的《量macd》--取之论坛的量macd,感谢源码提供者! 加入收藏