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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.