Changelog
Generated from CHANGELOG.md in the project repository. Never maintained twice.
Unreleased
- changedPages: the project site uses the current shared theme (0.12.14).
0.41.0
10 November 2026
- breakingApplicability:
ApplicabilityReasonhas two new variants (PairPriceAdjustmentDiffers,PairSessionDiffers), so exhaustivematchexpressions over it need an update. - breakingApplicability:
ApplicabilityReasongainsStructureContinuousSessionandStructureMethodgainsPriceGapsandPointAndFigure, so exhaustivematchexpressions over them need the new arms.method_rule_catalogreturns 17 rules instead of 8. - breakingEqual-level liquidity:
EqualLevelLiquidityConfiggains the public fieldlist_min_touches, so a struct literal must set it or end in..Default::default(). - addedApplicability:
check_pair_applicability, withpair_requirementsandpair_rule_catalog, reports when the two series of a two-series indicator differ in price adjustment or session. - addedElliott: the validators describe what they check as data.
elliott::rule_catalog()lists the conditions of the pivot sequence in the order they are tested, per structure the variants, rules and guidelines with their identifiers, sentences and origin, and the threshold constants, among them the newEXTENDED_WAVE_MIN_RATIOofidentify_extended_wave. Details: Elliott rules. - addedEqual-level liquidity: the output carries the calculation:
atr,tolerance(absolute), and every level with at leastlist_min_touchespivots asbsl_<i>_*/ssl_<i>_*with price, pivots, tests, status and the events of the bar (pivot, test, sweep, breakout, stop hunt, reclaim). Swept levels stay listed. Details: Levels and zones in the output. - addedGap: the new detector
gap(reference,atr_len,min_atr,max_bars; defaultsrange, 14, 0, 100) reports price gaps between consecutive bars: edges, size in ATR of the previous bar, the filled fraction of every open gap and the closing with the bars it took.data_requirements("gap")names the series properties that limit the result. The catalog grows from 133 to 134 entries. - addedOptions:
option_expiry_resultgives the result of a call or put at expiry for the bought or sold side with premium and contract size (OptionExpiryPosition),option_expiry_profileits break-even, largest profit and largest loss (PayoffBound:LimitedorUnlimited), andoption_expiry_seriesthe result over a price grid. Details: Options at expiry. - addedPoint and figure:
point_and_figure(re-exported at the crate root, withPnfChart,PnfColumn,PnfDirection,PnfChangeandHorizontalCount) builds the columns of X and O from a price sequence, a box size and a reversal in boxes;PnfChart::horizontal_countreturns the count between two columns with its count line, effect and targets. A box is filled when the price reaches its grid line, so a reversal needs the full number of boxes. - addedPoint and figure: the new indicator
point_and_figure(aliaspnf;box_size,reversal,method; defaults 1, 3,close) feeds the chart from closes or from highs and lows and reports the current column on every bar (column,top,bottom,boxes), with the alertspnf_new_x_columnandpnf_new_o_column. The catalog grows from 134 to 135 entries. - addedStructure zones:
structure_zoneslists every tracked zone aszone_<i>_*, the broken ones included, with edges, role, status, tests and the events of the bar (created, test, bounce, break, role reversal), plus bar and close of the latest break andatr. - addedTrendlines: the
trendlinesindicator draws a support line through confirmed ZigZag lows and a resistance line through confirmed highs, each with its channel parallel, its touches and its break as an event (TrendlineEngine, alertsbear_support_line_breakandbull_resistance_line_break). Details: Trendlines. - addedTwo-series indicators:
relative_strengthand the newcorrelationare built by name withbuild_pair_checked, listed bypair_catalog()and run withrun_pair_batch, which pairs two bar series by timestamp.catalog()andbuild_checkedare unchanged. Details: Two series. - addedWyckoff: the state machine describes itself as data.
wyckoff::transitions()lists every move between the phases (WyckoffTransition: phases, bias, condition, events, parameters), andWyckoffStateMachine::last_transition()names the one the last bar took. Details: Wyckoff transitions. - changedChart patterns:
ChartPatternDetector::scanreturns the auto-trendline through the highs and the one through the lows side by side; before, the two evicted each other and only one was left. - changedZigZag:
zigzag_advancedmeasures the move from the running node to a pivot of the other kind with its sign, so a pivot high at or below the running low (after a gap down, say) no longer confirms that low or becomes a node, and likewise mirrored. The nodes of both ZigZags are a pivot sequence after every bar. - changedZigZag: on a bar that is both a pivot high and a pivot low,
zigzag_advancedandzigzagapply the pivot of the newest node's kind first, and before the first node such a bar starts none. A series and its mirror image now give mirrored nodes. - changedZigZag:
zigzagmeasures the deviation against the amount of the newest node's price, so zero and negative prices follow the same rule as positive ones. - changedZigZag:
AdvancedZigZagEngine::project_to_timeframeandreducereturn pivot sequences: the projection merges neighbouring nodes of one kind, and both drop a node on the wrong side of its predecessor. Details: ZigZag nodes.
0.40.0
10 November 2026
- breakingElliott:
TriangleVariant::RunningOrBarrieris removed andTriangleVariant::Barrieradded; a running triangle is now the fieldTriangleValidation::running.CorrectionVariantgainsRunningFlat. Amatchover either enum needs the new arms. - breakingElliott: the validation structs gain public fields, so a struct literal must set them:
directiononImpulseValidation,DiagonalValidation,CorrectionValidationandTriangleValidation;guidelinesonCorrectionValidation;running,validandviolationsonTriangleValidation. - breakingSynthetic:
wyckoff_schematic_barsreturns the full schematic (62 bars at the default lookback: decline, PS, SC, AR, ST, Spring, SOS, LPS) instead of a quiet range with four event bars. The seed only varies the volume of the bars without an event. - breakingWyckoff:
WyckoffEventKindhas six new variants (PreliminarySupport,PreliminarySupply,SellingClimax,BuyingClimax,AutomaticRally,AutomaticReaction), so exhaustivematchexpressions over it need an update. - breakingWyckoff:
WyckoffStateMachine::bias()isNonefor a range set by the width fallback until a Spring or UTAD decides it; before, a set range always had a bias. - breakingWyckoff:
min_range_barsnow is the number of bars a range must exist before a Spring or UTAD counts. Before, it only delayed the rule that discarded a range; that rule is gone. - addedElliott:
check_impulse,check_diagonal,check_correction,check_triangleandcheck_combinationreturn aSequenceErrorthat names the node when the input is no pivot sequence (node count, alternation, time order, a high not above or a low not below the node before it). Thevalidate_*functions keep their signatures and returnNonein those cases. - addedElliott: every validation reports its
WaveDirection, and a falling sequence is evaluated as the exact mirror image of the rising one. - addedElliott: guidelines are reported apart from rules, in
CorrectionValidation::guidelines(GuidelineDeviation), and never changevalid:zigzag_b_retrace_bound,zigzag_c_ends_beyond_a,flat_c_ends_beyond_a,flat_b_retrace_bound. - addedElliott:
CorrectionOptionstakes the asserted subdivision of wave A (wave_a,WaveSubdivision), with which the new ruleszigzag_b_not_beyond_start_of_aandflat_b_min_retracecan fail, and the bound of the flat guideline (flat_b_typical_max). - addedElliott: triangles are checked, not only named:
TriangleValidationcarriesvalidandviolations, with three rules for contracting and barrier triangles (triangle_*) and six for expanding ones (expanding_triangle_*), all listed oncheck_triangle.TriangleOptions::barrier_tolerancesets how close the ends of waves b and d must lie for a barrier triangle. - addedElliott: the thresholds are public constants whose comments state their origin (rule or guideline of the literature, or this crate's convention), for instance
FLAT_B_MIN_RETRACE,EXPANDED_FLAT_B_MINandBARRIER_LEVEL_TOLERANCE. - addedWyckoff: Preliminary Support/Supply, Selling/Buying Climax and Automatic Rally/Reaction are events, and Phase A is an output value. A climax is a wide bar on outlier volume at the extreme of the window; the range is set once the counter-move after it is confirmed.
- addedWyckoff: the output carries the calculation in
extra:range_high,range_low,bias,range_source,atr,volume_threshold,climax,cause_score, andevent_<kind>with the number of bars the event lies back.volume_thresholdis absent while there is no threshold.extra["atr"]equalsextra["raw"]of theatrindicator; thevalueofatris that number in percent of the close. - addedWyckoff: every threshold is a parameter:
atr_len,volume_k,climax_range_atr,st_atr,breakout_volume,lps_atrandabandon_atrjoin the three existing ones.WyckoffParams,WyckoffStateMachine::with_params,params()andrange()expose them on the typed API. Details: indicator reference. - changedApplicability: the three Wyckoff explanations (rolled, back-adjusted and broker-quoted series) describe the new calculation: fixed range boundaries from single extremes, distances in ATR, and the volume comparisons of the climax test, the Secondary Test and the Sign of Strength. Tiers and reasons are unchanged.
- changedElliott: all validators,
identify_extended_waveandis_truncated_fifthevaluate pivot sequences only. Nodes whose timestamps decrease, a high that is not above or a low that is not below the node before it (a leg without length included) now giveNoneinstead of a result. The end of wave C of a correction is the exception and stays the violationwave_c_must_extend_past_b. - changedElliott: a wave B that retraces more than 78.6 % and less than 90 % of wave A no longer makes a zigzag invalid.
zigzag_b_retrace_boundmoved fromviolationstoguidelines, sovalidate_correctionandvalidate_combinationreturnvalidfor such sequences. - changedElliott: the flat variants follow where waves B and C end.
ExpandedFlatneeds a wave B of more than 105 % of wave A (before: at least 100 %) and a wave C beyond the end of wave A; a wave B beyond the start of wave A with a wave C that stops short of the end of wave A is aRunningFlat; everything else from 90 % on is aFlat, a wave B exactly on the start of wave A included. - changedElliott:
validate_triangleassigns a sequence by its waves c, d and e against the waves two before them instead of by two boundary comparisons. A triangle whose waves b and d end within 5 % of wave b of each other is aBarrier; a sequence that fits neither kind is assigned to the kind it breaks fewer comparisons of and is invalid, where it wasRunningOrBarrierbefore. - changedWyckoff: the range boundaries are the climax extreme and the extreme of the counter-move, and the bias follows from the climax, wherever in the window it lies. The window-width condition (
range_atr_max) remains as a fallback for ranges without a climax, marked byrange_source= 2 and an open bias. With the default parameters the textbook schematic runs through Phases A to E. - changedWyckoff: a Secondary Test tests the climax side of the range and needs less volume and a narrower bar than the climax; a Sign of Strength/Weakness needs a volume outlier (
breakout_volume = offrestores the price-only rule); a Last Point of Support/Supply needs a pullback that turns. - changedWyckoff: Phase E ends when price closes back inside the range or a new range is set, no longer by the width of the window. A range in Phases A to C is abandoned by a close more than
abandon_atrATR outside it. A bar that reports an event, changes the phase or abandons a range never sets a range; the search for the next one starts with the bar after it. - changedWyckoff: without dispersion there is no volume outlier: while the MAD of the window is zero (more than half of its volumes are the same value) no bar is a climax bar or a Sign of Strength/Weakness, however high its volume. A series without volume, or with a constant one, therefore finds no climax and, with the defaults, reaches Phase C at most.
- changedContributors: the
wyckoffcontract cases are replaced by the textbook accumulation, its mirror image, a failed breakout, a full cycle, a range without a climax, a series without volume and a random walk (reference/kestrel_reference/fixtures/contract_structure.py). - changedContributors: scenario fixture
scenario_elliottwith a second implementation of the documented rules underreference/(kestrel_reference/elliott.py), covering both directions, every rule alone and every threshold.
0.39.1
10 November 2026
- changedApplicability: the two Wyckoff explanations for rolled and back-adjusted futures series say "Climax-Test" instead of "Klimax-Test". Tiers and reasons are unchanged.
- fixedDocs: the comments on
WyckoffPhase::A,TriangleVariantandvalidate_triangledescribe what the code computes: the range is set from the extremes of the lookback window, andRunningOrBarrieris the collective case for boundaries that neither converge nor diverge. No value changes.
0.39.0
10 November 2026
- addedCUSUM:
changepoint::cusum(re-exported at the crate root, withCusumOutputandCusumState) computes the two-sided CUSUM of Page (1954) over any&[f64]:S⁺ = max(0, S⁺ + x - mu0 - k),S⁻ = max(0, S⁻ - x + mu0 - k), with the first index where a sum exceedsh(strict, no reset). The new indicatorcusum(len,k,h; defaults 20, 0.5, 4) standardizes close-to-close returns by a fixed calibration period oflenreturns and streams both sums (value=S⁺,extra["lower"]=S⁻) with the alertscusum_upper_alarmandcusum_lower_alarm. The catalog grows from 132 to 133 entries.
0.38.0
9 November 2026
- changedParabolic SAR: follows Wilder's order. The SAR is first held beyond the extremes of the two previous bars (long: not above their lows, short: not below their highs), and only then is the reversal tested against the held value (strict comparison: an equal low or high does not reverse). Before, the reversal was tested against the unheld SAR and the hold used the previous and the current bar. The hold applies on every bar, with or without a reversal, so many values change from the third bar on, not only around reversals; reversal alerts change with them. After a reversal the SAR is the previous extreme point and is not capped by the current bar, so it can lie inside the current bar's range. The start direction is long and ends with the first reversal.
- changedChandelier Exit: when a close satisfies both flip conditions on one bar (crossed stops: above the previous short stop and below the previous long stop), the direction is kept instead of always turning long. This tie rule is this crate's own convention. Long and short now mirror each other exactly under a price reflection; the start direction (long) only matters until the first flip.
state,value,secondaryand the flip alerts change on such bars; the stops themselves do not. The stop ratchet is gated by the previous close against the previous stop. - changedAdaptive Chandelier: the same tie rule for a close that is above the previous short stop and below the previous long stop. On such a bar the weak-flip alerts (
bull_weak_flip,bear_weak_flip) still fire when the body filter is not met. - fixedDocs and reference: wording describing the reference definitions is neutral throughout the source comments, the reference generator and the fixture comments. No value changes.
0.37.0
9 November 2026
- changedConnors RSI: follows the definition, with one deliberate deviation in the rank. Price and streak RSI are raw Wilder RSIs (no longer the smoothed RSI line), all three parts run from the first bar, and the return is ranked among the
rank_lenreturns before it;rank_lennow takes effect. Equal returns count half: the other conventions count only smaller ones or smaller-or-equal ones; the half keeps the rank symmetric. Only the rank part mirrors exactly (under1 / close); RSI and streak mirror under a price reflection. Values change, and the first output moves to barmax(rsi_len + 1, streak_len + 2, rank_len + 2)(102 with the defaults instead of 6). - changedRVI: Ehlers' Relative Vigor Index: the summed 1-2-2-1 weighted close-open over the same sum of high-low, signal the 1-2-2-1 weighting of the RVI, instead of an average of per-bar ratios with an SMA(4) signal. Values change; first output with bar
period + 6instead ofperiod + 3. - changedDPO: the current close against the SMA displaced
period/2 + 1bars back, instead of the closeperiod/2bars back against the current SMA. Values change; first output with barperiod + period/2 + 1instead ofperiod.
0.36.1
5 November 2026
- fixedMFI: a bar with missing volume (not finite) no longer turns every later value into NaN. The money-flow sums skip such a bar; every window that contains it reports no output, and the averages restart with the first complete window. Series without missing volume give bit-identical values.
- fixedFlow exhaustion: the raw MFI of a window with a missing volume is skipped instead of being fed into the smoothing.
0.36.0
5 November 2026
- breakingApplicability:
DataRequirementshas a new fieldstructure_methodandApplicabilityReasonhas five new variants (Structure…), so exhaustive struct literals andmatchexpressions over them need an update.Scenestays constructible only through its constructor, so it is not affected. - addedApplicability:
elliottandwyckoffdeclare requirements of their own (StructureMethod,method_rule_catalog) instead of the generic session/roll/adjustment flags. Every finding names what the method reads from the series: roll jumps counted as waves, additive and proportional adjustment, provider-specific extremes, the bounded history of a single contract, and for Wyckoff the contract change inside the range and real turnover. - addedApplicability:
wyckoffdeclaresneeds_real_volume; its climax test is a volume outlier. - addedViz:
Scene::with_title,with_descriptionandwith_label_idgiverender_scene_svgan accessible name:<title>,<desc>,role="img"andaria-labelledby. A scene without them renders byte for byte as before. Details: Visualising results. - changedApplicability: a series that is a single, never-rolled contract is now
Degradedforelliott, because its history ends with the contract's expiry. The verdicts of all other indicators are unchanged and pinned bytests/golden_reference_applicability.rs. - changedModel: the documentation of
ContinuityKind::StitchedBackAdjusted(additive shift) andPriceAdjustment(proportional scaling) states which kind of adjustment the applicability rules assume. - changedExamples:
export_applicabilityalso listsstructure_methodandmethod_rules. - changedPages: the project site uses the current shared theme (0.12.6).
0.35.0
31 October 2026
- addedSynthetic data:
bos_choch_swing_bars_shapedandSwingCandleShapebuild the swing and break sequence ofbos_choch_swing_barswith candle bodies and wicks. The pivot bar and the break bar keep their highs and lows, so the pivot and the break stay where they are. - addedIndicators:
pivots_structurereports a confirmed pivot inextra(pivot_high,pivot_low, andpivot_offset, the bars between the pivot and the confirming bar);bos_chochreports the level a break closed beyond asbroken_level. The main value of both is unchanged. - changedWebsite: the start page shows a recorded run of the
basic_indicatorexample and the computed price chart with a layout for phones; the full quickstart lives in the documentation. - changedWebsite: the footer now follows the page language instead of always showing German text, and the start page carries a release teaser and an FAQ (theme 0.11.1).