Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing from script-strategy in different panels

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

    Drawing from script-strategy in different panels

    Hello,

    I want to ask how I can have drawings from a script-strategy (NT7) in panels below price-chart.

    Drawing from conditions in the script work in panel1 of course. But how can one have for different conditions the drawing in panel2 or panel3 (within the same script as drawing on panel1 from other conditions)

    Thank you!
    Tony
    Last edited by tonynt; 09-27-2017, 12:15 PM. Reason: clearifying

    #2
    Hello,

    Thank you for the post.

    This is controlled by the DrawOnPricePanel bool, the objects by default draw on the Price Panel, setting this to False will allow objects to move into the indicators panel. An indicator by nature cannot draw in two separate panels at one time, you can use this bool to delegate if all drawings are in the price panel or indicator panel.



    Please let me know if I may be of further assistance.

    Comment


      #3
      Hello,

      I tried to explain and I wrote to draw from conditions in another panel than price panel in the same script as there are drawings from other conditions in panel 1. From you reply I understand that this is not possible and all drawings from conditions in a script have to be either in panel 1 or in another panel?

      (There are indicators in the forum drawing in panel 1 and in another panel)

      Best
      Tony

      Comment


        #4
        Hello,

        Yes, your understanding is correct, the property would only allow the indicator to delegate drawing to 1 panel at a time. This is an inherited property which defines how the indicator plots overall in regard to the drawing objects specifically.

        Could you provide a link to the item you mentioned? If there is an item that is open source on the forum that does the action you want, you could just review the source for that item to recreate that outcome. In the case where the property is being toggled later from OnBarUpdate, I could not suggest using that approach.

        Please let me know if I may be of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        66 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        142 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        76 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        47 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        51 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X