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

Exp_SpearmanRankCorrelation_Histogram - MetaTrader 5 Expert

author EAcpu | 2 reads | 0 comments |

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Signal-based trading system SpearmanRankCorrelation_Histogram indicator. The signal is formed at the closing price bar. There are three possible position entry and exit algorithms.

To set one of these options, change the value of the following input parameters:

 Enter TradeMode Trade_Mode=ENUM_TRADE_MODE_1; //Enter and exit the algorithm

In order for the generated EA to run correctly, the compiled SpearmanRankCorrelation_Histogram.ex5 indicator file should be located in the <terminal data directory>\MQL5\indicator folder.

Please note that the TradeAlgorithms.mqh library file allows trading Expert Advisors with non-zero spreads and the option to set Stop Loss and Take Profit with brokers that offer the following services during position opening .

The EA default input parameters are used in the following tests. Stop Loss and Take Profit were not used in the test.

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Figure 1. Example of trade on chart

2017 EURJPY H4 test results:

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Figure 2. Test result graph


Attachment download

📎 tradealgorithms.mqh (237.01 KB)

📎 spearmanrankcorrelation_histogram.mq5 (17.83 KB)

📎 exp_spearmanrankcorrelation_histogram.mq5 (17.7 KB)

Source: MQL5 #23279

Verification code Refresh