Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

New Bar Open

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

    New Bar Open

    Is there a good way to call on the opening tick of a bar? I want to say

    if (newbar)
    //do something

    So far, the best way I came up with is high=low, however that remains for all ticks that trade at that level.

    #2
    Hello wallabee13,

    Thank you for your post.

    Using FirstTickOfBar you can determine if the incoming tick is the first tick of a new bar.
    For information on the FirstTickOfBar property please visit the following link: http://www.ninjatrader.com/support/h...ttickofbar.htm

    Please let me know if I may be of further assistance.

    Comment


      #3
      Well thanks, I probably spent 10 hours mulling over how to call the "firsttickofbar." Thanks Patrick.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mizzouman1, Today, 07:35 AM
      4 responses
      18 views
      0 likes
      Last Post Mizzouman1  
      Started by philmg, Today, 01:17 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by cre8able, Today, 01:01 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by manitshah915, Today, 12:59 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by ursavent, Today, 12:54 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X