MT5 indicators← Step MA Plus 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. The English description shown in the MT5 properties window can be read as saying that the band does not change while the close is inside it, but the band and lines can change even inside the band. For the actual conditions, see the usage specifications and the technical details in the manual (Japanese).

For Trilogy users

Step MA Plus

Shows a line that moves in steps and a direction state, from a fixed "step" and held bands.

Indicator name: Step MA PlusMetaTrader 5On the price chart

Step determined → bands updated → line and dots shown

1Blue line2Green and orange-red dots3Fixed or ATR
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Blue lineThe Step MA drawn 1 step inside the held bands.

2

Green and orange-red dotsShow the internal upward and downward state. They are not the slope of the line itself.

3

Fixed or ATRIf Fixed Step is positive, fixed points are used; if 0, the step is determined from the ATR history.

Display on the chartCompare the default with the change exampleNo trading or order functions
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
Fixed step / Fixed Step (points, 0 = from the ATR)
InpStepPoints
0 → 30
Show direction dots / Show Rising / Falling Dots
InpShowDots
true → false

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 settingsInpStepPoints = 0 / InpShowDots = true
Step MA Plus default settings
ATR Period = 10, Sensitivity = 1, Fixed Step = 0; builds the band from the close and shows direction dots.
View the screen in detail at full size
Step MA Plus default settings (actual size)
Settings change exampleInpStepPoints = 30 / InpShowDots = false
Step MA Plus settings change example
Fixed Step = 30 points, Show Rising / Falling Dots = false. Compare using the blue line only. The other settings are at their default values.
View the screen in detail at full size
Step MA Plus settings change example (actual size)

Example shown: 1-minute chart (M1). This is an example for explaining the display. 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

Blue line

The Step MA drawn 1 step inside the held bands.

Green and orange-red dots

Show the internal upward and downward state. They are not the slope of the line itself.

Fixed or ATR

If Fixed Step is positive, fixed points are used; if 0, the step is determined from the ATR history.

3

What it measures

Shows a line that moves in steps and a direction state, from a fixed "step" and held bands.

Step size

If Fixed Step is positive, the specified points are used. If 0, the step is determined from the cumulative maximum and minimum of the ATR multiplied by Sensitivity, and fractional points are truncated. It is not a width determined only by the most recent ATR.

Bands and direction

The default bands are close ± 2 steps. If the close exceeds the previous upper band, the state becomes upward; if it falls below the previous lower band, it becomes downward. The bands used for the direction comparison are not drawn.

Only one side's band is held

In the upward state the lower band is not lowered, and in the downward state the upper band is not raised. This does not mean that both bands always stop while the price is inside the bands.

When the line moves back

The line is placed 1 step of that bar inside the held band. With the ATR method, when the step changes, the line in the upward state may fall, and the line in the downward state may rise. Do not treat the dot color and the line slope as the same thing.

4

Situations for reading the display

Reading the direction state

Indicator
Blue line
Cross-check
Look at the display position, the direction dots and the price movement separately.
Check
Compare before and after with the same settings.
Caution
This is not an explanation for using color switches or line crosses as trading signals.

Compare by changing settings

Indicator
Green and orange-red dots
Cross-check
Cross-check the input fields with the list of change examples.
Check
Check what was changed, 1 item at a time.
Caution
The change example is not a recommended setting, and the effect of changing several conditions is not attributed to a single cause.
5

Steps for checking the display

1

View the default display

First, with the default settings, check the meaning of the lines and dots and the initial blank area.

2

Check the inputs

Check the step method, the number of bars for the average, the close used and the drawing style in the Inputs tab.

3

Check the changes separately

Align the settings and timeframe, and observe closed bars and the forming bar separately.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Step_MA_Plus.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 5 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.

Number of ATR bars

English item name
ATR Period
Input name
InpATRPeriod
Default
10
Allowed range
1 to 1000
Description
The number of bars over which the true range is simple-averaged. With a fixed step it is not used in the step calculation, but the input range check still applies.

ATR method sensitivity

English item name
Sensitivity (step = half the ATR range so far x this)
Input name
InpSensitivity
Default
1
Allowed range
0.01 to 100
Description
The multiplier that determines the step from the ATR maximum and minimum. With a fixed step it is not used for the distance, but a value within range is required.

Fixed step

English item name
Fixed Step (points, 0 = from the ATR)
Input name
InpStepPoints
Default
0
Allowed range
0 to 100000 points
Description
0 is the ATR method. A positive value fixes the step at the specified points. Points are the symbol's minimum price unit and are distinguished from the conventional pip.

Build bands from highs and lows

English item name
Bands from the Low and High (instead of the Close)
Input name
InpHighLow
Default
false
Allowed range
true / false
Description
false uses close ± 2 steps. true uses low + 2 steps as the upper candidate and high − 2 steps as the lower candidate.

Show direction dots

English item name
Show Rising / Falling Dots
Input name
InpShowDots
Default
true
Allowed range
true / false
Description
Even with false, the blue line and the calculation do not change. Only the direction dots are hidden.
8

Usage specifications

Start and history

In ATR mode, no line appears on the oldest ATR Period bars, and calculation starts from the next bar. With a fixed step, it starts from the oldest bar. Because the ATR extremes and the band are carried over, the result also depends on where the history starts.

Forming bar

When the close, high or low of the latest bar changes, the state of the line, step and dots can also change. This is not a closed-bar-only product.

Fixed step

With a fixed step, the line does not fall while the same upward state continues, and does not rise while the same downward state continues. Do not apply this property as is to ATR mode.

Timeframe and functions

It calculates on the chart's timeframe. It does not specify a higher timeframe, send notifications, place orders, trade automatically or modify stop orders.

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

The line is flat / the dots differ from the slope

Because the bands are held, the line can become flat. With the ATR method, the line also moves when the step changes. The dots show the internal state; they do not directly color whether the line went up or down.

No lines appear

Check the required number of history bars and the input ranges. With inputs out of range, loading is refused and the reason is shown in the log.

The step is too fine

With the ATR method, the step is truncated to integer points, so it may become 0. Check the fixed step and ATR method settings separately.

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

ATR and step formulas

The true range is high − low on the first bar and max(high, previous close) − min(low, previous close) after that. The ATR is the simple average of the last A bars. The step is either the fixed value or 0.5 × Sensitivity × (cumulative maximum ATR + cumulative minimum ATR)/Point truncated to an integer. The first ATR is used from bar number A (counting the oldest as 0).

Initial values and scope

The initial value of the maximum ATR is 0, that of the minimum ATR is 10000, and the previous bands and direction are 0. Therefore, with extreme prices or ranges, and at the start of the history, these initial values have an effect. It has not been checked that the display looks the same for all symbols, digit counts and long histories.

Bands and display

The candidates are lo + 2 steps and hi − 2 steps. By default lo/hi are both the close; in the high-low method they are the low/high. If the close is higher than the previous upper band, the state becomes upward; if lower than the previous lower band, downward. If both conditions hold, the later downward check takes priority. In the upward state the line is max(lower candidate, previous lower band) + 1 step; otherwise it is min(upper candidate, previous upper band) − 1 step.

Scope not yet verified

The window name and the actual display in the Data Window, and how it looks during long runs on real symbols or with long history, are not yet verified. Input names and calculation conditions are described based on the implementation.