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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    61 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X