I am trying now since days to solve the issue with the strategy builder so hopefully someone can help me here...
I am facing an issue with my automated futures strategy when testing live (does not occur in the historic backtest) when swapping positions from long to short or vice versa.
So in my strategy I have 4 Sets:
1. Conditions A --> go long
2. Condidions B --> exit long
3. Contidions C --> go short
4. Conditions D --> exit short
The problem only occurs when condition (B and C) or (D and A) both apply on the same bar. Then instead of exiting one position and going in the other direction he creates a "close position" trade first and then goes in the other direction, what results in having 2 positions instead of just one.
In my research i have read a lot about that this has to do with the managed approach and NT does not yet have the Information that the exit occured yet.
Is there a simple way realizable with the strategy builder to let NT know that this exit happened (in Condition B or D, so he does not have to "close Positions from NT side" additionally when swapping sides) in the same bar? For example with Variables or so? Or any other solution to avoid that?
I new here, so excuse me if the question if its silly ;-) Thnx and best regards

Comment