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:	106
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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      156 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      90 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      140 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      130 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      107 views
      0 likes
      Last Post CarlTrading  
      Working...
      X