I want to develop an OnEachTick strategy that will have multiple limit entries with one single exit.
The idea will be to have multiple limit entries with 1 contract each order:
- LongEntry1 = Close[1] + 1
- LongEntry2 = Close[1] + 2
- LongEntry3 = Close[1] + 3
- LongEntry4 = Close[1] + 4
and 1 single ExitLimit with whatever is the quantity that has been filled in the bar at Close[1] - 0.25. This exit limit has to be dynamic and needs to be updated in each bar.
If the exitlimit is filled then cancel the entry limit orders that are in progress at the time the exit order happens.
Is there any documentation or example handy that you can share?
Thanks!

Comment