OPEN-SOURCE SCRIPT

Center Of Gravity Backtest

By HPotter
Wizard
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.
algotradingbacktestingcentercenterofgravityCOGgravitystrategyTrend Analysis
HPotter
Wizard

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