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 StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,967 views
        3 likes
        Last Post jhudas88  
        Started by rbeckmann05, Today, 06:48 PM
        0 responses
        4 views
        0 likes
        Last Post rbeckmann05  
        Started by rhyminkevin, Today, 04:58 PM
        4 responses
        55 views
        0 likes
        Last Post dp8282
        by dp8282
         
        Started by iceman2018, Today, 05:07 PM
        0 responses
        6 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        8 views
        0 likes
        Last Post lightsun47  
        Working...
        X