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

Can overlay = true and false for different parts of indicator?

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

    Can overlay = true and false for different parts of indicator?

    Hi, I would like some of my indicator data to overly the chart and some of my indicator data to appear below the chart. Is this possible in one indicator? If so, how can I do it? Thanks.

    #2
    Hello mfortnow,

    While it is is not possible with one instance of the indicator, you can do this by applying two instances of the same indicator on a single chart. You would then plot the first instance of the indicator in the same panel as the instrument data and then plot the second instance of the indicator within a new panel. Once you have done this, you would set the color of the parts of the indicators thjat you do not wish to see to in the respective panels to, "transparent" on each instance of the indicator.

    Here is how to do this:
    1. Right Click Chart > Indicators > Select Indicator on the left > New
    2. Panel > Same as Input Series
    3. Set any Plot colors you do not want on the instrument data itself to Transparent (top of list)
    4. Select the indicator again from the list on the upper list (this will be your second instance) > New
    5. Panel > New Panel (or 1, 2, 3, etc.)
    6. Set any Plot colors you do not want visible in the panel beneath the instrument data to Transparent (top of list)
    7. Ok

    Help Guide Link: http://www.ninjatrader.com/support/h...indicators.htm



    This should do what you are looking to accomplish.

    Comment


      #3
      Thanks for the answer. I think in that case, it would probably be easier to create two indicators, one accessing the other.

      Comment


        #4
        Hello mfortnow,

        Yes, that may be your best bet in this case as plots for one indicator are only possible in one panel.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        3 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X