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

Question about CalculateOnBarClose

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

    Question about CalculateOnBarClose

    Hi,

    I am writing a strategy, which signal is calculated everytime bar closes and new bar starts.

    But, I need to watch every tick to decide to place an order, not everytime bar closes. How can I do this?

    If I set
    CalculateOnBarClose=true
    then, I can't watch every tick to make order placing decision.

    Thanks

    #2
    Hi ssg10, to update your strategy signals on every tick, please try setting CalculateOnBarClose to false.

    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sdauteuil, 09-23-2021, 10:16 AM
    4 responses
    1,208 views
    0 likes
    Last Post jacobpescaia44  
    Started by agclub, 04-21-2024, 08:57 PM
    5 responses
    34 views
    0 likes
    Last Post agclub
    by agclub
     
    Started by ESHunter, Today, 08:06 PM
    2 responses
    18 views
    0 likes
    Last Post ESHunter  
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    19 responses
    150 views
    0 likes
    Last Post ETFVoyageur  
    Started by ETFVoyageur, Yesterday, 10:13 PM
    3 responses
    26 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X