Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displaying indicator on selected panel

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

    Displaying indicator on selected panel

    I tried to plot the following:
    protectedoverridevoid Initialize()
    {
    Add(EMA(StochRSI(Close,15) ,6));

    CalculateOnBarClose = false;
    }

    when I load this strategy onto a chart, the indicator is forced into the price panel which creates a problem with scalling...
    How can I force this to be plotted on a separate panel ... i.e. 2 or 3?

    Any help will be much appreciated.

    #2
    See the following post for some guidance in this area.

    RayNinjaTrader Customer Service

    Comment


      #3
      Assign Indicator to Specific Panel

      so from the above entries I attempted the following:
      protectedoverridevoid Initialize()
      {
      EMA(StochRSI(Close,15) ,6).panel = 2
      Add(EMA(StochRSI(Close,15) ,6));

      CalculateOnBarClose = false;
      }

      The result: "Error Generating Strategy" :
      Did not like this : EMA(StochRSI(Close,15) ,6).panel = 2

      what am I doing wrong?

      Comment


        #4
        "Panel" needs to be with a capital "P" is likely the problem.
        RayNinjaTrader Customer Service

        Comment


          #5
          Excellent that was the problem ... The Strategy compiles and runs fine. Thx!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          648 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          108 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          572 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          574 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X