New_Max_Min_Series_Per_TF
A new optional signal filter that is switched on individually for every timeframe. In the standard logic, every bar whose histogram value exceeds the previous extreme of the current zone produces a signal — including the repeated breakouts that follow a pullback inside the same wave. With New Max/Min Series enabled, a timeframe signals only during the first uninterrupted series of new maximums (above zero) or new minimums (below zero). The first bar that fails to set a new extreme locks the zone, and no further signals are produced until the histogram crosses zero.
Eight independent bool switches, one per timeframe. All of them are false by default, so existing setups behave exactly as before. A timeframe with the switch off keeps the standard logic, which means series-mode and standard-mode timeframes can be combined freely in one multi-timeframe configuration.
| Situation inside one zone | Standard logic | New Max/Min Series |
|---|---|---|
| First bar after zero cross | Signal | Signal |
| Each consecutive new extreme | Signal | Signal |
| Bar without a new extreme | No signal | No signal — locked is set |
| Later breakout of the old extreme | Signal again | Suppressed until zone changes |
| Zero cross (zone change) | Extreme counter reset | Extreme counter and lock reset |