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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    156 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    140 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X