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:

    https://ninjatrader.com/support/help..._rendering.htm


    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 futureszone, Today, 02:26 PM
    0 responses
    2 views
    0 likes
    Last Post futureszone  
    Started by ttodua, Today, 01:39 PM
    0 responses
    3 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Started by carnitron, Today, 10:45 AM
    2 responses
    35 views
    0 likes
    Last Post carnitron  
    Started by dtaylor, Today, 01:13 PM
    0 responses
    6 views
    0 likes
    Last Post dtaylor
    by dtaylor
     
    Started by advgal, Today, 09:25 AM
    1 response
    17 views
    0 likes
    Last Post Soup Kitchen Jim  
    Working...
    X