Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawExtendedLine how to no the value for a given bar

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

    DrawExtendedLine how to no the value for a given bar

    Hello

    Is it possible to know the value of an extended line created in the past with the instruction DrawExtendedLine, for a given bar ? and how ?

    How can we delete it ?

    How can we change its color ?

    Many thanks in advance

    Lionel

    #2
    There isn't going to be a quick way to get a specific line value if it wasn't the point it was created on.

    You can get or modify the properties of an extended line by storing it in a variable of type IExtendedLine


    I'd recommend looking over this for some more examples on how to modify/check drawing objects: http://www.ninjatrader.com/support/h...rawobjects.htm

    Additionally this is an example script for checking manually draw objects via NinjaScript as this might help you come up with a way to track an individual point: http://www.ninjatrader.com/support/f...tid=-1&lpage=1

    Let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    82 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    43 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    56 views
    0 likes
    Last Post CarlTrading  
    Working...
    X