DayPositionsCount – library MetaTrader 5 by The function returns the number of positions opened by an Expert Advisor for the day. DayPositionsCount – library MetaTrader 5