거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
3834
평가:
(7)
게시됨:
2018.07.09 13:29
haDiff.mq5 (9.53 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Indicator Heikin-Ashi Difference calculates and displays as an oscillator the difference between the Open and Close prices of Heikin-Ashi candlesticks, a signal line being added. It can be used in combination with haOpen.

It has two parameters:

  • Signal period - signal line calculation period;
  • Signal Method - signal line calculation method.

Calculation:

HA Difference = (HAClose - HAOpen) / Point
Signal = MA(HA Difference, Period, Method)

where:

HAOpen = (PrevHAOpen + PrevHAClose) / 2.0
HAClose = (Open + High + Low + Close) / 4.0
  • 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 candlestick;
  • MA - moving average with Signal period and Signal Method, based on the value of HA Difference.

Fig 1. Indicator Heikin-Ashi Difference

Fig 1. Indicator Heikin-Ashi Difference


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

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

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/21038

haOpen haOpen

Indicator Heikin-Ashi Open.

Directional_Breakout Directional_Breakout

An indicator of the movement direction and stop.

IDWMA IDWMA

Indicator Inverse Distance Weighted Moving Average.

NMA NMA

Navel MA.