Date basis
The previous day is the preceding daily bar in the terminal. It may not match yesterday on the calendar.
Draws the previous day's daily high and low, the current day's open, the date boundaries and the current day's candle on the price chart. The candle on the right is a summary of the current day's daily bar, not a future candle.
Blue upper and lower linesThe previous day's high and low. The dotted lines to the right of the latest bar are extensions of the same levels.
Red dashed lineThe current day's open. Read whether the current price is above or below the open.
Candle on the rightA summary of the forming daily bar, drawn from the current day's high, low and open and the close of the current bar.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 15-minute chart (M15). This is an example to explain the display. The settings change example is not a recommended value. Details can be checked in the full-size view.
The previous day is the preceding daily bar in the terminal. It may not match yesterday on the calendar.
Enable the right margin in the MT5 chart settings.
Combine with the price position and the candle shape, and set trading conditions separately.
Read the previous day's high and low and the current day's position on a single price screen.
Uses the bar one before the current day in the same symbol's daily series. For symbols with weekends or short daily bars, Friday, Sunday or another day may be the previous day. 0:00 Japan time is not used as a fixed reference.
The high, low and open are read from the current day's daily bar, and the close side of the body from the close of the current chart bar. By default it is green if above the open and red if at or below it. Because it is still forming, its shape and color change.
On timeframes below daily, the weekday is shown. On daily and above, weekday names are not shown. A dotted boundary is drawn 24 hours after the start of the current day's daily bar.
Check the start time of the terminal's daily bar.
Enable the setting that leaves space at the right edge of the chart, and adjust it to a width that fits the candle.
Cross-check the position of the current price against the previous day's high and low and the current day's open.
Look at the current day's high/low and body. It is still forming and is not a future bar.
| Included file | Purpose / location |
|---|---|
| TRI_Prior_Day_Levels.ex5 | The MT5 main file. Place it in MQL5/Indicators. |
The ZIP contains only 1 item, the main file. The manual is opened from the product page on the site. Source code is not included. MT5 only; registration, account authentication and placing a license file are not required. Use it without changing the file name.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
There are 8 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpExtendBarsInpCandleOffsetBarsInpWickWidthInpUpColorInpDownColorInpLevelColorInpOpenColorInpSeparatorColorThis product does not automatically change the chart's right margin setting. Enable an operation that leaves space at the right edge, such as MT5's “Chart shift”. If the position is far away, increase the margin or reduce Daily Candle Offset.
While the current or previous day's daily bar cannot be obtained, or while the date update has not caught up, the drawing is not updated. Earlier lines may remain, so check the date boundary.
The line extension and the candle distance are the chart timeframe's seconds × the specified number of bars. Changing the timeframe also changes the on-screen position. It is not a bar count that excludes non-trading time.
If you add the same product to the same chart more than once, the drawings overwrite each other, or deleting one also removes the display of the other. To use different settings at the same time, use separate charts.
It has no value buffers and shows its output as lines and text on the chart. It does not place trade orders or issue alerts. It does not guarantee profit or market direction.
Enable the right margin. Also check that Daily Candle Offset is not too large, and check the chart zoom and the margin width.
Level Extension is automatically adjusted with Daily Candle Offset − 2 as its upper limit. Check both values.
Check the same symbol's preceding daily bar, not the date in Japan time. It may include weekends or short daily bars.
If the first display does not appear, check history loading and the input ranges. If an earlier display has stopped updating, first check the price feed and the terminal's connection status.
The current and previous day's D1 series and the close of the current chart bar. Prices are not converted to another unit and are drawn at the symbol's price positions. There are no output buffers.
Bars of line extension = min(Level Extension, Daily Candle Offset − 2). Starting from the start time of the latest bar, objects are placed to the right by multiplying by the length of the chart timeframe.
Redrawn on price updates; when waiting for data, on date changes and similar cases, data is also re-fetched by a timer. The close side of the right daily candle is not a final value.