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, 03-31-2026, 09:41 PM
        1 response
        82 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        43 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Working...
        X