Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

i-SpectrAnalysis_ADX - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 7 reads | 0 comments |

i-SpectrAnalysis_ADX - indicator for MetaTrader 5

This indicator is an example of smoothing the ADX indicator time series by filtering higher order harmonics.

This method can be used to smooth the values ​​of any indicator. The main advantage of this method is that there is almost no delay.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input unit ADXP period = 14 ; // average period
Input unit N= 7 ; // Number length
Input unit SS= 20 ; // Smoothing factor
input integer shift = 0 ; // shift indicator in horizontal bar
Input unit super high level = 60 ; // Maximum trend level
Enter unit high level = 40 ; // strong trend level
Enter unit low level = 20 ; // weak trend level
Input ENUM_LINE_STYLE level style = STYLE_DASHDOTDOT ; // Horizontal line style
Input color level color = clear blue ; // level color
Input ENUM_WIDTH level width=w_1; //The width of the level

Where:

Indicator operations require the library: https://www.mql5.com/en/code/7000 .

i-SpectrAnalysis_ADX - indicator for MetaTrader 5

Figure 1. i-SpectrAnalysis_ADX indicator


Attachment download

📎dt_fft.mqh (28.84 KB)

📎 i-spectranalysis_adx.mq5 (22.11 KB)

Source: MQL5 #16074

Verification code Refresh