• Sign up >>

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Views:
1024
Rating:
votes: 6
Published:
2018.07.09 13:21
haOpen.mq5 (6.73 KB)view

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 Software Corp.
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.