Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Usability of Indicators

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

    Usability of Indicators

    There is a problem the way NinjaTrader displays the input parameters of an indicator in the upper left corner of a chart.


    Example:

    Let us consider an indicator with two input parameters

    -> an integer: the lookback period ("Lookback", Order = 0 in the Properties section)
    -> a boolean: an interpolation option ("Interpolate", Order = 1 in the Properties section)


    (1) Display of indicator in the indicator dialogue box

    As expected the "Lookback" period is displayed first, the "Interpolate" option comes second.


    (2) Calling the indicator programmatically via NinjaScript

    In the parameter list "Lookback" needs to be listed first, "Interpolate" comes second. I would need to call the indicator as

    MyIndicator(Input, int Lookback, bool Interpolate)

    because "Lookback" has been attributed the order 0, while "Interpolate" has been attributed the order 1.


    (3) Display of indicator in the upper left corner of the chart

    The display of the parameters in the upper left corner of the chart does not take into account the order set under properties! It simply follows an alphabetical order. The indicator is displayed as

    MyIndicator(Input, bool Interpolate, int Lookback)


    Bad Usability

    Why is the order of the input parameters inverted on the chart?

    Anybody who uses an indicator would expect the same order for the parameter list

    - when the indicator dialogue box is open
    - when the indicator is called programmatically
    - when the parameter list is displayed on the chart

    Imagine that you have an indicator with 12 parameters. You want to call it programmatically. You have a chart with the indicator open and set the input parameters according to the parameter list shown on the chart. When you compile, you get a bunch of error messages.

    Conclusion

    The order of parameters displayed on the chart should be the order set under properties. The alphabetical order which is currently used is just confusing.

    #2
    Hello Harry,

    Thank you for your post.

    This has been requested for improvement under the ID SFT-582.

    Please let me know if you have any questions.
    Last edited by NinjaTrader_PatrickH; 06-19-2017, 12:05 PM.

    Comment


      #3
      Patrick,

      Thank you for your answer.

      This is nothing really urgent, just nice to have.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      57 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      20 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      9 views
      0 likes
      Last Post cre8able  
      Working...
      X