Need something that will help calculate length and frequency of trend

MQL4 전문가 스크립트

작업 종료됨

실행 시간 3 일
고객의 피드백
Good and clear work, pleasure to deal with

명시

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 

 

응답함

1
개발자 1
등급
(71)
프로젝트
156
44%
중재
22
41% / 14%
기한 초과
16
10%
무료
2
개발자 2
등급
(180)
프로젝트
301
30%
중재
54
24% / 56%
기한 초과
98
33%
무료
3
개발자 3
등급
(12)
프로젝트
17
35%
중재
1
0% / 100%
기한 초과
3
18%
무료
비슷한 주문
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it

프로젝트 정보

예산
20- USD