supertrend afl in array

  1. V

    Amibroker Supertrend formula in Array

    I have a supertrend AFL formula in loop can any expert help in converting it into array: function SuperTrend(lenATR, width) { nATR = ATR(lenATR); pAvg = (H+L) / 2; upperBand = pAvg + width * nATR; lowerBand = pAvg - width * nATR; isUpTrend = True; dn = DateNum()...