Termos de Referência

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.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(11)
Projetos
17
59%
Arbitragem
2
0% / 100%
Expirado
2
12%
Livre
2
Desenvolvedor 2
Classificação
(249)
Projetos
398
38%
Arbitragem
82
41% / 20%
Expirado
69
17%
Ocupado
Pedidos semelhantes
Olá! Gostaria de desenvolver uma EA que faça transmissão de copy trade para a plataforma BlackArrow da Nelogica. Ou seja, toda vez for feito uma entrada em algum ativo Forex no MT4/MT5, esta mesma ordem deve ser replicada no BlackArrow. Não vejo necessidades de copiar TP e SL, no entanto que, no momento em que no MT4/MT5 pegar o TP ou SL, também saia da operação no BlackArrow! Se possível, sem ser atrelado a algum ID

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD