MT5 indicators← Signed ADX 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

Signed ADX

Shows a line of smoothed signed DX and the DI difference, so that the sign of the value and the meaning of the color can be checked separately.

Indicator name: Signed ADXMetaTrader 5Shown in a separate window

The sign of the line and its color do not mean the same thing

The same “blue” means different things depending on the mode0The colored line in the figure is a Direction exampleDirection: −30 → −20 is blueStrength: −20 → −30 is blueBlue does not mean a positive valueThe gray line is the DI difference, a separate calculation from the colored line
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Read above and below 0Because it is the result of smoothing signed DX, its sign can lag and differ from the current DI order.

2

The default color shows rise or fall of the valueBlue is above the previous value, orange shades are below. If equal, the previous color is kept.

3

Strength is a different coloringColors are split by whether the absolute value increased or decreased.

Not a simple sign × ADXDirection / StrengthGray line = DI difference
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
Base ADX period
InpPeriod
14 → 10
Additional smoothing of the DI difference
InpDiffSmoothing
0 → 5
Color mode
InpColorMode
Direction (rise or fall of the value) → Strength (increase or decrease of the absolute value)

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 settingsInpPeriod = 14 / InpDiffSmoothing = 0 / InpColorMode = Direction (rise or fall of the value)
Signed ADX default settings
Default 14, DI-difference smoothing 0, Direction. The blue/orange line is Signed ADX, and the gray line is the DI difference.
View the screen in detail at full size
Signed ADX default settings (full size)
Settings change exampleInpPeriod = 10 / InpDiffSmoothing = 5 / InpColorMode = Strength (increase or decrease of the absolute value)
Signed ADX settings change example
10, DI difference smoothing 5, and Strength. Sections where the absolute value increases on the negative side also turn blue.
View the screen in detail at full size
Signed ADX settings change example (full size)

Example shown: 1-minute chart (M1). 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 vertical axis of the separate window is adjusted automatically for each image, so do not compare values by on-screen height alone.

2

How to read it in 30 seconds

Distinguish the 2 lines

Gray is the DI difference; the colored line is the signed ADX.

Check the color mode

Direction is the rise or fall of the value; Strength is the increase or decrease of the absolute value.

Separate sign and color

There are also negative blue and positive orange-shaded sections. Blue is not always positive.

3

What it measures

Because the direction sign is applied before smoothing, it differs from a line that adds the current DI sign to the standard ADX afterward.

Gray DI difference line

+DI−−DI. If Diff Smoothing is 0, it is used as it is; with a positive period, it is the exponentially smoothed value.

Signed DX

The sign of the DI order is applied to DX, and that value is exponentially smoothed to make the colored line.

Direction (default)

Blue if the current value of Signed ADX is larger than on the previous bar, SandyBrown if smaller. This is separate from being above or below 0.

Strength

Blue if the absolute value is larger than before, SandyBrown if smaller. If the same, the previous color. The name does not guarantee price strength or weakness.

4

Situations for reading the display

Blue on a negative value (Direction)

Indicator
It is rising from the previous value.
Cross-check
Example: from −30 to −20.
Check
Read it as a move toward 0.
Caution
Do not read blue as a positive sign.

Blue on a negative value (Strength)

Indicator
The absolute value is increasing.
Cross-check
Example: from −20 to −30.
Check
Check the color mode.
Caution
The color can be the opposite of Direction.

Sign differs from the DI difference

Indicator
The colored line has a lag from smoothing.
Cross-check
Also check the smoothing period of the gray line.
Check
Compare them as different calculations.
Caution
Do not require it to always match the DI order at that moment.

Only the gray line changes shape

Indicator
DI Difference Smoothing was changed.
Cross-check
Check whether the other inputs are the same.
Check
Understand it as additional smoothing of the gray line.
Caution
It is not an input that changes the period of the colored line.
5

Steps for checking the display

1

Check with the default Direction

Tell apart the 0 line, the gray line and the colored line.

2

Compare the value with the previous bar

Read whether the color shows a rise or fall.

3

Switch to Strength

Now reread it as an increase or decrease of the absolute value.

4

Adjust the DI difference smoothing separately

0 means no smoothing. When a period is specified, it is an additional process applied only to the gray line.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Signed_ADX.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. Place only 1 instance of the same product on 1 chart.

4

Check the settings and display

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.

7

Settings

There are 3 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.

Base ADX period

Name shown on screen
ADX Period
Input name
InpPeriod
Default
14
Allowed range
Integer 1 to 500
Description
The exponential smoothing period for DI and signed DX.

Additional smoothing of the DI difference

Name shown on screen
DI Difference Smoothing (0 = off)
Input name
InpDiffSmoothing
Default
0
Allowed range
Integer 0 to 500
Description
0 means no smoothing. 1 or more smooths the DI difference with the coefficient 2/(q+1). It does not change the formula of the colored line.

Coloring mode

Name shown on screen
Colour Mode
Input name
InpColorMode
Default
Direction (rise or fall of the value)
Allowed range
Direction / Strength
Description
Direction is the rise or fall of the value; Strength is the increase or decrease of the absolute value. Default Direction.
8

Usage specifications

Initial display

For base period n and additional smoothing q, the gray line is displayed from bar n+q+1 counted from the oldest, and the colored line from bar 2n+1.

Initial display and smoothing 1

With q=1 the coefficient is 1, so the value is the same as the original DI difference, but the gray line starts 1 bar later than with q=0.

Colors and the current bar

If the compared value is the same, the previous color is kept. Values and colors on the current bar are updated.

Scale and notifications

±25 and 0 are reference lines. It does not issue alerts or place orders.

Only 1 instance of the same product on 1 chart

This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.

For on-screen display only

This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.

9

Troubleshooting and usage notes

Negative parts are blue

The color depends on the chosen comparison method, not on the sign. Look at Direction / Strength in the window name.

Differs from the standard ADX

It is a separate output that applies the sign to DX and then smooths it. It is not the standard ADX with only a sign added.

The gray line does not appear yet

The required number of bars is n+q+1. With a large q, it can appear later than the colored line.

Nothing is displayed

Check the period and the smoothing range, and read the English message in the Experts tab.

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

Formula of the signed line

DX=100×|+DI−−DI|/(+DI+−DI) is calculated from the base DI, the sign of the DI order is applied, and it is smoothed with the coefficient 2/(n+1). A denominator of 0 gives 0. With equal DI values the previous sign is kept, but since DX=0, that bar contributes 0.

Formula of the gray line

If q=0, the DI difference is used as it is. With q>0, G=2/(q+1)×DI difference+(1−2/(q+1))×G(previous). The initial state is 0.

Equal values for color and relationship to the standard

The color compares the value (Direction) or the absolute value (Strength) with the previous bar, and is held when equal. That the base DI formula belongs to the standard ADX family is separate from whether the final display equals the standard ADX.