OPEN-SOURCE SCRIPT
️Omega Ratio by Near ☄️

Description:
The Omega Ratio by Near ☄️ is a multi-asset performance evaluation tool that calculates the Omega Ratio for a set of cryptocurrencies and a low-risk security over three different time periods. The Omega Ratio is a risk-adjusted performance measurement that takes into account both the positive and negative returns of an asset relative to a minimal acceptable return (MAR) level. Higher Omega Ratios indicate that an asset's positive returns outweigh its negative returns, suggesting better risk-adjusted performance.
Features:
Calculates Omega Ratios for the cryptocurrencies: BTCUSD, ETHUSD, BNBUSD, SOLUSD, ADAUSD, XMRUSD, STXUSD, and MATICUSD.
Uses IEF (a U.S. Treasury bond ETF) as a low-risk security to generate MAR levels for Omega calculations.
Three user-defined time periods for Omega Ratio calculations: Omega Period 1 (default: 2000 days), Omega Period 2 (default: 990 days), and Omega Period 3 (default: 600 days).
Displays Omega Ratios in a table format with color-coded cells for easy comparison of values across assets and time periods.
Usage:
To use this indicator, simply add it to your TradingView chart. The Omega Ratio values will be calculated and displayed in a table at the middle of the chart. Green cells indicate an Omega Ratio greater than or equal to 1, suggesting better risk-adjusted performance, while red cells indicate an Omega Ratio less than 1, suggesting poorer risk-adjusted performance. You can customize the time periods for Omega Ratio calculations by changing the input values for Omega Period 1, Omega Period 2, and Omega Period 3.
Please note that this indicator uses a maximum of 5000 bars for calculations, and the actual number of bars used may be limited by the available historical data on your chart.
If you have any issues, let me know.
Have a good one.
The Omega Ratio by Near ☄️ is a multi-asset performance evaluation tool that calculates the Omega Ratio for a set of cryptocurrencies and a low-risk security over three different time periods. The Omega Ratio is a risk-adjusted performance measurement that takes into account both the positive and negative returns of an asset relative to a minimal acceptable return (MAR) level. Higher Omega Ratios indicate that an asset's positive returns outweigh its negative returns, suggesting better risk-adjusted performance.
Features:
Calculates Omega Ratios for the cryptocurrencies: BTCUSD, ETHUSD, BNBUSD, SOLUSD, ADAUSD, XMRUSD, STXUSD, and MATICUSD.
Uses IEF (a U.S. Treasury bond ETF) as a low-risk security to generate MAR levels for Omega calculations.
Three user-defined time periods for Omega Ratio calculations: Omega Period 1 (default: 2000 days), Omega Period 2 (default: 990 days), and Omega Period 3 (default: 600 days).
Displays Omega Ratios in a table format with color-coded cells for easy comparison of values across assets and time periods.
Usage:
To use this indicator, simply add it to your TradingView chart. The Omega Ratio values will be calculated and displayed in a table at the middle of the chart. Green cells indicate an Omega Ratio greater than or equal to 1, suggesting better risk-adjusted performance, while red cells indicate an Omega Ratio less than 1, suggesting poorer risk-adjusted performance. You can customize the time periods for Omega Ratio calculations by changing the input values for Omega Period 1, Omega Period 2, and Omega Period 3.
Please note that this indicator uses a maximum of 5000 bars for calculations, and the actual number of bars used may be limited by the available historical data on your chart.
If you have any issues, let me know.
Have a good one.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。