Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding properties to Stroke Class

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

    Adding properties to Stroke Class

    Hello

    I am creating an indicator and I'd like to replicate your stroke class from your Order Flow Volume Profile indicator.

    I have included an image of the Visible and Label properties.

    Can you guide me how to implement these properties.

    Thank you

    Attached Files

    #2
    Hello blar58,

    This would require advanced custom C# code and would be outside of what is directly supported by NinjaTrader support.

    There can be limitations using advanced C# concepts, in NinjaScript, so your mileage may vary. As of now, we do not have any examples that can be used to navigate that path.

    That said, have you created a new class that inherits from Stroke that adds these public bool properties?
    Are you getting errors or unexpected behavior?
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X