When you set up a strategy, you’ll decide if you want it to run once or in a loop.
Now, this is relatively straightforward: if you choose once, it runs only one time, and if you choose in loop, it runs continuously until you choose to stop it.
Whether you choose to run it once or in a loop is completely up to you. But, we do ask that you use your discretion when you make this choice. While you may run any strategy once, bear in mind that some strategies aren’t suitable to run in a loop.
For instance, a strategy that you could run in a loop might look like this:
Entry: Buy 100 units of [STOCK A] if [STOCK A] crosses above the Moving Average(100, Day, Close)
Exit: Close position if [STOCK A] is below the Moving Average(50, Day, Close)
The strategy above is based on technical indicators, meaning that when you run it multiple times, it’s likely to produce similar results.
However, you should avoid running strategies like this in a loop:
Entry: Buy 100 units of [Stock A] if the price of [Stock A] is above 80
Exit: Close position if the profit is at 2% or the loss is at 2%
This strategy is based on a numerical value, so what works in one time may not work the next. In this case, the condition will remain true for any value above 80. Thus, anytime an exit is triggered, it will automatically trigger the next entry.
You can toggle between Once and In Loop within the strategy wizard or on the strategy page.
*Please note that all screenshots and examples are only shown for the purpose of a technical demonstration and should not in any way be construed as recommending any type of trading strategy and they do not constitute any form of advice. Please click here for further explanation