PROTECTED SOURCE SCRIPT
已更新 Market Efficiency

Market Efficiency:
The strategy calculates market efficiency using several parameters like volatility, autocorrelation, volume spikes, and order imbalance. These values are normalized over a lookback period to generate an efficiency score.
An oscillator is calculated by smoothing the efficiency score using a Hull Moving Average (HMA), which is then used to determine market efficiency or inefficiency.
Trend vs. Mean Reversion:
Based on statistical properties and volatility analysis, the script distinguishes between a trending market or a mean-reverting market.
The Hurst exponent is used to estimate whether the market is stabilizing or becoming chaotic, contributing to this determination. Credits to Coff3eG george_608
MVRV Ratio:
The MVRV (Market Value to Realized Value) indicator for Bitcoin is included. This metric compares the current market value of Bitcoin to its historical realized value using a 155-day simple moving average (SMA).
The ratio helps determine whether the market is overvalued (bullish) or undervalued (bearish), providing signals for buy or sell conditions. Credits to AriSai_TRW
Long Only Trade Calculation:
The script is configured for long trades only. A long trade is opened when:
The market is trending (not mean-reverting).
The MVRV ratio suggests a bullish condition.
The efficiency oscillator is below zero
A long position is closed if:
The market begins to revert to the mean.
The MVRV ratio turns bearish (below 1).
版本注释
.版本注释
Added Plot options版本注释
bgcolor版本注释
..受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。