Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why plot line is not visible (hidden, not displayed), but value shown in Databox ?

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

    Why plot line is not visible (hidden, not displayed), but value shown in Databox ?

    I am facing a problem: plot is being correctly calculated (correct value) also shown in databox for each bar (when mouseover), however the graph is empty:

    Click image for larger version

Name:	CH3mKgt.png
Views:	166
Size:	43.3 KB
ID:	1056889


    plot color is also ok... what could be the issue?

    #2
    Hello TazoTodua,

    Thanks for your post.

    Are you using OnRender() in your code and if so have you included base.OnRender() ?

    Comment


      #3
      many thanks. actually, i've seen that people use OnRender (without using base.OnRender) , and that shouldnt be a problem... However it was strange, i am now on different location and can't confirm if still happens...

      Comment


        #4
        Hello TazoTodua,

        Thanks for your reply.

        The OnRender() help guide offers this tip:

        "If you are using standard Plots along with custom rendering from an indicator or strategy, you will need to ensure to call the base.OnRender() method for those plots to display."

        Reference: https://ninjatrader.com/support/help.../?onrender.htm

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        43 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        21 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        14 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        20 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X