Counting Today's positions
Created at 30 Jan 2015, 11:09
Counting Today's positions
30 Jan 2015, 11:09
Hello,
How can I count just today's positions?
For example: I would like to limit the cBot, that in case that there is more than 2-3 losing trades, in the same symbol and name, the cBot will not execute any more positions in today's session.
Thanks!
Replies
Spotware
10 Feb 2015, 09:53
You can subscribe to Positions.Closed event and count whatever you need.
Hope this helps. If it doesn't help, please contact one of our Partners or post a job in Development Jobs section.
@Spotware
itaiophir
30 Jan 2015, 11:21
RE:
itaiophir said:
BTW, I'm looking only the closed positions.
tnx!
@itaiophir