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 fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,404 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by Shai Samuel, 07-02-2022, 02:46 PM
          4 responses
          95 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by DJ888, Yesterday, 10:57 PM
          0 responses
          7 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          159 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Yesterday, 09:29 PM
          0 responses
          8 views
          0 likes
          Last Post Belfortbucks  
          Working...
          X