Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hello. How do we change the smoothing of the ADX? Other packages like Esignal, Ameritrade StrategyDesk, Stockcharts.com, etc allow us to change 2 variables: length, and smoothing of the ADX. However, the ADX on Tradestation/Multicharts only allow us to input 1 variable, the length. How do are we able to change the smoothing?
On Esignal for example, ADX of 14 w/ no smoothing would be a setting of (14,14). An ADX of 10 would be (10,10)etc. If you want to change it to 12 days and 9 smoothing it would be (12,9). Since TS/MC doesn't give you an area to change the smoothing how do we do it?
Here are some reference links I reserached to help illustrate:
Thanks for helping. I just tested it, but I guess it's not the correct formula. I'm not sure what the actual smoothing code is, but one way to test it, is to compare it against the standard ADX.
In theory, 14 periods, and 14 smoothing (14,14) should = the standard ADX.
If we look at the daily SPY chart, today (Aug 18), the standard ADX closed at 16.73. When I inputed 14,14 on the new code created, I got 15.96. Obviously not a big difference on this scale, but if I changed to a 5 minute chart on say 3 periods chart on a more volatile instrument, the difference would be huge.
Since I'm not a programmer I guess I don't know how to find the code for smoothing. Perhaps an Exponential MA? But I'm not sure.
The links I mentioned earlier hopefully would give an idea of what it's "supposed" to look like?
Again more assistance would be appreciated.
I just played around w/ the code you put, and wanted to give a little feedback. On the other software packages, if you put the same smoothing #, you get the standard ADX. For instance, (14,14) on Esignal you get the standard ADX(14). So basically, you increase or decrease smoothing from there.
On the code you wrote, (14,1) = the standard ADX. I don't know what the relationship codewise is, but can it be turned around where (14,14) = the standard ADX? Then I can add or subtract the smoothing from there to match studies I am working on.
I found the formula to implement the smoothing. Apparently it's not just a simple moving average. If anyone could be so kind as to help me code it, since I'm not a programmer.
This is the formula for the ADX. Notice, there are 2 variables, that can be input:
i: the length (this is something that standard TS and MC can be entered)
n: the smoothing. This is the variable that I wanted to put in that some software allows, but TS and MC's ADX's indicator formula doesn't give a place to enter.
Is there anyone that can code this that can allow both variables to be input? i and n? The standard ADX only allows i.