| / | Forum |
|
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 |
|
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. |
|
topos35196
2007.11.01 17:47
I don't think you can access an indicator that way.
T |
|
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? |