Backtesting bar break breakout strategy

MQL5 Experts Design

Termos de Referência

Looking to backtest a trading idea.


Looking to backtest a simple strategy when given value x is present the strategy goes long if price breaks high of bar or short if price breaks low of the bar where value x occured.

Stop is placed above the bar low if short and bar low if long.

If Stopped reverse and go long or short once. Stop is placed below low or high price reached after original bear break. No stop and reverse on this second stop just stop.

Strategy then waits for value x to occur again. If value x occurs before stop is triggered, the stop moves to the high or low of bar as appropriate to the position long or short.

I wish to be able to backtest this by varying the input data accross products/contracts and timeframes. I have limited coding knowledge.

I would like results to be presented so I can see pnl, max loss, max drawdown, , sharpe ratio.


Thanks

Respondido

1
Desenvolvedor 1
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(31)
Projetos
40
43%
Arbitragem
0
Expirado
2
5%
Trabalhando
3
Desenvolvedor 3
Classificação
(74)
Projetos
121
43%
Arbitragem
12
33% / 50%
Expirado
17
14%
Livre
4
Desenvolvedor 4
Classificação
(44)
Projetos
100
39%
Arbitragem
17
29% / 47%
Expirado
32
32%
Livre
5
Desenvolvedor 5
Classificação
(71)
Projetos
80
10%
Arbitragem
35
9% / 54%
Expirado
6
8%
Trabalhando
6
Desenvolvedor 6
Classificação
(11)
Projetos
16
25%
Arbitragem
0
Expirado
1
6%
Livre
7
Desenvolvedor 7
Classificação
(15)
Projetos
19
37%
Arbitragem
2
0% / 100%
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(479)
Projetos
508
53%
Arbitragem
10
60% / 20%
Expirado
3
1%
Trabalhando
9
Desenvolvedor 9
Classificação
(2087)
Projetos
2647
61%
Arbitragem
113
45% / 26%
Expirado
418
16%
Trabalhando
10
Desenvolvedor 10
Classificação
(66)
Projetos
143
34%
Arbitragem
10
10% / 60%
Expirado
26
18%
Livre
11
Desenvolvedor 11
Classificação
(119)
Projetos
169
38%
Arbitragem
9
78% / 22%
Expirado
15
9%
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(42)
Projetos
88
14%
Arbitragem
30
30% / 57%
Expirado
36
41%
Trabalhando
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Hedge EA for MT5 35 - 50 USD
Need the MT5 hedge EA, where we open a hedge order for a the active order based on the distance specified. And keep closing the the inital order when it comes back to the inital price level. Please go through the attached file for more context
I have a problem with my ea that the account always blows up before the price has a chance to arrive so I want a program that will counter the trades the expert makes by identifying the magic numbers There is also a need for the functions of SL delay and taking Perciel and I can control how many of the commands I want to take like Perciel 40% or maybe 80% and follow the rest and maybe not take details Also the
GRID based EA for MT5 40 - 50 USD
Need an grid based EA for MT5, based on the provided requirements specifications. Simple grid where the distance keeps increasing when the price comes back to the sample price levels. Have detailed out the requirements in the attached. Reach out to me on telegram- selva434
EA will open the first master order based on RSI and ADX indicators. Then it will build a grid of new orders based on step pipes. All orders parameters will be based on manual input setting from master order# 1 up to 10. The grid could be started over or repeated based on some inputs
I have a strategy in pine scrip. Need to convert into mt5 trading robot with some basic modifications. Scrip is already written and all the requirements. Just with few adjustments are required. Kindly contact me for job. Easy job
Lihle's trades 30+ USD
``` //+------------------------------------------------------------------+ //| Hello World Expert Advisor | //| | //| This is a basic EA that buys and sells based on a simple | //| moving average crossover strategy. | //+------------------------------------------------------------------+ #property version "0.01" #property strict input int FastMA
Grid EA 40 - 100 USD
This EA will set pending orders in a specified grid level. No indicators will be used. When an order is closed by tp, it will reopen the order in same place as far as it is a certain distance from the price. It will always have pending orders or executed and open orders by a certain range from the actual price
1. Inputs: a/ Select direction of trades to be applied against (Short only, Long Only, Both Short and Long) b/ Timeframe to apply against (M1,M5,M15,M30,Hourly,4HR,Daily) c/ MACD input settings (default 12,26,9) d/ RSI settings (default 14) e/ RSI Level for Long Trades (Default 50, Leave blank if short only) f/ RSI level for Short Trades (Default 50, Leave blank if Long only) 2/ When the selected direction is long
Tdi makes a divergence with moving average 2 in the indicator window above level 68 in crash indeces.... For boom the divergence should occur below level 32.... Timeframe preferably 5minutes but could be left to current..Applicant should have knowledge about synthetic indices... Please don't apply or inbox if you are not willing to show competence first through demo
Hello! I want to convert an existing open source indicator for tradingview to mql5. Its an orderblock indicator also showing horizontal bullish/bearish volume. My expectation of this is the following: The orderblocks will apear on the chart at exactly the same place with top/bottom etc. The bullish and bearish volume is somehow displayed/indicated. (The values of the orderblocks are retrieveable to develop an EA in

Informações sobre o projeto

Orçamento
50 - 250 USD
Desenvolvedor
45 - 225 USD