Originally Posted by
;
Hello,
This ought to work. All you need to do is:
1: The trendline to be crossed needs to be named breech.
2: Put the term breech in the order remark when placing an order. I included this if you intend to run other trades on precisely the exact same pair. Hence that the script will not interfer with, perhaps, trades placed by an expert, trades put while scalping, or some other transactions. The addition of this remark breech could be removed should you plan to place just one transaction on the pair while the script is running.
I haven't analyzed real time, but it needs to be OK. I do suggest, strongly, attempting it before running it live though.
Attachment 72987
Regards,
lucidlamp