MQL4 - automated forex trading   /  

Forum

ADX Indicator

Back to topics list To post a new topic, please log in or register

avatar
8
ForexGeek 2007.10.31 00:30 
I have two questions regarding the ADX indicator:

1. How do I access the values of the ADX indicator that comes with MetaQuotes once it is attached to a chart?

2. What values are used to compute ADX that comes with MetaQuotes?

DI+ iADX(NULL,0,14,PRICE_TYPICAL,MODE_PLUSDI,0)
DI- iADX(NULL,0,14,PRICE_TYPICAL,MODE_MINUSDI,0)
ADX iADX(NULL,0,14,PRICE_TYPICAL,MODE_MAIN,0)

Thanks in advance,

FG
article

Championship Report: Eleventh Week (10-17 December)

The eleventh, the last but one week of the Automated Trading Championship 2006 is over. There are only 5 trading days left to the end of the Championship. The first place is being tightly held by Rich. Tough struggle for the second and the third place is being carried on.


avatar
10
topos35196 2007.11.01 17:47 
I don't think you can access an indicator that way.

T

avatar
2462
phy 2007.11.01 18:00 

"How do I access the values of the ADX indicator that comes with MetaQuotes once it is attached to a chart?"

You don't access an indicator "on the chart", but your code can get values from an indicator two ways:

1. Built In -- as you mentioned, iADX() is an example.

2. Custom Indicator -- use iCustom() function


"What values are used to compute ADX that comes with MetaQuotes?"

What are you asking? The internal calculation?

Back to topics list  

To add comments, please log in or register