OPEN-SOURCE SCRIPT

️Omega Ratio by Near ☄️

25
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.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.