For trades open in same hour - but in orders history - summing swap, commission, profit

MQL5 Experts

Trabalho concluído

Tempo de execução 1 dia
Comentário do desenvolvedor
Nice to work with you, Thanks.
Comentário do cliente
First class developer, quick and efficient. Thanks for your work.

Termos de Referência

Hallo everyone,

I have create a EA and in the EA Code I have write history viewing of the trades whitch are closed and the current trade. All is working verry fine if there is open only 1 trade tot he same time. But the EA can also open and close multiple trades in that way that he open for example 5 trades today 3 o´clock. 4 trades with each 0.2 Lot and 1 trade with 0.01 Lot. If the trades are current time open my part for viewing works also very fine. My problems are in viewing in the chart if the trades are closed for example today 16 o´clock and current time is after 16. Then I see 5 lines in the chart. For 5 trades. I will see only 1 line for all trades. Thats better for more better design. You understand 5 trades beginns not exact tot he same time. The difference are any seconds and so is also in closing. It´s dont look not verry good. Additional I have create a line that shows the trade coasts for swap and commission in addition/subtraction to the start price. Thats the same problem. If the EA will open 100 trades tot he same time it´s a totaly confusion with the lines 😉 And if the trades are closed the profit / loss with points will be viewing in a 90° angle in the chart. This is also a confusion with multiple trades. So I cannot summing in history the swap, commissiom, profit for 1 summed result and view in the chart. I have 5   results for 5 trades– each over and over the other It must be 1 summing result with 1 line. And ist must working for all situations. For 1 trade or for 1000 trades. If you have time please have a look. I have in attached my code part from the EA.

The importentst Question for me with this situation is : How can I count/summing in History the swap, commission, Profit for trades which have the   OrderOpenTime()  in the same hour.  The rest is easy. find the lowest SL for Buy, highest SL for Sell, the earliest OrderOpenTime for start the lines and so on. But the counting in History and extraction of trades open in same hour - it´s will no work.

If you can solve my problem, I can send you the part of EA code to fix it and you can integrate all necessary things.

And please tell e how mutch money you need for it, if the job is to mutch work for my specified budget, please tell me your price.

Thanks now and frendly regards

SuperWutsch


Respondido

1
Desenvolvedor 1
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
Pedidos semelhantes
Gold_m1_ob_bot. 30+ USD
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible

Informações sobre o projeto

Orçamento
30 - 50 USD