Reply To: All time weekly closing high script in watchlist

Optuma Forums Optuma Scripting All time weekly closing high script in watchlist Reply To: All time weekly closing high script in watchlist

#67191
Darren
  • Topics: 69
  • Replies: 738
  • Posts: 807

Hi Louis,

As all the columns in your watchlist are using weekly data it would be best to not use the timeframe in the formulas (leave them as default) and just change the watchlist timeframe to weekly.

However, the issue in your formula is that the Week component needs to be nested in the CLOSE() function, otherwise the daily close will be used when the watchlist timeframe is set to daily (it will work if set to weekly).

Pin It on Pinterest