Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Indicator on Panel

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

    Draw Indicator on Panel

    Hello,

    I have created an indicator and wish to have its default value for Panel be "Same as Input Series". I have set Overlay = true; within the Initialize event of the indicator, yet the default value in the window appears as "New Panel" as shown in the attached screenshot..

    Am I missing some setting that would render the default value of Panel to be "Same as input series"?

    I do not want to create a template or save default settings for this indicator as it will be used by others. I want to ensure that it loads on Panel 1 for all users.

    Thank you.
    Attached Files

    #2
    Hello,

    Thank you for the question.

    Have you at any point saved a template for this indicator before making this change? This could be a template causing this, can you check the folder: Documents\NinjaTrader 7\templates\Indicator to see if this item is in the folder?

    I look forward to being of further assistance.

    Comment


      #3
      I had saved a template during the time I was experimenting with settings. Since then, I have deleted ALL templates in ALL template folders. I figured this might be the source of my problem, but deleting the templates did not resolve the issue.

      Comment


        #4
        Hello,

        It seems if there are no templates the change with the code has not been loaded. Just to make sure, the code was recompiled after the change correct? Also have you restarted NinjaTrader since doing this?

        Also if you create a new chart and try the indicator is this the same?

        I look forward to being of further assistance.

        Comment


          #5
          I have complied and restarted NT since deleting the templates.

          I open a new chart, right-click to select Indicators. I choose my new indicator and can immediately see that the default setting for Panel is "New Panel".

          If I change it manually, it updates the chart. I just wonder why I am unable to make "Same as Input Series" be the default value.

          I have also tried forcing the value in my code. The indicator name is ibVolumeLadder and I have added the line: ibVolumeLadder.Panel = 1;. This too has failed to place the indicator on the main series.

          Thank you.

          Comment


            #6
            Hello,

            The Overlay = true should be the only item that is needed to control this,

            Have you tried creating a blank indicator and using overlay = true; to see if the new indicator is listed and if this works?

            Otherwise you could post the indicator and I could import and test it to see if I receive the same result, this would likely help find the problem.

            I look forward to being of further assistance.

            Comment


              #7
              What is the best way for me to send you the indicator?

              Comment


                #8
                Hello,

                You can export the indicator and either upload it with your next post to this thread, or you can email me at platform support @ ninjatrader.com as well. If you email it in please include the link to this post.

                Please see this page for export instructions: http://ninjatrader.com/support/helpG...nt7/export.htm specically the: Exporting NinjaScript Indicators or Strategies as Source Files

                I will try the script to see if I get the same result, if not we can determine why on your end this is not working.

                I look forward to being of further assistance.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                581 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                338 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
                554 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                552 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X