Backtest EMA 9 vs AMA 21

MQL5 Asesores Expertos

Tarea técnica

I need to do a historical backtest with the following strategy:

Activation:
1) First EMA 9 must cross SMA 21
2) After that, enter 50% if the price returns to EMA 9, that is, the first entry is to PULLBACK at an average of 9.
3) If the price finds an average of 21, enter the rest (50%).

Departures:
1) I don't have a gain objective, I would like to know if there is a way for the backtest to provide me with the best gain for this strategy

Stop:
1) The Stop occurs when the average of 9 crosses again the average of 21 in the opposite direction, attention:
2) the stop only occurs after the averages cross AND THE PRICE PULLBACKS TO THE AVERAGE OF 9 (again), in the opposite direction this time, that is, both the entry and the stop are only triggered in the pullback of the average of 9 AFTER the crossing of the averages. So, if the first time you entered long and the average crossed to sell, expect to pullback at the average of 9, perform the stop and go short (again, 50% of total order) . If the price touches the average of 21, (more 50%) .


Han respondido

1
Desarrollador 1
Evaluación
(1)
Proyectos
3
0%
Arbitraje
1
0% / 100%
Caducado
1
33%
Libre
2
Desarrollador 2
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(116)
Proyectos
137
36%
Arbitraje
15
13% / 67%
Caducado
9
7%
Libre
Solicitudes similares
Trade copier 50+ USD
Hello all programmers i want program MT4 Expert Copier Master Copier Settings PrefixMaster SuffixMaster Slave Copier Settings list not copy symbol PrefixSlave SuffixSlave Lot Multiplication Fix Lot = false Fix Lot Value Copy Trade If In Loss = true LossAmountToCopyTrade = 10 Copy close = true Copy StopLoss = true Use Manual_StopLoss = false Manual_StopLoss = 100 Copy TakeProfit = true Use Manual
KILL MODE 30 - 60 USD
i Need an expert advisor that trade by signal moving average indictors.it must check and correct the process of possible errors in trading operations. The main criteria of opening and closing positions direction of average moving,price of last bar and set the number of lots to trade as an input parameter
Hello, I am highly in need of a professional and expert developer who is capable to convert my tradingview indicator to MT5, if you can perfectly do this project kindly meet me at the comment section to proceed
I am seeking an experienced and skilled developer to code an Expert Advisor (EA) for the MetaTrader platform based on a specific trading strategy. The developer must have expertise in building EAs, understanding complex trading strategies, and ensuring the final product is efficient and reliable. If you have the expertise and experience to successfully handle this project, looking forward to your proposal and your
The requirements for the order of robots XAUUSD and XAGUSD EURUSD forex in the STOP loss TAKE profit signal in this order, you can bring benefits to the changes in the market, that is, when the market changes frequently, it will also help to prevent losses and bring great profits
Craet and indicator which has 15 price source and set a T/F tick for each price source then make Bollinger bands and Rsi with BollingerBands just for true sorces and plot buy and sell signals on main chart based on some conditions and strategy.... i explained every thing clear in the zip file ... theres no need to display those indicators i just need to see their value for testing how indicator works inside chart
ACS Based on Mt4 EA 40 - 80 USD
Halo Coders These ACS&Csdash indicators work in the same way but provide signals of different currency pairs. And Either of these two ACS indicators should be selected any one and set to trade. It provides signals of multiple currency pairs in the interface So the EA should work like that to trade multiple currency pairs on one chart. CsDash should analyze whether it is a strong signal to show on the dash board and
NOTE: Please apply only if you can do the job in 24 hours. Moreover you can download the demo of the indicator and do a simple test with it to ensure the EA is able to open trades etc etc before applying for the job. Else this is a waste if everyone's time. THE INDICATOR PROVIDES BUY AND SELL ARROWS https://www.mql5.com/en/market/product/114661?source=Site+Market+MT4+Indicator+Rating006# 1. EA to buy and sell on
I have an expert advisor which is integrated into my mt4 backtester, originally from "market" tab in metatrader. I don't have the ex4 file (nor the mq4 file). All I see is the parameters names and their values. Is there anyone here who can reverse engineer this expert-advisor functionality not by decompiling, but only by reviweing its behaviour, viewing opened and closed trades and the param names
i need a simple ea that do : 1: by asset export to file in mql5 folder in the form of an exel file the max open DD , average holding time , value of commision + swap on a weekly period 2: should be able to clasify in the exel , per symbol , comment , or magic number

Información sobre el proyecto

Presupuesto
30 - 50 USD
Para el ejecutor
27 - 45 USD
Plazo límite de ejecución
a 10 día(s)