Hi, i need algos code to backtest intraday strategies.
-
Buy When the price goes 2Rs up over 1st 15 minute candle high, Target 0.5% , Stoploss below 2Rs of 1st 15 minute candle low.
-
Sell When the price goes 2Rs down below 1st 15 minute candle low, Target 0.5% , Stoploss over 2Rs of 1st 15 minute candle high.