MtGui Profit Calculator Panel is a MQL5 script designed to calculate historical profit over a specified period using a user-friendly graphical interface. The interface is provided by the external library MtGuiController.dll.
For more information about the library, you can check out the article published by Vasiliy Sokolov: Article on MQL5.
You can also find the original repository of the library here: MtGuiController Repository.
- Date Selection: Choose the date range for profit calculation.
- Symbol and Magic Filtering: Filter trades by symbols and magic numbers.
- Profit Calculation: Calculate total profit and the number of deals based on selected criteria.
- User-Friendly Interface: Easily navigate through options and view results on a graphical panel.
-
Clone or download this repository.
git clone https://github.com/5nail000/MtGui_ProfitCalculator.git
-
Copy the contents of the
MQL5
folder into the corresponding folder in your MetaTrader 5 directory:MQL5\Scripts
MQL5\Libraries
(Ensure theMtGuiController.dll
file is placed here)
-
Open MetaEditor and compile the script to ensure there are no errors.
- Start MetaTrader 5.
- Run the CalculateHistoryProfit script from the Navigator panel.
- Use the graphical panel to select:
- Start and end dates.
- Symbols to filter.
- Magic numbers to filter.
- Click the Submit button to calculate profit.
- The results, including total profit and number of deals, will be displayed on the panel.
- MetaTrader 5
- MtGuiController.dll (included in the repository)
Feel free to contribute to this project by submitting issues or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Snail000.
For any questions or issues, please open an issue in the repository.