Topic: Exit at TP or SL only
Hello Traders,
With Express Generator v2.57, we can create strategies that exit at SL or TP only.
We do it by forcing the Generator to use the "Do not Exit" indicator as the only option.
Please follow these steps:
1. Disable all the exit indicators except "Do not Exit":
;; Exit indicators
...
exit_directional_indicators = false
exit_do_not_exit = true
exit_donchian_channel = false
...
2. Set the Generator to use only one exit slot:
; Max number of indicators to use
max_exit_slots = 1
3. Set the Generator always to use SL and TP. Set also the corresponding ranges
stop_loss_usage = AlwaysUse
take_profit_usage = AlwaysUse
Please see the attached ini file as an example.
If you have another ini file, set this one last.
node .\bin\gen.js --server Premium --symbol EURUSD --period M15 --settings do-not-exit.ini
Trade Safe!
.