Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Line Color Style & Width as Input Parameter

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

    Line Color Style & Width as Input Parameter

    I am working on a indicator which find trends, where I use few different DrawLine(...) commands to handle drawing of different parts of trends.

    I would like to allow to set the different lines color/style/width as input parameters, much like the plot is doing.

    I found a post about setting the color: http://www.ninjatrader.com/support/f...ad.php?t=44334

    I also found one about LineStyle http://www.ninjatrader.com/support/f...light=drawline

    I wonder if there is a way to create these 3 parameters as a structure.

    Thanks.

    #2
    Shai Samuel, unfortunately creating such an all encompassing property like the Plots would offer is not supported via our NinjaScript. I would therefore suggest to maybe line those 3 up in a custom category to order better for now?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    166 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    320 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