Understanding Heikin Ashi Lines: A Clearer View for MetaTrader 5 Traders

Mike 2023.12.11 00:20 32 0 0
Attachments

As traders, we’ve all dabbled with Heikin Ashi charts at some point. They definitely make things cleaner, reducing noise and highlighting trends much better than traditional candlestick charts.

However, there’s a catch: they can obscure the actual bar or candle values, especially the closing prices. The Heikin Ashi close price is essentially an average, referred to as the 'total price,' while the open price is derived from a moving average of those close prices.

So, why not take a different approach and display this information as two separate lines?

That’s exactly what this indicator does! With it, you can still view the true bar or candle values clearly. The dotted line represents the open price, while the solid line shows the close price.

Just a heads up: by default, the line color is set to Gray, which can feel a bit drab. Feel free to customize the color to suit your style – Yellow pops nicely against a dark background, and Blue looks sharp on a white one.

This code employs conditional compilation, so it’ll work seamlessly on both MQL4 and MQL5. Plus, all my CodeBase publications are now accessible under the 'Public Projects' tab in MetaEditor, listed as 'FMIC.'


List
Comments 0