OPEN-SOURCE SCRIPT
Mis à jour RichmondHillCM - PTJ Regime Change

PTJ Regime Change — Bull / Bear / Neutral Market Gauge
A composite market-regime indicator inspired by the trend-following, 200-day-moving-average philosophy popularised by Paul Tudor Jones. Instead of relying on a single signal, it polls seven independent technical components, each casting a +1 (bullish) or −1 (bearish) vote, then sums them into one score from −7 to +7 and classifies the market into a Bull, Bear, or Neutral regime.
The 7 components:
Price vs 200 MA — primary trend filter
Price vs 50 MA — intermediate trend filter
MA slope — are both averages rising?
RSI — momentum inside a healthy band (not weak, not euphoric)
MACD histogram — momentum expanding vs contracting
Volume — does volume confirm the day's direction?
ATR stress — is volatility calm or spiking?
How to use it:
• Background and candle colours show the live regime at a glance.
• The bottom-right table breaks down every component, its signal, and the total score.
• Optional labels mark the exact bar where the regime flips.
• Built-in alerts for regime changes, 200-MA crosses (above/below), and RSI blow-off/euphoria warnings.
Every input is configurable: MA type (SMA/EMA) and lengths, RSI/MACD/ATR settings, volume period, and the bull/bear score thresholds — so you can tune sensitivity to your symbol and timeframe.
Works on any symbol and any timeframe.
Credits: methodology inspired by Paul Tudor Jones' trend/200-MA approach; original scoring framework concept by RichmondHillCM.
Disclaimer: For educational purposes only. This is not financial advice and does not guarantee future performance. Always do your own research.
A composite market-regime indicator inspired by the trend-following, 200-day-moving-average philosophy popularised by Paul Tudor Jones. Instead of relying on a single signal, it polls seven independent technical components, each casting a +1 (bullish) or −1 (bearish) vote, then sums them into one score from −7 to +7 and classifies the market into a Bull, Bear, or Neutral regime.
The 7 components:
Price vs 200 MA — primary trend filter
Price vs 50 MA — intermediate trend filter
MA slope — are both averages rising?
RSI — momentum inside a healthy band (not weak, not euphoric)
MACD histogram — momentum expanding vs contracting
Volume — does volume confirm the day's direction?
ATR stress — is volatility calm or spiking?
How to use it:
• Background and candle colours show the live regime at a glance.
• The bottom-right table breaks down every component, its signal, and the total score.
• Optional labels mark the exact bar where the regime flips.
• Built-in alerts for regime changes, 200-MA crosses (above/below), and RSI blow-off/euphoria warnings.
Every input is configurable: MA type (SMA/EMA) and lengths, RSI/MACD/ATR settings, volume period, and the bull/bear score thresholds — so you can tune sensitivity to your symbol and timeframe.
Works on any symbol and any timeframe.
Credits: methodology inspired by Paul Tudor Jones' trend/200-MA approach; original scoring framework concept by RichmondHillCM.
Disclaimer: For educational purposes only. This is not financial advice and does not guarantee future performance. Always do your own research.
Notes de version
PTJ Regime Change — Bull / Bear / Neutral Market GaugeA composite market-regime indicator inspired by the trend-following, 200-day-moving-average philosophy popularised by Paul Tudor Jones. Instead of relying on a single signal, it polls seven independent technical components, each casting a +1 (bullish) or −1 (bearish) vote, then sums them into one score from −7 to +7 and classifies the market into a Bull, Bear, or Neutral regime.
The 7 components:
Price vs 200 MA — primary trend filter
Price vs 50 MA — intermediate trend filter
MA slope — are both averages rising?
RSI — momentum inside a healthy band (not weak, not euphoric)
MACD histogram — momentum expanding vs contracting
Volume — does volume confirm the day's direction?
ATR stress — is volatility calm or spiking?
How to use it:
• Background and candle colours show the live regime at a glance.
• The bottom-right table breaks down every component, its signal, and the total score.
• Optional labels mark the exact bar where the regime flips.
• Built-in alerts for regime changes, 200-MA crosses (above/below), and RSI blow-off/euphoria warnings.
Every input is configurable: MA type (SMA/EMA) and lengths, RSI/MACD/ATR settings, volume period, and the bull/bear score thresholds — so you can tune sensitivity to your symbol and timeframe.
Works on any symbol and any timeframe.
Credits: methodology inspired by Paul Tudor Jones' trend/200-MA approach; original scoring framework concept by RichmondHillCM.
Disclaimer: For educational purposes only. This is not financial advice and does not guarantee future performance. Always do your own research.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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 open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.