Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | Daily Profit Function

MetaTrader Experts, Indicators, Scripts and Libraries

I wrote this function as an easy template for accessing the current day's trading history. Can be expanded upon by the user by adding additional doubles, i.e. Volume, or for different periods, by amending the start variable. 

The Daily Profit value is written to the Experts Panel by default.

Very simple, easily understood code.

41406