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
would mean close minus close of 10 bars backPHP:close - close[10]
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