#help

  1. R

    Need help adding a line of code in Amibroker

    Hi, I've written a simple set of buy, sell, short and cover rules. I've set a profit target of 4% for both long and short trades. In addition to this, I would like to also add a stop loss of 1.5% and want to exit the trade either at profit or at stop loss, whichever comes first. Can...