Price crosses line, help please
-
Hello everyone, I have a question that maybe you can help me solve.
I have created certain conditions, which when produced draw a line (draw line)
I would like to establish a condition, in which, once the price crosses that line (draw line), enter an order.
I have reviewed all the options but cannot find the way to do it.
Thanks in advance.
-
Try this:

Don't forget to identify correctly the name of the object. Otherwise it will not work.
-
@l-andorrà hii, I have tried this but while backtesting on visual mode, when I place a horizontal line, it's not placing any trade. I have also checked the name of line , but still not working.
-
@gurpals Can you please share teh link to your project?