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.
    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 kempotrader, Today, 08:56 AM
                    0 responses
                    6 views
                    0 likes
                    Last Post kempotrader  
                    Started by kempotrader, Today, 08:54 AM
                    0 responses
                    4 views
                    0 likes
                    Last Post kempotrader  
                    Started by mmenigma, Today, 08:54 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post mmenigma  
                    Started by halgo_boulder, Today, 08:44 AM
                    0 responses
                    1 view
                    0 likes
                    Last Post halgo_boulder  
                    Started by drewski1980, Today, 08:24 AM
                    0 responses
                    3 views
                    0 likes
                    Last Post drewski1980  
                    Working...
                    X