Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot Brush width minimum?

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

    Plot Brush width minimum?

    Hi

    I would like to see the Indicators Properties dialogue allow smaller width values for plots.

    The attached simple indicator plots dots on candles that have bodies less than 50% of the range. However, the Indicators Properties dialogue forces a minimum width of 1 px, which overrides the default and makes dots that are too large (much bigger than 1 pixel).

    If I put the "AddPlot(...)" line in State==State.Configure, I can set it to 0.5. It's a better size, but then it does not appear in the Indicators Properties dialogue, preventing the user from changing the width or colour.

    Cheers
    Tony
    Attached Files

    #2
    Hello,

    Thank you for providing the sample of this.

    I will submit this item as a feature request including your sample to development for further review.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks, Jesse

      A little more on this...

      I tried AddPlot() in State.Defaults, where it belongs, then within State.Configure...
      Plots[0].Width = 0.5f;
      However, the dot width remains unchanged for values less than 1.0f.
      Plots[0].Brush = Brushes.Black; works fine, but not Width.

      I think this is more of a bug than a request for additional functionality. It seems there is a lower limit to the size of a dot that is effective only some of the time. If the plot is added in State.Configure (where it shouldn't be) the dots can be set smaller than 1.0f.

      Incidentally, a dot of width 1 px (1.0f) is much larger than a line of width 1 px. Perhaps the width is the dot radius, but I think a 1 px dot should be similar in size to a line of width 1 px.

      I've attached the indicator again to show my usage of Plots[0].Width = 0.5f;

      Cheers
      Tony

      Edit: I've added a simpler indicator to better show the limit NT imposes on dot size.
      Attached Files
      Last edited by Jellybean; 10-18-2015, 04:11 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by philmg, Today, 01:17 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by cre8able, Today, 01:01 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by manitshah915, Today, 12:59 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by ursavent, Today, 12:54 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Mizzouman1, Today, 07:35 AM
      4 responses
      18 views
      0 likes
      Last Post Mizzouman1  
      Working...
      X