OPEN-SOURCE SCRIPT
Aggiornato

RichmondHillCM - PTJ Regime Change

246
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.
Note di rilascio
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.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.