Reply To: market breadth issues

Optuma Forums Optuma Scripting market breadth issues Reply To: market breadth issues

#63622
MatthewMatthew
  • Topics: 5
  • Replies: 366
  • Posts: 371

Hi,

The problem is with the script using Last().

That function will use the last closing price of the chart for all dates covered.  Here is an example of the same script on a Show View, see how the blue line for Last() is horizontal.

Ex4

To achieve the result you are after you need to change Last() to Close()

Ex5

Once this is done the breadth code returns the expected results.

Ex6

Pin It on Pinterest