Variable lines
-
Hello folks,
I have created lines to turn on or off various blocks when the price is exceeded. Is there any way to move the lines in the chart to change the value at the same time? I just don't want to enter the line values in the robot settings manually but would just like to drag the ON/OFF line on the chart. thanks a lot

-
Yes, you need to use variables instead of Constants. However, do you really need visual lines on the chart. You can store the price value into a variable and make things easier.
-
@l-andorrà Thank you for your response. Have you an Idea if there is some kind of manual or advice here about some similar issue which may be helpful with variables?
-
Instead of creating a line to save the price into a variable, you can then use this variable to display a line
-
@jstap Thanks mate, but I have no experiences with variable for now so I have to study and test and test and someday, maybe, I will figure it out. Is some kind of manual for variables in ur Book?
-
No, but in the upper left, you have the variables tab, they are double (what you need) as standard, instead of drawing line save the current candle 0 close into the variable using a modify block. In a separate tree you can draw the line using this variable, to make sure it is working as needed.
-
@jstap Many thanks my friend, that is what I call an advice. I will try and try and try till the end
