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 wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          26 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, Yesterday, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          192 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,235 views
          0 likes
          Last Post xiinteractive  
          Working...
          X