Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DMI/ADX Indicator
Collapse
X
-
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!!
Comment
-
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.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
164 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
317 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
350 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment