Can someone help me make a backtesting code?

Can someone backtest this strategy?

-RSI(7) daily crosses 60
-price is above 200 and 20 ema
-TMO is green and rising
-Average RSI of comp and dji are rising

trailing stop loss 1.50 percent below price and target price 3.50 percent over buy.

Or cut losses when RSI daily drops below 60

Thank you!

Similar threads