Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawOnPricePanel

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

    DrawOnPricePanel

    Hello,
    I have in the script {Draw.VerticalLine(this, "stratstart",0, Brushes.Black, DashStyleHelper.Dot,2,false);
    but it plots the vertical line in the price panel with bars and not below pricepanel in panel2. Why, when I set to false?

    Thank you!
    Tony
    Last edited by tonynt; 07-23-2024, 08:06 AM. Reason: Translation error

    #2
    Hello tonynt,

    Thank you for your post.

    Do you have DrawOnPricePanel set to true in State.SetDefaults?



    If so, this should be set to false.

    Comment


      #3
      Hello,

      thank you for your reply. I dont have this in State.Set Defaults. Do I have to add it with true or false?
      But what occurs then with the other drawings I have in the chart eg diamonds at high or low, will they then also be in panel2?

      Thank you!
      Tony
      Last edited by tonynt; 07-23-2024, 10:57 AM.

      Comment


        #4
        Hello tonynt,

        No, it is not necessary if you have some drawing objects that you want plotted on the price panel and some not. It can be left set to true in this case.

        When I set drawOnPricePanel to false in the Draw.VerticalLine() call, I am seeing it be drawn in a separate panel.

        Please see the attached sample script.
        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X