Specification
EA CORRELATION
The EA works with correlation in two assets A and B, for example, EURUSD/GBPUSD, now I need to modify the parameters based on the Spearman formula as an indicator.
PARAMETERS:
ProfitTarget = 10.00;// (Change to including cents)
DistPips = 10 // The distance in pips between aks of A and aks of B (EURUSD-GBPUSD)
Spearman = r>0.8 // Can be modified depending on the trader.
N = 10 // the number of bars that will generate the indicator, that is, for the spearman formula.
PROHIBITED:
If currency A above currency B || DistPips > 10 || Spearman > 0.8, then:
Sell A and buy B – exit ProfitTarget or when DistPips =5.
If currency B above currency A || DistPips > 10 || Spearman > 0.8, then:
Sell B and buy A – exit ProfitTarget or when DistPips =5.
SPEARMAN'S FORMULA:
It follows that in the formula:
Xi = ASK value of asset A, in our EURUSD example;
Yi = ASK Value of Asset B, in our GBPUSD example;
N = period, that is, the number of CANDLES to compare, for example last 10 bars.
Therefore, the indicator will show a number less than 1 that will indicate whether the correlation is strong or weak between the two chosen currencies.
Responded
1
Rating
Projects
17
59%
Arbitration
2
0%
/
100%
Overdue
2
12%
Free
2
Rating
Projects
477
40%
Arbitration
105
40%
/
24%
Overdue
81
17%
Loaded
Published: 2 codes
Similar orders
Olá, pessoal. Estou procurando um sócio/parceiro para desenvolvimento de estratégias em MQL5. Já possuo um código-fonte pronto, funcional e bem estruturado, com recursos como grid, martingale, trailing stop e diversos filtros operacionais. Ou seja, a base do robô já está desenvolvida. O foco agora seria criar e testar novos sinais de entrada, para acelerar a pesquisa e validação de estratégias. Meu perfil: Sou
"I am looking for an Elite Developer capable of coding a high-frequency multi-symbol synchronization using the OnTimer() function. This project requires mathematical precision for Fibonacci 61.8% dynamic trailing stops. If you can handle low-latency execution across 3 symbols, apply now." EMA 9/21 crossovers + RSI (14) filter across 3 symbols (Multi-symbol sync). News Filter (High Impact events auto-pause). Max
Project Description: I am looking for a Senior MQL5 Developer to build a high-precision Expert Advisor (EA) for the US30 (Dow Jones) index, based on Smart Money Concepts (SMC) and ICT methodologies. The EA must handle multi-timeframe analysis and execute trades with mechanical precision. 1. Multi-Timeframe Analysis & Structural Logic • D1 (Confluence): Automatic plotting of Daily Fair Value Gaps (FVG) and Order
Project information
Budget
30+ USD