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

작업 종료됨

실행 시간 1 일
고객의 피드백
Ramon is amazing to work with! Communication is smooth and the project came out exactly what I have in mind. Highly recommended!

명시

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.

응답함

1
개발자 1
등급
(622)
프로젝트
975
46%
중재
32
38% / 34%
기한 초과
96
10%
로드됨
게재됨: 6 코드
2
개발자 2
등급
(539)
프로젝트
620
33%
중재
36
39% / 53%
기한 초과
11
2%
로드됨
3
개발자 3
등급
(136)
프로젝트
196
43%
중재
17
29% / 59%
기한 초과
28
14%
무료
4
개발자 4
등급
(885)
프로젝트
1410
67%
중재
123
32% / 41%
기한 초과
218
15%
무료
게재됨: 1 코드
5
개발자 5
등급
(8)
프로젝트
10
40%
중재
0
기한 초과
0
무료
6
개발자 6
등급
(58)
프로젝트
76
33%
중재
9
78% / 11%
기한 초과
7
9%
무료
게재됨: 2 코드
7
개발자 7
등급
(511)
프로젝트
549
53%
중재
13
69% / 15%
기한 초과
3
1%
무료
비슷한 주문
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter
Greeting Im in need of a programmer that can help me convert from TOS to trading view? The script is available with me, kindly bid if it is what you can do for me Thanks

프로젝트 정보

예산
100+ USD