Help. Simple Request on ADX if possible. - EasyLanguage Programming | futures io social day trading
futures io futures trading

Help. Simple Request on ADX if possible.
Updated: Views / Replies:3,978 / 5
Created: by whirl Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools

Help. Simple Request on ADX if possible.

Elite Member
Trading Experience: Intermediate
Platform: multicharts
Posts: 6 since Aug 2010
Thanks: 0 given, 0 received

Help. Simple Request on ADX if possible.

Hello. How do we change the smoothing of the ADX? Other packages like Esignal, Ameritrade StrategyDesk,, 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:

eSignal Forums - ADX (Welles Wilder)
Strategy Desk - Help Center
Investor/RT Tour - ADX (Average Directional Movement)

If anyone out there knows how to add the smoothing input, I would be VERY appreciated.
Thanks in Advance.

Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

Site Administrator
Manta, Ecuador
Trading Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 46,930 since Jun 2009
Thanks: 29,918 given, 86,954 received

Untested, but this should do it.



Length14 ),
Smooth ) ;

var0) ;

var0 Average(ADXLength ), Smooth ) ;

Plot1var0"ADX" ) ;

condition1 var0 var0[1] and var0[1] <= var0[2] ;
condition1 then
"Indicator turning up" )  
var0 var0[1] and var0[1] >= var0[2] ;
"Indicator turning down" ) ;

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Elite Member
Trading Experience: Intermediate
Platform: multicharts
Posts: 6 since Aug 2010
Thanks: 0 given, 0 received

Hi BigMike

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.

Last edited by whirl; August 18th, 2010 at 09:07 PM.
Elite Member
Trading Experience: Intermediate
Platform: multicharts
Posts: 6 since Aug 2010
Thanks: 0 given, 0 received

Hey BigMike,

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.


Elite Member
Trading Experience: Intermediate
Platform: multicharts
Posts: 6 since Aug 2010
Thanks: 0 given, 0 received

Found the Formula to implement the smoothing, coding assistance please

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.

I got the formula from this webpage: Investor/RT Tour - ADX (Average Directional Movement)

ADXi = [(ADX(i-1) * (n - 1)) + DXi] / n
where n = Smoothing Period
DX = [ 100 * ABS( (+DI) - (-DI) ) ] / ( (+DI) + (-DI) )

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.

Much appreciated


futures io > > > > > Help. Simple Request on ADX if possible.
Thread Tools

Upcoming Webinars and Events (4:30PM ET unless noted)

Journal Challenge $1600 in Prizes & Free Journalytix for all participants!


3 Excellent Entries, and How To Automate Them w/Kevin Davey

Feb 21

The Driving Force Behind the Market w/Earn2Trade

Mar 5

TBA w/Stage5 & iSystems

Mar 12

TBA w/John Grady @ No BS Day Trading

Mar 19

Day Trading Oil Futures: Reducing Risk & Increasing Profits w/DTN IQFeed

Mar 26

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jeffs ADX Jeff Castille The Elite Circle 37 December 27th, 2011 11:44 AM
A Simple Programming Request thenckel NinjaTrader Programming 2 December 2nd, 2010 09:34 AM
Point-O and ADX vegasfoster The Elite Circle 2 March 24th, 2010 02:49 PM
ADX benbrooke NinjaTrader Programming 2 November 26th, 2009 05:37 PM
what is adx sharky Traders Hideout 4 June 15th, 2009 05:29 PM

adx, ameritrade, average, code, coding, dow, easylanguage, es, esignal, feedback, how to, indicator, indicators, information, linnsoft, moving average, multicharts, neoticker, spy, strategydesk, tradestation

All times are GMT -4. The time now is 09:03 AM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2019-02-22 in 0.17 seconds with 14 queries on phoenix