Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Heikin Ashi Lines - indicator for MetaTrader 5

Views:
4832
Rating:
(6)
Published:
2023.12.10 15:20
Updated:
2023.12.10 15:21
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Probably everyone has put up a Heikin Ashi chart one time or another. It makes it look so much cleaner with less noise and clearer trends.

But there is one major flaw — it hides the true bar/candle values, especially the true closing prices.

The Heikin Ashi close price is simply an applied price called the “total price”, and the Heikin Ashi open is simply a moving average of its close prices.

So, why not just display it as two lines instead?

This is what this indicator does. That way, you can still see the true bar/candle values. The dotted line is the open and the solid is the close.

Please note that by default it will use Gray/Gey as the line colour, which is dull. So use the colour that best suits you, for example Yellow on a black background or Blue on a white background.

The code uses conditional compilation and will compile on both MQL4 and MQL5. Please note that all my CodeBase publications’ source code are now also available in “Public Projects” tab of MetaEditor under the name “FMIC”.



Strategy Checklist Strategy Checklist

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

Martingale Trade Simulator Martingale Trade Simulator

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

Candle Grids Candle Grids

Draw a Rectangle on chart to plot custom grids based on points value on input

MQL5 Programming for Traders – Source Codes from the Book. Part 1 MQL5 Programming for Traders – Source Codes from the Book. Part 1

The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.