MA of Price Range

Questions directed to our Support Team. Responses can be expected within 24 hours.

MA of Price Range

Postby rjay » Sun Jul 13, 2014 3:52 pm

I want to calculate a 10-day MA of the price difference (ie High - Low) of each period. I tried mov (high - low, 10, s) but got an error that the Value (high - low) was invalid.

What's the best way of coding this ? Will mov(atr(10), 10, Simple) give me the same thing ?
rjay
 
Posts: 116
Joined: Wed Jul 26, 2006 6:51 am

Re: MA of Price Range

Postby Overload » Mon Jul 14, 2014 8:27 am

I also tried this:

Code: Select all
mov(high - low, 10, s)

and it worked just fine here. Could there be typos in your version, or are you using it differently? That is probably the simplest code for you to use.

Pete
Overload
 
Posts: 2248
Joined: Wed Nov 30, 2005 12:14 pm


Return to Technical Support

cron