Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.Region() in Sub chart

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

    Draw.Region() in Sub chart

    Is there a trick to getting Draw.Region() code to draw on a sub-chart?
    I have an indicator that uses Draw.Region() to color regions between 2 Series. It works fine when you put it on the Main chart but if you put it in its own panel only the lines are displayed.
    Thanks in advance

    #2
    Hello Zinovate,

    Thank you for your post.

    What change(s) are you making to move it from the "main chart" to its own panel? If possible, please provide screenshots demonstrating the difference you are seeing.
    • To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
    • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.

    I look forward to your reply.

    Comment


      #3
      Originally posted by Zinovate View Post
      Is there a trick to getting Draw.Region() code to draw on a sub-chart?
      I have an indicator that uses Draw.Region() to color regions between 2 Series. It works fine when you put it on the Main chart but if you put it in its own panel only the lines are displayed.
      Thanks in advance
      DrawOnPricePanel = false;
      RJay
      NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

      Comment


        #4
        Thanks, that solved it.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        608 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        355 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X