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 Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,789 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X