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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    49 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X