Programming for Intrabar Exit

Hi,

Hopefully someone has come across this problem and already solved it. I looked at previous posts but could not find anything

Sometimes for Intraday scenario, we exit as soon as stop or target is hit. When running backtest, Amibroker is using candle close for close price. How can we get it to use the coverprice that I want since I would be having a stop for an intraday trade and unless something drastic happens, I should get a price around that.

Check out Applystop
https://www.amibroker.com/guide/afl/applystop.html
http://www.amibroker.com/kb/index.php?s=applystop

Thanks for the suggestion. I can see that the cover is getting invoked but the price in backtest still does not show the exact stop point. Does something need to be explicitly done for that?

Found the Amibroker setting for this (Active Stops Immediately in Settings). Thanks