I am seeing an odd issue. When I start up Ninja (the program itself) for the first time, and run a strategy; it will load and parse through all the historical data. All the data it has gone through it considers (Historical == false). Now, if I turn off and run the Strategy 1 more time, it will not re-run all the past historical data, giving proper (Historical == true) where expected. Also, if I remove the strategy and re-add it all over again...it will again parse the data and give (Historical == false) everywhere.
Is this normal behavior?
What I'm after is trying to match my Account Position to the Strategy Virtual Position by going back 3 Bars and Setting a Long or Short based on an Indicator. This works fine when Historical == true (second run of strategy), but when Historical == false (1st run of strategy)...the strategy executes my "older trade" (using CurrentBar == Bars.Count-2) live(not just keeping it virtual inside the strategy).
What could be ruining the Historical boolean?
I am using "immediately submit live working historical orders", "Keep running strategy", "unmanaged approach", strategy is a multi-series with 1 minute and Tick-by-tick data. And, no Syncing Account Position is not enabled...nor do I want to use that option. I have also tried "Wait Until Flat" in the options.
I know what my position would be in the past simply based off the Indicator.
Thank you for your help,
Xraider.
Comment