Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displacing time bars

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

    Displacing time bars

    Hi guys

    I have a simple strategy:

    Code:
    if (Close[0] > Open[0])
    {BackColor = Color.Aquamarine;}
    which works fine giving background color for when the condition applies.

    However, what I would like to have - if this is possible - is to have two panels on the same chart, each with the same instrument and timeframe, but with one panel with a strategy (as above) and the other with the same strategy but with the colors displaced by 1 minute (say) using I would think bars ago in the condition builder.

    The problem is that if I try to put the same instrument with the same timeframe in another panel, the system won't allow this.

    Is there any way round this?

    Thanks for any advice on this.

    #2
    Hello,

    Unfortunately you cannot put two data series of the same instruments and time frame in the same chart.

    You will need to run this from two separate charts.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X