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

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?
    Paul H.NinjaTrader Customer Service

    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?



        Paul H.NinjaTrader Customer Service

        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 josh18955, 03-25-2023, 11:16 AM
            6 responses
            435 views
            0 likes
            Last Post Delerium  
            Started by FAQtrader, Today, 03:35 PM
            0 responses
            3 views
            0 likes
            Last Post FAQtrader  
            Started by rocketman7, Today, 09:41 AM
            5 responses
            18 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by frslvr, 04-11-2024, 07:26 AM
            9 responses
            127 views
            1 like
            Last Post caryc123  
            Started by selu72, Today, 02:01 PM
            1 response
            14 views
            0 likes
            Last Post NinjaTrader_Zachary  
            Working...
            X