Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reading anchor points for manually drawn Drawing Tool in a script

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

    Reading anchor points for manually drawn Drawing Tool in a script

    Hi, I'd like to draw a bunch of "Path" drawing tools on a chart and then read the price+time values of those anchor points in a script.
    Is there a way to achieve this ? Any pointers re: this would be greatly appreciated.
    thx

    #2
    HI buylosellhi,

    Thanks for your post.

    See the DrawObjects collection here. The example in the header titled "Looping through the collection to find specific draw objects" is what you would be looking for.

    Also see this example that finds all Horizontal lines on a chart and labels them with a price, a good demonstration of accessing a drawing tools anchors:

    This indicator will read the horizontal lines that you have applied to a chart and display the price at which that line sits.


    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Please let me know if I can assist further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    636 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    568 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X