PDA

View Full Version : Add EMA to ADX


IceRage
05-24-2009, 07:13 AM
Hi,

id like to know about adding an EMA/SMA or whatever, to a panel displayed an ADX or so. I havent found a way to do this, yet.

NinjaTrader_Bertrand
05-24-2009, 07:29 AM
IceRage, for this you would need custom coding - please take a look at this snippet below -
double emaAdx = EMA(ADX(Median, 14), 14)[0];

For our indicator coding tutorials, please check this link -

http://www.ninjatrader-support.com/HelpGuideV6/Overview18.html

IceRage
05-24-2009, 07:31 AM
Ah ok, many Thanks ;-) ill have a look for