Question regarding object on chart
-
I'm making an EA and I'm trying to close the trade once the most recent bar(candle) closes below the horizontal line (created by the EA).
How exactly can I do that?
I would appreciate any help, thank you!!

-
Deleted by A Alireza206n
-
Restored by A Alireza206n
-
@Alireza206n You need the line's name and put it here:

Below the condition block you then connect a 'close trades' block.