This looks wonderful and I would like to explore more however ex4 gobbled whole of my MT4 and hangs most of the time. Is it possible to share the calculation/logic/mq4 to optimize it to be a well-performing script?