Introducing Indicator Time Shifts

Harnessing the power of Time in your Indicator

Custom Indicators now allow us to specify plots to be shifted forward or backward in time. Using the indicator’s shifts property, we can instruct our plots or our entire indicator to be shifted in time n bars, where n is a positive or negative number. Positive n values will result in shifts into the future, while negative n’s will be shifted into the past. For an short tutorial with code examples, please refer to our tutorial on recreating the classic Alligator indicator:

https://tradovate.github.io/custom-indicators/pages/Tutorial/Alligator.html

I copied and pasted the code. It didn’t shift anything.

Right now this new functionality is in the current beta version. It will be moved to production in our next release

You can reference this post on how to access the beta versions