It appears that the default setting is for Instrument to be a STOCK.
My question is this, how do I best get this new information into my indicator. I am trying to write a custom indicator for this purpose, which will just call:
AddDataSeries("MY_CUSTOM_CALC");
I have looked at the data on a daily chart, and the values are what I put in the file. But when I try to use it with a daily future I seem to have issues with when the data is called with respect to the BarUpdates being out of order. Sometimes it even appears that the custom bar is not called on BarClose (specifically with the last datapoint in the custom series).
I have played around with the Instrument settings for the Custom Series by changing the Trading Hours to match or just offset the ES futures. I've also looked at it against a regular stock like AAPL, and I still don't see the last data point. In the output screen, it appears that it's not calling that specific bar.
This may not be enough information to debug I realize, but wondering if this is a good approach in general or if there's another suggestion to approach the problem: basically I have an externally calculated indicator (daily in this case) that I'd like to have available as an indicator. Perhaps just loading the data from the custom indicator itself (and avoiding the Historical import) would be better?
Open to ideas & suggestions. Thanks.
Comment