The indicator draws reference levels as horizontal lines on the chart. It takes the high and the low of the previous daily bar and of the previous weekly bar and adds a set of round-number levels above and below the current price. The daily levels are solid lines, the weekly levels are dashed lines and the round numbers are dotted lines.
The round-number spacing can be entered in price units in InpRoundStep. When it is left at 0, the spacing is chosen from the number of digits of the symbol: 0.0050 for 5-digit quotes, 0.50 for 3- and 4-digit quotes and 10.0 for quotes with fewer digits. The grid is anchored to the round level at or just below the current price, and InpRoundCount more lines are drawn on each side of it.
The lines are rebuilt once per new bar, so the load on the terminal is small. Each line has a tooltip with its name and price. The daily and weekly values come from the D1 and W1 history of the chart symbol, and a level is skipped while that history is not available yet. All objects are removed when the indicator is deleted from the chart.
Input parameters
The indicator only draws objects and has no buffers. It does not place or manage trades.

Previous day and week levels with round numbers on EURUSD H1
True Trading Cost - Net Risk Reward Calculator for MT5
Free MT5 chart planner with draggable entry, stop and target levels, spread, risk-based lots, fees, estimated swap, break-even and net risk/reward. Indicator only; no orders.
Equivalence Checker: Regression Testing for MQL5 Indicators
A regression-test harness for indicator code. It compares an incremental, tick-by-tick calculation (the way OnCalculate runs live) with an independent from-scratch reference on a fixed dataset, flags every deviation, and prints a regression digest you can compare between versions of your code.
Donchian Breakout Channel with ATR Trailing Stop
Plots a Donchian channel built from closed bars, arrows after a close outside the channel and a two-colour ATR trailing stop line that follows the breakout direction.
Confirmed Swing Pivots with Trend MA
Marks swing highs and lows that are confirmed by a fixed number of bars on both sides and plots a simple moving average for trend context.