How to calculate historical maximum floating loss and floating profit from MT4 / MT5 trading history?

MQL4 지표

명시

I need to calculate the following from existing MT4 and MT5 account trading history:

  1. Maximum floating loss
  2. Maximum floating profit

By “floating loss / floating profit,” I mean the largest unrealized loss and unrealized profit that occurred at any moment while positions were still open, not the final closed P/L.

My requirements are:

  • The calculation should be based on historical trading records
  • It should ideally reconstruct the account’s actual position status at each historical moment
  • It needs to support both MT4 and MT5
  • If there is any existing mature method, formula, implementation idea, or open-source solution, please recommend it directly
  • If historical orders alone are not enough for accurate calculation, please explain what additional data is required (for example: historical candles, tick data, position change records, etc.)

What I want to confirm most is:

  • Is it possible to accurately calculate historical maximum floating loss / maximum floating profit using only trading history?
  • If yes, what is the correct calculation method?
  • If not, what is the minimum additional data required?

Thank you.


응답함

1
개발자 1
등급
(3)
프로젝트
3
0%
중재
1
0% / 100%
기한 초과
0
무료
2
개발자 2
등급
(210)
프로젝트
282
46%
중재
27
59% / 37%
기한 초과
36
13%
무료
3
개발자 3
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
4
개발자 4
등급
(20)
프로젝트
22
41%
중재
1
0% / 100%
기한 초과
0
무료
5
개발자 5
등급
(9)
프로젝트
13
8%
중재
3
33% / 67%
기한 초과
1
8%
작업중
6
개발자 6
등급
(187)
프로젝트
243
20%
중재
22
50% / 18%
기한 초과
0
작업중
7
개발자 7
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
8
개발자 8
등급
(6)
프로젝트
5
0%
중재
2
50% / 50%
기한 초과
2
40%
무료
9
개발자 9
등급
(266)
프로젝트
598
35%
중재
64
20% / 58%
기한 초과
147
25%
무료
게재됨: 1 기고글, 22 코드
10
개발자 10
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
11
개발자 11
등급
(52)
프로젝트
58
59%
중재
4
0% / 25%
기한 초과
1
2%
무료
12
개발자 12
등급
(5)
프로젝트
5
60%
중재
1
0% / 0%
기한 초과
2
40%
무료
게재됨: 1 코드
13
개발자 13
등급
(3)
프로젝트
5
20%
중재
2
50% / 0%
기한 초과
0
작업중
게재됨: 21 코드
14
개발자 14
등급
(560)
프로젝트
648
33%
중재
41
41% / 46%
기한 초과
11
2%
바쁜
15
개발자 15
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
16
개발자 16
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
17
개발자 17
등급
(80)
프로젝트
138
51%
중재
5
80% / 0%
기한 초과
6
4%
작업중
18
개발자 18
등급
(7)
프로젝트
8
0%
중재
2
0% / 50%
기한 초과
1
13%
작업중
19
개발자 19
등급
(3)
프로젝트
3
100%
중재
0
기한 초과
0
무료
비슷한 주문
Convert Time Range Breakout Indicator to Strategy (Pine Script) I have an existing Time Range Breakout indicator on TradingView. I need a developer to convert it into a fully functional strategy with proper trade execution logic. Strategy Logic: Time Range: Define a specific time range (e.g., 03:00 – 04:30) During this time, the indicator marks the High and Low range Entry Conditions Buy when price touches the range
Hello, I’m looking for an experienced MQL4 developer to build a custom MT4 Expert Advisor based on a Koncorde-style indicator strategy. Here are the main requirements: 🔹 General Overview The EA must be a master EA , running on a single chart and managing multiple currency pairs simultaneously No need to attach EA to each chart Must support a configurable list of symbols 🔹 Indicator Requirement Develop a custom
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
Core Requirements: Platform: MetaTrader 5 (MT5). Symbol: XAUUSD (Gold). Timeframes: M1 and M5 (user selectable). Trading Style: Scalping with controlled risk (not aggressive or high-risk strategies) -> adjustable, even better. Execution: Fast execution, optimized for gold market conditions. Frequence = adjustable, but there should be 10-20 trades per day. Strategy Logic: Use a reliable and conservative strategy
Eu preciso disso. A linha central do TMA (17,5,1.5) será a principal referência. Outra linha de média móvel (AVG) de 3 períodos decrescentes 2. As ordens serão as seguintes: abaixo, somente compra de TMA; acima, somente venda de TMA. O sinal de entrada será o seguinte: se o preço estiver acima da Média Móvel Tarifária (TMA), será apenas para venda; quando o preço se mantiver abaixo da Média Móvel Tarifária (AVG)
I am looking for non-repainting indicator to run in all sessions for scalping gold , happy to discuss if you have developed such indicators which can show profit and stop loss levels
Hello! I want to buy two indicators: A Support and Resistence Indicator and a Trendline Indicator. Support and Resistence Indicators needs to automatically draws Support and Resistance lines based on High and Low Candle in every time-frame (If possible time-frame needs to be in inputs and choose by me what time-frame i want indicator to draw lines) Trendline Indicator needs to automatically draws Trendline Channels
I need an experienced developer to carry out an indicator and trading robot using the following; moving averages risk ( take profit and stop loss) and maximum drawdown limits heiken ashi confirmation. trendline breakout if possible The developer will test this on a demo account that I will provide before conclusion as I don’t want anyone to waste my time trying to use chartgpt trial and error. If you can do the

프로젝트 정보

예산
50+ USD

고객

(3)
넣은 주문16
중재 수0