Hey @Abdul_Samie, the orders are executed at the exchange so execution, unfortunately, cannot be controlled. However, Streak has recently added a Limit order feature that allows users to preset slippage points just as you mentioned. The instruction manual for this is currently getting worked upon, so I’ll share briefly how to use it here.
When you deploy a strategy, in the Pre-deployment window, set the order type as Limit and set the Default price as either OHLC or LTP.
Then add a buffer lets say 3.5, This would place the order at LTP+3.5 points or trigger candle HIGH+3.5 points. The advantage of using this your slippage cost is up to you and the order would basically act as a market order and get executed immediately. But the execution of course is not guaranteed, especially during a rally or a fall when slippage cost is at its highest.
If you want to short, you can add “-3.5”
***** Update *****
When you keep a positive Buffer price like in the above case +3.5, it will add 3.5 to the Entry Order and subtract 3.5 from the Exit order i.e order generated when EXIT(EX) trigger is met. SL and TP will remain MARKET as before.
Example:
Your Entry condition of EMA10 crossing above EMA21 is met at 10:30 AM and entry(EN) got triggered when the price was INR 265.00. You have set the order type as Limit and a Buffer of 0.5 INR. so your order sent to the exchange would be 265+0.5= 265.5 INR. High Probability that this order would execute immediately like MARKET.
Your Exit condition of EMA 10 crossing below EMA21 is met at 1:30 PM and exit(EX) got triggered when the price was INR 271.00. Since you had set the order type as Limit and Buffer as 0.5 INR. so your order sent to the exchange would be 271-0.5=270.5 INR.
Similarly, if you keep a negative Buffer price like in the above case-3.5, it will subtract 3.5 from the Entry Order and add 3.5 to the Exit order i.e order generated when EXIT(EX) trigger is met.
Example:
Your Entry condition of EMA10 crossing above EMA21 is met at 10:30 AM and entry(EN) got triggered when the price was INR 265.00. You have set the order type as Limit and a Buffer of (-)0.5 INR. so your order sent to the exchange would be 265-0.5= 264.5 INR. Low Probability that this order would execute immediately since order price is lower than the current price.
Your Exit condition of EMA 10 crossing below EMA21 is met at 1:30 PM and exit(EX) got triggered when the price was INR 271.00. Since you had set the order type as Limit and Buffer as (-)0.5 INR. so your order sent to the exchange would be 271- ( (-)0.5)=271.5 INR.
Let me know if you have any questions.