PureBytes Links
Trading Reference Links
|
Hi Moshe,
I'm not entirely sure I understand what you mean by "the ADX is trending." But .
. . if you want to identify directional movement by expressing that the ADX "is
rising" the most basic way to do it would be:
ADX(14) > Ref(ADX(14),-1) -- today's ADX is greater than yesterday's.
There is another aspect to the ADX that bears investigation, though, namely the
level of the ADX. There seems to be a general consensus that an ADX over, say,
30 indicates a stronger trend than lower ADX readings. So you could either
write ADX(14) > 30 -- or not, depending on your objectives. You can stipulate
that both conditions are true by joining them with the word "and."
Also, I have found the following helpful: try using the custom ADX formula
posted on the Metastock website. Wilder wrote the original ADX in such a
fashion that it rounds the readings out to the nearest whole number. The
"regular" canned Metastock ADX does this, while the custom ADX does not. The
non-rounded readings are just a shade more sensitive, which can be helpful.
Are you OK with the use of the Expert tool itself? It shouldn't be too hard to
explain if you're not, and it's pretty well written up in the manual.
Philip
Moshe Shalom wrote:
> Hi,
>
> I am trying to write an expert that is checking in some point if the ADX(14)
> is trending up or down and I really can't find a way to do this. I am new
> in the language and would appreciate any help on this. (BTW, to generalize
> the question I can ask: How do you reference an indicator if it is in it's
> own Inner window? And how can I check it's direction?)
>
> Many thanks in advance,
>
> Moshe Shalom
> Israel
|