指定

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.

附加的文件:

反馈

1
开发者 1
等级
(11)
项目
17
59%
仲裁
2
0% / 100%
逾期
2
12%
空闲
2
开发者 2
等级
(253)
项目
408
38%
仲裁
86
43% / 19%
逾期
70
17%
已载入
相似订单
Olá Já possuo um código de um EA que opera entrando e invertendo o movimento conforme o rompimento do candle. Ou seja quando o preço rompe a maxima/minima anterior, ele entra na direção do movimento. Já tenho esse código, preciso que somente seja otimizado, pois eu mesmo quem fiz. Porém minha solicitação é que ele rode em renko também, pois não consigo fazer ele rodar em renko, somente em candle, preciso que o
Hello. I open this work with the intention of changing the indicator that is present in my EA code. This is an EMA 200 code, called STR-EMA. I will send a FINAL-EMA file for the exchange to take place. Furthermore, I would like a simple modification to FINAL-EMA, which is the possibility of changing the period in X candles (it is currently set to pattern 200) Please note that the functionality of the EA should not be
Preciso criar set para meus Ea , operando Mini Indice e Mini Dolar B3. Objetivo: Busco otimizar e criar conjuntos de parâmetros (sets) para meus Expert Advisors (EAs) que operam no mercado de Mini Índice (WIN) e Mini Dólar (WDO) da Bolsa de Valores B3. O objetivo é maximizar a eficiência e os lucros das operações automatizadas, minimizando riscos e drawdowns. Contexto: Estou utilizando EAs no MetaTrader 5 para
//+------------------------------------------------------------------+ //| SimpleEA.mq5| //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023, MetaQuotes Software Corp." #property link " https://www.mql5.com " #property version "1.00" #property strict input int FastMAPeriod = 12; // Período da média

项目信息

预算
30+ USD
开发人员
27 USD