Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | XFisher_org_v1

Real author:

TrendLaboratory Ltd.

Fisher indicator with an additional smoothing for eliminating false intersection of the main and signal lines.

//+----------------------------------------------+  //| Indicator input parameters                   |  //+----------------------------------------------+  input uint FLength=7;                             // depth of averaging  input Smooth_Method MA_SMethod=MODE_JJMA;         // Smoothing method  input uint MA_Length=5;                           // Depth of smoothing                      input int MA_Phase=15;                            // smoothing parameter,  3//---- for JJMA within the range of -100 ... +100 it influences the quality of the transition process;  //---- for VIDIA it is a CMO period, for AMA it is a slow average period                    input ENUM_APPLIED_PRICE_ IPC=PRICE_CLOSE_;       // price constant  input int Shift=0;                                // Horizontal shift of the indicator in bars  

The indicator uses the classes of library SmoothAlgorithms.mqh (to be copied to <terminal_data_directory>\MQL5\Include). The use of the classes was thoroughly described in article Averaging Price Series for Intermediate Calculations without Using Additional Buffers.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig1. Indicator XFisher_org_v1

22819