I am enabling a startegy in Ninjatrader. My issue is in the order handling section of the strategy. Currently in that section where it says "Exit on Close" the strategy is set to "True"
The strategy works perfectly well as it should so that when 60 seconds prior to close approaches, the position gets automatically closed out. The issue I am having is that at the same time my Broker (AMP) is externally closing out that position too because the account is not funded adequately for ovenight margin. The problem this causes is that if I was long a position prior to the close then after these 2 actions I become net short and if I was short in a position prior to the close then after these 2 actions I become net long causing me to be in trade I may not want to be in.
If I instead turn the "Exit on Close" feature to "False", my concern is what if for some reason my broker didn't automatically catch this under margin balance issue then here too I may be in a position I do not want to be in.
Can you please offer any suggestions on how to resolve this matter? Thanks in advance for any help.
Thanks,
Jack

Comment