Reply To: HIGHESTHIGH function reference a variable for look back period

Optuma Forums Optuma Scripting HIGHESTHIGH function reference a variable for look back period Reply To: HIGHESTHIGH function reference a variable for look back period

#66167
Tommy
  • Topics: 1
  • Replies: 2
  • Posts: 3

Hi Matthew,

Thank you for your reply. That works fine. I see what you mean, it’s only valid for current data. Is it possible to view historical instances from current data instead of using training mode?

Using the show plot like you have done above, when there is a new a new 13 week low the HighestHigh would reset to the high of the bar that created a new 13 week low. It would gradually step up when there are new highs until a there is new 13 week low where it would reset again.

Thank again
Tom

Pin It on Pinterest