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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X