Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how can I catch the event when a manually drawn line is highlighted (in focus)?

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

    how can I catch the event when a manually drawn line is highlighted (in focus)?

    Hi,

    Additionally, if I right click the line, how can I present the properties defined in my strategy so that the user can change it so as to change the behavior of the trend line in question?

    As always, thank you for your help.

    Cheers,
    Steven

    #2
    Hello Steven,

    Thanks for your post.

    There are no documented or supported NinjaScript methods or properties to detect when a manually drawn line on the chart is highlighted/selected.

    This forum thread will be open for other community members to share their insights on unsupported code to accomplish this.

    You could consider reviewing the sample script on this forum thread. Note that this is not documented/supported code and goes outside of what we would be able to provide support for.
    https://forum.ninjatrader.com/forum/...10#post1188810
    Last edited by NinjaTrader_BrandonH; 12-19-2023, 08:33 AM.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Got it. Thank you, Brandon.

      Stevevn

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X