Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Many traders watch yesterday's and last week's extremes and the daily open as reference levels for breakouts, rejections and targets. This indicator draws them on any chart timeframe:
- PDH / PDL: previous day high and low
- PWH / PWL: previous week high and low
- Open: today's open
Each line has a small label with its name and price, kept just to the right of the last candle. The levels come from the D1 and W1 bars of the symbol, so a "day" is the broker's server day. They are recalculated when a new D1 bar opens and use only completed days and weeks, so they do not repaint during the day. If D1 or W1 history is still loading, the indicator waits for the next tick and draws then.
Protect profits effectively with the smart Trailing Stop Expert Advisor. Advanced trailing options for MT4/MT5. See it in action.
All lines and labels are removed when the indicator is taken off the chart.
Inputs
| Input | Default | What it does |
|---|---|---|
| Previous day high/low colour | Dodger blue | PDH and PDL colour |
| Previous week high/low colour | Goldenrod | PWH and PWL colour |
| Today's open colour | Silver | Open line colour |
| Show previous week | true | Draw PWH and PWL |
| Show today's open | true | Draw the open line |
| Line style | Dot | Style of all lines |
| Line width | 1 | Width of all lines |
| Show labels | true | Name and price next to each line |
| Label font size | 8 | Label text size |
Complement community code with advanced automation from RobotFX.
79348