I am trying to write an EA, and I need some help. I want a trade to be closed when it comes back down to touch the 40 EMA (in a long position). I am using daily charts. I need the trade to occur the instant it touches the 40EMA. I do not want to wait for the close.
Close[0], or Low[0] appear to wait until the bar closes in a back test. How can I do this?
Thanks.
Close[0], or Low[0] appear to wait until the bar closes in a back test. How can I do this?
Thanks.