Move horizontal line depending on the given price of ask
-
hi I made a horizontal line in "On Init" and its plotted on ask price, I want it to move +5 pips of the ask price every time the ask price move. What block should I used? i cant find a block that would modify the current object on the chart. thank you
-
create on tick, and just adjust Ask price by +5 pips this way it will constantly be 5 pips from the ask. On init is done once on EA initialisation, you could create there, then adjust on tick, but I see no point.
-
Thank you, but is theres a way that i can modify a horizontal line parameters?
-
Yes but how do you want this to change?
-
i solved it i used the move block. thanks
