total profit/loss for the day

 
Is it possible to get the total profit/loss of the current day so far? If so, can someone point me in the right direction?
 
rlarz: Is it possible to get the total profit/loss of the current day so far? If so, can someone point me in the right direction?
OrderSelect loop, filter by current day
 
WHRoeder:
OrderSelect loop, filter by current day
Thanks for the directional point. By using both current day's history profit total and open trades current total I should have what I need.
Reason: