_:nb921c128ee8e4d1289cf5fd671be8111xb7
<http://schema.org/text>
"I am not finding exactly what I was looking for here. I am a complete moron when it comes to scripting and have been trying to learn. What I am trying to do is get an exact count of how many bars (candles) there are from the Previous Day's open to just before the Current Day's open and include all pre and post market candles as well. I need this number for a calculation, but since the number of bars in the after hours trading session is changing I need to get a counter that would work on any chart so that it can be referenced for the calculations."
<https://usethinkscript.com/threads/count-trading-days-from-the-current-bar-to-today.870/>