Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to have the oscillator working but not have it print on its panel

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

    How to have the oscillator working but not have it print on its panel

    Hi,

    I have an oscillator which I would like to combine its reading with price patterns but I don't require it to print on its own panel. How would I go about achieving that? I tried under Properties -> Visible. When I deselect "Visible", the arrows I have drawn on the price panel disappear.

    Regards

    Kay Wai

    #2
    Hello Kay,

    You can set IsOverlay to false and this will add the indicator to the input series panel.
    https://ninjatrader.com/support/help.../isoverlay.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      HI Chelsea,

      I had already defaulted IsOverlay to false and DrawOnPricePanel also to false.

      Regards
      Kay Wai

      Comment


        #4
        Hello Kay,

        Was this in State.SetDefaults or State.Configure?

        Have you removed and re-added an instance of the script?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi ChelseaB,

          It's in State.SetDefaults.

          Not sure what you mean by removed and re-added an instance of the script.
          I've attached the script to help.

          Regards
          Kay Wai
          Attached Files

          Comment


            #6
            Hello Kay,

            Open the Strategies window. Select the strategy from the Configured area. Click remove to remove the added instance.

            Find and select the strategy in the Available area, click add to add a new instance.

            The defaults are only pulled when a new instance of the script is added.

            With IsOverlay set to false in the indicator. The indicator added to the chart with AddChartIndicator() will be added to the same panel as the strategy.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Hi ChelseaB,

              I have no strategies coded at this point in time. So, I'm pretty lost with what you are saying above.
              Here is an image of the chart with the TDREI oscillator.

              What I'm trying to achieve is for the yellow arrow to remain in the price chart section but for the TDREI oscillator to run in the background and not occupy any real estate.
              Attached Files

              Comment


                #8
                Hello kaywai,

                This is posted in the Indicator Development section of the forums. Is this an indicator you are developing (programming)?

                Or are you looking for platform technical support?

                You can set the indicator to the same panel as the input series in the Indicators window, and for the plots set the color to Transparent for each plot.

                However, if the code of the indicator is changing the plot colors, this would have to be changed in the code of the script.
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  Hi ChelseaB,

                  I'm in the midst of developing an indicator.

                  Regards

                  Comment


                    #10
                    Hello Kay,

                    A new instance of the indicator is being added directly to the chart and is in the same panel as the input series?

                    In the code of the script you can choose to not add plots, or you can set the plot color to transparent so this does not render.

                    Is this what you are trying to achieve?
                    Chelsea B.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by WalterSkinner, Today, 04:40 PM
                    0 responses
                    6 views
                    0 likes
                    Last Post WalterSkinner  
                    Started by jvanelli, Today, 04:08 PM
                    1 response
                    11 views
                    0 likes
                    Last Post NinjaTrader_Manfred  
                    Started by eleven, Today, 04:05 PM
                    0 responses
                    5 views
                    0 likes
                    Last Post eleven
                    by eleven
                     
                    Started by space_trader, 05-15-2022, 08:14 AM
                    4 responses
                    25 views
                    0 likes
                    Last Post Tasker-182  
                    Started by parkinsonbr, Yesterday, 05:06 PM
                    1 response
                    10 views
                    0 likes
                    Last Post NinjaTrader_ChrisL  
                    Working...
                    X