Please help me to write in Zerodha Pi backtesting tools. Entry signal ok but finding difficulties while existing. 1) When Buy, the Stop Loss shall be below the previous two candle’s low. 2) When Sell, the Stop Loss shall be above the previous two candle’s high.
CHECK THIS SIMILAR ANSWER