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

Re: [amibroker] Volume Weighted Moving Average



PureBytes Links

Trading Reference Links

Ok, now it looks like three alternatives.  This is great. 
Thanks to everyone.
At 01:30 AM 10/30/02, you wrote:
Hello,
 
Or use simpler PLOT function
 
graphxspace = 3;
 
Plot( Close, "Price", colorGreen, styleCandle
);
Plot( 
Sum((volume
*
close),
10)
/
Sum(volume,
10),
"Weighted Volume", colorRed,
styleLine
+ styleThick
);
 
... of course VOLUME figures from your data source must be
provided . Check if your data source provides volume.
 
Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message ----- 
From:
Udo.Harke@xxxx 
To: amibroker@xxxxxxxxxxx 
Sent: Wednesday, October 30, 2002 10:08 AM
Subject: Re: [amibroker] Volume Weighted Moving Average

Hi Larry,
 
try this:
 
// Click in the Indicator Builder on Automatic, Level 0, Show dates, and on Middle:
maxGraph = 1; // Number of graphs you desire to display!
graphxspace = 3; // Added sizein % (here: 3%) at the top and bottom of the chart window.
graph0 = Sum((volume * close), 10) / Sum(volume, 10);
graph0Name = "Weighted Volume";
graph0Color = colorRed; //Color must be specified!
graph0Style = styleLine + styleThick; // Type of line must also be set!
Best Regards,
 
Udo
 
-----Ursprüngliche Nachricht----- 
Von: Larry M. Powell 
An: amibroker@xxxxxxxxxxx 
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 the data field for each day in the average, then divides this value by the sum of the volumes in that period. */

Graph0 = Sum((Volume*Close),10)/Sum (Volume,10);


Yahoo! Groups Sponsor 
ADVERTISEMENT
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

Larry M. Powell