• Overview
  • Reviews
  • Comments (11)
  • What's new

Trend Strength

This indicator is based on two principles of technical analysis of the trend:

  1. The current trend is more likely to continue than change its direction.
  2. The trend will move in the same direction until it weakens.

The indicator analyzes the current direction and strength of a short term trend, measures its maximum values on the current bar, performs calculation and outputs the average value of the greatest measurements of the bullish and bearish trend.

The indicator is displayed on the M30, H1, H4 and D1 timeframes. Originally the indicator was developed by me for scalping, but it is also suitable for trend-following strategies. The recommended timeframes for scalping are M30, H1 and H4; for trend-following strategies - D1.

It is easy to work with this indicator both in manual and in automatic modes.

For manual trading, it is possible to send e-mail messages and play sound notifications when a buy or sell signal appears.

Once loaded in the terminal, the indicator starts working with tick history, it analyzes and remembers it. Therefore, to obtain the most accurate data on the current strength of the trend, it is better to refer to the global variables of the terminal created by the EA. This is especially important when working on the M30, H1 and H4 timeframes (requires the indicator to be loaded on the chart). The indicator data can also be obtained by standard means using the indicator buffers. Contact me to receive more detailed information and tips on accessing the indicator data in automatic mode and creating automated trading systems based on Trend Strength.


Features of the Trend Strength indicator

  • Does not use third-party indicators.
  • Works with the tick history.
  • Does not redraw.
  • Since it works with the tick history, it is not tied to the chart timeframe when calculating the trend strength.
  • Displayed on the M30, H1, H4 and D1 timeframes.
  • Sends e-mail messages and plays sound alerts.
  • Access to the indicator values not only via the indicator buffers, but also using the global variables of the terminal directly (required the indicator to be running on the selected instrument).
  • Messages output by the indicator to the Experts log are available in English and Russian.


Indicator Input Parameters

The indicator has 9 input parameters. The first 4 parameters are responsible for calculation of the averaged maximum (or required) strength values of bullish and bearish trend for the selected history interval (green and purple lines in the indicator window):

  • To use different fixed numbers of the trend - if this parameter is set to "true", the line calculation considers the values of strength with values greater than or equal to the specified. If "false", the calculation considers the specified number of bars with the greatest values of trend strength (separately for bullish and bearish trend).
  • Fixed numbers of the trend - specified value of trend strength (the parameter is used if "To use different fixed numbers of the trend" = true).
  • Number of bars to calculate average numbers - specified number of bars with the greatest values of trend strength (the parameter is used if "To use different fixed numbers of the trend" = false).
  • Number of bars for analysis - selected history interval.

The following four parameters set the conditions of receiving trade signals and the method of their generation:

  • Type message - send notifications when a trade signal appears (Journal - to the Experts Journal, EMail - to e-mail, MessageOFF - do not send notifications).
  • Give sound signal - sound alert (enable/disable).
  • Alert settings - setting for signal generation condition: exceeding the specified trend strength ((Alert settings = FixNumber), crossing of the green or purple line (Alert settings = SignalLine), or if both conditions are met (Alert settings = SignalLine_and_FixNumber).
  • The fixed strength of the trend - specified trend strength.

The last parameter defines the number of bars in the most recent history for the indicator to calculate its values:

  • Size history bar - the number of bars.

The blue and red wide columns of the indicator display the data on the greatest strength of a bullish and bearish trend, respectively, which were recorded during the bar formation. The thin columns of the indicator display the data on the strength of the current trend (for the current bar) and the strength of the trend at the moment of bar closure (for completed bars).


Tips for trading with the Trend Strength indicator

  1. If you use the M30, H1 and H4 timeframes for trading, you should use the trading instruments with the least spreads, such as EURUSD, GBRUSD, etc.
  2. It is recommended to choose the trading time, at during which the selected instruments are the most volatile.
No reviews
Version 2.0 - 2017.07.04
1. Changed the principle of recording the tick history, which greatly increased the indicator operation speed
2. To facilitate testing of the indicator, added the ability to output messages about the current trend strength and price (Ask or Bid depending on the type of signal) to the Experts log whenever a buy or sell signal appears. In the previous versions, the indicator generated audio alerts and sent email messages when a signal appeared, which can not be done during testing.
Version 1.3 - 2017.02.01
1. Added the algorithm that requests the history data from the server when the indicator starts. This allows to improve the calculation speed of the indicator values on history data.
2. Calculation of the current indicator values are performed based on Bid, and not Ask, as in previous versions. It is more correct approach, as the Bid prices are provided as the Open and Close prices of the minute bars when requesting history.
Version 1.2 - 2016.08.30
1. Added the "Size history bar" parameter, which defines the number of bars in the most recent history for the indicator to calculate its values. This allows to save tie during the indicator initialization. The value of the "Number of bars for analysis" parameter must not exceed the value of the "Size history bar" parameter.
2. If "holes" in history data occur during the formation of the bar with the index n, there can be inaccuracies in the calculation of the indicator values on the bar n, the Experts journal will have a corresponding record with the index of this bar specified. If you that there are many "holes: in the history and you need to know the correct values of the indicator on history, then start the indicator initialization again after 10-15 seconds (by changing the chart timeframe or indicator parameters).
3. More flexible notification settings when receiving a signal. Introduced two additional parameters: "Alert settings" and "The fixed strength of the trend". If "Alert settings" = FixNumber, then the notifications come when the current trend strength is greater than or equal to the value of "The fixed strength of the trend" parameter. If "Alert settings" = SignalLine, the notifications come at the intersections of the signal lines. If "Alert settings" = SignalLine_and_FixNumber, then the notifications come at the intersection of the signal lines and on the condition that the current trend strength is greater than or equal to the value of "The fixed strength of the trend" parameter.