Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Want to make an indicator NON selectable on the chart

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

    Want to make an indicator NON selectable on the chart

    If you click on say an EMA line little dots appear to tell you it's in focus.
    Is it possible to NOT have this behaviour on selected indicators.
    I looked at IsInHitTest but I can't seem to get it to work.
    Code compiles and runs but I can still grab the Swing lines

    Attached Files

    #2
    Hello Mindset,

    Thank you for your note.

    Unfortunately, this is not a feature at this time - there's no supported method to make plots nonselectable.

    You could choose to use custom rendering using SharpDX for the lines instead of plots, and those custom rendered lines would not be selectable. I'd recommend taking a look at the built in Sample Custom Render indicator for a pretty in depth example, as well as this section of our help guide:




    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X