MT5 indicators← NRTR Classic Turn Arrows product page日本語の取扱説明書

This product is in preparation for release. Product files are not yet distributed; the manual is published so that you can review its content. This manual is an English translation of the Japanese manual. Images (screens and figures) are not translated and may contain Japanese text or earlier names.

For Trilogy users

NRTR Classic Turn Arrows

Places an arrow on bars where the high or low crosses a range-based boundary and the internal NRTR state switches. A state-dependent line can optionally be shown.

Indicator name: NRTR Classic Turn ArrowsMetaTrader 5Main chart

How to read the display

1Green: from down to up2Red: from up to down3The auxiliary lines are blue and orange
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Green: from down to upPlaces an arrow below a bar that changed from the preceding down state to up.

2

Red: from up to downPlaces an arrow above a bar that changed from the preceding up state to down.

3

The auxiliary lines are blue and orangeShown with Show NRTR Line=true. There is no function that moves actual orders or stop-losses.

Record of conditions metMT5 onlyNot a trading instruction
1

MT5 display and examples of changed settings

Compares the default settings and a settings change example on a screen with only this product applied.

Settings change example: these items are changed
Bars for the weighted average of True Range / ATR Period (weighted)
InpATRPeriod
7 → 14
Multiplier applied to the weighted range / Multiplier
InpMultiplier
0.7 → 2
Show the NRTR line / Show NRTR Line
InpShowLine
false → true

All other inputs remain at their defaults. On a PC, the default is on the left and the change example on the right; at smartphone width they appear in the same order from top to bottom.

Default settingsInpATRPeriod = 7 / InpMultiplier = 0.7 / InpShowLine = false
NRTR Classic Turn Arrows default settings
Default ATR Period=7, Multiplier=0.7. The auxiliary lines are hidden, and arrows are placed on bars where the state switched. Some arrows at the top and bottom edges are cut off.
View the screen in detail at full size
NRTR Classic Turn Arrows default settings (full size)
Settings change exampleInpATRPeriod = 14 / InpMultiplier = 2 / InpShowLine = true
NRTR Classic Turn Arrows settings change example
ATR Period=14, Multiplier=2, Show NRTR Line=true. An example for comparing the states and the auxiliary lines. It differs from the original product's default multiplier of 4.
View the screen in detail at full size
NRTR Classic Turn Arrows settings change example (full size)

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.

2

How to read it in 30 seconds

Green: from down to up

Places an arrow below a bar that changed from the preceding down state to up.

Red: from up to down

Places an arrow above a bar that changed from the preceding up state to down.

The auxiliary lines are blue and orange

Shown with Show NRTR Line=true. There is no function that moves actual orders or stop-losses.

3

What it measures

Places an arrow on bars where the high or low crosses a range-based boundary and the internal NRTR state switches. A state-dependent line can optionally be shown.

How the calculation works

TR=max(high, previous close)−min(low, previous close) is averaged with weight W on the current bar, W−1 on the previous bar, and so on (W=ATR Period). Width CW=Multiplier×this average. In the up state, when the low falls strictly below the internal extreme E−CW, the state turns down and E is replaced with the current high. In the down state, when the high strictly exceeds E+CW, the state turns up and E is replaced with the current low. While up, E is updated to the maximum of the lows; while down, to the minimum of the highs. The up line is E−CW (blue) and the down line is E+CW (orange). An arrow is placed only when the state differs from the previous bar.

Conditions and exceptions

The state starts at the 3rd bar of the history. The closes of the first 2 bars are compared: if the 2nd is higher, the state is initialized as up; if equal or lower, as down. The turn condition is then also calculated on that 3rd bar. Arrows start from the 4th bar at the earliest. It does not wait until W bars of values are available; before the 3rd bar, the TR of that 3rd bar is filled in for the weighted average. Because the check uses the width of the current bar, you cannot judge only by whether price crossed the line drawn on the previous bar. When the width expands, the line can move back, so it is not a stop that moves in one direction only.

Differences from the original product

A separate version that uses the same period and multiplier calculation as NRTR Classic and adds state-turn arrows. Against the original product's defaults of 14 and 4, this product uses 7 and 0.7, and it also hides the line by default. It has no line/dot drawing choice as in the original product; the only auxiliary display is the line. Comparing both products at their defaults does not give the same line or state.

4

Situations for reading the display

Read the price and mark conditions

Indicator
Places an arrow below a bar that changed from the preceding down state to up.
Cross-check
Cross-check the prices and settings at the same time.
Check
Distinguish a touch from a change of state, and check the price and settings used for the condition.
Caution
Arrows and dots are not recommendations to place or close orders.

Compare setting differences

Indicator
ATR Period=14, Multiplier=2, Show NRTR Line=true. An example for comparing the states and the auxiliary lines. It differs from the original product's default multiplier of 4.
Cross-check
Use the same symbol, timeframe and history.
Check
Look at how the changed setting relates to the increase or decrease and the position of the marks.
Caution
The published settings are not recommended values.

Reading intervals without marks

Indicator
The state starts at the 3rd bar of the history. The closes of the first 2 bars are compared: if the 2nd is higher, the state is initialized as up; if equal or lower, as down. The turn condition is then also calculated on that 3rd bar. Arrows start from the 4th bar at the earliest. It does not wait until W bars of values are available; before the 3rd bar, the TR of that 3rd bar is filled in for the weighted average. Because the check uses the width of the current bar, you cannot judge only by whether price crossed the line drawn on the previous bar. When the width expands, the line can move back, so it is not a stop that moves in one direction only.
Cross-check
Check the required history and whether the conditions are met.
Check
Do not treat the absence of marks as the calculation having stopped.
Caution
Nothing may be displayed during periods when the conditions are not met.
5

Steps for checking the display

1

Apply with the defaults

Load the history in MT5, and first apply only this product to the chart.

2

Check the role of the display

Places an arrow below a bar that changed from the preceding down state to up.

3

Comparing settings

Put the default and the change example on separate charts, with the same symbol, timeframe and history.

4

Distinguish the forming bar

With Closed Bars Only=false, the high, the low and the weighted TR of the current bar move, so an arrow that has appeared may disappear. With true, only the arrow on the latest bar is hidden, and the state and line are updated. If the history start position changes, the path from the initial state can also change.

6

Installation and checking the package contents

Included filePurpose / location
TRI_NRTR_Classic_Turn_Arrows.ex5The 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.

1

Extract the ZIP

Extract the ex5 main file rather than leaving it in the compressed file.

2

Open the data folder

In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.

3

Apply this product

Refresh the Navigator or restart MT5, and apply it to the target chart. When comparing different settings, using separate charts makes checking easier.

4

Check the settings and display

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.

7

Settings

There are 8 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.

Bars for the weighted average of True Range

English item name
ATR Period (weighted)
Input name
InpATRPeriod
Default
7
Allowed range
Integer 1–500
Description
Newer bars are weighted more heavily. It is not a Wilder-style ATR. For how the initial values are filled in, see the main text.

Multiplier applied to the weighted range

English item name
Multiplier
Input name
InpMultiplier
Default
0.7
Allowed range
Greater than 0 and up to 100
Description
Applied to the width up to the state-turn boundary. Because the past turn path also changes, a larger value does not necessarily reduce the number of arrows.

Show the NRTR line

English item name
Show NRTR Line
Input name
InpShowLine
Default
false
Allowed range
true / false
Description
The default false shows only arrows. true adds the blue and orange lines by state. The arrow condition does not change.

Show marks on closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
true shows no mark on the latest forming bar. The bands and NRTR line are still updated. With false, marks on the forming bar appear and disappear, so distinguish them from closed bars.

Brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Displayed with true. Calculated values do not change.

Brand position

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Allowed range
Top left / Bottom left / Bottom right / Top right
Description
The default is bottom left.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer (pixels)
Description
Negative values are treated as 0, and values above 4000 are treated as 4000.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer (pixels)
Description
Negative values are treated as 0, and values above 4000 are treated as 4000.
8

Usage specifications

Display only

It does not place, modify or close orders. There are no notifications or emails either.

Forming bar and history

With Closed Bars Only=false, the high, the low and the weighted TR of the current bar move, so an arrow that has appeared may disappear. With true, only the arrow on the latest bar is hidden, and the state and line are updated. If the history start position changes, the path from the initial state can also change.

Mark positions

Up arrows are drawn 10 pixels below the low, and down arrows 10 pixels above the high. This is not a fixed distance in price.

Brand display

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.

For on-screen display only

The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.

9

Troubleshooting and usage notes

No marks, or blanks in the middle

The state starts at the 3rd bar of the history. The closes of the first 2 bars are compared: if the 2nd is higher, the state is initialized as up; if equal or lower, as down. The turn condition is then also calculated on that 3rd bar. Arrows start from the 4th bar at the earliest. It does not wait until W bars of values are available; before the 3rd bar, the TR of that 3rd bar is filled in for the weighted average. Because the check uses the width of the current bar, you cannot judge only by whether price crossed the line drawn on the previous bar. When the width expands, the line can move back, so it is not a stop that moves in one direction only.

The input is not accepted

Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.

Display differs from the original product

A separate version that uses the same period and multiplier calculation as NRTR Classic and adds state-turn arrows. Against the original product's defaults of 14 and 4, this product uses 7 and 0.7, and it also hides the line by default. It has no line/dot drawing choice as in the original product; the only auxiliary display is the line. Comparing both products at their defaults does not give the same line or state.

Displays overlap

Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.

Marks are cut off at the edge of the screen

Adjust the vertical scale and display range. Marks are offset from the price in pixels, so when a bar is at the edge of the screen, part of a mark may be cut off.

Price crossed the previous bar's line but there is no arrow

The turn width is built from the weighted TR of the current bar. It is not a simple cross of the previous bar's line.

The line moves but orders do not change

The auxiliary line only displays the calculation result. It does not place stop-loss orders, close positions or send notifications.

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.

10

Technical information and specification details

Calculation and reference range

TR=max(high, previous close)−min(low, previous close) is averaged with weight W on the current bar, W−1 on the previous bar, and so on (W=ATR Period). Width CW=Multiplier×this average. In the up state, when the low falls strictly below the internal extreme E−CW, the state turns down and E is replaced with the current high. In the down state, when the high strictly exceeds E+CW, the state turns up and E is replaced with the current low. While up, E is updated to the maximum of the lows; while down, to the minimum of the highs. The up line is E−CW (blue) and the down line is E+CW (orange). An arrow is placed only when the state differs from the previous bar.

Initial values and exceptions

The state starts at the 3rd bar of the history. The closes of the first 2 bars are compared: if the 2nd is higher, the state is initialized as up; if equal or lower, as down. The turn condition is then also calculated on that 3rd bar. Arrows start from the 4th bar at the earliest. It does not wait until W bars of values are available; before the 3rd bar, the TR of that 3rd bar is filled in for the weighted average. Because the check uses the width of the current bar, you cannot judge only by whether price crossed the line drawn on the previous bar. When the width expands, the line can move back, so it is not a stop that moves in one direction only.

Package contents and dependencies

Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.

Relation to the original product

A separate version that uses the same period and multiplier calculation as NRTR Classic and adds state-turn arrows. Against the original product's defaults of 14 and 4, this product uses 7 and 0.7, and it also hides the line by default. It has no line/dot drawing choice as in the original product; the only auxiliary display is the line. Comparing both products at their defaults does not give the same line or state.