Trailing Pending Orders to Object
-
Hi,
How can I trail the pending orders to objects on chart please? I tried many options without result. When I set a parameter to trail the pending order according to pips, it works, but when I set it according to object and give the right name of the object, it doesn't work.... any help please?
-
Hello
A
I am asking how can I make an expert advisor for two moving averages which closes the current position after a recross and opens a new trade accordingly and what is the order of the blocks -
@Jihad-Hamo What do you mean exactly? Do you mean your pending orders need to move at a fixed distance from a moving average maybe?
-
@Creven Can you please open a separate thread for your question? This thread was created by Jihan Hamo for a different question.
-
Hi @l-andorrà,
What exactly I mean is that I need the pending orders to move at a fixed distance from an object on the chart or to the place of the object price level. Here means the objects aren't fixed on the chart and could move from price level to another.
Thanks in advance
-
Is that object providing a price level? That would definitely make it easier. And is that object created manually or via custom indicator?
-
@l-andorrà It was created manually. I don't know how to let the object provide a price level. It's just a drawing shown on the chart.
-
@Jihad-Hamo If your object is a red horizontal line, for example, you can do it this way:
