Reply To: Count Results In A Watchlist

Optuma Forums Optuma Scripting Count Results In A Watchlist Reply To: Count Results In A Watchlist

  • Topics: 70
  • Replies: 829
  • Posts: 899

Hi Louis,

You would need to use the custom breadth module under Data > Market Breadth to create a time series that can then be displayed below the chart.

Create a symbol and name for the data, eg XLC20EMA and under Codes to Include select S&P500 Communication Services from the Lists tab. When a condition is true it has a value of 1, so use the Sum option for the Breadth Action and it will calculate the number of true events for each day (alternatively you can use Percent).


Once the breadth data has been built, it can then be added to a chart of XLC using the Breadth Data tool to display under the chart (select it from the Custom source list).


Pin It on Pinterest