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 CarlTrading, Yesterday, 11:51 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, Yesterday, 11:48 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    23 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X