Opposite broadening
Marks bars where the recent closing high and low are both moving apart, a widening range.
Opposite broadening checks whether the recent range is widening in both directions at once. It takes the highest and lowest close over the last 100 bars and measures how far each of those lines has moved over the last 20 bars, as a percent. It fires when the high line rose by more than eps and the low line fell by more than eps, and the output is an on or off signal with no line to plot.
How to read it
- Markers sit on the candles where the range is stretching up and down at the same time.
- Expect few markers: at default settings it fired about 3 times in a month of SPY one-minute bars.
- Read each marker against the candles. A marker during a sharp swing shows a real widening; a marker on a slow drift can pass the test with nothing visibly widening.
What it outputs
- Opposite broadening
- Marks each bar where the 100-bar closing high has risen and the 100-bar closing low has fallen, each by more than eps percent over 20 bars.
When it fires
When the 100-bar closing high rose over eps percent in 20 bars and the closing low fell over eps percent in the same 20 bars. The range is stretching both ways at once. At defaults it fired about 3 times in a month of SPY bars, so markers are rare.
Settings
- eps
- Minimum percent move each line must make over 20 bars. Raising it demands a faster widening on both sides, so fewer marks. Lowering it toward 0 marks any bar where the high rises and the low falls, so more and weaker marks. Below 0 it admits flat lines.
Pitfalls
- Rare at defaults: about 3 firings, roughly 30 bars, in a month of SPY one-minute bars. Silence is the normal state.
- The check that the high line sits above the low line is effectively always true, so it adds nothing. Both lines use closing prices, so wicks and intraday extremes are ignored.
- This tests two line slopes, not a drawn triangle or wedge. A slow drift can pass it with nothing visibly broadening, so judge the markers against the candles.