Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
563
Rating:
(3)
Published:
2025.04.17 08:44
\MQL5\Include\Snail000\ \MQL5\Libraries\
MtGuiController.zip (12.03 KB)
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This CalculateHistoryProfit script version 1.0 is designed to calculate profits for a specified period using a graphical panel loaded from the external library MtGuiController.dll. Main features:
  • User can select date range, symbols and magic numbers through the graphical panel.
  • The script counts the total profit and number of trades based on the selected filters (symbols, magic numbers).
  • The results are displayed on the graphical panel including profit and number of trades.
  • The script supports preset buttons for quick selection of dates (today, week, month, year).
Suitable for traders who need to quickly evaluate the historical performance of trades by selected parameters.
I made it for myself to make it easier to understand which Expert Advisors traded how (several Expert Advisors work on the same demo account, with a fixed lot). Later I want to add here the recalculation of the maximum drawdown for the reporting period...

After installation, you need to manually remove the first line in the file Include\Snail000\CalculateHistoryProfit.mqh
and unpack the library MtGuiController.dll in the Libraries folder...

Many thanks to Vasiliy Sokolov for his implementation of the library described in the articles: https: //www.mql5. com/en/articles/6549
as well as fxsaber for the hint how to load code with external library into CodeBase!

The library was slightly modified by me, and I implemented the panel not as a separate library, but integrated it into the basic one.
Link to the github where the source code of the library is: https://github.com/5nail000/MtGui_ProfitCalculator/
Link to the library file MtGuiController.dll: https: //github.com/5nail000/MtGui_ProfitCalculator/raw/refs/heads/master/mql5/MtGuiController.dll


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/52528

Volatility Stop Volatility Stop

Volatility Stop - indicator of stop levels by volatility

SMI Ergodic Oscillator SMI Ergodic Oscillator

Ergodic oscillator Stochastic Momentum Index (SMI)

RiskManager with InfoPanel and Support RiskManager with InfoPanel and Support

My first code on the site, which requires improvement. The idea to create an ideal tool for traders, in the work on the main component of any trading system-Risk Manager

Better volume Better volume

Better Volume is an advanced indicator designed to analyse the behaviour of volume on price charts. It combines volume information with metrics such as candlestick range and moving averages to identify important patterns in the market, such as buy/sell climaxes, churn and weak candles. With its dynamic visual interface and volume categorisation, the indicator offers valuable insights for traders who want to make informed decisions based on volume flow.