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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    30 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    286 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    282 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    132 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    90 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X