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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    175 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    91 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    130 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    210 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    186 views
    0 likes
    Last Post CarlTrading  
    Working...
    X