Reply To: Custom Market Breadth Examples

Optuma Forums Optuma Scripting Custom Market Breadth Examples Reply To: Custom Market Breadth Examples

  • Topics: 7
  • Replies: 5
  • Posts: 12


I’m looking to create a breadth thrust indicator that would seem fairly simple, however, I ‘m not having much luck creating it. The indicator is basically the Zweig Breadth thrust model but using the S&P500 data in lieu of the NYSE data. The calculation is (SP500 Advances / SP500 Advances + SP500 Declines). The output data would have a 10 day ema placed on it and presented in Histogram format.

Using the GetData Function, here’s what I have:

Not getting desired result from the custom breadth module.

Please advise.


Pin It on Pinterest