Moving two objects
-
Hi everyone
I made a button that draws two horizontal lines on the chart one for SL and the other for TP
If I move SL, what should I do to make the TP line move by the same amount immediately? -
@Robo84 You need to do this in the 'on trade' tab:

-
@l-andorrà
Thanks for your reply
I mean before opening the position, I have two lines on the chart, the red line is SL and the green line is TP And these are based on the ratio of risk to reward, which are placed on the chart by pressing a button
But when I move the red line, the green line stays the same
I want the green line to change according to the change made by the red line so that my risk to reward ratio remains the sameThank you!

-
That's faro more complex to do. Will those lines be moved manually only?
-
@l-andorrà Thanks, I fixed it

-
You're welcome.
-
@Robo84 Could You please tell me how you did that. I want in my EA also similar thing that I put a SL line but the TP line auto adjusts according to the RRR I pre assign in input and hence my trades can have a SL and TP according to it.