Reply To: Breadth Engine: Percent of stocks below a date

Optuma Forums Optuma Scripting Breadth Engine: Percent of stocks below a date Reply To: Breadth Engine: Percent of stocks below a date

#68146
Matthew
  • Topics: 5
  • Replies: 608
  • Posts: 613

Hi,

I would use the STRDATE() function to mark the specific date I was after, then use VALUEWHEN() to find the Closing price for that date which can be used to compare the current close with.

The final script would look like this:

When setup in the Breadth module, the value from Tuesday May 3rd matches your chart example of 44.84.

Ex2

Pin It on Pinterest