I am creating an indicator that relies on volume and prices and would like to apply on forex. However, I intend to use the forex futures volume instead. Briefly, here is what I would like to do, employing the concept of multi-series:
Chart setup:
- Add a data series $EURUSD (3min).
- Add a futures data series "6E 09-10" (3 min).
- Add a VolumeUpDown indicator using 6E as the input series.
- Use the method Add("6E 09-10",PeriodType.Minute,3).
- Access the volume, for example, using Volumes[1][0].
- Many instances of FXVOL will be added to the above chart. Since FXVOL adds the futures series in code, how will that impact memory consumption? Will each instance of FXVOL contain an independent separate copy of that same "6E" instrument which takes up memory?
- Is it possible to visualize VolumeUpDown without the futures data series being added to the chart?
- The FXVOL with hardcoded "6E 09-10" will still remain on the chart even after "6E 09-10" expires and "6E 12-10" takes over. Since I intend to use Volumes[1][0] to access the current bar in FXVOL, will FXVOL crash if the current bar is not from 6E 09-10 but from 6E 12-10?
- After "6E 09-10" expires and "6E 12-10" takes over, is it possible for me to Add("6E 12-10") in FXVOL, but I access volumes that are way back in the past even before "6E 12-10" comes into existence?

Comment