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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
41 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment