Heiken Ashi Indicator

 
Everett007 2015.02.20 06:52 EN

Can anyone help with why the HA indicator does not line up with the price bars when switching from time frame to time frame?  Also can't modify width of bar (3) to stay modified width(5) when switching time frames.  Changed the code from width of 3 to 5 and it defaults back to width of 3 when changing time frames.  Already clicked properties box to allow modify settings but still defaults to width of three. I would appreciate any input.

Chart EURUSD, M15, 2015.02.20 06:14 UTC, Capital Trust Markets, MetaTrader 4, Demo

Reason: