Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars.BarsSinceNewTradingDay technical info?

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

    Bars.BarsSinceNewTradingDay technical info?

    Hi All,

    I was very frustrated while trying to use Bars.BarsSinceNewTradingDay. I did not see in the Help guide where it says you must have checked the Data Series "Break at EOD". I figured it out after a couple of hours. Stupid me; I am a newbie at this. It would be great to add this to the Guide. Alternatively could Bars.BarsSinceNewTradingDay simply use the trading hours template and reset not requiring "Break at EOD" being set?

    only my second post.

    thanks

    #2
    Hello MartinT,

    Thanks for your post.

    Break at EOD determines if a tick based bar would break and start forming a new bar when the Trading Hours templates EOD gets reached.

    Break at EOD - https://ninjatrader.com/support/foru...9-break-at-eod

    Bars.BarsSinceNewTradingDay will follow the Trading Hours template.

    I have a provided a video demonstration printing out Bars.BarsSinceNewTradingDay to flush this out.

    Demo - https://drive.google.com/file/d/1dTt...w?usp=drivesdk

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment


      #3
      Hi Jim,

      Thank you for your response. My trouble was that Bars.BarsSinceNewTradingDay returned "0" with Break at EOD unchecked. Your response and the videos do not really make this clear to me. Or maybe it is not suppose to return "0" when Break at EOD unchecked. It would be nice if the guide stated the requirement. Either way I have it figured out for now.


      thank you,

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Stanfillirenfro, Today, 07:23 AM
      4 responses
      18 views
      0 likes
      Last Post Stanfillirenfro  
      Started by DayTradingDEMON, Today, 09:28 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      8 responses
      31 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by helpwanted, Today, 03:06 AM
      2 responses
      22 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by navyguy06, Today, 09:28 AM
      0 responses
      6 views
      0 likes
      Last Post navyguy06  
      Working...
      X