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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    90 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    47 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    105 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X