The function returns the number of positions opened by an Expert Advisor for the day.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17119
Trading based on two indicators: iAlligator (Alligator).MACDCCI
Works based on two indicators: iCCI (Commodity Channel Index, CCI) and iMACD (Moving Average Convergence/Divergence, MACD). OnTradeTransaction().