Thanks to the support team for helping us every time we need.
I found an Indicator that is not so good, but basically is doing what it is pretending to do.
I wish to include it in a strategy however, in it current state it is not suitable for doing this. I need to do some modifications on the code, so that the values of it are readable to the Strategy Builder.
Basically, the indicator is related to the Initial Balance. Every day session it measures the high and the low of the first 1 hour of trading activity.
I know that I need to include in the "#region Properties" Series<double> to make it accessible for the Strategy Builder. I did different changes because I had different errors, but finally I succeeded to run it on strategy. However, after running the Playback and test it, I got an error message like:
"Strategy "OpenRangeStrategy": Error on calling 'OnBarUpdate' method on bar 0: Object reference not set to an instance of an object."
I apply attachments to the original code, and the modified version of the indicator, and the strategy that I am trying to incorporate it in.
If anyone have any ideas, please share!
Best wishes.

Comment