I want to run my strategy 1 time then it automatically disables after it exits until I re-enable the strategy. I don't need it to unclick the enable button or anything I really just need the strategy to not start again after the exit even when the conditions are met.
I have tried from previous forums " If you are wanting to only allow one entry unless the strategy is disabled/re-enabled you can compare BarsSinceEntryExecution() to be greater than -1."
The problem is my strategy will not enter long even if I set submit immediately and synchronize with the barssinceentryexecution. Is there another way to do this? I am using strategy builder and not as familiar with coding manually.
Thanks in advance.
Comment