Gather profit or loss from multiple accounts into excel spreadsheet and convert base currencies to AUD based on current exchange rate

指定

I have over 20 MT5 accounts that I want to obtain the Profit and loss on in each account from the 1st of the current month to the end of each day or when the program is run. Currently in MT5 I have to go to history, select month which gives the last 30 days profit, change the calendar to the 1st of the current month to obtain the profit for that account and repeat 22 times. I want an automated process that goes out and gathers the data from the trade account and collates it for all the accounts and exports to an excel sheet in a specific order

Profit exporter

 

Input fields to the program will be:

  1. From Date Type: date in dd/mm/yy format – if a date picker pop-up can be easily added that would be nice, but not necessary. Either way I should be able to overtype the date. From date will default to the first of the current month, but can be set to get profit over different time periods e.g it could be overtyped to 01/01/22 to get profit from 1 stof January 2022. I presume the trade data should be gathered based on the broker server time from 12am of the From date.
  2. To date Type: date in dd/mm/yy format. By default todays date but can be updated for specified period reporting
  3. Account Label – text to 30 characters – this is manually specified label for the account)
  4. Broker Server – a combo drop down list that can have broker servers added. The current servers I use include:

ICMarkets-MT5

Coinexx-Live

ICMarkets-MT5-2

FPMarkets-Live

 

  1. Username – numeric field 6 characters
  2. Password - text field 12 characters.
  3. Currency – can this be picked up from the account automatically? Otherwise Combo Drop down selection list from AUD,USD,ETH,BTC

 

Table row control buttons on right:

·         Order – allows the row to be moved up or down in the table

·         Add – Adds a new row below the current row for adding a new account

·         Del – Deletes the current row account or blank row

·         Ins – Inserts a blank row in the table. The output table will have links to it from another spreadsheet, so it will be important to have the correct accounts order and spacing rows to match the linking spreadsheet.

·         Sub – Adds sub total row below the current row that totals profits to the top of the table or the last sub total row

·         Save and test – Saves the settings entered for that row and tests access to the account. Returns result Success pop up with close button and updates the output data for that row if it successfully access the account. Returns account not found/authentication failure etc to indicate what problem it has connecting accessing the account

 

It will gather the P/L from the broker, get the current exchange rate from the base currency to AUD and return the profit for each account. The gathered data and calculations will be: 

  1. Gross Profit in base currency  (AUD,USD,ETH,BTC)
  2. Swap fees
  3. Lots traded on the account in the specified date range
  4. Commissions
  5. Net profit
  6. Exchange rate  (AUD,USD,ETH,BTC to AUD) – the program will need to source the current rate. As there is no direct rates for BTCAUD ETHAUD it could be calculated by getting metatrader data for BTCUSD/AUDUSD = BTCAUD e.g BTCUSD = $44429 AUDUSD = 0.75148 BTCAUD = $44429/0.75148 = $59121. Same calculation method for ETHAUD. USDAUD = 1/AUDUSD
  7. Profit = Net profit in the selected currency x Exchange rate. Changing the Profit currency will update the exchange rate calculation to match the selected currency. E.g if USD is selected the rate for a USD based account becomes 1.0, for the AUD based accounts is 0.75148 and for BTC based accounts would use the current BTCUSD rate $44429

Top control buttons

 

·         Using the Save and test button will update that row, the subtotal for that group and the total

·         Pressing Update to the right of the dates will update all the accounts, sub totals and total at once

·         Save As.. will prompt to download the excel sheet with the columns selected at the bottom “Include in Export”

·         Email To will email the sheet to the specified email address field

·         To change email, type over the current address and press update to the right

·         Schedule will invoke the option to automatically send/save the export daily at 12am from 1 stcurrent month to the end of the prior days trade data 11:59:59. The schedule options can be checked on to email and/or save to a specified folder path on the computer where it is running.

 

General

 

·         The programs will run on any windows computer with MT5 installed and provide an easy to use and attractive interface

·         The attached excel spreadsheet provides the ideal layout for the fields and outputs

·         It can run on a  24/7 vps to provide schedule file saves and emails, and also be run on my local office desktop on an ad hoc basis to view/export current profit data.

·         I will be provided with source code and retain rights in case future updates are required and you are not available

 

附加的文件:

反馈

1
开发者 1
等级
(30)
项目
35
26%
仲裁
0
逾期
4
11%
空闲
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(183)
项目
236
20%
仲裁
21
43% / 19%
逾期
0
工作中
4
开发者 4
等级
(295)
项目
474
39%
仲裁
103
41% / 23%
逾期
79
17%
繁忙
发布者: 2 代码
相似订单
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
APARTE DE PASAR EL CÓDIGO A MT5 QUIERO QUE CONTENGA TODOS LOS DATOS NECESARIOS PARA QUE ESTE NUEVO CÓDIGO SE PUEDA USAR EN LA FÁBRICACIÓN DE UN ROBOT, NO SE MUCHO DE ESTO PERO INVESTIGUE QUE DEBE LEER BUFFERS Y OTRAS COSAS
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)

项目信息

预算
200 - 300 USD