Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

drawing from a strategy on data series [1]

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

    drawing from a strategy on data series [1]

    I have a strategy with two time data series 15m, 5m, on the same chart. idx 0 (15m), 1 (m). I want to draw from the strategy some time on data series [0] panel and same time on data series[1] panel. How can I do it ??.
    if (BarsInProgress == 0){if (condition1){//Draw on Upper data series DrawTriangleUp("TpbkH2L" + CurrentBars[0].ToString(),true, 0, Closes[0][0], Color.Violet); }}if (BarsInProgress == 1){ //Draw on Lower data seriesif (condition2){ DrawTriangleUp("TpbkH2L" + CurrentBars[1].ToString(),true, 0, Closes[1][0], Color.Green); }}
    Thanks
    Mike,

    #2
    Hello mflorea,

    Strategies can only be applied to the first data series. Drawing can either be done in the main panel or a secondary panel, but not both. You will need to develop a separate indicator that you can apply to the second series on the chart.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X