• 概述
  • 评论
  • 评论
  • 新特性

Pairs Arbitrage Correlation

The cross-correlation indicator calculates the relationship between the specified pairs for the previous period. Automatically selects the instruments with the highest and the lowest correlation, and then simulates trading on the selected pairs on the same test period. Then indicator displays the pairs that have shown the best trading results. Visualizes the PAC (Pairs Arbitrage Correlation) criterion for the pairs selected by the trader. The signal to open trades is set by the PAC levels. When a signal appears, it sends a message to the e-mail or mobile terminal.

Telegrams channel to discuss the preferences and suggestions of improvements: https://t.me/joinchat/FZd4EhXEiEnAx7sybTh01Q

If you do not want to follow the indicator signals and manually open trades use the PACman expert Advisor https://www.mql5.com/ru/market/product/41991

Main parameters

  • Main pair - main instrument;
  • First pair - the first instrument with minimal correlation;
  • Second pair - the second instrument with low correlation;
  • suffix - additional suffix to pairs names;
  • Start at - the start time of the period used to analyze and find the correlation;
  • Finish at - period end time;
  • Exclude days - excluded days of the week from analysis and correlation search;
  • Lowest negative, % - minimal correlation for First pair;
  • Neutral, % - neutral correlation for Second pair;
  • Send mobile mt4 notification - send message to mobile mt4$
  • Send e-mail if below levels crossed - send email in case of signal;
  • Level for sell - PAC level for sale tradings;
  • Close all sells - PAC level to close all sells;
  • Level for buy - PAC level to buy tradings;
  • Close all buys- PAC level to close all buys;
Next is a list of pairs by which the indicator calculates the correlation and from which it selects pairs according to the criterion
  • symbol 1 - USDCHF
  • symbol 2 - GBPUSD
  • ...

  • symbol 23 - NZDUSD



无评论
版本 2.6 2019.11.11
The method of setting correlation intervals and forward testing is simplified.
The indicator works in conjunction with the expert Advisor, displaying PAC values for the pairs selected by the expert Advisor.
Watch the video manual on my YouTube channel-PACman trading system 2.6
版本 2.5 2019.11.08
Fixed bugs.
Added the ability to select the period of averaging the values of the PAC indicator.
You can select the pairs to visualize the indicator from the panel on the PACman expert Advisor chart.
版本 2.4 2019.11.05
Added the choice of timeframe for the simulation of trade.
You can remove the third pair with neutral correlation from the analysis by specifying zero in the corresponding field.
版本 2.3 2019.10.21
Trios selecting method is improved.
版本 2.2 2019.10.08
1. Added four signal buffers: 1 buffer-signal to sell; 2 buffer-signal to close sells; 3 buffer-signal to buy; 4 buffer-signal to close buys.
2. Added blank fields in parameters to specify other pairs.
3. Added the choice of timeframe for the calculation of correlation.
4. The lines of the analyzed period can be plotted and moved. The indicator will recalculate the correlation and trios of pairs. Parameter-Use manual lines.
5. In the MT4 file/Open Data Folder/MQL4/Files/gaps_pair_name.csv indicator puts the number of inconsistencies in the price history.
6. If there is a gap in price history, the indicator displays an Alert for a specific pair.
版本 2.1 2019.09.27
Added a way to inform about the signal by sending a message to the mobile terminal.
版本 2.0 2019.09.26
Updated search algorithm for traded pairs. In this version, the pairs are selected not only by the correlation criterion, but also by the best trading results for a given historical period.
版本 1.6 2019.09.24
Bug fixed in correlation calculation.
版本 1.5 2019.09.23
You can exclude any week's day from correlation analisys and set time intermal by using dates.
版本 1.4 2019.09.13
Bug fixed in history period for correlation.
版本 1.3 2019.09.11
The code has been revised.
版本 1.2 2019.09.11
The code has been revised.
版本 1.1 2019.09.10
Informer was added.
Suffix set as a parameter.