[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Volume Weighted Moving Average



PureBytes Links

Trading Reference Links


Hi Larry,
 
try this:
 

// Click in the Indicator Builder on Automatic, Level 0, Show dates, andon 
Middle:
maxGraph = <FONT 
color=#ff00ff>1; // Number of graphs you desire to 
display!
graphxspace = <FONT 
color=#ff00ff>3; // Added size in % (here: 3%) 
at the top and bottom of the chart window.<FONT 
color=#ff6820>
graph0 = <FONT 
color=#800080>Sum((<FONT 
color=#ff6820>volume * <FONT 
color=#ff6820>close), <FONT 
color=#ff00ff>10) / Sum<FONT 
face=Arial>(volume, 
10);
graph0Name = <FONT 
color=#0000ff>"Weighted Volume";
graph0Color = <FONT 
color=#ff6820>colorRed; <FONT 
color=#009300>// Color must be specified!<FONT 
color=#ff6820>
graph0Style = <FONT 
color=#ff6820>styleLine + <FONT 
color=#ff6820>styleThick; <FONT 
color=#009300>// Type of line must also be set!<FONT 
face="Courier New">
Best Regards,
 
Udo
 
<BLOCKQUOTE dir=ltr 
>
-----Ursprüngliche Nachricht----- 
<DIV 
>Von: 
Larry M. 
Powell 
An: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Gesendet: Mittwoch, den 30. Oktober 2002 
05:39 Uhr
Betreff: [amibroker] Volume Weighted 
Moving Average
I would like to be able to plot the following on the price 
chart, I have tried sever method of "plot" but does not seem to work.  
Thanks,/* The 
Volume Weighted Moving Average calculates the sum of the volume times thedata 
field for each day in the average, then divides this value by the sum of the 
volumes in that period. */<FONT face="Courier New, Courier" 
size=2>Graph0 = <FONT face="Courier New, Courier" color=#0000ff 
size=2>Sum<FONT face="Courier New, Courier" 
size=2>((Volume*Close),<FONT face="Courier New, Courier" 
color=#ff00ff size=2>10<FONT face="Courier New, Courier" 
size=2>)/<FONT face="Courier New, Courier" color=#0000ff 
size=2>Sum 
(Volume,<FONT face="Courier New, Courier" color=#ff00ff 
size=2>10<FONT face="Courier New, Courier" 
size=2>);
Larry M. PowellLM Powell Development 
Co714-299-7002702-768-6090 Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.