Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

draw on price panel

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

    draw on price panel

    Hi,

    I would like to add 2 indicators on my strategy chart
    One need to plot on price panel and the other need to plot on indicator panel.

    Please kindly advise how to do. thx !

    #2
    Please see this tip: http://www.ninjatrader-support.com/v...ead.php?t=3228

    You want to use .Panel = 0 for the one you want on the price panel.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      Tried. but seems not working
      My indicator : MySMA(10)

      I add following to initialize section :
      MySMA(10).DrawOnPricePanel=true;
      Add(MySMA(10));

      OR

      MySMA(10).Panel=0;
      Add(MySMA(10));



      But the indicator still plot on a new indicator panel. Please kindly advise. thx !

      Comment


        #4
        The second option should be what you type. It should work as you put it. In your indicator you are using plots correct?
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi,

          I tried again to code in my strategy but NO luck
          if I change to syntax as follows

          MySMA(10).Panel= x; //where x is integer other than zero
          Add(MySMA(10));

          It correctly plot. For example, assume x is 2, it correctly plot on 2nd indicator panel.
          But it just cannot plot on price panel of my strategy chart !!!
          very strange ?! any setting or configuration need to change ?!

          Comment


            #6
            Nope. You will need to be more specific as to how your indicator and strategy are constructed. If you post them up then we can see where exactly it is messing up.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Hi,

              I change the indicator to ccSMAmultiple
              Now, I attached the indicator file (ie ccSMAmultiple.cs)

              I put the following lines to my strategy
              ccSMAmultiple(1).Panel=0;
              Add(ccSMAmultiple(1));

              please kindly advice. thx !
              Attached Files

              Comment


                #8
                Please see here: http://www.ninjatrader-support.com/H...6/Overlay.html

                Comment


                  #9
                  Hi,

                  thx a lot

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  596 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  343 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  103 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  556 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  554 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X