Watch how to download trading robots for free
Find us on Facebook!
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
Experts

Daily Profit Function - expert for MetaTrader 5

Views:
11594
Rating:
(18)
Published:
2022.11.15 15:39
Updated:
2022.11.15 16:57
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

daily drawdown daily drawdown

Example of daily loss calculation tool You can update it as you want.

HLC Trend confirmation indicator HLC Trend confirmation indicator

Confirmation (trend) indicator used for lower timeframes

BSI Trend and Channel BSI Trend and Channel

This indicator shows trend line and channels using the BSI Indicator. Original work of https://www.mql5.com/en/code/13615

The Roofing Filter The Roofing Filter

The Roofing Filter Indicator was created by John Ehlers ("Cycle Analytics for Traders" pg. 80 - 82).