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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        28 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        183 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        337 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        261 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X