Need something that will help calculate length and frequency of trend

MQL4 Experts Scripts

Trabalho concluído

Tempo de execução 3 dias
Comentário do cliente
Good and clear work, pleasure to deal with

Termos de Referência

Hello Coders,

 

As stated above, I need to backtest and calculate the length and frequecy of trends, using a SMA with a variable value (ex SMA10) I need a visual when the SMA goes down that means its a down trend and we need to log how long it goes in that direction before it turns and how long it goes in new direction.  I will simply run a backtest in the strategy tester and it should show data like: how many uptrends/downtrends, average duration of uptrend/downtrend, longest trend duration.  I need to filter out a few small trends so perhaps an option to gather data on >=5bar trends or whatever I decide. I also need it to tell me how many 5 bar trends, 6bar trends, 7 bar trends, x bar trends, etc for all the trends there are until the longest trend, so for every duration there is in the trends I want to know how many of them there were to help me analyse the market. The screen can display something like this:

306 uptrends

Average uptrend 7 bars

longest trend 34 bars

67 5 bar trends

56 6 bar trends

33 7 bar trends

26 8 bar trends

24 9 bar trends 

etc until 34 bar trends

 

288 downtrends

Average downtrend x bars

etc

 

Thanks 

 

Respondido

1
Desenvolvedor 1
Classificação
(71)
Projetos
156
44%
Arbitragem
22
41% / 14%
Expirado
16
10%
Livre
2
Desenvolvedor 2
Classificação
(180)
Projetos
301
30%
Arbitragem
54
24% / 56%
Expirado
98
33%
Livre
3
Desenvolvedor 3
Classificação
(12)
Projetos
17
35%
Arbitragem
1
0% / 100%
Expirado
3
18%
Livre
Pedidos semelhantes
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

Informações sobre o projeto

Orçamento
20- USD