Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623
|
dlipter,
it would depend on what exactly you want to do. If you are looking for a way to access displaced plot values looking into the future would not be required, but it might make sense for you to post your code in order for someone to point you in the right direction.
Displacing a plot value "into the future" will not change the value that is displaced, it will just be shifted to the right. You can check this by comparing two moving averages using the same length while one is displaced to the right and the other is not. The values of the averages will match, they will just be shown on different bars i.e. the value that your non displaced average shows on the current bar will match the value that your displaced average shows as most recent value.
Regards,
ABCTG
|