거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Previous Day highs and lows - MetaTrader 5용 지표

조회수:
389
평가:
(2)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Previous Day High Low indicator automatically marks the High, Low, and Close of each previous trading day directly on the chart. Each day's levels are drawn as clean horizontal lines within their own day range, giving traders an immediate visual reference of where price was capped and supported on prior sessions. Yesterday's lines extend to the right across today's chart as live reference levels.

The concept behind this indicator is one of the most fundamental ideas in professional trading: previous day levels act as natural support and resistance. Market makers, banks, and institutional traders are well aware of where yesterday's high and low sit, and price frequently reacts at these levels. Having them clearly marked removes the need for manual analysis every morning and keeps the chart clean and focused.

The indicator draws up to 50 days of historical levels, each contained within its own day. Yesterday's lines are solid and extend to the right so they remain visible as today's price develops. Older days use a dotted style to distinguish them from the most recent reference levels. An optional alert fires once per day when price touches any of yesterday's key levels.

How to Use

Apply the indicator to any Forex pair on any timeframe. The levels are read directly from the Daily timeframe internally, so they are accurate regardless of the chart timeframe you are viewing. The recommended timeframe is H1 or H4 for the clearest view of how price interacts with the previous day levels.

Reading the lines:

  • PDH — Previous Day High: key resistance level, watch for rejections or breakouts
  • PDL — Previous Day Low: key support level, watch for bounces or breakdowns
  • PDC — Previous Day Close: equilibrium level, often acts as a pivot during early session
  • Labels on older days show 2d PDH, 3d PDH etc. to indicate how many days back

Trading ideas:

  • Price opening above PDH is a bullish signal — look for long entries on a retest of PDH as support
  • Price opening below PDL is a bearish signal — look for short entries on a retest of PDL as resistance
  • The PDC level often acts as the first target or barrier during the London open
  • A breakout above multiple stacked PDH levels signals strong bullish momentum

Input Parameters

Parameter Default Description
=== DISPLAY ===
DaysBack 5 Number of past days to draw levels for (1-50)
ShowClose true Show the previous day close line (PDC)
ShowLabels true Show PDH / PDL / PDC labels on each line
LineWidth 1 Thickness of the lines (1-5)
=== COLORS ===
High_Color Red Color of the previous day high line
Low_Color RoyalBlue Color of the previous day low line
Close_Color DarkGray Color of the previous day close line
=== ALERTS ===
UseAlerts false Enable alerts when price touches a previous day level
UsePopup true Show popup dialog on touch
UsePush false Send push notification to MetaTrader mobile app on touch

Important Notes

  • Levels are read from the Daily timeframe internally. The chart timeframe does not affect accuracy.
  • Yesterday's lines are solid and extend to the right. Older day lines are dotted and contained within their own day for easy visual distinction.
  • Touch alerts fire once per level per day within a 0.5 pip tolerance and reset automatically at midnight server time.
  • On weekends or days with no trading data, the indicator automatically skips that day and moves to the next valid session.





Trade With MA Trade With MA

Trade using MA. An easy indicator to identify the trend direction on a specific timeframe.

VR Breakdown level - Trading strategy based on a breakout of the previous High or Low VR Breakdown level - Trading strategy based on a breakout of the previous High or Low

A simple trading strategy based on breakouts of prior Highs and Lows.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.