Optuma Forums › Optuma Scripting › Backtest – Exit Criteria – Setup bar and Trigger price › Reply To: Backtest – Exit Criteria – Setup bar and Trigger price
- Topics: 15
- Replies: 20
- Posts: 35
I’m looking for something similar to this in the backtester.
I am able to create a script that gives me a setup bar. Instead of entering on the next open, or the close of the signal day, I would prefer to enter as soon as the next bar breaks the high of the setup bar (for long entry). And if that next bar fails to break the high, I would like to delete the pending trade.
Is it possible to simulate this through the backtester?