I want to know method of coding multiple exits for BT for amibroker.

For Condition1 exit on next bar open or condition2 exit on next bar open or condition3 exit on next bar open

For condition4 exit immediately,(to be used when stop loss is triggered )

Exits for Sell and Cover are not same.i.e. Exit of buy is not trigger for short.and Exit of Short is not trigger for Buy.

Beside making suitable changes in code to take care of multiple exits,am I supposed to make changes in BT settings too?