Good morning, I'm trying to create a very simple Scritpt or EA and I can't get it. I need that when dragging it to the chart, it opens a pending trade in the price of a horizontal line that I will have previously drawn. I tried it with pending order on the object price of the chart and it doesn't open the trade for me. Can someone help me?
Thank you very much.