Registered User Joined: 10/7/2004 Posts: 13
|
Hi -
I want a 10 day exponential moving average of ((C+H+L)/3)
When I use XAVG((C+H+L)/3,10) and test it, the calculation is made, but in the text box showing the results, I get XAVGError, followed by the calculation.
The same thing happens when I try a simple moving average.
Can you tell me what's wrong?
Thank you, Pat
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
That is not proper syntax.
You could try something like:
(XAVGC10+XAVGH10+XAVGL10)/3
Thanks
diceman
|
Registered User Joined: 10/7/2004 Posts: 13
|
Thanks Diceman. I wasn't aware that formulas weren't allowed as arguments to AVG or XAVG.
Pat
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
One thing to note. You can also create this as a
custom indicator.
Use:
(H+C+L)/3
as your formula. Then set the smoothing average
to 10 exp.
You may be interested in this:
Thanks
diceman
|