Search results

  1. R

    create a trialing stoploss in Amibroker

    How to write a correct AFL to create a trialing stoploss using the following logic? Can anyone suggest.... stopprice = ltp -5 If buy = 1 If stopprice < stopprice (-1) then sell :confused: