Watch how to download trading robots for free
Find us on Twitter!
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
Views:
3408
Rating:
(6)
Published:
2018.07.09 13:21
haOpen.mq5 (6.73 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator Heikin-Ashi Open displays in a separate window the lines of opening and closing Heikin-Ashi candlesticks.

Intersections of the indicator lines may be signals for opening/closing the positions. It can be used together with indicator haDifference.

The indicator has no configurable options.

Calculation:

HAOpen = (PrevHAOpen + PrevHAClose) / 2.0
HAClose = (Open + High + Low + Close) / 4.0

where:

  • HAClose - Heikin-Ashi candlestick closing price;
  • HAOpen - Heikin-Ashi candlestick opening price;
  • PrevHAClose - closing price of the previous Heikin-Ashi candlestick;
  • PrevHAOpen - opening price of the previous Heikin-Ashi candlesticks.

Fig 1. Indicator Heikin-Ashi Open

Fig 1. Indicator Heikin-Ashi Open

Fig. 2. Indicator Heikin-Ashi Open in combination with Heikin-Ashi Difference

Fig. 2. Indicator Heikin-Ashi Open in combination with Heikin-Ashi Difference

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21037

Directional_Breakout Directional_Breakout

An indicator of the movement direction and stop.

DBB DBB

Indicator Distance from Bollinger Bands.

haDifference haDifference

Indicator Heikin-Ashi Difference.

IDWMA IDWMA

Indicator Inverse Distance Weighted Moving Average.