Stochastics indicator on the COT
commercials net positions. It looks for the actual level of this value inbetween the extreme values of the lookback period. A value above 80 oder 90 percent is interpreted as a bulllish extreme, a value below 20 or 10 percent is interpreted accordingly a bearish
. In fact the absolute level of the commercials net positions should be considered as well. The default value for the lookback period is 26 weeks. Higher values reduce the number of signals but increase their quality.
This script actually was inspired by someone but I forgot by whom :-) ... my apology!