I'm wanting to know if the variables orderId and atmStrategyId are automatically 'cleared' or set to empty strings.
I'm having trouble getting my strategy to 'reset' when it gets stopped out or hits it's target. Essentially it stops taking new trades after getting stopped out or hitting targets as if the strategy thinks the ATM is still active.
Do I need to empty those variables myself or will atmStrategyClose(atmStrategyId) do it for me?
Comment