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

Overlay = true and false!

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

    Overlay = true and false!

    I am writing a custom indicator that is a combination of other indicators.

    I need some of the indicator values to overlay price, and some not to overlay price.

    With reference to the Indicator class's Initialize() method, how can I set this up to work? There I only seem to have the option Overlay = false, or Overlay = true.

    Thanks.

    #2
    Hello,

    Unfortunately there is not supported way to do this without manually placing the multiple indicators onto the chart.

    Alternatively you could add the separate indicators to a chart using a strategy but you cannot add() an indicator to an indicator
    Indicators: http://www.ninjatrader.com/support/h...x.html?add.htm
    Strategies: http://www.ninjatrader.com/support/h....html?add2.htm
    Data: http://www.ninjatrader.com/support/h....html?add3.htm

    Please let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Hello,
      Now with introduction of Ninjatrader version 8 is it possible?
      Thanks

      Comment


        #4
        Hello,

        Thank you for the question.

        This would still be the case for indicators specifically, because the overlay property is for that specific indicator it would apply to all plots of that indicator. You can utilize a strategy though to plot in multiple panels though, see the following example: http://ninjatrader.com/support/forum...ead.php?t=6651

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by giulyko00, Yesterday, 12:03 PM
        2 responses
        10 views
        0 likes
        Last Post giulyko00  
        Started by r68cervera, Today, 05:29 AM
        0 responses
        3 views
        0 likes
        Last Post r68cervera  
        Started by geddyisodin, Today, 05:20 AM
        0 responses
        6 views
        0 likes
        Last Post geddyisodin  
        Started by JonesJoker, 04-22-2024, 12:23 PM
        6 responses
        36 views
        0 likes
        Last Post JonesJoker  
        Started by GussJ, 03-04-2020, 03:11 PM
        12 responses
        3,241 views
        0 likes
        Last Post Leafcutter  
        Working...
        X