Vikram
Hi sir,
We use 1-minute candle OHLC data for backtesting.
Legwise Stop Loss/Target: the backtester uses the High - Low of this 1 min candle to determine if the SL or target was hit or not. For example, if you sell something for ₹100 with a 20% SL then we will see if the candle High contains the ₹120 price point. If it does then we assume the SL was hit at Rs 120.
Overall Stop Loss/Target/Lock & Trail: Overall settings like Stop Loss/Target/Lock & Trail are calculated on the close price of the 1 min candle close.
If you still have any doubt you can dm me on telegram https://t.me/AlgoTest_Support_Harsh