modify color
-
Hello, I have a number of lines on the chart in 4 different colors, I found them using the circle and saved the price of each in a variable. I want to change the color of each line when the price reaches, and save the price of the next line in the same color, but the last part does not work, can anyone help me?
-
Not sure I get the idea. Are those lines supposed to be fixed? Are they deleted?
-
@l-andorrà said in modify color:
Not sure I get the idea. Are those lines supposed to be fixed? Are they deleted?
I prefer them to be deleted
-
Then why do they need to be changed colour?
-
Suppose that when the price reaches the first red line, the sell trade is done with the stop loss of the yellow line, and after that these two lines are deleted or changed color so that the loop can find the next lines. and trade buy is opened for the green lines with the loss limit. blue line
-
Then I strongly recommend to delete the lines instead of changing any colour. That would make it far easier. Working with price levels in variables is far easier.
-
@l-andorrà
My problem is that when, for example, I give the command to delete the red line in the loop, the green line is deleted or its color changes . or the red line closest to the price is not removed
