OPEN-SOURCE SCRIPT
UNDETECTED FX - Psychologic Levels

This indicator automatically plots major 250-pip psychological levels on XAUUSD and highlights the price zones around them. These levels act as strong reaction points where liquidity, reversals, and institutional activity commonly occur.
What the Indicator Does
✔ Plots every 250-pip level starting from a user-defined base (e.g., 4050 → 4075 → 4100 → 4125 → …)
✔ Each level is represented by a thick black horizontal line for maximum visual clarity
✔ Around every 250-pip level, the indicator draws a liquidity zone
Top of zone: +200 pips
Bottom of zone: –200 pips
(configured as ± zoneHalf in settings)
✔ Uses extend: both, so levels stretch across the entire chart and stay fixed, no matter how far you scroll
✔ Zones are filled with a customizable color for clear premium/discount visualization
✔ The indicator never repaints and requires no updates after drawing — all levels are fixed on their price coordinates
Why It’s Useful
🔹 Helps quickly identify institutional levels where gold often reacts
🔹 Acts as a framework for scalping, intraday trading, and swing bias
🔹 Makes it easy to spot liquidity sweeps, rejections, and premium/discount areas
🔹 Clearly shows market structure breaks around key psychological levels
🔹 Forces discipline by creating predefined, fixed levels for trading decisions
Best Use Case
XAUUSD scalpers
Intraday traders who rely on precision entries
Traders who use psychological levels, liquidity grabs, or smart-money concepts
Anyone wanting a clean, non-cluttered chart with high-impact levels only
What the Indicator Does
✔ Plots every 250-pip level starting from a user-defined base (e.g., 4050 → 4075 → 4100 → 4125 → …)
✔ Each level is represented by a thick black horizontal line for maximum visual clarity
✔ Around every 250-pip level, the indicator draws a liquidity zone
Top of zone: +200 pips
Bottom of zone: –200 pips
(configured as ± zoneHalf in settings)
✔ Uses extend: both, so levels stretch across the entire chart and stay fixed, no matter how far you scroll
✔ Zones are filled with a customizable color for clear premium/discount visualization
✔ The indicator never repaints and requires no updates after drawing — all levels are fixed on their price coordinates
Why It’s Useful
🔹 Helps quickly identify institutional levels where gold often reacts
🔹 Acts as a framework for scalping, intraday trading, and swing bias
🔹 Makes it easy to spot liquidity sweeps, rejections, and premium/discount areas
🔹 Clearly shows market structure breaks around key psychological levels
🔹 Forces discipline by creating predefined, fixed levels for trading decisions
Best Use Case
XAUUSD scalpers
Intraday traders who rely on precision entries
Traders who use psychological levels, liquidity grabs, or smart-money concepts
Anyone wanting a clean, non-cluttered chart with high-impact levels only
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。