Hi, I use below code to check daily profit. I will stop EA when daily profit reached to the target.
But when I first time attach the EA on the chart and check the daily profit value, it shows account equity.
I wonder why...
It should be zero when I attach the EA for the first time.
Where do you print the value?
Hi, I use below code to check daily profit. I will stop EA when daily profit reached to the target.
But when I first time attach the EA on the chart and check the daily profit value, it shows account equity.
I wonder why...
It should be zero when I attach the EA for the first time.