Optuma Forums › Optuma Scripting › Average of all stocks below their 252-day highs as a breadth tool › Reply To: Average of all stocks below their 252-day highs as a breadth tool
February 22, 2022 at 8:29 am
#67551
- Topics: 35
- Replies: 61
- Posts: 96
Hi Matthew. This is what I tried originally, but the values do not match.
The value from the watchlist is 8.41%.
The value from the breadth tool is 16%.
This discrepancy is because in the breadth engine, the average setting divides the result of the script by the total amount of items being checked. 8.41/505 = 16. Please see pictures 1, 2 and 3 attached.
thank you,