资源描述:
《【股票指标公式下载】-【大智慧】黑马成交(成交量、收盘价、开盘价)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、【大智慧】黑马成交(成交量、收盘价、开盘价)-指标公式源码{VOL,VOLSTICK;}{M1,5,1,10,1;M2,10,5,30,1;M3,20,10,60,1;}{VOL,VOLSTICK;}M1:=5;M2:=10;M3:=20;成交量:VOL,LINETHICK0;五日均量:MA(VOL,M1);十日均量:MA(VOL,M2);廿日均量:MA(VOL,M3);预估今日成交量:IF((DYNAINFO(7)=CLOSE),DYNAINFO(38)*DYNAINFO(17),成交量),Color0000FF,LINETHICK0;{如果最新价=收盘价,选五
2、日均量*量比,否则就选成交量}FILLRGN(五日均量,十日均量,五日均量>=十日均量,RGB(255,0,0),五日均量<=十日均量,RGB(0,255,0));{当五日均量>=十日均量时为红色飘带,反之为绿色飘带}AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{系数=成交量/((最高价-最低价)*2-绝对值(收盘价-开盘价))}主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSEOP
3、EN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE=主卖,成交量,0,7.5,0),Color0E96A9;{黄色柱表示主力的净买量}STICKLINE(主买>=主卖,成交量,0,7,0),Color10A7BC;{黄色框2}STICKLINE(主买>=主卖,成交量,0,6,0),Color11B5CC;{黄色框3}STICKLINE(主买>=主卖,成交量,0,5,0),Color13C6DF;{黄色框4}STICKLINE(主买>=主卖
4、,成交量,0,4,0),Color1CD2EC;{黄色框5}STICKLINE(主买>=主卖,成交量,0,2,0),Color39D8EE;{黄色框6}STICKLINE(主买>=主卖,成交量,0,0.5,0),ColorFFFFFF;{黄色框7}STICKLINE(主买<主卖,成交量,0,7.5,0),ColorCA6500;{蓝色柱主力的净卖量}STICKLINE(主买<主卖,成交量,0,7,0),ColorE17100;{蓝色框2}STICKLINE(主买<主卖,成交量,0,6,0),ColorF27900;{蓝色框3}STICKLINE(主买<主卖,成交量
5、,0,5,0),ColorFF850B;{蓝色框4}STICKLINE(主买<主卖,成交量,0,4,0),ColorFF9326;{蓝色框5}STICKLINE(主买<主卖,成交量,0,2,0),ColorFFA042;{蓝色框6}STICKLINE(主买<主卖,成交量,0,0.5,0),colorFFFF00;{蓝色框7}STICKLINE(1>0,0,主买,7.5,0),ColorA200A2;{玫红柱1}STICKLINE(1>0,0,主买,7,0),ColorB700B7;{玫红柱2}STICKLINE(1>0,0,主买,6,0),ColorCE00CE;
6、{玫红柱3}STICKLINE(1>0,0,主买,5,0),ColorE800E8;{玫红柱4}STICKLINE(1>0,0,主买,4,0),ColorFF00FF;{玫红柱5}STICKLINE(1>0,0,主买,2,0),ColorFF60FF;{玫红柱6}STICKLINE(1>0,0,主买,0.5,0),ColorFFD2FF;{玫红柱7}BBB:=LONGCROSS(成交量,五日均量,4);{全红柱表示今天的成交量超过五日均量}STICKLINE(BBB,0,成交量,7.5,0),color070084;{全红柱1}STICKLINE(BBB,0,成交
7、量,7,0),color0000A3;{全红柱2}STICKLINE(BBB,0,成交量,6,0),color0000B7;{全红柱3}STICKLINE(BBB,0,成交量,5,0),color0000CD;{全红柱4}STICKLINE(BBB,0,成交量,4,0),color0000E9;{全红柱5}STICKLINE(BBB,0,成交量,2,0),color0754E9;{全红柱6}STICKLINE(BBB,0,成交量,0.5,0),Color68B8FF;{全红柱7}DL:=FILTER(成交量=LLV(成交量,20),5);{全绿柱表示今天是最近5天
8、的成交量中