Trailing pending order to last candle + distance
-
Hello Guys,
I have been trying to make Trailing pending order in the sample project to work for hours but I couldn't.
I just want the EA to
- open stop pending order in 1 direction (there are 2 directions in the picture just for a testing purpose but I've tried to use only 1 block either Buy pending order or Sell Pending order already but it is not working)
- For Buy order = Trailing pending order to High of ID1 candle + distance
For Sell order = Trailing pending order to High of ID1 candle + distance
Can you please show me the correct way to do it.
Thank you in advance,Bright

-
@Brightzu You should try this instead:

-
@l-andorrà Thank you very much for your help. I've tried following your advice but the pending order still won't revise.
I tried filling the ? Box in "Adjust Window" on XAUUSD, TF M1 by
- +80 pips
- +80
- 80
- +20 pips
- +20
- 20
which 400 pips is 4 USD in XAUUSD (the Buy pending order opened just fine) and spread is zero.
Which parameter might I set wrong sir
?

-
Try option 1 with no space between 80 and pips, please.
-
@l-andorrà Thank you thank you !!!
It appears that I chose the wrong mode for Candle trailing pending. It works just fine with option 1 after changing from Custom (pips) to Custom (level)

However, please let me ask you another newbie question..... what should I do to make it also trailing the pending order when a distance between your setting (ex: close of last Candle + 8000 pips) is farther than current pending stop order ?

I tried using "once per minute" and once per bar" but it's not working. Or I just need to delete the pending order to be able to do that ?
-
Then you cannot use that block. You should use a specific structure doing that via 'for each pending order' block.
-
@l-andorrà Thank you very much sir, after trial and error I just found that "Slide Order" can solve my little problem.
-
Congrats!
