Trabalho concluído
Tempo de execução 2 dias
Comentário do cliente
great codes great attitude
Comentário do desenvolvedor
great customer. thank you
Termos de Referência
I have created an EA with several timeframes, however, when tested, bugs are encountered, please advise.
I am using a H4 timeframe when going through a test.
input int barNumM=42; // Number of bars in mid term array double SLS=0; MqlRates mrateS[]; MqlRates mrateM[]; if(CopyRates(_Symbol,PERIOD_H4,0,barNumS,mrateS)<0) { Alert("Error copying H4 rates/history data - error:",GetLastError(),"!"); return; } if(CopyRates(_Symbol,PERIOD_D1,0,barNumM,mrateM)<0) { Alert("Error copying D1 rates/history data - error:",GetLastError(),"!"); return; } SLS=mrateM[iHighest(_Symbol,PERIOD_D1,MODE_HIGH,barNumM,0)].high-mrateM[iLowest(_Symbol,PERIOD_D1,MODE_LOW,barNumM,0)].low;
Bug: mrateM[iHighest(_Symbol,PERIOD_D1,MODE_HIGH,barNumM,0)].high-mrateM[iLowest(_Symbol,PERIOD_D1,MODE_LOW,barNumM,0)].low returns negative values sometimes.
Some of my buy logic is not working properly as well, but I think that is related to mrateM not functioning properly.
Respondido
1
Classificação
Projetos
190
66%
Arbitragem
8
25%
/
50%
Expirado
2
1%
Livre
2
Classificação
Projetos
121
43%
Arbitragem
12
33%
/
50%
Expirado
17
14%
Livre
3
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
4
Classificação
Projetos
16
19%
Arbitragem
2
0%
/
50%
Expirado
1
6%
Livre
Pedidos semelhantes
The basic indicator and the only indicator to be used is PRICE PERCENT RANGE and the indicator files are attached. A picture to visualize what is required is also attached. Job: Indicator : 1. Add Buy alert and Buy arrow function,if the price%R value touches or goes below value 9.5 or the user specified,after candle close. 2. Add Sell alert and Sell arrow function,if the price%R value touches or goes below value 90.5
Informações sobre o projeto
Orçamento
30+ USD
Desenvolvedor
27
USD
Prazo
para 1 dias