PROTECTED SOURCE SCRIPT
CapitalFlowsResearch: PEMA

CapitalFlowsResearch: PEMA — Price Extension
CapitalFlowsResearch: PEMA is a visual regime indicator that measures how far price is trading from its dynamic equilibrium and translates that behaviour into a clean, colour-coded background. Instead of simply showing whether price is above or below a moving average MA, the tool evaluates how unusual that distance is relative to recent behaviour, creating a normalized “extension score” that adapts across assets and timeframes.
The indicator then highlights periods where price enters meaningful positive or negative extension zones, using customizable thresholds and optional smoothing to control signal sensitivity. The result is a subtle but powerful overlay that helps reveal when markets are operating in balanced conditions, when they’re stretched, and when early signs of exhaustion or continuation may be emerging—without cluttering the chart or exposing the underlying mechanics.
CapitalFlowsResearch: PEMA is a visual regime indicator that measures how far price is trading from its dynamic equilibrium and translates that behaviour into a clean, colour-coded background. Instead of simply showing whether price is above or below a moving average MA, the tool evaluates how unusual that distance is relative to recent behaviour, creating a normalized “extension score” that adapts across assets and timeframes.
The indicator then highlights periods where price enters meaningful positive or negative extension zones, using customizable thresholds and optional smoothing to control signal sensitivity. The result is a subtle but powerful overlay that helps reveal when markets are operating in balanced conditions, when they’re stretched, and when early signs of exhaustion or continuation may be emerging—without cluttering the chart or exposing the underlying mechanics.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.