OPEN-SOURCE SCRIPT
Updated

GMS: RSI & ROC Strategy

6009
This is a basic strategy like the RSI one I posted. This one adds in the Rate of Change indicator as well.

You can separate the two for RSI only and ROC only. Everything else is the same as the RSI strategy.

- Simple moving average trend filter.
- Simple moving average trade exit.
- Both long and short or each on it's own.

The source code should be open if you want to see it or modify it for your own project. I hope it helps!

Andre
Global Market Signals
Release Notes
I just added in a % profit target and % stop loss. Each has an on/off switch so you can test each other together or independently!

Also changed the default values for the ROC Upper and Lower from 0.01 & -0.01 to 1 & -1

I hope it helps,

Andre

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.