Hello guys,
i want to backtest a method which uses the the 2-period RSI as its primary tool, and claims 80% profitable trades on the S&P500 since 1995, but i dont know how to write the formula, can anyone help me out?
The method rules are the following:
Buy signal:
The price is above its 200-day simple moving average.
Day 1 - the 2-period RSI is below 65.
Day 2 - the 2-period RSI closes lower than Day 1.
Day 3 - the 2-period RSI closes lower than Day 2.
Buy market price on the close Day 3.
Exit Signal:
Exit when the 2-period RSI closes above 75.
Thanks in advance to the one who gives me the MS formula!!
Best regards,
Gustavo
i want to backtest a method which uses the the 2-period RSI as its primary tool, and claims 80% profitable trades on the S&P500 since 1995, but i dont know how to write the formula, can anyone help me out?
The method rules are the following:
Buy signal:
The price is above its 200-day simple moving average.
Day 1 - the 2-period RSI is below 65.
Day 2 - the 2-period RSI closes lower than Day 1.
Day 3 - the 2-period RSI closes lower than Day 2.
Buy market price on the close Day 3.
Exit Signal:
Exit when the 2-period RSI closes above 75.
Thanks in advance to the one who gives me the MS formula!!
Best regards,
Gustavo