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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
599 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
345 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
558 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment