PDA

View Full Version : DMI/ADX Indicator


Trader77
05-23-2007, 04:24 AM
Hi, I was wondering if there are any plans to add smoothing to the ADX Indicator, as they have in eSignal allowing a 14,10 setting for example.:)

NinjaTrader_Ray
05-23-2007, 07:51 AM
Hi,

There are currently no plans. You can code your own custom ADX indicator using NinjaScript and include a smoothing factor.

buschkt
01-20-2011, 08:57 AM
Hello, I want to add smoothing to the DM indicator for DI plus and DI minus. I have searched the web and have found a few samples but none that make logic sense. Can you explain how the smoothing works or do you have a code snippet that shows smoothing. I think it uses the SMA or EMA as a factor.
Thanks!!

NinjaTrader_RyanM
01-20-2011, 09:02 AM
Hello buschkt,

With Version 7: You can apply SMA or EMA to an indicator without custom coding. Apply DI plus to your chart and then SMA. For the Input Series selection with your SMA indicator, choose DI plus.

If you'd like to explore custom coding solution, look at the source code for Stochastics which uses smoothing for the D value. Tools > Edit NinjaScript > Indicator > Stochastics.