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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        64 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        93 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        48 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        106 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X