Reply To: Watchlist column showing days since current streak

Optuma Forums Optuma Scripting Watchlist column showing days since current streak Reply To: Watchlist column showing days since current streak

#67034
Matthew
  • Topics: 5
  • Replies: 616
  • Posts: 621

Hi,

I would use a mix of the LAST(), TIMESINCESIGNAL() and NONZERO() functions to get this result.

On the chart / watchlist the above script would look like this:

Ex3

In the above example the current Days Up Streak is two, which last occurred 10 bars ago.

This script is dynamic, it will take the current Days Up streak value, and find when that same value streak last occurred.

1 user thanked author for this post.

Pin It on Pinterest