Exp_SpearmanRankCorrelation_Histogram - MetaTrader 5 Expert




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.

Figure 1. Example of trade on chart
2017 EURJPY H4 test results:
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
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •