Revision 2.5
Updated to Pinescript 5
Much improved Variant/Moving Average filter I have been working on with a customizable timeframe. Set your moving average filter ot any timeframe any length and choose between SMA,EMA,DEMA,TEMA and a few more types.
Changed RSI filter to customizable time frame and length of RSI. If you use lower numbers for the filter (40->50) this can improve your win rate. Try using 5minute or 3minute settings for the RSI filter and tinker with the settings.
Use the show data feature to help you figure out which trades should be taken out and how to go about doing so.