Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible to dynamically code which panel an indicator is shown?

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

    Possible to dynamically code which panel an indicator is shown?

    Hello,

    I want to make an indicator display in the price panel by code or a new/set panel. I only need to do so once when the indicator starts (I'll have a checkbox in the indicator properties how it will display).

    Is that possible, if so, is there a code example?

    Many Thanks, Caesar.

    #2
    Hello, thanks for writing in. This was discussed here with an example of how to set a specific panel for an indicator added through a strategy that calls AddChartIndicator:


    For just an indicator, The IsOverlay property must be set from State.SetDefaults, so unfortunately this can not be dynamically changed.

    Comment


      #3
      Many Thanks Chris! I didn't see that in the search.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      80 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X