Reply To: Timeframe override: value and plot seem to disagree

Optuma Forums Optuma Scripting Timeframe override: value and plot seem to disagree Reply To: Timeframe override: value and plot seem to disagree

  • Topics: 40
  • Replies: 2,011
  • Posts: 2,051

Hi Dean,

You are touching on something which has been the bane of my life for the past 24 years. The problem is that the weekly bar just has 4 data points and is dated as Friday. There is a lot of detail missing. Inside of Optuma, you can think of a weekly bar as happening on Fridays with 4 blanks in between.

Because of that, the big issue is when we are mixing Daily and Weekly time frames. In this case displaying a weekly script on a daily chart. It is something that we have to be really careful about.

When you look at Monday in your images, you see that the value of the weekly line is already set to Friday’s value. It’s not that there was a value on Monday, it is just that the algorithm for drawing is joining all the dots (the closes of the week) and that line passes through all the other 4 days.

With the cross hair, the spaces are not filled, so there is no data to return a price for on Mon-Thu. So the software goes backwards to find the last price. In this case it is last week Friday.

We wrestle with this all the time because every solution creates a new set of problems. It is particularly dangerous in testing when I have seen incredible results when mixing daily and weekly, but they were because Friday’s close was known on Monday. I wrote about it in this blog post

Hope that helps


Pin It on Pinterest