OPEN-SOURCE SCRIPT
Psychological Levels + PDH/PDL + PWH/PWL

Psychological Levels + PDH/PDL + PWH/PWL
This professional indicator combines three of the most powerful key zone concepts in Forex trading into one clean, fully customizable tool. Instead of using multiple separate indicators, you get psychological price levels, Previous Day High/Low and Previous Week High/Low all in one place — perfectly designed for confluence-based trading strategies.
📊 What's included:
🔘 Psychological Levels (1000 / 100 / 50 / 25 / 10 pip steps)
Psychological levels are price zones where human psychology naturally causes order clustering. Banks, institutions and retail traders all monitor the same round numbers — making these levels self-fulfilling support and resistance zones. Each level type has its own color, zone width and line style settings and can be toggled on or off independently.
🔵 PDH / PDL — Previous Day High & Low
The most watched intraday reference points in professional Forex trading. The line starts exactly at the candle where the previous day's high or low was formed and extends to the current bar. Institutional traders use these levels for bias, stop placement and profit targets. On GBP/USD and other volatile pairs, PDH/PDL are frequently used as magnets for price during the London and New York sessions.
🔷 PWH / PWL — Previous Week High & Low
The strongest reference levels for weekly bias and multi-day trade planning. The line starts at the exact candle of the previous week's high or low and extends through the current week. A break and hold above PWH is a strong bullish signal. A rejection at PWH or PWL combined with a psychological level creates a very high-confluence setup.
💡 How to use this indicator:
Add the indicator to your GBP/USD or any other Forex chart
Enable the psychological levels that fit your timeframe (100 and 50 pip for day trading, 25 and 10 pip for scalping)
Mark where PDH/PDL and PWH/PWL sit relative to psychological levels
Look for confluence — when PDH aligns with a 100-pip level, that zone is significantly stronger
Wait for a price action trigger (engulfing candle, break of structure) at the confluence zone
Place your stop loss beyond the full zone, target the next key level with minimum 1:2 R:R
🎯 Best confluence combinations:
PDH/PDL + psychological level = strong intraday zone
PWH/PWL + psychological level = strong multi-day zone
PDH + PWH + psychological level = extremely high-probability setup
Any of the above + VWAP = institutional-grade confluence
⚙️ Customization:
Every element is fully adjustable. Colors, line styles (solid, dashed, dotted), line thickness and zone widths can all be set independently. Labels for PDH/PDL and PWH/PWL can be toggled on or off. The indicator automatically detects JPY pairs and adjusts pip calculations accordingly.
📋 Technical details:
Pine Script v6
Compatible with all Forex pairs (majors, minors, exotics)
Works on all timeframes from M1 to Weekly
Maximum 500 lines and 500 boxes for optimal performance
No repainting — levels are fixed once the session closes
Optimized calculation within visible price range for smooth performance
👤 Ideal for:
Day traders and scalpers who trade GBP/USD, EUR/USD or other major pairs on the 5-minute to 1-hour timeframe and want a clean, structured way to identify the most important price zones without cluttering their chart.
This professional indicator combines three of the most powerful key zone concepts in Forex trading into one clean, fully customizable tool. Instead of using multiple separate indicators, you get psychological price levels, Previous Day High/Low and Previous Week High/Low all in one place — perfectly designed for confluence-based trading strategies.
📊 What's included:
🔘 Psychological Levels (1000 / 100 / 50 / 25 / 10 pip steps)
Psychological levels are price zones where human psychology naturally causes order clustering. Banks, institutions and retail traders all monitor the same round numbers — making these levels self-fulfilling support and resistance zones. Each level type has its own color, zone width and line style settings and can be toggled on or off independently.
🔵 PDH / PDL — Previous Day High & Low
The most watched intraday reference points in professional Forex trading. The line starts exactly at the candle where the previous day's high or low was formed and extends to the current bar. Institutional traders use these levels for bias, stop placement and profit targets. On GBP/USD and other volatile pairs, PDH/PDL are frequently used as magnets for price during the London and New York sessions.
🔷 PWH / PWL — Previous Week High & Low
The strongest reference levels for weekly bias and multi-day trade planning. The line starts at the exact candle of the previous week's high or low and extends through the current week. A break and hold above PWH is a strong bullish signal. A rejection at PWH or PWL combined with a psychological level creates a very high-confluence setup.
💡 How to use this indicator:
Add the indicator to your GBP/USD or any other Forex chart
Enable the psychological levels that fit your timeframe (100 and 50 pip for day trading, 25 and 10 pip for scalping)
Mark where PDH/PDL and PWH/PWL sit relative to psychological levels
Look for confluence — when PDH aligns with a 100-pip level, that zone is significantly stronger
Wait for a price action trigger (engulfing candle, break of structure) at the confluence zone
Place your stop loss beyond the full zone, target the next key level with minimum 1:2 R:R
🎯 Best confluence combinations:
PDH/PDL + psychological level = strong intraday zone
PWH/PWL + psychological level = strong multi-day zone
PDH + PWH + psychological level = extremely high-probability setup
Any of the above + VWAP = institutional-grade confluence
⚙️ Customization:
Every element is fully adjustable. Colors, line styles (solid, dashed, dotted), line thickness and zone widths can all be set independently. Labels for PDH/PDL and PWH/PWL can be toggled on or off. The indicator automatically detects JPY pairs and adjusts pip calculations accordingly.
📋 Technical details:
Pine Script v6
Compatible with all Forex pairs (majors, minors, exotics)
Works on all timeframes from M1 to Weekly
Maximum 500 lines and 500 boxes for optimal performance
No repainting — levels are fixed once the session closes
Optimized calculation within visible price range for smooth performance
👤 Ideal for:
Day traders and scalpers who trade GBP/USD, EUR/USD or other major pairs on the 5-minute to 1-hour timeframe and want a clean, structured way to identify the most important price zones without cluttering their chart.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。