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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    68 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    42 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    54 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X