Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing an indicator visibility from code

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

    Changing an indicator visibility from code

    Hi,

    Is it possible to change the visibility property of an indicator from a script ?

    I would like to create an indicator that would create a button which would change the visibility of another indicator already applied to a chart ?


    Thank you!

    #2
    Hello blar58,

    A strategy could change properties of hosted symbiote scripts called in the strategy that are added to the chart with AddChartIndicator().

    However, this is not available to indicators.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    213 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    129 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    146 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    230 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    192 views
    0 likes
    Last Post CarlTrading  
    Working...
    X