Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators not showing on last bar

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

  • MrSmartGuy
    replied
    Thanks again. No luck with "session template" experiments. It was set to use "use instrument settings," and I tried US Equities (both extended and regular hours) with no change, i.e. indicator still not updated. This is for SPY, so a fairly straightforward instrument.

    One further clue -- when I enable my strategies to run on the daily bars, the execution time is 3:00 p.m. central time, which makes sense for SPY. It would seem that if the strategy code thinks that 3:00 is the end of the day, then so should the indicator code.

    Although I have a workaround to make progress, I would still like to get to the bottom of it all at some point.

    Leave a comment:


  • koganam
    replied
    Originally posted by MrSmartGuy View Post
    Thank you, koganam. I changed the calculate on bar close property to false and then the indicators appeared. But still, even with the property set to true, should not a daily bar be updated on a Monday morning for Friday's bar, as that bar is closed?
    On a daily chart, typically, yes. But it depends on the TradingHours template: as that is what defines the start and end of a new session. What does the terminal date read on your daily chart?

    IOW, for stocks, the calendar date will almost always make this true: for some futures, it might not.

    Leave a comment:


  • MrSmartGuy
    replied
    Thank you, koganam. I changed the calculate on bar close property to false and then the indicators appeared. But still, even with the property set to true, should not a daily bar be updated on a Monday morning for Friday's bar, as that bar is closed?

    Leave a comment:


  • koganam
    replied
    Originally posted by MrSmartGuy View Post
    Indicators for my charts are not presented for the most recent price bar. For example, on a daily chart, last Friday's price bar is shown, reflecting the day's activity, but none of the companion indicators are shown, last updated for Thursday. Indicators are just simple moving averages and MACD. I have also just done a refresh of the data and chart. Is this correct, or do I need to configure the indicators with an option perhaps?
    If CalculateOnBarClose is true, then there will be nothing shown on the forming bar, because it has not closed. Change the CalculateOnBarClose property using the PropertyGrid for the indicators.

    Leave a comment:


  • MrSmartGuy
    started a topic Indicators not showing on last bar

    Indicators not showing on last bar

    Indicators for my charts are not presented for the most recent price bar. For example, on a daily chart, last Friday's price bar is shown, reflecting the day's activity, but none of the companion indicators are shown, last updated for Thursday. Indicators are just simple moving averages and MACD. I have also just done a refresh of the data and chart. Is this correct, or do I need to configure the indicators with an option perhaps?

Latest Posts

Collapse

Topics Statistics Last Post
Started by kinfxhk, 07-14-2026, 09:39 AM
0 responses
93 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 10:18 AM
0 responses
93 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 09:50 AM
0 responses
71 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 07:21 AM
0 responses
88 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-11-2026, 02:11 AM
0 responses
67 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Working...
X