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 Shansen, 08-30-2019, 10:18 PM
    24 responses
    942 views
    0 likes
    Last Post spwizard  
    Started by Max238, Today, 01:28 AM
    0 responses
    9 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by rocketman7, Today, 01:00 AM
    0 responses
    4 views
    0 likes
    Last Post rocketman7  
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    28 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    33 views
    0 likes
    Last Post wzgy0920  
    Working...
    X