OPEN-SOURCE SCRIPT

Rotational Gravity Oscillator

By burgercrisis
Updated
Made using elements from two Cheatcountry scripts:
True Range Adjusted Exponential Moving Average [CC]


Stock Rotation Model [CC]



Includes a Bollinger Band for bounds that forms a trend follower based on the 0 point.
Includes CheatCountry color code signals, different color scheme. Bright colors are strong signals, ark are weak, green bull, red bear, the basics.
Switches for Bollinger Band color codes, which can actually be useful signals.

This oscillator can be used for divergences, trends, signal strength, confirmation, volatility readings, you name it.

It is a comparative oscillator, that compares adaptively smoothed, weighted modified Change of Gravity oscillators between 2 symbols and multiple lengths to determine directional momentum as one asset compares to another.

The default uses the Crypto TOTAL market cap to help trade cryptocurrencies. You will notice that BTC will give sell signals in uptrends at times. That is because it is being compared to an index of the total Crypto market cap, and since alt-coins move faster, BTC will lag behind this index.

Give CheatCountry a follow, hes one of the MVPs of Tradingview Pinescripters, constantly giving us access to novel new concepts as they are published by professionals.
Release Notes
Added proper annotations to Cheatcountry scripts where they are referenced.
Release Notes
decimals allowed
Release Notes
Added switch to only show the bollinger bands that are in above and below the oscillator line to improve visibility when bands are large.
Release Notes
New Colors!

Center Line now reflects trend based on oscillator instead of MA!

Bollinger Bands now reflect color either based on Expansion and Shrinkage, (purple/yellow) or MA vs 0 line!
Release Notes
Arrows. Lots of arrows.

Tooltips. Lots of tooltips.

Improved.

Better.

Options for visibility.
Bearish PatternsBullish PatternsbuyCentered OscillatorsgravityOscillatorsPortfolio managementSELLstrongweak
burgercrisis
take the brown acid

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