This indicator, titled “MarketCap VS RealizedCap-MCRC.mq4”, is a custom technical analysis tool designed for MetaTrader 4 (MT4) that visualizes two conceptual metrics adapted from crypto market theory—Market Capitalization and Realized Capitalization—and maps them onto price action to help identify overbought/oversold conditions and potential trend reversals.
This indicator simulates the Market Cap and Realized Cap values from crypto asset analysis and adapts them into a price-scaled line chart to assess:
Market overvaluation or undervaluation
Trend strength and momentum
Reversal zones using support/resistance lines
Term Description
Market Cap Simulated using current price * volatility + momentum effects. Represents speculative value.
Realized Cap Smoothed, volatility-adjusted version of average price. Represents intrinsic or “realized” value.
Overbought/Oversold Levels Horizontal levels based on % distance from Realized Cap and Market Cap values. Used as potential reversal zones.
➤ Scaling & Multipliers
Parameter Description
ScalingFactor Scales the plotted lines to fit price range.
MarketCapMultiplier Weight of market cap relative to price. Higher = more aggressive line.
RealizedCapMultiplier Weight of realized cap relative to smoothed price. Lower = more stable.
➤ Smoothing
Parameter Description
SmoothingPeriod Simple moving average length to smooth the Realized Cap line.
➤ Overbought/Oversold Levels
Parameter Description
UpperLevelPercent % above Realized Cap for general overbought zone.
LowerLevelPercent % below Realized Cap for general oversold zone.
RealizedCapUpperPercent Upper resistance zone above Realized Cap.
RealizedCapLowerPercent Lower support zone below Realized Cap.
MarketCapLowerPercent Deep support below Market Cap.
Buffer # Name Description Color
0 MarketCapBuffer Simulated Market Cap line OrangeRed
1 RealizedCapBuffer Simulated Realized Cap line DimGray
2 UpperLevelBuffer Overbought level (RealizedCap + %) Red
3 LowerLevelBuffer Oversold level (RealizedCap - %) Aqua
4 RealizedCapUpperBuffer Upper resistance zone above Realized Cap Coral
5 RealizedCapLowerBuffer Lower support zone below Realized Cap DarkTurquoise
6 MarketCapLowerBuffer Deep support zone below Market Cap DodgerBlue
1. Smoothing
Calculates a moving average of price based on SmoothingPeriod.
2. Price Momentum & Volatility Effects
Uses sine-based oscillation and recent price change to introduce dynamic variability into the Market Cap and Realized Cap values.
Market Cap: More volatile, includes stronger momentum effects.
Realized Cap: Smoother, opposite momentum bias (acts more like a stabilizer).
3. Cap Line Adjustments
Ensures Market Cap is always above Realized Cap.
Prevents lines from going negative or unrealistic (fallback to scaled price).
4. Support/Resistance Zones
Adds multiple horizontal lines based on percentage deviations from the Realized and Market Cap lines:
Upper/Lower levels help visualize market stress zones.
Visualizing market sentiment and imbalance.
Finding potential reversal zones when price approaches/breaks certain buffer lines.
Confirming trend exhaustion if Market Cap diverges strongly from Realized Cap.
Situation Interpretation
Price > MarketCapBuffer + UpperLevel Market may be extremely overbought
Price < RealizedCapBuffer - LowerLevel Potential undervaluation; consider long setups
MarketCap touches MarketCapLowerBuffer Strong support; possible bounce zone
MarketCap crosses below RealizedCap Could suggest weakening bullish momentum
This indicator does not repaint.
It’s conceptually inspired by on-chain crypto indicators, but made to fit the MT4 environment using price-based simulations.
Customization of multipliers and smoothing allows you to adapt its sensitivity to various assets and timeframes.