Number of trades per day.

ForexTrader17
1031
ForexTrader17  

Is it possible to limit the number of total trades placed in a day by an EA? Also can it be possible to limit how many longs and how many shorts? Does the day for an EA start at 00:00 server time?

Thanks. 

Sherif Hasan
7310
Sherif Hasan  
ForexTrader17:

Is it possible to limit the number of total trades placed in a day by an EA? Also can it be possible to limit how many longs and how many shorts? Does the day for an EA start at 00:00 server time?

Thanks. 

Yes. Possible.
ForexTrader17
1031
ForexTrader17  
How can it be done?
Jose Miguel Soriano
5205
Jose Miguel Soriano  
ForexTrader17:

Is it possible to limit the number of total trades placed in a day by an EA? Also can it be possible to limit how many longs and how many shorts? Does the day for an EA start at 00:00 server time?

Thanks. 

It is possible that and much more ... programming in MQL4 and mql5
ForexTrader17
1031
ForexTrader17  

How do I restrict the number of trades per day? Like X number of long/short or total number.

Thanks. 

Stuart Browne
11109
Stuart Browne  
ForexTrader17:

How do I restrict the number of trades per day? Like X number of long/short or total number.

Thanks. 

It has to be coded in the EA
ForexTrader17
1031
ForexTrader17  

Which functions do I use? Are there functions for long trades/short trades closed for day or total closed trades for day? When does an EA start the day? At 00:00 Server Time?

Thanks.