Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawObject in Panel 2

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

    DrawObject in Panel 2

    Hello,
    In my stratagy I would like to plot an Diamond on an SMA that is in Panel 2 instead of Panel 1 (Price Panel):
    DrawDiamond("Up Diamond" + CurrentBar, 0, SMA(20)[0], Color.Blue); only works in Panel 1.

    I know that in an Indicator you would just use the
    DrawOnPricePanel =
    false; then select Panel 2.
    But in a strategy it looks like everything wants to plots in Panel 1


    How can I make this DrawDiamond plot on an SMA in Panel 2?

    Thanks

    #2
    Hi dwalls,

    Thanks for posting!

    All drawing objects from a strategy are drawn directly on the price panel.

    Drawing them to a different panel is not supported.

    So you may want to use an indicator to supplement your strategy for drawing purposes.

    Have a great day!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    599 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    344 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    557 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X