Per request - I have attached the modified indicator. To make the fix I used the default HeikenAshi indicator code that comes with the MT4 platform. I added 1 line of code to convert the HA algorithm to the APB algorithm. They are very similar, but ...