How to Terminate EA when Daily Target Profit (% or Value in $) is achieved
-
Hi I want to Terminate EA according to Profit Amount (in Dollars) or by Percentage of Starting Balance. How to do it, in Condition box the profit is Equity-Balance its current balance not starting of the day and I take many trades.
I want EA to close all running trades and Terminate from chart when a target Profit is achieved.
The on trade (event data) has a profit field too. How to use it for my purpose I don't know or can I do in some other way, please someone help is much appreciated. -
https://fxdreema.com/shared/d06qYRTAb
Here is a simple steps which I did to check the Profit of the day and if it exceeds to 50 dollars then it will close running trades and then Terminate the EA. Is this OK. How to do for Percentage profit based
-
Why terminate when you can just stop EA until trading wants to restart
-
@bablaasnani use block check profit unrealized
-
@ehsan1362 Thanks for reply I have selected check profit period of time and set it 00:00 so that when target meets it counts daily trades.
Does unrealized one only counts current running trades and not the today's closed trades ? I thought this mentioned in description so i not used it
-
@bablaasnani so you should use time filter befor the block: check unrealized profit
-
Thanks for Your replies this is solved
-
@bablaasnani you're welcome
-
@bablaasnani I want to Terminate EA according to Loss Amount (in Dollars)
Please Create for Loss.
-
@nikdp31 Hi whats your exact requirement ? Like closing trades according to running Losses or terminate EA According to closed trades Loss Count or According to Equity ?