I'm working on a Project that includes a Strategy that needs to check a bunch of Time Periods (up to 26 and mainly different Day and Minute Periods) on a single Instrument. We need to collect different kind of Data in this Periods but all coming from the same indicators and on the same Instrument.
I know about the possibility to add more Timeperiods in NinjaScript via Add(PeriodType.x, y). But normaly you would add all these Periods in the Initialize() Part of the Script.
Now my Question(s):

1. Is there any possibility that I can Add and Delete TimePeriods dynamically?
2. If yes, how would this be possible.
3. If no. Is there any limitation of how many timeperiods can be loaded into a single chart via Script?
4. Can i call Add(PeriodType.x, y) also outside of Initialize()
5. Alternatively would it be possible to create and kill charts programmatically via NinjaScript.
Thanks in advance.
Comment