Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

calculate on bar close && Exit on close && Stop and target submission

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

    calculate on bar close && Exit on close && Stop and target submission

    What is the concept of all these toggles, from my basic understanding:

    for "calculate on bar close" is that the strategy will calculate after 1 bar confirmation? if i put false it will be calculated in real time? Please me specific and as simple as possible with a yes or no and a brief explanation to what this function does.

    Exit on close, i am partial to understand that this will exit me at the end of the trading day with a default of 30 seconds left to 5pm est.? Could i somehow exit out of my strategies at 4:30 by calculating the seconds back to the time period of 4:30pm

    Stop and target submission i have per entry execution and by strategy execution position, What is the difference why have one and whats different about the other?


    Please respond in non technical language i just want basic straight forward answers so i can grasp it on the first attempt and for others


    Greatly appreciated,

    Cam

    #2
    Hello cameo86,

    Thank you for your post.

    CalculateOnBarClose is used to determine if the indicator or strategy is calculated on the current bar (each incoming tick) or on the close of the bar (Open, High, Low and Close). For information on CalculateOnBarClose please visit the following link: http://www.ninjatrader.com/support/h...onbarclose.htm

    ExitOnClose is used to exit positions on the close of a session. ExitOnCloseSeconds is used to determine the number of seconds before the close to submit the order to close. For information on ExitOnClose please visit the following link: http://www.ninjatrader.com/support/h...xitonclose.htm
    For information on ExitOnCloseSeconds please visit the following link: http://www.ninjatrader.com/support/h...oseseconds.htm

    You can calculate the number of seconds that 4:30 PM would be before the session you applied closes (1800 seconds before 5 PM).

    PerEntryExecution means each time an entry is executed and ByStrategyPosition means Stops and Targets are submitted based on the strategy position (i.e. 2 long equals a Stop with 2 qty and a Target with 2 qty). You would use PerEntryExecution if you wanted Stops and Targets submitted when the entry order is executed, and use ByStrategyPosition to submit the Stops and Targets based on the Position update.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    646 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    367 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X