The indicator registers the price level breakout moments and the significance of these levels. The significance of a level is determined by how long it had not been broken through in the past. The level breakout may be interpreted as a possible start of the price movement reversal.
There is a noise filter and a signal significance filter, which allow to exclude reactions to insignificant levels, as well as the signals with no substantially new information.
Developed in 2012, published on the MQL4 forum. Improved on 2015 on the request of Lesorub — added alerts for parallel tracking of several price charts by the trader.
Launching the indicator on November 27, 2015, with the significance filter disabled and with the levels of significance below 5 trade days (a trading week) omitted, gives:
This shows that numerous signals point at the levels of approximately the same significance (140-160 trade days), which were recognized by the indicator in a short history interval (12 trade days). In other words, this may as well be one and the same support level. Determine this level using the signal significance filter. Enabling this filter and setting its value to three trade days gives:
Thus, it was determined that the significance of the current (latest as of November 27) support level on the EURUSD pair equals 151 trade days, and the value of this level is around 1.06592 (shown by a blue horizontal line).
Let's see what was happening in the market 151 trade days prior to the appearance of the signal and in the preceding days (5-10 trade days). To do that, switch to the D1 timeframe and leave the level on the chart, the indicator is no longer needed:
It can be seen that the most significant signal indeed points to the possible reversal level. See which of the trading reference points should be taken into account in the vicinity of this level. In order to do that, it is necessary to lower the requirements to the significance of the signal, up to the value of 16 trade hours, for instance. Here is the result:
Please note that the value of the indicator is formed in real-time and is "redrawn" (merely correcting the value, but not canceling the signal) only on the zero bar, i.e. it is quite possible to use the determined levels for trading. The only problem is determining the correct values of the filtration parameters.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14246
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.