However when I create an indicator using code, it stops and does not print past the last price bar.
For instance EMA(5) with a displacement set to 100 prints into the future (see green line - this is what I want to happen, I need to replicate this with a complex "coded" indicator.)
However EMA(5)[100] stops and does not print past the last price bar. (see blue line)
Value.Set(EMA(Period)[100]);
What's the solution for having the coded indicator print into the future?
Comment