当前位置:分析家公式网 → 股票公式 → 飞狐公式 → 一键转帖:不太一样的《量macd》--取之论坛的量macd,感谢源码提供者!
软件名称:[B]不太一样的《量macd》--取之论坛的量macd,感谢源码提供者![/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2011-01-31 12:26:13
软件简介:
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;
画面起点:=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;
[url=http://www.70822.com/soft/sort013/sort02/down-29929.html]不太一样的《量macd》--取之论坛的量macd,感谢源码提供者![/url]