Body Direction Momentum
It aligns the sign of the change in the close according to whether the candle body is bullish or bearish, averages it over the recent number of bars, and shows it in a subwindow as points per 1 bar.
Direction of the body → align the sign of the change in the close → average per 1 bar
Large valueThe total contribution of change sizes on the side where the body direction and the change in the close agree is large. It is not a majority vote by the number of bars.
Near 0The difference between the total contributions of the agreeing side and the disagreeing side is small. The change size of each bar may also be small.
Below 0The total contribution of change sizes on the disagreeing side is large. A price gap is one example of disagreement, but this does not necessarily mean that disagreeing bars are the majority.
MT5 display and examples of changed settings
Only the price chart and this product are shown. Compare the default settings and the example of changed settings with the same symbol, timeframe and display range.
View the screen in detail at full size
View the screen in detail at full size
Example shown: synthetic data, 1-minute timeframe (M1). This is not the price movement of an actual symbol. The changed settings are an example to show the difference, not recommended values. You can enlarge it from "View the screen at full size".
How to read it in 30 seconds
What it measures
Measures how well the body direction and the change in the close agree
For each bar, it takes "close − previous bar's close" if the bar is bullish, and otherwise the same value with its sign reversed. In either case, the result is positive if the direction of the candle body and the direction of the change in the close agree, and negative if they differ. It sums this over the recent number of bars, converts it to points and divides by the number of bars. The value shows "how many points per 1 bar the price advanced with the body direction and the change in the close in agreement", and does not include the direction of whether the price went up or down.
Large value
The total contribution of change sizes on the side where the body direction and the change in the close agree is large. It is not a majority vote by the number of bars.
Near 0
The difference between the total contributions of the agreeing side and the disagreeing side is small. The change size of each bar may also be small.
Below 0
The total contribution of change sizes on the disagreeing side is large. A price gap is one example of disagreement, but this does not necessarily mean that disagreeing bars are the majority.
When to use it in decisions
Read in the order "indicator → confirm with price → consider → conditions that do not apply". This is not a trading instruction; it is a way to organize the material for your decisions.
A high level continues
- Indicator
- The difference between the total contributions of the agreeing side and the disagreeing side is positive and large. This does not necessarily mean that agreeing bars are consecutive.
- Price
- Check on the price side as well whether the bars are advancing in a row.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not decide between rising and falling from a high value alone. Direction is not included.
The level has come down
- Indicator
- The difference between the total contributions of the agreeing side and the disagreeing side is becoming smaller. Check both the number of bars and the ranges on the price chart.
- Price
- Check whether the price range is shrinking.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not decide on a reversal from a falling level alone.
Fell below 0
- Indicator
- The total contribution of change sizes on the disagreeing side exceeds that of the agreeing side. This also happens with 1 large disagreeing bar.
- Price
- Check whether price gaps or long wicks appear in the price.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not use a fall below 0 alone as a trading signal.
Suddenly jumped up
- Indicator
- A bar that moved sharply just before may have entered the average.
- Price
- Check whether that 1 bar stands out.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not decide that a jump of 1 bar is a change in the trend.
Actual decision steps
Choose the symbol and timeframe
Choose the symbol and timeframe, and confirm that at least as many bars of history as the period are displayed.
Read the position relative to the reference
Using the dotted line at 0 as the reference, read the current level and how it changes.
Cross-check against the price evidence
Check the same situation on the price chart as well, and compare it with how the bars line up and with price gaps.
Decide how to treat the current bar
On the current bar, the value changes as the close updates. Decide in advance whether to judge only on closed bars or to wait for the bar to close.
What to decide before entering
This product does not place or close orders. If you trade, decide your reasons, acceptable loss and exit conditions separately, and do not leave them to the indicator alone.
What to check while holding a position
Give priority to your plan made in advance and to the price movement. Do not postpone a stop-loss or exit just because the indicator moves up or down.
Installation and checking the package contents
| Included file | Location and purpose |
|---|---|
| TRI_Body_Direction_Momentum.ex5 | The indicator itself for MetaTrader 5. Place it in MQL5/Indicators. |
| TRI_Body_Direction_Momentum_Manual.html | The manual for this product. Open it in a browser. |
Extract the ZIP first. MT5 only. This product does not require placing a license file or account authentication. Use the files without renaming them.
Open the data folder
In MT5, select "File → Open Data Folder".
Place the indicator file
Place the included TRI_Body_Direction_Momentum.ex5 in MQL5/Indicators.
Place it on a chart
Refresh the Navigator or restart MT5, and apply this product to a chart of the symbol and timeframe you want.
Check the settings and display
Check with the default settings first. To change them, open this product's properties from the Indicators List. For the required number of history bars and where it is displayed, see Chapters 7 and 8.
To remove it, select this product in the chart's Indicators List and delete it.
Settings
There is 1 calculation input. Open the properties from the Indicators List and change it there.
Number of bars to average
- Input name
- InpPeriod
- Default
- 22
- Allowed range
- An integer from 1 to 10000. Out of range, the indicator cannot be applied.
- Description
- Specifies how many bars to average. A larger value makes the line smoother and the effect of 1 bar smaller.
Line color and width
- Default
- Green (SeaGreen) solid line, width 2. Only 1 line is shown in a subwindow, with a gray dotted line at 0.
- Where to change
- You can adjust it on the Colors tab of the properties.
- How to read
- Read the level and how it changes against the dotted line at 0.
Usage specifications
Where the display starts
Display starts from the bar after as many bars as the averaging count have passed. With the default of 22, the first displayed bar is the 23rd bar counted from the oldest bar. Bars before that have no value.
Unit
The unit is point. For a currency pair quoted with 5 digits, 10 point corresponds to 1.0 pips. No conversion to the account currency is made. The meaning of point changes with the symbol, so do not directly compare the size of values across symbols.
When it goes below 0
This happens when the total contribution of the mismatched side exceeds that of the matched side. For example, if the contributions are +2, +1 and −10, only 1 of the 3 bars is mismatched, but the total is −7. It does not require consecutive price gaps or a majority of bars.
Bars whose close equals the open
They are treated the same as bearish bars. The value with its sign reversed is used.
Handling of the current bar
The current bar is recalculated each time the close moves. When the bar closes, its value is also fixed.
Additions and corrections to history
If the data provider adds or corrects past bars, recalculation runs from that range.
When removing
Select this product in the Indicators List and delete it. This product has no recovery procedure using a license file.
Troubleshooting and usage notes
The line is not displayed
The number of bars displayed may be smaller than the number of bars to average. Make the number smaller, or load the history and then check. Also check that the subwindow has not been closed.
The value is always above 0
The value is positive when the total contribution of the agreeing side is larger than that of the disagreeing side. A price gap is one example of a cause of disagreement, but a fall below 0 is determined by the total of the contributions, not by the number of gaps.
The display does not change after changing the settings
If a value is outside the allowed range (integers from 1 to 10000), this product is not applied. Check whether it remains in the Indicators List.
The level differs from other symbols
The size of a point differs from symbol to symbol. Compare on the same symbol and the same timeframe.
The level changed after changing the timeframe
Because it counts in bars, the range of 1 bar changes when the timeframe changes. The level also changes.
Notes on use
- The indicator is information calculated from past and current prices. It does not guarantee profit, the future direction or the success of a trade.
- It does not place orders, close positions, send alerts or send email.
- Changing the settings, symbol or timeframe also changes the values. Distinguish changes in the current bar from recalculation caused by added or corrected history.
Technical information and specification details
Calculation approach and display specifications
The contribution of each bar is defined as "the change in the close if bullish, otherwise that value with its sign reversed". The total over the recent number of bars is converted to points and divided by the number of bars. It uses 1 buffer for drawing. It does not convert to the account currency or lots, and does not use other indicators, external libraries, communication or order functions.
| Item | Content |
|---|---|
| Version | 1.00 |
| Platform | MetaTrader 5 |
| Display | 1 green line in a subwindow, gray dotted line at 0 |
| Unit | Points (average per 1 bar) |
| Copyright notice | Trilogy Inc. |
Status of the general reading
The situations and steps on this page are examples of linking calculated values to observation of the price. They do not guarantee the future direction, full compatibility, non-repainting or a light calculation load.