OPEN-SOURCE SCRIPT
Updated

MG Universal model

293
🚀 Summary🚀
The MG univerasal model is a composite of various items such as RSI, price Z-Score, Sharpe Ratio, Sortino Ratio, Omega Ratio, etc
Each component is normalized and then equally wheighted out to perform a global metric.
At the end, an Exponential Moving Average is added on the global metric.

You can easily find a description of each component on the internet, for the Crosby Ratio, it's a metric that comes from bitcoinmagazinepro.com.

✨ Key Features ✨
🗡 Smoothed Global Metric
Using a Moving average to smooth out the whole aggregated metric.

🗡 Bands Zone at extreme levels
Automatically displaying bands at top and bottom levels of the oscillator.

🗡 Normalizing components
Each component is normalized.

🗡 DataTable
Optional DataTable is available to check the score for each components and their related Z-Score.

📊 How I use it 📊
When catching up with 0 line (midline), crossing it :
if it goes above 0.2:
get out when it crosses 0.2 again
else:
get out when it crosses 0 again

That's the way I use it, may be there is a better way, FAFO :)

❓ Seeing a bug or an issue ❓
Feel free to DM me if you see a component that seems badly calculated.
I will be happy to fix it.


❗❗ Disclaimer ❗❗
This is a single indicator, even though it's aggregating many, do not use it as a standalone.
Past performance is not indicative of future results.
Always backtest, check, and align parameters before live trading.
Release Notes
🚀 Summary🚀
The MG univerasal model is a composite of various items such as RSI, price Z-Score, Sharpe Ratio, Sortino Ratio, Omega Ratio, etc
Each component is normalized and then equally wheighted out to perform a global metric.
At the end, an Exponential Moving Average is added on the global metric.

You can easily find a description of each component on the internet, for the Crosby Ratio, it's a metric that comes from bitcoinmagazinepro.com.

✨ Key Features ✨
🗡 Smoothed Global Metric
Using a Moving average to smooth out the whole aggregated metric.

🗡 Bands Zone at extreme levels
Automatically displaying bands at top and bottom levels of the oscillator.

🗡 Normalizing components
Each component is normalized.

🗡 DataTable
Optional DataTable is available to check the score for each components and their related Z-Score.

📊 How I use it 📊
When catching up with 0 line (midline), crossing it :
if it goes above upperBand:
get out when it crosses upperBand again
else:
get out when it crosses 0 again

That's the way I use it, may be there is a better way, FAFO :)

❓ Seeing a bug or an issue ❓
Feel free to DM me if you see a component that seems badly calculated.
I will be happy to fix it.


❗❗ Disclaimer ❗❗
This is a single indicator, even though it's aggregating many, do not use it as a standalone.
Past performance is not indicative of future results.
Always backtest, check, and align parameters before live trading.
Release Notes
Removed blank lines

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.