• 概述
  • 评论
  • 评论

CorrelationsSearcher

As the name implies, the EA looks for correlations between price movements of various trade symbols available in the MT5 terminal. Unlike the free version CorrelationsSearcherLE, it works with all available trading symbols.


Operation

  • the EA is attached to any symbol chart (only timeframe matters);
  • required parameter values are selected (described below);
  • after the EA launch, history data is requested from the server for each symbol one-by-one. For the symbols meeting a certain set of requirements (ability to carry out any trading operations, minimum required depth history), the check for the price movement correlation is performed (correlation of each verified symbol with all the others);
  • the appropriate message appears in the Experts tab of the terminal at the start of the data processing;
  • after the calculations are complete, the results are saved to a .csv file at the address specified in the EA settings (the default path: MetaTrader 5\MQL5\Files\CorrelationsSearcher). The appropriate message appears if the file is saved successfully;
  • the file data is grouped into seven columns (see the screenshot): the first two columns contain symbol names in pairs, the rest provide numerical values of the correlation ratio (Fechner) between symbol pairs for the entire study period and each period of history (the entire history period is divided into four parts to track the changes);
  • data processing cycle and writing to file are repeated at each "new bar" event.

.csv file format is convenient for further processing and provides great opportunities for creativity and practical application.


Settings

  • MinCorrelationCoefficient - minimum correlation threshold. Lower values are not included into the file;
  • BARS - history depth (timeframe corresponds to the chart the EA is attached to) used in calculations, in bars. If the available history depth of some symbol is less than the specified value, the processing is performed at the smallest trading history;
  • MMH - minimum history depth limitation in months for processed symbols. Symbols with lesser history are sorted out at the initial stage and are not considered in further calculations.


Note

无评论