Moving average question with tradestation

Quote from flyingdutchmen:

[ yes whatever number you write between these 2 displacements is the amount of bars back you wish to make your calculation ]

so no displacements is current value [0] is also current value
[50] is value of 50 bars back

PHP:
close - close[10]
would mean close minus close of 10 bars back

Thank you flyingdutchmen and to the other posters.

I was able to add the code I wanted and it appears to work correctly.

Respectfully,

Robert
 
Back
Top