Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DMIndex Smooth param is hidden in UI. Is that intended?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DMIndex Smooth param is hidden in UI. Is that intended?

    Hi NinjaTrader support,

    The DMIndex indicator's "Smooth" input parameter is hidden in the NinjaTrader user interface via the use of the "[Browsable(false)]" attribute.

    Should the "Smooth" input parameter really be hidden?

    Also, there is a comment above the "Smooth" input parameter in the DMIndex source code that seems to attempt to explain why the input parameter is hidden, but it seems wrong to me. It says the following:

    This property will be removed in future version because it does not affect calculation of DM Index
    But actually the "Smooth" input parameter definitely does change the value of this indicator as programmed by NinjaTrader, Inc., at least, as can be seen in the last line of code in the OnBarUpdate() method of the DMIndex indicator's source code, which reads:

    Code:
    Value[0]        = RSI(rsiPeriod, Smooth)[0];
    In addition to wanting to understand the answer to this, I wanted to make sure that your developers were aware of what seems to me to be a discrepancy between the comment and the code.

    I also noticed that the official help page for this indicator at https://ninjatrader.com/support/help...ex_dmindex.htm makes it sound like "Smooth" input parameter is a normal input parameter, which also makes me wonder why it is hidden in the NinjaTrader user interface.

    Thanks,

    EquityTrader
    Last edited by EquityTrader; 09-12-2024, 01:55 PM.

    #2
    Hello EquityTrader,

    Looks to be an oversight.

    I'll talk with development and see if we can get that browsable false removed.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea B.,

      Thank you for the quick response. If after talking with development you learn something interesting about this, or something that means that it is not a simple oversight, I would really appreciate it if you would post what you learned to this forum thread. If I don't see anything else posted from you on this, I will assume that it really was just a simple oversight like it seems to be to you.

      Thanks again,

      EquityTrader

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      45 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      31 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X