how do i create the real macd indicator

Back to topics list To post a new topic, please log in or register
ddock 2009.01.13 08:42

the macd come with mt4 only have 1 line and is useless so i want to create my own, the following rules are what i found from the internet

macd = 12 ema - 26 ema

signal = 9 ema of macd

histogram = macd - signal

can anybody help me to program this macd please, many thanx

EURUSD Pivot Points Analysis - ranging bearish between S1 Pivot and S2 Pivot levels
W1 price is trending between S1 Pivot at 1.1337 and S2 Pivot at 1.0672 with Central Pivot at 1.2665: The price is on bearish ranging between pivot levels at 1.1337 and 1.0672; The price is breaking descending triangle pattern with 1.0807 support level for the bearish to be continuing; If weekly price will break S1 Pivot at 1.
jmca 2009.01.13 19:45 #
I think MT4 comes with the MACD source code. If not Google "MT4 MACD source code" or "MQL4 MACD source code". It might also be in the code base of this site. Also when you google you might find one already built and free that suits your needs.
Back to topics list  

To add comments, please log in or register