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 kevinenergy, 02-17-2023, 12:42 PM
      118 responses
      2,778 views
      1 like
      Last Post kevinenergy  
      Started by briansaul, Today, 05:31 AM
      0 responses
      9 views
      0 likes
      Last Post briansaul  
      Started by traderqz, Yesterday, 12:06 AM
      11 responses
      28 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by PaulMohn, Today, 03:49 AM
      0 responses
      8 views
      0 likes
      Last Post PaulMohn  
      Started by inanazsocial, Today, 01:15 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jason  
      Working...
      X