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

Job finished

Execution time 1 day
Feedback from customer
Ramon is amazing to work with! Communication is smooth and the project came out exactly what I have in mind. Highly recommended!

Specification

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.

Responded

1
Developer 1
Rating
(595)
Projects
927
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
2
Developer 2
Rating
(463)
Projects
524
33%
Arbitration
28
39% / 43%
Overdue
7
1%
Busy
3
Developer 3
Rating
(135)
Projects
193
42%
Arbitration
17
29% / 59%
Overdue
28
15%
Free
4
Developer 4
Rating
(879)
Projects
1392
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Free
5
Developer 5
Rating
(8)
Projects
10
40%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(58)
Projects
76
33%
Arbitration
9
78% / 11%
Overdue
7
9%
Free
7
Developer 7
Rating
(478)
Projects
507
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Working
Similar orders
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
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
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

Project information

Budget
100+ USD
For the developer
90 USD