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 cre8able, Today, 01:16 PM
    2 responses
    9 views
    0 likes
    Last Post cre8able  
    Started by chbruno, 04-24-2024, 04:10 PM
    3 responses
    48 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by samish18, Today, 01:01 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by WHICKED, Today, 12:56 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by WHICKED, Today, 12:45 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X