"fixing" is a bit extensive word maybe. I have fixed the array initialization that was causing problems on startup. What I don't know is if the rest of the code is doing what it is intended to. image
This is an indicator I cannot live without that I coded for Ctrader. The algorithm calculates two ...