OPEN-SOURCE SCRIPT
PsyExpansionPanel_v5_Kohlhaas

The PsyExpansionPanel measures the energy in the market, combining volatility, momentum, and volume into one composite signal.
It helps identify when a move is genuine and powerful — not just visually strong but backed by volatility and participation.
⸻
⚙️ Core Idea
When the blue line (Expansion Score) rises above the orange line (Threshold),
the market enters an expansion phase — volatility, speed, and participation all increase together.
This is the moment when a move becomes serious and emotionally charged.
⸻
📊 What Each Line Means
• Blue line → Expansion Score (combined energy from ATR%, ROC, and Volume)
• Orange line → Threshold (e.g. 0.75) — when crossed, expansion is active
• Gray line → Neutral zone — calm market, low activity
When the blue line crosses above the orange threshold,
the background turns orange, signaling: Expansion Active.
⸻
🧠 Market Psychology Behind It
During expansion, three things happen at once:
1. Volatility (ATR%) increases → traders become emotional (fear or greed rises)
2. Momentum (ROC) accelerates → price moves faster than usual
3. Volume rises above average → more participants join the move
This combination signals a transition from equilibrium to collective emotional action —
a moment when trends or reversals often begin.
It helps identify when a move is genuine and powerful — not just visually strong but backed by volatility and participation.
⸻
⚙️ Core Idea
When the blue line (Expansion Score) rises above the orange line (Threshold),
the market enters an expansion phase — volatility, speed, and participation all increase together.
This is the moment when a move becomes serious and emotionally charged.
⸻
📊 What Each Line Means
• Blue line → Expansion Score (combined energy from ATR%, ROC, and Volume)
• Orange line → Threshold (e.g. 0.75) — when crossed, expansion is active
• Gray line → Neutral zone — calm market, low activity
When the blue line crosses above the orange threshold,
the background turns orange, signaling: Expansion Active.
⸻
🧠 Market Psychology Behind It
During expansion, three things happen at once:
1. Volatility (ATR%) increases → traders become emotional (fear or greed rises)
2. Momentum (ROC) accelerates → price moves faster than usual
3. Volume rises above average → more participants join the move
This combination signals a transition from equilibrium to collective emotional action —
a moment when trends or reversals often begin.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.