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().

    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.

        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...

          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()

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              556 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              324 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              545 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              547 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X