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.

    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 kevinenergy, 02-17-2023, 12:42 PM
117 responses
2,766 views
1 like
Last Post jculp
by jculp
 
Started by Mongo, Today, 11:05 AM
5 responses
15 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by traderqz, Today, 12:06 AM
8 responses
16 views
0 likes
Last Post traderqz  
Started by SightCareAubetter, Today, 12:50 PM
0 responses
2 views
0 likes
Last Post SightCareAubetter  
Started by Skifree, Today, 03:41 AM
5 responses
14 views
0 likes
Last Post Skifree
by Skifree
 
Working...
X