Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Arrow Line Missing Anchor Properties?

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

    Arrow Line Missing Anchor Properties?

    Hello,

    Why aren't the anchor properties public? Am I missing something? Perhaps this was a bug and has been patched in the current version of NT8. The normal lines have the start and end anchors accessible.

    Click image for larger version

Name:	qHxqTe3.png
Views:	109
Size:	26.1 KB
ID:	1214683

    Thanks
    Unsuitable
    NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

    #2
    Hello Unsuitable,

    The Line tools all use the Anchors collection. That wont be in the intellesense because its part of the base line which arrow line inherits from.

    Code:
    ArrowLine l;
    l.Anchors.First()
    Code:
    ArrowLine l;
    foreach(ChartAnchor anchor in l.Anchors)
    {
    }
    You can still use the base line StartAnchor and EndAnchor as well, its just not going to populate in intellesense. Please see the Line drawing objects code if you wanted to see what properties the base Line type has and also what each individual tool has for public properties.

    Comment


      #3
      Hello Jesse,

      I tried entering start anchor and end anchor and it works. I would think since it inherits those properties it would pop up in intellesense. I guess not, thx for the confirmation.
      Unsuitable
      NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      64 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      94 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      48 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      106 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      63 views
      0 likes
      Last Post PaulMohn  
      Working...
      X