MT5 indicators← Momentum Stop Entry Level 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

Momentum Stop Entry Level

Shows levels derived from the Stochastic as dots, only on bars where the change in MACD and the position of Heiken Ashi line up.

Indicator name: Momentum Stop Entry LevelMetaTrader 5Price chart

Check the level, momentum and Heiken Ashi position on the same bar

Example: conditions for a blue dotHeiken Ashi bodyEntirely above the levelCalculated buy levelIn addition, the MACD main line rises from the previous barOrange-red dots are the falling and below-the-body conditions
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Calculate the reference levelIt searches for past Stochastic crossings and finds the buy-side and sell-side levels from the relationship with the close and the highs and lows of the previous 2 bars.

2

Filter by 2 conditionsIf the MACD main line rises and the Heiken Ashi body is above the buy level, the dot is blue. If it falls and the body is below the sell level, it is orange-red.

3

Place a dot on the levelThe height of the dot is a calculated price. It is not an order or fill price, and dots also continue on bars where the conditions continue.

MT5, price chartClosed bars by defaultZIP with the indicator only
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
%K period / %K Period
InpKPeriod
5 → 14

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 settingsInpKPeriod = 5
Momentum Stop Entry Level default settings
Example with the default EMA 5/100, Stochastic 5/3/3 and a search of 50 bars. The blue and orange-red dots are reference levels for bars that met the conditions.
View the screen in detail at full size
Momentum Stop Entry Level default settings (full size)
Settings change exampleInpKPeriod = 14
Momentum Stop Entry Level settings change example
An example that changes only %K Period from 5 to 14. The difference in the row of dots is relatively small and appears on the left side and elsewhere. The EMAs and search bar count are the same. It does not show a recommended setting.
View the screen in detail at full size
Momentum Stop Entry Level 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

Blue dots

The MACD main line rises, and the lower end of the Heiken Ashi body is strictly above the buy-side level. The dot is placed on the buy-side level.

Orange-red dot

The MACD main line falls, and the upper end of the Heiken Ashi body is strictly below the sell-side level. The dot is placed on the sell-side level.

Bars with no dot

These include bars where the level has not been formed, the conditions do not agree or values are equal, or the latest bar excluded by default. They are not a neutral trading stance or an exit instruction.

3

What it measures

It uses whether MACD increased or decreased from the previous bar, not whether it is positive or negative, and narrows the display by the position of the Heiken Ashi body relative to the level.

The part that builds the level

Using the direction of the Stochastic, it searches for crossings in the same direction from 2 bars back to Search bars back. Using the low and high of the crossing bar and the bar before it as the basis, it builds the level from conditions such as the close passing through, and makes it follow the highs and lows of the previous 2 bars.

The part that judges momentum

For the MACD main line, which is the short EMA of the close minus the long EMA, the difference from the previous bar is used. Even when the main line is below zero, a rise can meet the blue condition.

The part that uses Heiken Ashi

The Heiken Ashi close is the average of the 4 prices, and the Heiken Ashi open is the average of the previous Heiken Ashi open and close. It requires the whole body formed by the open and close, not the upper or lower wick, to be on one side of the level.

What it does not draw

It does not draw the MACD line, the Stochastic lines, the Heiken Ashi bars themselves or the levels on bars that do not meet the conditions. If you want to see these, cross-check with a separate display.

4

Situations for reading the display

Blue continues

Indicator
The bar-by-bar conditions are continuing.
Cross-check
Look separately at the dot height, the normal candlesticks and the change in MACD.
Check
Do not count consecutive dots as one crossing or as a number of new orders.
Caution
It does not guarantee that the price movement continues.

Blue even when MACD is negative

Indicator
The difference from the previous bar is positive, not the main line value.
Cross-check
Distinguish above/below the zero line from rising/falling.
Check
Check whether the main line increased from the previous bar.
Caution
It is not a product that uses crossings with the MACD signal line.

Heiken Ashi and normal bars are in different positions

Indicator
The position is judged by the internal Heiken Ashi body.
Cross-check
Do not judge whether a dot appears from the normal close alone.
Check
Look at the strict greater/less relationship between the Heiken Ashi body and the level.
Caution
Dots are not necessarily always below the low or above the high of the normal bar.

Dots decrease after changing settings

Indicator
A past crossing may not be found within the search, or the conditions may not match.
Cross-check
Check %K, %D, Slowing, Search and the history.
Check
Change the settings one at a time on the same chart and compare.
Caution
Whether a setting is good or bad is not decided by the number of dots alone.
5

Steps for checking the display

1

Check with the defaults

Apply it to an MT5 price chart and load enough history. First, look at the blue and orange-red dots on closed bars.

2

Read the dot height

The vertical axis is price. A dot is a calculated level, not a mark offset from the candlestick by a fixed pixel width.

3

Cross-check the conditions separately

Distinguish the 3: the MACD main line's difference from the previous bar, the Heiken Ashi body and the level. Orders, spreads and execution conditions cannot be known from this display.

4

Change settings one at a time

In the example, only %K Period is set to 14. Compare with the same history, symbol and timeframe, and when including the latest bar, distinguish its fluctuations.

6

Installation and checking the package contents

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

MACD short EMA

English item name
MACD Fast EMA
Input name
InpFastEMA
Default
5
Allowed range
Integer 1 to 1000
Description
Short EMA of the close. Default 5. It is not forced to be smaller than the long EMA. If the periods are the same, the difference is 0 and no dots appear.

MACD long EMA

English item name
MACD Slow EMA
Input name
InpSlowEMA
Default
100
Allowed range
Integer 1 to 1000
Description
Long EMA of the close. Default 100. Swapping the periods also reverses the direction of the MACD change.

%K period

English item name
%K Period
Input name
InpKPeriod
Default
5
Allowed range
Integer 1 to 1000
Description
The period for finding the high/low range. Default 5. It is 14 in the settings change example.

%D period

English item name
%D Period
Input name
InpDPeriod
Default
3
Allowed range
Integer 1 to 1000
Description
The number of bars for the simple average of the smoothed %K. Default 3. With 1, %K and %D become the same, no crossings occur, and neither levels nor dots form.

%K smoothing bars

English item name
Slowing
Input name
InpSlowing
Default
3
Allowed range
Integer 1 to 1000
Description
The widths from the close to the period low and the widths of the period high-low range are each summed, and their ratio is used as %K. Default 3.

Number of bars to search for past same-direction crossings

English item name
Search back for the earlier cross (bars)
Input name
InpSearch
Default
50
Allowed range
Integer 2 to 1000
Description
Default 50. It searches from 2 bars back to the specified number of bars back; the current bar and the bar 1 bar before are not searched. If none is found, the basis can become empty.

Show closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
Default true. No dot is placed on the latest forming bar. With false, the latest bar is also judged, and until it closes, dots appear, disappear and change position.

Brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Default true. It does not affect the calculation conditions.

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
Default bottom left.

Horizontal margin

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

Vertical margin

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

Usage specifications

Reference prices, not orders

The names buy side and sell side indicate the direction of the conditions. It does not place orders, set stop losses or manage open positions in the account. Because the actual spread is not added, it does not guarantee a price at which an order can be filled.

Equal values and continuous display

Bars where the MACD change is 0, or where the edge of the Heiken Ashi body equals the level, are not drawn. While the conditions continue, a dot is drawn on each bar. This is not a function that shows only the bar of a new crossing.

Increase or decrease of history

Calculates the states of the EMA, Heiken Ashi and levels from the past. If past history is added or corrected, values can change through recalculation.

Ranges where inputs are refused

Loading is refused if EMA, %K, %D or Slowing is outside 1 to 1000, or Search is outside 2 to 1000. Loading is not refused because of which of Fast and Slow is larger, or because they are equal.

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

Nothing appears

Check the history, the periods and Search. When Fast and Slow are the same, or %D is 1, no dots appear even though the settings are valid. Even with enough history, stretches that do not meet the conditions are blank.

Only the latest bar is blank

This is how Closed Bars Only=true works. Changing it to false includes dots on the unclosed bar too, but they change until the bar closes.

The color differs from what the normal bar position suggests

It looks at the whole Heiken Ashi body, not only the normal close. It also uses the change from the previous bar, not whether MACD is positive or negative.

The dot differs from the actual order price

A dot is a calculated reference level that does not include spreads or execution conditions. This product does not place orders and does not give trading instructions.

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

Output and units

The display has 2 series, the buy-side level and the sell-side level. Both are in price units and drawn as round dots. The internal MACD, Heiken Ashi and level states are not displayed.

Stochastic

With the oldest bar as 0, %K can be calculated from K+Slowing−2 and %D from K+Slowing+D−3. For each of the Slowing bars, close−period low and period high−period low are summed, and the ratio × 100 is %K. A denominator of 0 gives 100. %D is a simple average. A crossing includes equality on the previous bar side and is strict on the current bar.

Level state

Level calculation starts from the bar after %D starts. Buy and sell levels are set by conditions such as the close passing above or below the basis of a past crossing. The opposite side may disappear because of the immediately preceding internal signal. The buy side follows the maximum with the lower of the lows of the previous 2 bars, and the sell side follows the minimum with the higher of the highs. An empty basis is compared internally as the maximum value, so whether a crossing exists within the search also affects the state.

How MACD and Heiken Ashi start

EMA starts from the oldest close with coefficient 2/(period+1). The MACD difference from the previous bar starts from bar 1. The Heiken Ashi close is the average of the 4 prices from bar 1, and the first Heiken Ashi open is the average of the 4 prices of bar 0. After that, it is the average of the previous Heiken Ashi open and close. There is no guarantee that the starting values match the standard indicator of the same name or other implementations.

Start of display

The periods alone do not determine the first bar with a dot. It has to wait until a past same-direction crossing, a formed level, and the MACD and Heiken Ashi conditions all line up. Meeting the required number of bars does not mean a dot always appears.