I want to create SAR strategy, Price above SAR buy order, and Price below sell.. Now I want to re-enter again once the price is above SAR and exit again once price is below.. like this I want to take multiple enties through out the day of market Based on price above and below of the SAR .
please explain or show the image of strategy builder for this.
Manish
I think two set will work. set1 for buy and set2 for sell.
Tradetron TeamTradetron team
Re-entry is the default: after a set exits, it goes back to checking its entry, and enters again whenever the entry is true.
SAR strategy with two sets
Set 1 (buy): entry Position(Cross(CLOSE(Symbol(<inst>, tf)), SAR(Symbol(<inst>, tf))), -1) == Number(1) (price crossed above SAR on the last closed candle). Exit: price crosses below SAR (swap the two series in Cross).
Set 2 (sell): the mirror: entry on the cross below, exit on the cross above.
Add a time exit near the end of the day in Universal Exit if it is intraday.
Why use a cross
“Price above SAR” stays true for many candles, so after any exit it re-enters at once and can loop. A Cross read at -1 is true only on the candle where the cross happened.
A strategy that loops (400 trades in a day) gets blocked. Test it in Live Offline and check the Notification Log.