I All,
i want to create a simple stop loss system based on 2xATR. But i want the stop-system start to trigger only when the closing price goes under the price i bought.
Please read the manual: http://www.amibroker.com/guide/h_backtest.html
it contains the code for ATR chandelier stop. What you are asking for is the same but you need to change stop type from trailing to MaxLoss and use ExitAtStop = False.