Pending order expiry
-
I'm opening a pending order in the opposite direction at each Buy and Sell and I want the pending orders to expire if my Buy or Sell hits my Take Profit target.
I tried using Custom / Expiration Mode / Account Balance / Adjust *100.01% (the logic being if there is a small profit by hitting the Take Profit and the Balance increases by 0.01% the pending order should expire). For some reason this doesn't work in my tester. Is there another better way to achieve this expiration?
Thank you! -
@bogdaiki Hi, try this

-
Thank you! It looks like it works, I left it at "Either Buys or Sells" as I have both and it does the job. I appreciate your help @ambrogio !
-
Another thing I can't figure is how to stop the EA from trading if a certain profit, in percentage of either Balance or Equity, is reached for the day.
Wondering if you can help on this too.
Thank you so much!
-
@bogdaiki After you set your daily budget in a "condition" block , you can put the block "terminate". In this way the next day you have to restart the expert with a new target

or better:

-
hi i want create Buy Stop and Sell Stop with timers....and my problem is buy stop and sell stop is open with my set time but the buy stop and sell stop is to many appears i just want one buy stop and one sell stop on that time i set.....pls advice
-
Can you please share your project?