Stop trading for the day
-
Hi fxdreema,
How to add function to stop EA trading for the particular day when profit reaches a particular amount?
Thanks in advance
-
I am sure, there are many ways how to do it, one can be something like this:
https://fxdreema.com/shared/BMKdM1mpc

-
Well, I will suggest this block Check profit (period of time). I made it for that reason after all

-
Thank you miro and fxdreema for your suggestions.
However the particular block takes the unrealised profit as well into account. Any idea to circumvent this? only realised profits should be taken into account.Thanks in advance
-
I am using an EA based on a semimartingale strategy. Looking to stop the EA for the particular day once the desired profit is reached. A block which calculates the total profit from all trades on one day and gives an output when profit/loss more than x amount would be useful.
Thanks
-
__Thank you miro and fxdreema for your suggestions.
However the particular block takes the unrealised profit as well into account. Any idea to circumvent this? only realised profits should be taken into account.Thanks in advance[/quote:2jyg8dk8]
I am not sure if this is working, I have not tried, but with this way you can do it ...
