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

Re: [amibroker] Volume Weighted Moving Average



PureBytes Links

Trading Reference Links

Udo,  Thanks for your reply.  This is what is so great about
AmiBroker, there is often more than one way to achieve a desired
end.
At 01:08 AM 10/30/02, you wrote:
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 size in %
(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@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 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.