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:	122
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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      36 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      14 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      19 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      22 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X