Profit target question
-
Hello fxdreema,
I'm trying to set up a filter in which if I make over XXX profit in a day, starting at 1 am, the EA stops trading until next day.Attached is my configuration image, but I see the EA continues trading no matter such target is met.
Is this configured properly, or what is missing, or what to do?
Many thanks
......
daytarget.jpg -
It looks correct. I made this to check the block, I think that it's working as expected https://fxdreema.com/shared/rpdSx31Oc
-
__It looks correct. I made this to check the block, I think that it's working as expected https://fxdreema.com/shared/rpdSx31Oc[/quote:1ytothns]
I have a question here... if I use the function as shown in the image, if my profit target say is $10, is the function checking this amount vs balance or equity?
What I mean, if my floating profit is say $15, this exceeds the $10, thus the condition would be met, BUT is no realized profit.If it uses floating profit (equity now vs equity at 1:00 am), then this could be a problem, as all the funtions around trailing stop, close trades, etc, are under the "FALSE" condition, together with the execution of new trades. So, this will stop you closing profitable trades strategy.
What can you say around this? Or how can I handle it to use real closed profit? Moving all closing strategy is complicated, as it is attached to the "no trade/order"
EDIT: I see an issue here... the block description says that if time 2 is left empty, then it counts current unrealized profit. An in reality time 2 is left empty as I want to check profit (realized) at all times to stop trading when target is reached. Sooo, what to do to make it work as needed?
Many thanks
-
Check profit (period of time) - this block collects the total amount of profits from the existing trades. It doesn't care what Equity or Balance is. The block does not know what was Equity at 01:00 am.
-
__Check profit (period of time) - this block collects the total amount of profits from the existing trades. It doesn't care what Equity or Balance is. The block does not know what was Equity at 01:00 am.[/quote:1r30jz22]
Existing trades open or closed or both? What really counts is closed trades. Open trades can result in BE or Loss, thus that floating profit does not exist any more.
How do I have to set it up in order to stop trading after closed profit of XXX ?
Thanks
-
Both: if the end time is empty field (which means the current time)
Closed trades: if the end time is something elseThe other way is something like this: http://prntscr.com/btfyh3