Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to disable info message on chart?

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

    How to disable info message on chart?

    Hi - I'm occasionally getting the following message splattered across the middle of a chart:


    The prior close detected by the xxx indicator is not within the range of the selected session.



    I'm not in a position to 'fix' the code. However, the chart works fine for what I need, so I just need a way to suppress this message.

    Ideas???

    #2
    Hello AMATX,

    Thanks for your post.

    I am not aware of any means to suppress error messages.

    Can you provide a screenshot of the chart displaying the error?

    Comment


      #3
      Click image for larger version  Name:	ErrorMsg.jpg Views:	1 Size:	145.1 KB ID:	1062330

      Here you go. I removed bars/levels/etc. to better show the message. A bit distracting, but doesn't get in the way too much of what I really need, which is the most current few bars on the far right of the chart. Also, this doesn't show on all days, so my best guess is I'm getting some sort of out of bounds data calculation. But, as mentioned above, I'm just interested in suppressing the message, not dinking around with the code.
      Last edited by AMATX; 06-29-2019, 06:59 AM.

      Comment


        #4
        Hello AMATX,

        Thanks for your reply.

        If this is a custom indicator you would need to change the code to suppress any message. It would likely be drawn with Draw.TextFixed placing it in the center of the chart.

        Does it help if you add more days to load in the charts data series?
        Does it help if you change trading hours sessions?



        Comment


          #5
          Adding more days for a longer look back doesn't help. I want to stay with regular trading hours, so not gonna fudge with session times.

          I'll look into the Draw.TextFixed thing.

          Thx.

          Comment


            #6
            I got it fixed. Good to go now...

            Thanks for your help.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            558 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