PureBytes Links
Trading Reference Links
|
<SPAN
class=165223805-30102002>larry,
<SPAN
class=165223805-30102002>
on a
custom chart...
<SPAN
class=165223805-30102002>
<SPAN
class=165223805-30102002>
x=Sum((<FONT
color=#000000>Volume*<FONT
color=#000000>Close),<FONT
color=#ff00ff>10)/<FONT
color=#0000ff>Sum (<FONT
color=#000000>Volume,<FONT
color=#ff00ff>10);<FONT
color=#0000ff>
Plot(x,"<SPAN
class=165223805-30102002>VMA",<FONT
color=#000000>colorYellow<FONT
size=2>,4<FONT
color=#282828>);<FONT
face=Arial>
Plot(<FONT
color=#000000>C<FONT
color=#282828>,""<FONT
color=#282828>,<FONT
color=#000000>colorGreen<FONT
face=Arial>,<FONT
color=#000000>styleCandle<FONT
face=Arial size=2>);
or just
place<FONT
color=#0000ff><FONT
face=Arial size=2>
x=Sum((<FONT
color=#000000>Volume<FONT
color=#282828>*Close<FONT
size=2>),<FONT
color=#ff00ff>10)/<FONT
color=#0000ff>Sum (<FONT
color=#000000>Volume<FONT
color=#282828>,10<FONT
color=#282828>);
Plot(x,"<SPAN
class=165223805-30102002>VMA",<FONT
color=#000000>colorYellow<FONT
color=#282828>,4);
in the standard
price chart above the line that says..... <FONT
color=#008000>
<FONT face=Arial
size=2>//--Indicator-End--
Line
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Larry M. Powell
[mailto:larypowell@xxxx]Sent: Tuesday, October 29, 2002 11:40
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Volume
Weighted Moving AverageI would like to be able to plotthe
following on the price chart, I have tried sever method of "plot" but does not
seem to work. Thanks,<FONT color=#008000
face="Courier New, Courier" size=2>/* 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<FONT
face="Courier New, Courier" size=2>((Volume*Close),<FONT
color=#ff00ff face="Courier New, Courier" size=2>10<FONT
face="Courier New, Courier" size=2>)/<FONT color=#0000ff
face="Courier New, Courier" size=2>Sum<FONT face="Courier New,Courier"
size=2> (Volume,<FONT color=#ff00ff face="Courier New, Courier"
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.
|