Rotational Gravity OscillatorMade using elements from two Cheatcountry scripts:
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.
Gravity
Center Of Gravity OscillatorThe COG Oscillator (center of gravity) is an indicator based on statistics and the Fibonacci golden ratio. It uses ALMA as a trigger and LSMA as "zero line". The trigger is set tight by default but can be tweaked by adjusting the window size and sigma in settings. This is a great indicator for setting up trades and spotting reversals. There are 2 main strategies that come with this indicator:
Strategy 1: Long positions are entered when current low point is higher than previous low. Short positions are entered as current high is lower than previous high. (Shown in image above)
Strategy 2 : If market is bullish long trades are entered as COG line crosses over red LSMA line. Traders have the option of scalping the first crossover or even scaling out of trade to close on second exit. This works the opposite for shorts when market is bearish.
Above shows different configurations of the indicator. Top shows length of 50, Middle has length of 21 and bottom is default 9.
Ehlers Center Of Gravity Oscillator [CC]The Center of Gravity Oscillator was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 49) and this provides a pretty accurate way to see how the stock is trending. If the indicator stays above 0 then the stock is in a pretty strong uptrend and if it stays below 0 then the stock is in a pretty strong downtrend. Buy when the indicator changes from red to green and sell when it changes from green to red.
Let me know if you would like me to publish any other indicators or if you want something custom done!
[R&D] Moving CentroidThis script utilizes this concept. Instead of weighting by volume, it weights by amount of price action on every close price of the rolling window. I assume it can be used as an additional reference point for price mode and price antimode.
it is directly connected with Market (not volume) profile, or TPO charts.
The algorithm:
1) takes a rolling window of, for example, 50 data points of close prices:
2) for each of this closing prices, the algorithm will check how many bars touched this close price.
3) then: sum of datapoints * weights/sum of weights
Since the logic is implemented in pretty non-efficient way, the script sometimes can take time to make calculations. Moreover, it calculates the centroid taking into account only close prices, not every tick. of a given rolling window That's why it's still experimental.
Sell Gravitation IndexThe Sell Gravitation Index was created by Howard Wang and was published in Stocks & Commodities V37:02 (36-38)
This indicator is similar to the relative strength index but the big difference is that this indicator gives early buy and sell signals which I find very helpful. Buy when it rises above its signal line and sell when it falls below its signal line.
Let me know if you would like to see me publish any other scripts!
Stochastic CG Oscillator (Center of Gravity)Stochastic CG Oscillator (Center of Gravity) script.
This indicator was originally developed by John F. Ehlers (see his book `Cybernetic Analysis for Stocks and Futures`, Chapter 8: `Stochasticization and Fisherization of Indicators`).
CG Oscillator (Center of Gravity)CG Oscillator indicator script. This indicator was originally developed by John Ehlers.
Center Of Gravity Backtest The indicator is based on moving averages. On the basis of these, the
"center" of the price is calculated, and price channels are also constructed,
which act as corridors for the asset quotations.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Center Of Gravity Strategy The indicator is based on moving averages. On the basis of these, the
"center" of the price is calculated, and price channels are also constructed,
which act as corridors for the asset quotations.