Access to previous value of indicator
Created at 09 Feb 2015, 20:57
Access to previous value of indicator
09 Feb 2015, 20:57
Hi,
I would like to get value of MovingAverage indicator but several bars ago.
In bot I don't know what current value of index is and what was index bars then.
How can I obtain value of indicator any number of bars ago ?
Regards,
Cezary
AlexanderRC
11 Feb 2015, 00:20
indicator_instance.Result.Last(bars_ago)
@AlexanderRC