Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why does draw paint only the main panel

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

    why does draw paint only the main panel

    I have a indicator that does drawtext functionality. in my chart, i configured the indicator to show in new panel instead of overlay. however the paint is still showing in the main price panel. how do i force the draw.text to paint in the panel that the indicator is running.

    Draw.Text(this, "crossbelow" +CurrentBar, "look for short" , 1, High[1]);


    #2
    Hello junkone,

    Thank you for the question.

    Drawing objects are seperate from Plots, currently any Plots would be in panel 1 but drawing objects would be in panel 0.

    To correct this, you would need to change the DrawOnPricePanel property so the Objects follow the indicator panel instead.

    protected override void Initialize()
    {
    DrawOnPricePanel = false;
    }



    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, Yesterday, 10:06 AM
    0 responses
    21 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    18 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    40 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X