Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Use of present bars

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

    Use of present bars

    Hello,

    As I understand, indicators are calculated using closed bars. But the value of the present bar is not included on the calculation. IS there any way to have a kind of provisionary value of the indicator on the present bar before it's close?

    thanks

    #2
    Hello guillembm,

    Yes, please set 'Calculate on bar close' to False. That way the indicator/strategy is calculated on each incoming tick instead of the close of a bar.

    Comment


      #3
      Thanks,

      As I read on the help guide the only issue I can have setting it to false is that this is CPU intensive. Anything else has to be considered?

      Comment


        #4
        Unfortunately there is nothing else. The 'Calculate on bar close' setting determines how indicators/strategies are calculated. If set to True, they will be calculated at the close of a bar. If set to False, they will be calculated on each incoming tick (so including the current bar).

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        68 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X