Hi, Here is a 'template', using array's, for multiple orders and different SL/TP levels per trade (This is an example with max 5 open trades) The 'switch' makes sure that the first available position will be used, for example, when 'L1' is closed in the past, and a buy condition is triggered, position 'L1' will be filled, should it be that 'L1', 'L2', 'L3' are...
This example show how to make multiple take profits in percent.
This is a second attempt at an easy to understand multiple time frame strategy. This one uses ATR for exits. If the position is long, and the price closes below the ATR multiplier, it triggers a close. If the position is short, and the price closes above the ATR/multiplier, it triggers a close. This generates a lot of little trades but is useful because it...