OPEN-SOURCE SCRIPT

GMS: RSI & ROC Strategy

Updated
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
longshortRate of Change (ROC)Relative Strength Index (RSI)Simple Moving Average (SMA)trendtrading

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer