Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last Bars of a chart

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

  • jriverac
    replied
    Found the way, thanks

    Juan

    Leave a comment:


  • koganam
    replied
    Originally posted by jriverac View Post
    Hello

    How can I detect the last bar of a chart?
    I though about CurrentBar==Bars.Count but it does not work.

    How can I detect the last closed bar?

    Thanks

    JUan
    Take a gander at my responses in this thread, and see if it helps.

    http://www.ninjatrader.com/support/f...lastbarpainted

    Leave a comment:


  • sledge
    replied
    Originally posted by jriverac View Post
    Hello

    How can I detect the last bar of a chart?
    I though about CurrentBar==Bars.Count but it does not work.

    How can I detect the last closed bar?

    Thanks

    JUan
    Can you give some more context? These questions are confusing.

    Are you trying to avoid historical data?

    search help for Historical to avoid historical, then all your bars will be current.

    Leave a comment:


  • jriverac
    started a topic Last Bars of a chart

    Last Bars of a chart

    Hello

    How can I detect the last bar of a chart?
    I though about CurrentBar==Bars.Count but it does not work.

    How can I detect the last closed bar?

    Thanks

    JUan

Latest Posts

Collapse

Topics Statistics Last Post
Started by DTSSTS, Today, 06:53 AM
1 response
2 views
0 likes
Last Post NinjaTrader_Jim  
Started by lightsun47, Yesterday, 07:17 PM
1 response
5 views
0 likes
Last Post NinjaTrader_ChristopherS  
Started by ezrollin, Yesterday, 10:38 PM
3 responses
7 views
0 likes
Last Post NinjaTrader_PaulH  
Started by janio973, Today, 04:17 AM
0 responses
16 views
0 likes
Last Post janio973  
Started by awa485, Yesterday, 05:08 PM
1 response
10 views
0 likes
Last Post NinjaTrader_ShawnB  
Working...
X