Hello does anyone know how to transpose this code from Metatrader 4 to PRT. Its for an ATR indicator which moves dynamically giving upper and lower daily limits, please see attached photo. Attached is the MT4 Code Thanks in advance Joe