Uses the nearest matching bar
It does not look for the lowest low or the highest high.
Looks for past bars whose high and low are both lower, or both higher, than the current bar, and builds levels from their high/low.
Uses the nearest matching barIt does not look for the lowest low or the highest high.
Blue is from a past bar's lowThe low − offset of the most recent bar whose high and low are both lower than the current bar.
Red-orange is from a past bar's highThe high + offset of the most recent bar whose high and low are both higher than the current bar.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: M1. This is an example for explaining the display. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the packaged version has display settings for the brand text and the QR code. The settings change example is not a recommended value. Details can be checked in the full-size view. Please also check the price scale of the main chart and the positions of the candlesticks.
It does not look for the lowest low or the highest high.
The low − offset of the most recent bar whose high and low are both lower than the current bar.
The high + offset of the most recent bar whose high and low are both higher than the current bar.
Looks for past bars whose high and low are both lower, or both higher, than the current bar, and builds levels from their high/low.
The search goes back from the previous bar up to Look Back bars. If no matching bar is found, the previous level is kept, and if none has ever been found, that side is blank. An equal high or low does not count as a match.
A kept level can come from a bar older than the search range. The display names Buy Stop/Sell Stop are identifiers for the lines and do not mean a recommendation or execution of orders.
Load the history in MT5, and first apply only this product to the chart.
It does not look for the lowest low or the highest high.
Load the default and the change example on separate charts and compare them under the same conditions.
The current bar changes as its high, low and close update. Follow the conditions on closed bars at past times.
| Included file | Purpose / location |
|---|---|
| TRI_Prior_Bar_Stop.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. When comparing different settings, using separate charts makes checking easier.
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
Using this product does not require allowing DLLs. When removed, this product's drawings are cleared.
There are 6 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.
InpLookbackInpOffsetPointsInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYEven if the name contains Stop or Signal, it does not place, modify or close orders. There are no notifications or emails either.
The current bar is updated. Values and the initial state can change with added history, the data provider, the symbol and the timeframe.
A point is the smallest display unit of the symbol. It is not always the same as pips.
Shows Produced by Trilogy Inc. and a QR code to https://www.trgy.co.jp/. When the same medium is used on the same chart, the display is shared. There is no account authentication.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
A kept level can come from a bar older than the search range. The display names Buy Stop/Sell Stop are identifiers for the lines and do not mean a recommendation or execution of orders.
Check the ranges in the settings. Inputs for modes not in use must also be within range.
The search goes back from the previous bar up to Look Back bars. If no matching bar is found, the previous level is kept, and if none has ever been found, that side is blank. An equal high or low does not count as a match.
Use separate charts, or change the brand position and margins. The images can also be checked at full size.
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 search goes back from the previous bar up to Look Back bars. If no matching bar is found, the previous level is kept, and if none has ever been found, that side is blank. An equal high or low does not count as a match.
A kept level can come from a bar older than the search range. The display names Buy Stop/Sell Stop are identifiers for the lines and do not mean a recommendation or execution of orders.
Only the MT5 platform and this manual. No account authentication, external indicators or DLLs are needed.