Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate setting "On each tick" and "Bars" Conditions and Actions

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

    Calculate setting "On each tick" and "Bars" Conditions and Actions

    Hello,

    In Strategy builder we have the option to select the Calculation method which could be On Bar close, On each tick or On price change. But in Conditions and Actions tab some of the options under the selection for the Condition of Price are Bars ago.
    So, the actions of the calculate selection of "On Bar close" is clear, but how the rest of the selections (On each tick and On price change) work with the Conditions and Actions tab "Bars ago" price setting? When does the calculation take place since there will be no bars? Does it translate to ticks for example? And what about the "On price change" option? What is the equivalent of that?

    thanks

    #2
    Hello space_trader,

    In real-time bars ago 0 is always the most recently updated bar. When calculate is OnBarClose the most recently updated bar is the previous fully closed bar and not the currently building bar. When calculate is OnPriceChange/OnEachTick the most recently updated bar is the current building bar. This currently building bar will be the unfinished close, high, low, open, volume of the bar that is currently building and has not closed.

    Below is a link to the help guide.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X