MT4 MQL4 code/script for testing list of forex trades in historical data

Lavoro terminato

Tempo di esecuzione 1 giorno
Feedback del cliente
Ramon is amazing to work with! Communication is smooth and the project came out exactly what I have in mind. Highly recommended!

Specifiche

I need help in creating a code/script that could check the results of a set of trade in forex currencies.

I have attached the sample of trades. From my experience, the only way to test strategies is through EAs in strategy tester. But what I have is historical data traded manually not an EA. I want to see if this set of trades have really profited in the past.

In the attached excel file named Sample of Trades, you will see that there are three Target Profits (TP1, 2 and 3) and one stoploss (SL). That means that there are three open trades in the same entry.

I have attached the sample Output. The yellow cells indicate the result of each trade in Pips. TP1 could have profited but since the TP2 and TP3 is farther, it could have hit the SL first and so on.

Now, this is where it kinda gets tricky, in the sample output, there are headers Original, Scenario 1, Scenario 2, and Scenario 3.

In Original - Each trades TP1, TP2, TP3 is treated as a separate trade like explained above
Scenario 1 - When price touch TP1, SL shift to breakeven and then when price touch TP2, SL shift to TP1
Scenario 2 - When price touch TP1, SL of TP 2 and TP 3 move to breakeven
Scenario 3 - When price touch TP2, SL of TP3 move to breakeven

Perhaps there is a money management option where we can change the stoploss or breakeven or even trailing stop loss applied.

Con risposta

1
Sviluppatore 1
Valutazioni
(595)
Progetti
927
46%
Arbitraggio
31
39% / 29%
In ritardo
93
10%
In elaborazione
2
Sviluppatore 2
Valutazioni
(463)
Progetti
524
33%
Arbitraggio
28
39% / 43%
In ritardo
7
1%
Occupato
3
Sviluppatore 3
Valutazioni
(135)
Progetti
193
42%
Arbitraggio
17
29% / 59%
In ritardo
28
15%
Gratuito
4
Sviluppatore 4
Valutazioni
(879)
Progetti
1392
67%
Arbitraggio
117
32% / 42%
In ritardo
215
15%
Gratuito
5
Sviluppatore 5
Valutazioni
(8)
Progetti
10
40%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(58)
Progetti
76
33%
Arbitraggio
9
78% / 11%
In ritardo
7
9%
Gratuito
7
Sviluppatore 7
Valutazioni
(478)
Progetti
507
53%
Arbitraggio
10
60% / 20%
In ritardo
3
1%
In elaborazione
Ordini simili
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Hey greetings. Am in need of a developer that has already made profitable MT4 or MT5 EA that I can buy with the backtesting and proven result. How is the draw down ? What is the winning rate ? Kindly reply and let proceed
I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. - Martingale methods and grid strategies should not be used as the basis of a trading strategy. - Excellent win rate (>80%) - High risk/loss management - Option to select direction of trading (long, short or both) - News filter - Editable Trading Hours I will need to test in the strategy tester and on live market (on
Hello, i need a good programmer; to code an EA to trade the most productive forex pairs (mainly 2 for the day, and 2 for the night+gold), the strategy is based on the use of one moving average and the rsi, thank you in advance
a gap between 1 pip opposite order open continue once tp hit ea change position and start from 1 everything is manually adjustable tp gap pip and pip all show start from 0.01
I have a mql4 license mql4 code,, there have a 1 error '( WebRequest' - no one of the overloads can be applied to the function call) fix this error,, and make sure it work properly,,{ it's bass on kernel32.dll } this license system Base on pc volume serial number. If you're a expert developer kindly contact with me ,, Write a text " License system devoloper " Telegram @Gw_rakib1
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hi, i will provide a dll .use it's functions develop a backend code copy trading .it should a master accounts and slave accounts based of the mapping with the copy parametsrs it should start copy trades between the master and slave .one slave should be able to copy from Mutiple master and some basic fronted access to be created using the angular js

Informazioni sul progetto

Budget
100+ USD
Per lo sviluppatore
90 USD