Pending orders EA
-
Good after noon colleagues,
I tried to create an expert advisor which generates pending orders away from the opening daily price
i added the block of trailing stop it works only for sell orders not for buy onesthis is the link of the project shared/ZwphzhxAd
if any one can find the problem i will be thankful
Also if there is any comment on trailing block settingappreciate your support & feedback
best regards
Ahmad Salem -
@a-salem said in Pending orders EA:
shared/ZwphzhxAd
Your current structure wil create more than one pending order. I guess you just need one of them per day. Right? If so you should add a 'No trade/pending order' block instead of that 'No trade' block.
-
@l-andorrà Thank you for your feedback & advice will be noted,
In fact this is not a problem for me to open more than pending order per day
but the main issue is that trailing working only with sell orders.Appreciate your support & feedback
best regards
Ahmad Salem -
@a-salem That is because the is a 'no trade' block that is used for buys and sells. You need to duplicate one 'no trade' block for buys only and another one for sells only.
-
https://fxdreema.com/shared/sp80lom3c try that ?