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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    164 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    318 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    246 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X