Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overlay description in Help manual

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

    Overlay description in Help manual

    Definition
    If true, any indicator plot(s) are drawn on the chart panel over top of price.

    Property Value
    This property returns true if any indicator plot(s) are drawn on the chart panel; otherwise, false. Default set to true.


    FYI - The statement in red is incorrect. Printing Overlay to the Output window always returns False.

    #2
    Zac, I don't follow you - from where are you printing it? It would entirely depend on what you've set it to in the Initialize().
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Not that it matters, but I was trying to use this in a custom Stochastic ind.

      In Initialize() Overlay is not set.

      In OnStartUp() i have
      Print("Overlay = "+ Overlay);

      In the Indicator Window:
      If I set the ind. to plot on panel 2(not data series panel), Overlay returns False, which agrees with Help manual

      If I set the ind. to plot on the data series panel, Overlay returns False, which disagrees with Help manual

      The Help manual says "This property returns true if any indicator plot(s) are drawn on the chart panel"

      Comment


        #4
        I could reproduce but I'm not sure if that's in the supported usage boundaries - I'll clarify with our developers.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          The outcome you get here is unfortunately expected, to check which panel you're on you could work with the unsupported Panel / PanelUI properties.

          Panel = your first panel is 0, second would be 1 and so on...
          PanelUI = your first panel is 1, second would be 2 and so on...
          BertrandNinjaTrader Customer Service

          Comment


            #6
            Thanks for looking into this. Please note that the purpose of my post is to notify NT that the Help manual is incorrect as written. I suggest it be updated with the clarity it needs.

            Have a good one.

            Comment


              #7
              You're welcome - the help manual is correctly written - if you set Overlay as needed / documented in Initialize()
              BertrandNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Max238, Today, 01:28 AM
              2 responses
              26 views
              0 likes
              Last Post NinjaTrader_ChristopherJ  
              Started by Shansen, 08-30-2019, 10:18 PM
              25 responses
              949 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by JonesJoker, 04-22-2024, 12:23 PM
              8 responses
              41 views
              0 likes
              Last Post JonesJoker  
              Started by timko, Today, 06:45 AM
              0 responses
              4 views
              0 likes
              Last Post timko
              by timko
               
              Started by Waxavi, 04-19-2024, 02:10 AM
              2 responses
              39 views
              0 likes
              Last Post poeds
              by poeds
               
              Working...
              X