Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

newbie help

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

    newbie help

    i have a simple ema cross over strategy. I was wondering if someone could explain how to have the entry and exits take place on the actual crossing over instead of the bar after the close?

    #2
    Originally posted by asdfjkl View Post
    i have a simple ema cross over strategy. I was wondering if someone could explain how to have the entry and exits take place on the actual crossing over instead of the bar after the close?
    Set the variable CalculateOnBarClose = FALSE ???

    Do you see CalculateOnBarClose anywhere?

    Comment


      #3
      I did have it calculating on bar close. I changed it and now will review. any other suggestions?

      Comment


        #4
        Hello asdfjkl,

        Thank you for your post.

        Sledge's post is correct, change the CalculateOnBarClose setting to False: http://www.ninjatrader.com/support/h...onbarclose.htm

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        36 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        23 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        162 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        96 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        152 views
        2 likes
        Last Post CaptainJack  
        Working...
        X