76 KiB
76 KiB
Wickra Indicators
Compact index of all 514 indicators in crates/wickra-core/src/indicators/, grouped by FAMILIES in crates/wickra-core/src/indicators/mod.rs. Each row links to the full implementation file.
AI agents: skim family headers, then
Readthe linked.rsfile for the canonical formula. For QuantDinger, fetch the live contract withquantdinger_get_indicator_authoring_contractbefore writing code.
Families
- Moving Averages (26)
- Momentum Oscillators (34)
- Trend & Directional (28)
- Price Oscillators (14)
- Volatility & Bands (25)
- Bands & Channels (16)
- Trailing Stops (19)
- Volume (26)
- Price Statistics (55)
- Ehlers / Cycle (DSP) (29)
- Pivots & S/R (12)
- DeMark (19)
- Ichimoku & Charts (7)
- Candlestick Patterns (66)
- Microstructure (20)
- Derivatives (17)
- Market Profile (10)
- Risk / Performance (28)
- Alt-Chart Bars (10)
- Market Breadth (15)
- Seasonality & Session (12)
- Chart Patterns (8)
- Harmonic Patterns (8)
- Fibonacci (10)
Moving Averages (26)
AdaptiveLaguerreFilter— Ehlers' Adaptive Laguerre Filter ·adaptive_laguerre_filter.rsAlligator— Bill Williams' Alligator indicator ·alligator.rsAlma— Arnaud Legoux Moving Average (ALMA) ·alma.rsDema— Double Exponential Moving Average (DEMA) ·dema.rsEhma— Exponential Hull Moving Average (EHMA) ·ehma.rsEma— Exponential Moving Average ·ema.rsEvwma— Elastic Volume-Weighted Moving Average (EVWMA) ·evwma.rsFrama— Fractal Adaptive Moving Average (FRAMA) ·frama.rsGeneralizedDema— Generalized DEMA (GD) — Tim Tillson's volume-factor double EMA ·generalized_dema.rsGeometricMa— Geometric Moving Average (GMA) ·geometric_ma.rsHma— Hull Moving Average (HMA) ·hma.rsHoltWinters— Holt's linear (double exponential) smoothing ·holt_winters.rsJma— Jurik Moving Average (JMA) ·jma.rsKama— Kaufman's Adaptive Moving Average (KAMA) ·kama.rsMcGinleyDynamic—McGinleyDynamic — self-adjusting moving average ·mcginley_dynamic.rsMedianMa— Median Moving Average ·median_ma.rsSineWeightedMa— Sine-Weighted Moving Average (SWMA) ·sine_weighted_ma.rsSma— Simple Moving Average ·sma.rsSmma— Smoothed Moving Average (Wilder's RMA) ·smma.rsT3— Tillson T3 Moving Average ·t3.rsTema— Triple Exponential Moving Average (TEMA) ·tema.rsTrima— Triangular Moving Average ·trima.rsVidya— Variable Index Dynamic Average (VIDYA) ·vidya.rsVwma— Volume-Weighted Moving Average ·vwma.rsWma— Weighted Moving Average (linear weights) ·wma.rsZlema— Zero-Lag Exponential Moving Average ·zlema.rs
Momentum Oscillators (34)
AnchoredRsi— Anchored Relative Strength Index ·anchored_rsi.rsAwesomeOscillator— Awesome Oscillator (Bill Williams) ·awesome_oscillator.rsCci— Commodity Channel Index (CCI) ·cci.rsCmo— Chande Momentum Oscillator ·cmo.rsConnorsRsi— Connors RSI (CRSI) ·connors_rsi.rsDerivativeOscillator— Derivative Oscillator (Constance Brown) ·derivative_oscillator.rsDisparityIndex— Disparity Index ·disparity_index.rsDynamicMomentumIndex— Dynamic Momentum Index (Chande's volatility-adaptive RSI) ·dynamic_momentum_index.rsElderRay— Elder Ray — Bull Power and Bear Power ·elder_ray.rsFisherRsi— Fisher-transformed RSI ·fisher_rsi.rsInertia— Inertia (Donald Dorsey) ·inertia.rsIntradayMomentumIndex— Intraday Momentum Index (IMI) ·intraday_momentum_index.rsKst— Know Sure Thing (KST) ·kst.rsLaguerreRsi— Ehlers' Laguerre RSI ·laguerre_rsi.rsMfi— Money Flow Index (MFI) ·mfi.rsMom— Momentum (absolute price change over a fixed lookback) ·mom.rsPgo— Pretty Good Oscillator (PGO) ·pgo.rsPmo— Price Momentum Oscillator (DecisionPoint) ·pmo.rsQqe— QQE — Quantitative Qualitative Estimation ·qqe.rsRmi— Relative Momentum Index (RMI) ·rmi.rsRoc— Rate of Change (ROC) ·roc.rsRocp— Rate of Change Percentage (ROCP) ·rocp.rsRocr— Rate of Change Ratio (ROCR) ·rocr.rsRocr100— Rate of Change Ratio scaled by 100 (ROCR100) ·rocr100.rsRsi— Relative Strength Index using Wilder's smoothing ·rsi.rsRsx— RSX — Jurik-style smoothed RSI ·rsx.rsRvi— Relative Vigor Index (RVI) ·rvi.rsSmi— Stochastic Momentum Index (SMI) ·smi.rsStochastic— Stochastic Oscillator (%K and %D) ·stochastic.rsStochasticCci— Stochastic CCI — a stochastic oscillator applied to the CCI ·stochastic_cci.rsStochRsi— Stochastic RSI ·stoch_rsi.rsTsi— True Strength Index ·tsi.rsUltimateOscillator— Ultimate Oscillator ·ultimate_oscillator.rsWilliamsR— Williams %R ·williams_r.rs
Trend & Directional (28)
Adx— Average Directional Index (ADX) with +DI / -DI components ·adx.rsAdxr— Average Directional Movement Index Rating (ADXR) ·adxr.rsAroon— Aroon Up / Down indicator ·aroon.rsAroonOscillator— Aroon Oscillator ·aroon_oscillator.rsChoppinessIndex— Choppiness Index ·choppiness_index.rsDx— Directional Movement Index (DX), Wilder-smoothed ·dx.rsGatorOscillator— Bill Williams' Gator Oscillator (derived from the Alligator) ·gator_oscillator.rsKasePermissionStochastic— Kase Permission Stochastic — a double-smoothed stochastic used as a ·kase_permission_stochastic.rsMacdExt— MACD with selectable moving-average types (MACDEXT) ·macd_ext.rsMacdFix— MACD with fixed 12/26 periods (MACDFIX) ·macd_fix.rsMacdIndicator— Moving Average Convergence Divergence (MACD) ·macd.rsMassIndex— Mass Index ·mass_index.rsMinusDi— Minus Directional Indicator (-DI), Wilder-smoothed ·minus_di.rsMinusDm— Minus Directional Movement (-DM), Wilder-smoothed ·minus_dm.rsPlusDi— Plus Directional Indicator (+DI), Wilder-smoothed ·plus_di.rsPlusDm— Plus Directional Movement (+DM), Wilder-smoothed ·plus_dm.rsPolarizedFractalEfficiency— Polarized Fractal Efficiency (PFE) ·polarized_fractal_efficiency.rsQstick— Qstick — Tushar Chande's measure of buying vs. selling pressure ·qstick.rsRwi— Random Walk Index (RWI) ·rwi.rsTii— Trend Intensity Index (TII) ·tii.rsTrendLabel— Trend Label — the sign of the rolling least-squares slope ·trend_label.rsTrendStrengthIndex— Trend Strength Index — the signed coefficient of determination of a linear ·trend_strength_index.rsTrix— TRIX: triple-smoothed EMA percent rate of change ·trix.rsTtmTrend— TTM Trend — John Carter's bar-coloring trend filter ·ttm_trend.rsVerticalHorizontalFilter— Vertical Horizontal Filter ·vertical_horizontal_filter.rsVortex— Vortex Indicator ·vortex.rsWavePm— Wave PM — Cynthia Kase's peak-momentum statistic (Wickra reconstruction) ·wave_pm.rsWaveTrend— Wave Trend Oscillator (LazyBear) ·wave_trend.rs
Price Oscillators (14)
AcceleratorOscillator— Accelerator Oscillator (Bill Williams) ·accelerator_oscillator.rsApo— Absolute Price Oscillator (APO) ·apo.rsAwesomeOscillatorHistogram— Awesome Oscillator Histogram ·awesome_oscillator_histogram.rsBalanceOfPower— Balance of Power ·balance_of_power.rsCfo— Chande Forecast Oscillator (CFO) ·cfo.rsCoppock— Coppock Curve ·coppock.rsDpo— Detrended Price Oscillator ·dpo.rsElderImpulse— Elder Impulse System ·elder_impulse.rsMacdHistogram— MACD Histogram (standalone) ·macd_histogram.rsPpo— Percentage Price Oscillator ·ppo.rsPpoHistogram— Percentage Price Oscillator Histogram ·ppo_histogram.rsStc— Schaff Trend Cycle (STC) ·stc.rsTsfOscillator— Time Series Forecast Oscillator (TSF Oscillator) ·tsf_oscillator.rsZeroLagMacd— Zero-Lag MACD — MACD computed onZLEMAinstead ofEMA·zero_lag_macd.rs
Volatility & Bands (25)
Atr— Average True Range (Wilder) ·atr.rsBipowerVariation— Realized Bipower Variation — a jump-robust quadratic-variation estimator ·bipower_variation.rsBollingerBands— Bollinger Bands ·bollinger.rsBollingerBandwidth— Bollinger Bandwidth ·bollinger_bandwidth.rsChaikinVolatility— Chaikin Volatility ·chaikin_volatility.rsDonchian— Donchian Channels ·donchian.rsEwmaVolatility— EWMA Volatility —RiskMetricsexponentially-weighted volatility ·ewma_volatility.rsGarch11— GARCH(1,1) — conditional volatility with a long-run-variance anchor ·garch11.rsGarmanKlassVolatility— Garman-Klass Volatility (OHLC estimator) ·garman_klass.rsHistoricalVolatility— Historical Volatility ·historical_volatility.rsJumpIndicator— Jump Indicator — detects return outliers relative to trailing volatility ·jump_indicator.rsKeltner— Keltner Channels ·keltner.rsNatr— Normalized Average True Range ·natr.rsParkinsonVolatility— Parkinson Volatility (high-low estimator) ·parkinson.rsPercentB— Bollinger %b ·percent_b.rsRegimeLabel— Regime Label — volatility-quantile classification of the current bar ·regime_label.rsRogersSatchellVolatility— Rogers-Satchell Volatility (drift-free OHLC estimator) ·rogers_satchell.rsRviVolatility— Relative Volatility Index (Donald Dorsey) ·rvi_volatility.rsStdDev— Rolling population standard deviation ·std_dev.rsTrueRange— True Range ·true_range.rsUlcerIndex— Ulcer Index ·ulcer_index.rsVolatilityCone— Volatility Cone — current realized volatility within its historical envelope ·volatility_cone.rsVolatilityOfVolatility— Volatility of Volatility — the dispersion of a rolling volatility series ·volatility_of_volatility.rsVolatilityRatio— Schwager's Volatility Ratio — today's true range versus its typical level ·volatility_ratio.rsYangZhangVolatility— Yang-Zhang Volatility (drift- and gap-robust OHLC estimator) ·yang_zhang.rs
Bands & Channels (16)
AccelerationBands— Acceleration Bands (Price Headley) ·acceleration_bands.rsAtrBands— ATR Bands ·atr_bands.rsBomarBands— Bomar Bands — adaptive percentage bands that contain a target fraction of ·bomar_bands.rsDoubleBollinger— Double Bollinger Bands (Kathy Lien) ·double_bollinger.rsFractalChaosBands— Fractal Chaos Bands (Bill Williams Fractals) ·fractal_chaos_bands.rsHurstChannel— Hurst Channel (Brian Millard / Hurst-cycle channel) ·hurst_channel.rsLinRegChannel— Linear Regression Channel — OLS endpoint ± k · stddev of residuals ·linreg_channel.rsMaEnvelope— Moving Average Envelope ·ma_envelope.rsMedianChannel— Median Channel — a robust median ± MAD envelope ·median_channel.rsProjectionBands— Projection Bands (Mel Widner) — a high/low linear-regression projection ·projection_bands.rsProjectionOscillator— Projection Oscillator (Mel Widner) — the close's position inside the ·projection_oscillator.rsQuartileBands— Quartile Bands — rolling 25th / 50th / 75th percentile envelope ·quartile_bands.rsStandardErrorBands— Standard Error Bands ·standard_error_bands.rsStarcBands— STARC Bands (Stoller Average Range Channel) ·starc_bands.rsTtmSqueeze— TTM Squeeze (John Carter) ·ttm_squeeze.rsVwapStdDevBands— VWAP Standard-Deviation Bands ·vwap_stddev_bands.rs
Trailing Stops (19)
AtrRatchet— ATR Ratchet (Kaufman) — a trailing stop that creeps toward price each bar ·atr_ratchet.rsAtrTrailingStop— ATR Trailing Stop ·atr_trailing_stop.rsChandeKrollStop— Chande Kroll Stop ·chande_kroll_stop.rsChandelierExit— Chandelier Exit ·chandelier_exit.rsDonchianStop— Donchian Channel Stop (Turtle) ·donchian_stop.rsElderSafeZone— ElderSafeZoneStop — a trailing stop set by the average noise penetration ·elder_safezone.rsHiLoActivator—HiLoActivator (Crabel) ·hilo_activator.rsKaseDevStop— KaseDevStop— a volatility trailing stop on the standard deviation of the ·kase_devstop.rsModifiedMaStop— Modified-MA Stop — a trailing stop riding the Modified Moving Average (SMMA) ·modified_ma_stop.rsNrtr— NRTR — Nick Rypock Trailing Reverse, a percentage trailing-reverse stop ·nrtr.rsPercentageTrailingStop— Percentage Trailing Stop ·percentage_trailing_stop.rsPsar— Parabolic SAR (Wilder) ·psar.rsRenkoTrailingStop— Renko Trailing Stop ·renko_trailing_stop.rsSarExt— Parabolic SAR Extended (SAREXT) ·sar_ext.rsStepTrailingStop— Step Trailing Stop ·step_trailing_stop.rsSuperTrend—SuperTrend·super_trend.rsTimeBasedStop— Time-Based Stop — a holding-period timer that fires after a fixed bar count ·time_based_stop.rsVoltyStop— Volty Stop (Volatility Stop, Kase) ·volty_stop.rsYoyoExit— Yo-Yo Exit ·yoyo_exit.rs
Volume (26)
Adl— Accumulation/Distribution Line ·adl.rsAdOscillator— Williams A/D Oscillator (ADOSC) ·ad_oscillator.rsAnchoredVwap— Anchored Volume-Weighted Average Price ·anchored_vwap.rsBetterVolume— Better Volume (VSA) — a streaming effort-versus-result oscillator ·better_volume.rsChaikinMoneyFlow— Chaikin Money Flow (CMF) ·cmf.rsChaikinOscillator— Chaikin Oscillator ·chaikin_oscillator.rsDemandIndex— Demand Index (James Sibbet) ·demand_index.rsEaseOfMovement— Ease of Movement (Arms) ·ease_of_movement.rsForceIndex— Force Index (Elder) ·force_index.rsIntradayIntensity— Intraday Intensity (Bostian) — the per-bar volume-weighted close-location ·intraday_intensity.rsKvo— Klinger Volume Oscillator ·kvo.rsMarketFacilitationIndex— Market Facilitation Index (Bill Williams) ·market_facilitation_index.rsNvi— Negative Volume Index ·nvi.rsObv— On-Balance Volume ·obv.rsPvi— Positive Volume Index ·pvi.rsRollingVwap— Volume-Weighted Average Price (VWAP) ·vwap.rsTradeVolumeIndex— Trade Volume Index (TVI) — cumulative volume signed by a minimum-tick rule ·trade_volume_index.rsTsv— Time Segmented Volume (Worden) ·tsv.rsTwiggsMoneyFlow— Twiggs Money Flow (TMF) — Colin Twiggs' Wilder-smoothed money-flow oscillator ·twiggs_money_flow.rsVolumeOscillator— Volume Oscillator ·volume_oscillator.rsVolumePriceTrend— Volume-Price Trend ·vpt.rsVolumeRsi— Volume RSI — Wilder's RSI applied to the volume stream ·volume_rsi.rsVolumeWeightedMacd— Volume-Weighted MACD — MACD built on volume-weighted moving averages ·volume_weighted_macd.rsVwap— Volume-Weighted Average Price (VWAP) ·vwap.rsVzo— Volume Zone Oscillator (Walid Khalil) ·vzo.rsWad— Williams Accumulation/Distribution (WAD) — Larry Williams' cumulative line ·wad.rs
Price Statistics (55)
Autocorrelation— Rolling lag-kautocorrelation ·autocorrelation.rsAvgPrice— Average Price (AVGPRICE) ·avg_price.rsBeta— Rolling Beta — sensitivity of an asset to a benchmark ·beta.rsBetaNeutralSpread— Beta-neutral spread: the rolling OLS regression residual of two series ·beta_neutral_spread.rsBodySizePct— Body Size Percent — candle body as a fraction of its range ·body_size_pct.rsCloseVsOpen— Close vs Open — the signed relative body of a bar ·close_vs_open.rsCoefficientOfVariation— Rolling Coefficient of Variation (StdDev / Mean) ·coefficient_of_variation.rsCointegration— Cointegration — rolling Engle–Granger hedge ratio plus an ADF stationarity test ·cointegration.rsDetrendedStdDev— Population standard deviation of residuals from a rolling OLS detrend ·detrended_std_dev.rsDistanceSsd— Gatev distance (sum of squared deviations) between two normalised series ·distance_ssd.rsGrangerCausality— Granger causality F-statistic: does seriesbhelp predict seriesa? ·granger_causality.rsHighLowRange— High-Low Range — the bar range as a fraction of close ·high_low_range.rsHurstExponent— Rolling Hurst Exponent via simplified R/S analysis ·hurst_exponent.rsJarqueBera— Jarque-Bera — a normality-test statistic on a rolling window ·jarque_bera.rsKalmanHedgeRatio— Kalman-filter dynamic hedge ratio between two series ·kalman_hedge_ratio.rsKendallTau— Kendall's tau-b — rank correlation by concordant vs. discordant pairs ·kendall_tau.rsKurtosis— Rolling excess kurtosis (Pearson's fourth standardised central moment − 3) ·kurtosis.rsLeadLagCrossCorrelation— Lead–Lag Cross-Correlation — which of two assets leads the other, and by how much ·lead_lag_cross_correlation.rsLinearRegression— Linear Regression (rolling least-squares endpoint) ·linreg.rsLinRegAngle— Linear Regression Angle ·linreg_angle.rsLinRegIntercept— Linear Regression Intercept (LINEARREG_INTERCEPT) ·linreg_intercept.rsLinRegSlope— Linear Regression Slope ·linreg_slope.rsLogReturn— Logarithmic Return over a fixed lag ·log_return.rsMedianAbsoluteDeviation— Rolling Median Absolute Deviation (MAD), a robust dispersion estimator ·median_absolute_deviation.rsMedianPrice— Median Price ·median_price.rsMidPoint— Midpoint (MIDPOINT) over a rolling window of a scalar series ·mid_point.rsMidPrice— Midpoint Price (MIDPRICE) over a rolling window of high/low extremes ·mid_price.rsOuHalfLife— Ornstein–Uhlenbeck half-life of mean reversion for the spread of two series ·ou_half_life.rsPairSpreadZScore— Pair Spread Z-Score — the standardised log-spread of two cointegrated assets ·pair_spread_zscore.rsPairwiseBeta— Pairwise Beta — rolling OLS slope of one asset's log-returns on another's ·pairwise_beta.rsPearsonCorrelation— Rolling Pearson correlation between two synchronised series ·pearson_correlation.rsRealizedVolatility— Realized Volatility from the sum of squared log returns ·realized_volatility.rsRelativeStrengthAB— Relative Strength A-vs-B — the price ratio of two assets, plus its MA and RSI ·relative_strength_ab.rsRollingCorrelation— Rolling Pearson correlation of the period-over-period returns of two series ·rolling_correlation.rsRollingCovariance— Rolling covariance of the period-over-period returns of two series ·rolling_covariance.rsRollingIqr— Rolling Interquartile Range (IQR) over a trailing window ·rolling_iqr.rsRollingMinMaxScaler— Rolling Min-Max Scaler — normalises the latest value to[0, 1]over a window ·rolling_min_max_scaler.rsRollingPercentileRank— Rolling Percentile Rank of the latest value within its trailing window ·rolling_percentile_rank.rsRollingQuantile— Rolling Quantile over a trailing window ·rolling_quantile.rsRSquared— Coefficient of determination R² for the rolling OLS fit ·r_squared.rsSampleEntropy— Sample Entropy (SampEn) — the regularity / predictability of a window ·sample_entropy.rsShannonEntropy— Shannon Entropy — the information content of a price window's distribution ·shannon_entropy.rsSkewness— Rolling Pearson skewness (third standardised central moment) ·skewness.rsSpearmanCorrelation— Rolling Spearman rank correlation between two synchronised series ·spearman_correlation.rsSpreadAr1Coefficient— AR(1) autoregression coefficient of the spread of two series ·spread_ar1_coefficient.rsSpreadBollingerBands— Bollinger bands on the spread of two series, for pairs mean-reversion trading ·spread_bollinger_bands.rsSpreadHurst— Hurst exponent of the spread of two series, for pairs-trading regime detection ·spread_hurst.rsStandardError— Standard Error of the rolling least-squares regression ·standard_error.rsTsf— Time Series Forecast (TSF) ·tsf.rsTypicalPrice— Typical Price ·typical_price.rsVariance— Rolling population variance ·variance.rsVarianceRatio— Lo–MacKinlay variance-ratio test on the spread of two series ·variance_ratio.rsWeightedClose— Weighted Close ·weighted_close.rsWickRatio— Wick Ratio — the shadow imbalance of a bar ·wick_ratio.rsZScore— Z-Score ·z_score.rs
Ehlers / Cycle (DSP) (29)
AdaptiveCci— Adaptive CCI — a CCI whose centre line adapts to the efficiency ratio ·adaptive_cci.rsAdaptiveCycle— Ehlers Adaptive Cycle period estimator (for adaptive oscillators) ·adaptive_cycle.rsAdaptiveRsi— Adaptive RSI — an RSI whose up/down averaging adapts to the efficiency ratio ·adaptive_rsi.rsAutocorrelationPeriodogram— Ehlers Autocorrelation Periodogram — estimates the dominant market cycle ·autocorrelation_periodogram.rsBandpassFilter— Ehlers Bandpass Filter — isolates the cyclic component around a target period ·bandpass_filter.rsCenterOfGravity— Ehlers Center of Gravity Oscillator ·center_of_gravity.rsCorrelationTrendIndicator— Ehlers Correlation Trend Indicator (CTI) — Pearson correlation of price vs. time ·correlation_trend_indicator.rsCyberneticCycle— Ehlers Cybernetic Cycle Component ·cybernetic_cycle.rsDecycler— Ehlers Decycler (single-pole high-pass complement) ·decycler.rsDecyclerOscillator— Ehlers Decycler Oscillator (difference of two decyclers) ·decycler_oscillator.rsEhlersStochastic— Ehlers Stochastic — Stochastic computed on a Roofing-Filter pre-filtered input ·ehlers_stochastic.rsEmpiricalModeDecomposition— Ehlers Empirical Mode Decomposition (bandpass + envelope) ·empirical_mode_decomposition.rsEvenBetterSinewave— Ehlers Even Better Sinewave (EBSW) — a normalised cycle oscillator in [-1, 1] ·even_better_sinewave.rsFama— Ehlers Following Adaptive Moving Average (FAMA) ·fama.rsFisherTransform— Ehlers Fisher Transform ·fisher_transform.rsHighpassFilter— Ehlers two-pole Highpass Filter — removes the trend, keeps the cycles ·highpass_filter.rsHilbertDominantCycle— Ehlers Hilbert Transform Dominant Cycle period estimator ·hilbert_dominant_cycle.rsHtDcPhase— Ehlers Hilbert Transform Dominant Cycle Phase (HT_DCPHASE) ·ht_dcphase.rsHtPhasor— Ehlers Hilbert Transform Phasor components (HT_PHASOR) ·ht_phasor.rsHtTrendMode— Ehlers Hilbert Transform Trend vs Cycle Mode (HT_TRENDMODE) ·ht_trendmode.rsInstantaneousTrendline— Ehlers Instantaneous Trendline (ITrend) ·instantaneous_trendline.rsInverseFisherTransform— Inverse Fisher Transform (Ehlers) ·inverse_fisher_transform.rsMama— Ehlers MESA Adaptive Moving Average (MAMA) and its follower (FAMA) ·mama.rsReflex— Ehlers Reflex — a zero-lag cycle oscillator built on a SuperSmoother prefilter ·reflex.rsRoofingFilter— Ehlers Roofing Filter (high-pass followed by SuperSmoother) ·roofing_filter.rsSineWave— Ehlers Sine Wave indicator ·sine_wave.rsSuperSmoother— Ehlers SuperSmoother filter ·super_smoother.rsTrendflex— Ehlers Trendflex — a trend-sensitive sibling of Reflex ·trendflex.rsUniversalOscillator— Ehlers Universal Oscillator — whitened, SuperSmoothed, AGC-normalised cycle ·universal_oscillator.rs
Pivots & S/R (12)
AndrewsPitchfork— Andrews Pitchfork — median line and parallels off the last three swing pivots ·andrews_pitchfork.rsCamarilla— Camarilla Pivot Points (Nick Stott) ·camarilla_pivots.rsCentralPivotRange— Central Pivot Range (CPR) — the pivot plus its two central levels ·central_pivot_range.rsClassicPivots— Classic (Floor-Trader) Pivot Points ·classic_pivots.rsDemarkPivots—DeMarkPivot Points ·demark_pivots.rsFibonacciPivots— Fibonacci Pivot Points ·fibonacci_pivots.rsMurreyMathLines— Murrey Math Lines — the eighths grid over the recent trading range ·murrey_math_lines.rsPivotReversal— Pivot Reversal — a breakout signal off the most recent confirmed swing pivots ·pivot_reversal.rsVolumeWeightedSr— Volume-Weighted Support/Resistance — a volume-weighted high/low band ·volume_weighted_sr.rsWilliamsFractals— Williams Fractals (Bill Williams) ·williams_fractals.rsWoodiePivots— Woodie Pivot Points (Tom Williams) ·woodie_pivots.rsZigZag—ZigZag— percentage-threshold swing detector ·zig_zag.rs
DeMark (19)
TdCamouflage— Tom DeMark TD Camouflage — a hidden-strength/weakness 1-bar reversal pattern ·td_camouflage.rsTdClop— Tom DeMark TD Clop — a 2-bar open/close engulfing reversal ·td_clop.rsTdClopwin— Tom DeMark TD Clopwin — a 2-bar "close/open within" inside-body pattern ·td_clopwin.rsTdCombo— Tom DeMark TD Combo — an aggressive variant of TD Countdown ·td_combo.rsTdCountdown— Tom DeMark TD Countdown (standalone 13-bar countdown) ·td_countdown.rsTdDeMarker— Tom DeMark DeMarker (TD DeMarker) — bounded [0, 1] oscillator built from ·td_demarker.rsTdDifferential— Tom DeMark TD Differential — 2-bar momentum-divergence reversal pattern ·td_differential.rsTdDWave— Tom DeMark TD D-Wave — a simplified Elliott-style swing-wave counter ·td_dwave.rsTdLines— Tom DeMark TD Lines (TDST — TD Setup Trend Support / Resistance levels) ·td_lines.rsTdMovingAverage— Tom DeMark TD Moving Averages — the ST1 (fast) and ST2 (slow) trend ribbon ·td_moving_average.rsTdOpen— Tom DeMark TD Open — open-vs-prior-range gap-reversal signal ·td_open.rsTdPressure— Tom DeMark TD Pressure — volume-weighted buying / selling pressure ·td_pressure.rsTdPropulsion— Tom DeMark TD Propulsion — a 2-bar trend-continuation thrust signal ·td_propulsion.rsTdRangeProjection— Tom DeMark TD Range Projection — next-bar high/low projection from the ·td_range_projection.rsTdRei— Tom DeMark Range Expansion Index (TD REI) ·td_rei.rsTdRiskLevel— Tom DeMark TD Risk Level — protective-stop levels derived from setup ·td_risk_level.rsTdSequential— Tom DeMark TD Sequential (Setup + Countdown) ·td_sequential.rsTdSetup— Tom DeMark TD Setup (9-bar buy / sell setup) ·td_setup.rsTdTrap— Tom DeMark TD Trap — an inside-bar ("trap") followed by a range breakout ·td_trap.rs
Ichimoku & Charts (7)
CandleVolume— CandleVolume — candlestick body with a volume-scaled width ·candle_volume.rsEquivolume— Equivolume — the price box height and its volume-scaled width ·equivolume.rsHeikinAshi— Heikin-Ashi candle transform ·heikin_ashi.rsHeikinAshiOscillator— Heikin-Ashi Oscillator — the (smoothed) Heikin-Ashi candle body as a zero-line oscillator ·heikin_ashi_oscillator.rsIchimoku— Ichimoku Kinko Hyo — the five-line cloud chart ·ichimoku.rsSmoothedHeikinAshi— Smoothed Heikin-Ashi — Heikin-Ashi computed on EMA-smoothed OHLC ·smoothed_heikin_ashi.rsThreeLineBreak— Three Line Break — the close-driven line-break chart trend, as a direction ·three_line_break.rs
Candlestick Patterns (66)
AbandonedBaby— Abandoned Baby candlestick pattern ·abandoned_baby.rsAdvanceBlock— Advance Block candlestick pattern ·advance_block.rsBeltHold— Belt-hold candlestick pattern ·belt_hold.rsBreakaway— Breakaway candlestick pattern ·breakaway.rsClosingMarubozu— Closing Marubozu candlestick pattern ·closing_marubozu.rsConcealingBabySwallow— Concealing Baby Swallow candlestick pattern ·concealing_baby_swallow.rsCounterattack— Counterattack candlestick pattern ·counterattack.rsDoji— Doji candlestick pattern ·doji.rsDojiStar— Doji Star candlestick pattern ·doji_star.rsDownsideGapThreeMethods— Downside Gap Three Methods candlestick pattern ·downside_gap_three_methods.rsDragonflyDoji— Dragonfly Doji candlestick pattern ·dragonfly_doji.rsDumplingTop— Dumpling Top — a rounded top (dome) confirmed by a breakdown ·dumpling_top.rsEngulfing— Bullish / Bearish Engulfing candlestick pattern ·engulfing.rsEveningDojiStar— Evening Doji Star candlestick pattern ·evening_doji_star.rsFallingThreeMethods— Falling Three Methods candlestick pattern ·falling_three_methods.rsFryPanBottom— Frying Pan Bottom — a rounded bottom (U) confirmed by recovery ·fry_pan_bottom.rsGapSideBySideWhite— Gap Side-by-Side White Lines candlestick pattern ·gap_side_by_side_white.rsGravestoneDoji— Gravestone Doji candlestick pattern ·gravestone_doji.rsHammer— Hammer candlestick pattern ·hammer.rsHangingMan— Hanging Man candlestick pattern ·hanging_man.rsHarami— Bullish / Bearish Harami candlestick pattern ·harami.rsHaramiCross— Harami Cross — a Harami whose second candle is a Doji ·harami_cross.rsHighWave— High-Wave candlestick pattern ·high_wave.rsHikkake— Hikkake candlestick pattern ·hikkake.rsHikkakeModified— Modified Hikkake candlestick pattern ·hikkake_modified.rsHomingPigeon— Homing Pigeon candlestick pattern ·homing_pigeon.rsIdenticalThreeCrows— Identical Three Crows candlestick pattern ·identical_three_crows.rsInNeck— In-Neck candlestick pattern ·in_neck.rsInvertedHammer— Inverted Hammer candlestick pattern ·inverted_hammer.rsKicking— Kicking candlestick pattern ·kicking.rsKickingByLength— Kicking-by-Length candlestick pattern ·kicking_by_length.rsLadderBottom— Ladder Bottom candlestick pattern ·ladder_bottom.rsLongLeggedDoji— Long-Legged Doji candlestick pattern ·long_legged_doji.rsLongLine— Long Line candlestick pattern ·long_line.rsMarubozu— Marubozu candlestick pattern ·marubozu.rsMatchingLow— Matching Low candlestick pattern ·matching_low.rsMatHold— Mat Hold candlestick pattern ·mat_hold.rsMorningDojiStar— Morning Doji Star candlestick pattern ·morning_doji_star.rsMorningEveningStar— Morning Star / Evening Star candlestick pattern ·morning_evening_star.rsNewPriceLines— New Price Lines — the "eight/ten new price lines" exhaustion count ·new_price_lines.rsOnNeck— On-Neck candlestick pattern ·on_neck.rsOpeningMarubozu— Opening Marubozu candlestick pattern ·opening_marubozu.rsPiercingDarkCloud— Piercing Line / Dark Cloud Cover candlestick pattern ·piercing_dark_cloud.rsRickshawMan— Rickshaw Man candlestick pattern ·rickshaw_man.rsRisingThreeMethods— Rising Three Methods candlestick pattern ·rising_three_methods.rsSeparatingLines— Separating Lines candlestick pattern ·separating_lines.rsShootingStar— Shooting Star candlestick pattern ·shooting_star.rsShortLine— Short Line candlestick pattern ·short_line.rsSpinningTop— Spinning Top candlestick pattern ·spinning_top.rsStalledPattern— Stalled Pattern (Deliberation) candlestick pattern ·stalled_pattern.rsStickSandwich— Stick Sandwich candlestick pattern ·stick_sandwich.rsTakuri— Takuri candlestick pattern ·takuri.rsTasukiGap— Tasuki Gap candlestick pattern ·tasuki_gap.rsThreeInside— Three Inside Up / Down candlestick pattern ·three_inside.rsThreeLineStrike— Three Line Strike candlestick pattern ·three_line_strike.rsThreeOutside— Three Outside Up / Down candlestick pattern ·three_outside.rsThreeSoldiersOrCrows— Three White Soldiers / Three Black Crows candlestick pattern ·three_soldiers_or_crows.rsThreeStarsInSouth— Three Stars in the South candlestick pattern ·three_stars_in_south.rsThrusting— Thrusting candlestick pattern ·thrusting.rsTowerTopBottom— Tower Top / Tower Bottom — a tall bar, a pause, then a tall opposite bar ·tower_top_bottom.rsTristar— Tristar — a three-doji reversal pattern ·tristar.rsTweezer— Tweezer Top / Bottom candlestick pattern ·tweezer.rsTwoCrows— Two Crows candlestick pattern ·two_crows.rsUniqueThreeRiver— Unique Three River candlestick pattern ·unique_three_river.rsUpsideGapThreeMethods— Upside Gap Three Methods candlestick pattern ·upside_gap_three_methods.rsUpsideGapTwoCrows— Upside Gap Two Crows candlestick pattern ·upside_gap_two_crows.rs
Microstructure (20)
AmihudIlliquidity— Amihud Illiquidity — average price impact per unit traded value ·amihud_illiquidity.rsCumulativeVolumeDelta— Cumulative Volume Delta — running sum of signed trade volume ·cvd.rsDepthSlope— Depth Slope — how fast resting liquidity accumulates away from the mid ·depth_slope.rsEffectiveSpread— Effective Spread — the realised cost of a single trade in basis points ·effective_spread.rsFootprint— Footprint — buy/sell volume profile per price bucket within a bar ·footprint.rsHasbrouckInformationShare— Hasbrouck Information Share — each venue's contribution to price discovery ·hasbrouck_information_share.rsKylesLambda— Kyle's Lambda — rolling price impact per unit of signed order flow ·kyles_lambda.rsMicroprice— Microprice — size-weighted fair value of the top of book ·microprice.rsOrderBookImbalanceFull— Order-Book Imbalance over the full visible depth ·ob_imbalance_full.rsOrderBookImbalanceTop1— Order-Book Imbalance at the top of book ·ob_imbalance_top1.rsOrderBookImbalanceTopN— Order-Book Imbalance over the top-N levels ·ob_imbalance_topn.rsOrderFlowImbalance— Order Flow Imbalance (OFI) from best-level order-book changes ·order_flow_imbalance.rsPin— PIN — Probability of Informed Trading (single-window EKOP estimate) ·pin.rsQuotedSpread— Quoted Spread — top-of-book spread in basis points ·quoted_spread.rsRealizedSpread— Realized Spread — the post-trade liquidity revenue of a trade in basis ·realized_spread.rsRollMeasure— Roll Measure — effective spread implied by serial covariance of price changes ·roll_measure.rsSignedVolume— Signed Volume — per-trade volume signed by aggressor side ·signed_volume.rsTradeImbalance— Trade Imbalance — rolling buy/sell volume imbalance over a trade window ·trade_imbalance.rsTradeSignAutocorrelation— Trade-Sign Autocorrelation — lag-1 persistence of the trade-aggressor side ·trade_sign_autocorrelation.rsVpin— VPIN — Volume-Synchronised Probability of Informed Trading ·vpin.rs
Derivatives (17)
CalendarSpread— Calendar Spread — the dated future's relative premium to the perpetual ·calendar_spread.rsEstimatedLeverageRatio— Estimated Leverage Ratio — open interest per unit of aggregate position size ·estimated_leverage_ratio.rsFundingBasis— Funding Basis — the perpetual mark's relative premium to the spot index ·funding_basis.rsFundingImpliedApr— Funding-Implied APR — the per-interval funding rate annualised ·funding_implied_apr.rsFundingRate— Funding Rate — the current perpetual funding rate ·funding_rate.rsFundingRateMean— Funding Rate Rolling Mean — average funding rate over a trailing window ·funding_rate_mean.rsFundingRateZScore— Funding Rate Z-Score — how extreme the latest funding rate is versus its ·funding_rate_zscore.rsLiquidationFeatures— Liquidation Features — per-tick long/short liquidation breakdown ·liquidation_features.rsLongShortRatio— Long/Short Ratio — aggregate long size relative to short size ·long_short_ratio.rsOIPriceDivergence— Open-Interest / Price Divergence — relative OI change minus relative price ·oi_price_divergence.rsOiToVolumeRatio— OI-to-Volume Ratio — open interest relative to traded volume ·oi_to_volume_ratio.rsOIWeighted— Open-Interest-Weighted Price — cumulative mark price weighted by open ·oi_weighted.rsOpenInterestDelta— Open-Interest Delta — the tick-over-tick change in open interest ·oi_delta.rsOpenInterestMomentum— Open-Interest Momentum — the rate of change of open interest over a lookback ·open_interest_momentum.rsPerpetualPremiumIndex— Perpetual Premium Index — the perp mark price relative to spot ·perpetual_premium_index.rsTakerBuySellRatio— Taker Buy/Sell Ratio — aggressive buy volume relative to aggressive sell ·taker_buy_sell_ratio.rsTermStructureBasis— Term-Structure Basis — the dated future's relative premium to spot ·term_structure_basis.rs
Market Profile (10)
CompositeProfile— Composite Profile — POC and value area over a long composite window ·composite_profile.rsHighLowVolumeNodes— High/Low Volume Nodes (HVN / LVN) — the busiest and quietest price levels ·high_low_volume_nodes.rsInitialBalance— Initial Balance (IB): the high / low established over the first N bars of ·initial_balance.rsNakedPoc— Naked POC — the nearest prior-session point of control price has not yet revisited ·naked_poc.rsOpeningRange— Opening Range (OR): high / low of the first N session bars plus the ·opening_range.rsProfileShape— Profile Shape — classifies the volume profile as b-shape, P-shape, or D/normal ·profile_shape.rsSinglePrints— Single Prints — count of price levels touched by exactly one bar (low acceptance) ·single_prints.rsTpoProfile— TPO Profile — the Time-Price-Opportunity (market-profile letter) distribution ·tpo_profile.rsValueArea— Value Area (Point of Control + Value Area High / Low) ·value_area.rsVolumeProfile— Volume Profile — the full per-bin volume distribution over a rolling window ·volume_profile.rs
Risk / Performance (28)
Alpha— Rolling Jensen's Alpha (CAPM) ·alpha.rsAverageDrawdown— Rolling Average Drawdown ·average_drawdown.rsBurkeRatio— Burke Ratio — mean return over the square root of the summed squared drawdowns ·burke_ratio.rsCalmarRatio— Rolling Calmar Ratio — return over max drawdown ·calmar_ratio.rsCommonSenseRatio— Common Sense Ratio (Schwager / Carver) — profit factor multiplied by the tail ratio ·common_sense_ratio.rsConditionalValueAtRisk— Rolling Conditional Value-at-Risk (CVaR/ Expected Shortfall) ·conditional_value_at_risk.rsDrawdownDuration— Drawdown Duration — bars since the last all-time peak ("time under water") ·drawdown_duration.rsExpectancy— Expectancy — expected return per unit of average loss (R-multiple) ·expectancy.rsGainLossRatio— Rolling Gain/Loss Ratio ·gain_loss_ratio.rsGainToPainRatio— Gain-to-Pain Ratio (Schwager) — sum of returns over the sum of losses ·gain_to_pain_ratio.rsInformationRatio— Rolling Information Ratio ·information_ratio.rsKellyCriterion— Rolling Kelly Criterion ·kelly_criterion.rsKRatio— K-Ratio (Kestner) — slope of the cumulative-return curve over the standard error of that slope ·k_ratio.rsM2Measure— M² / Modigliani–Modigliani measure — Sharpe expressed in benchmark return units ·m2_measure.rsMartinRatio— Martin Ratio (Ulcer Performance Index) — mean return over the Ulcer Index ·martin_ratio.rsMaxDrawdown— Maximum Drawdown over a rolling window ·max_drawdown.rsOmegaRatio— Rolling Omega Ratio — gain-to-loss ratio above a threshold ·omega_ratio.rsPainIndex— Rolling Pain Index — mean depth of drawdowns ·pain_index.rsProfitFactor— Rolling Profit Factor ·profit_factor.rsRecoveryFactor— Recovery Factor — cumulative net return over max drawdown ·recovery_factor.rsSharpeRatio— Rolling Sharpe Ratio ·sharpe_ratio.rsSortinoRatio— Rolling Sortino Ratio — Sharpe with downside-only volatility ·sortino_ratio.rsSterlingRatio— Sterling Ratio — mean return over the average drawdown of the equity curve ·sterling_ratio.rsTailRatio— Tail Ratio — the right tail (95th percentile) over the absolute left tail (5th percentile) ·tail_ratio.rsTreynorRatio— Rolling Treynor Ratio ·treynor_ratio.rsUpsidePotentialRatio— Upside Potential Ratio (Sortino, van der Meer & Plantinga) — upside mean over downside deviation ·upside_potential_ratio.rsValueAtRisk— Rolling historical Value-at-Risk (VaR) ·value_at_risk.rsWinRate— Win Rate — the fraction of winning returns over a rolling window ·win_rate.rs
Alt-Chart Bars (10)
DollarBars— Dollar bar builder — close a bar each time accumulated traded value reaches a threshold ·dollar_bars.rsImbalanceBars— Tick-imbalance bar builder (simplified López de Prado) — sample on cumulative signed order flow ·imbalance_bars.rsKagiBars— Kagi bar builder — reversal-amount line segments on close prices ·kagi_bars.rsPointAndFigureBars— Point-and-Figure bar builder — box-size columns with an N-box reversal ·point_and_figure_bars.rsRangeBars— Range bar builder — fixed price-range bars with no reversal penalty ·range_bars.rsRenkoBars— Renko bar builder — fixed box-size bricks with the classic reversal rule ·renko_bars.rsRunBars— Run bar builder (simplified López de Prado) — sample on runs of same-signed ticks ·run_bars.rsThreeLineBreakBars— Three-Line-Break bar builder — line-break chart segments driven by close prices ·three_line_break_bars.rsTickBars— Tick bar builder — aggregate a fixed number of candles into one OHLCV bar ·tick_bars.rsVolumeBars— Volume bar builder — close a bar each time accumulated volume reaches a threshold ·volume_bars.rs
Market Breadth (15)
AbsoluteBreadthIndex— Absolute Breadth Index — the magnitude of net advancing-minus-declining issues ·absolute_breadth_index.rsAdvanceDecline— Advance/Decline Line — cumulative net advancing-minus-declining issues ·advance_decline.rsAdvanceDeclineRatio— Advance/Decline Ratio — advancing issues divided by declining issues ·advance_decline_ratio.rsAdVolumeLine— Advance/Decline Volume Line — cumulative net advancing-minus-declining volume ·ad_volume_line.rsBreadthThrust— Breadth Thrust (Zweig) — a moving average of the advancing-issues share ·breadth_thrust.rsBullishPercentIndex— Bullish Percent Index — share of a universe on a point-and-figure buy signal ·bullish_percent_index.rsCumulativeVolumeIndex— Cumulative Volume Index — running total of volume-normalised net advancing volume ·cumulative_volume_index.rsHighLowIndex— High-Low Index — a moving average of the record-high percentage ·high_low_index.rsMcClellanOscillator— McClellan Oscillator — the spread between a fast and slow EMA of breadth ·mcclellan_oscillator.rsMcClellanSummationIndex— McClellan Summation Index — the running total of the McClellan Oscillator ·mcclellan_summation_index.rsNewHighsNewLows— New Highs − New Lows — net count of fresh period extremes across a universe ·new_highs_new_lows.rsPercentAboveMa— Percent Above Moving Average — share of a universe trading above its MA ·percent_above_ma.rsTickIndex— TICK Index — instantaneous net advancing-minus-declining issues ·tick_index.rsTrin— TRIN / Arms Index — the advance-decline ratio over the up-down volume ratio ·trin.rsUpDownVolumeRatio— Up/Down Volume Ratio — advancing volume divided by declining volume ·up_down_volume_ratio.rs
Seasonality & Session (12)
AverageDailyRange— Average Daily Range (ADR) — the mean high-minus-low range of the lastperiod·average_daily_range.rsDayOfWeekProfile— Day-of-Week Profile — the mean bar return for each weekday ·day_of_week_profile.rsIntradayVolatilityProfile— Intraday Volatility Profile — the return volatility in each intraday bucket ·intraday_volatility_profile.rsOvernightGap— Overnight Gap — the return from the previous session's close to the current ·overnight_gap.rsOvernightIntradayReturn— Overnight vs. Intraday Return — decomposes a session's total return into its ·overnight_intraday_return.rsSeasonalZScore— Seasonal Z-Score — how far the current bar's return sits from the historical ·seasonal_z_score.rsSessionHighLow— Session High/Low — the running high and low of the current calendar-day ·session_high_low.rsSessionRange— Session Range — the high-minus-low range accumulated within each of the ·session_range.rsSessionVwap— Session VWAP — the volume-weighted average price accumulated since the start ·session_vwap.rsTimeOfDayReturnProfile— Time-of-Day Return Profile — the mean bar return in each intraday time bucket ·time_of_day_return_profile.rsTurnOfMonth— Turn-of-Month Effect — the mean daily return of sessions that fall inside the ·turn_of_month.rsVolumeByTimeProfile— Volume-by-Time Profile — the mean traded volume in each intraday bucket ·volume_by_time_profile.rs
Chart Patterns (8)
CupAndHandle— Cup-and-Handle (and Inverse) continuation chart pattern ·cup_and_handle.rsDoubleTopBottom— Double Top / Double Bottom reversal chart pattern ·double_top_bottom.rsFlagPennant— Flag / Pennant continuation chart pattern ·flag_pennant.rsHeadAndShoulders— Head-and-Shoulders (and Inverse) reversal chart pattern ·head_and_shoulders.rsRectangleRange— Rectangle / Range chart pattern ·rectangle_range.rsTriangle— Triangle (ascending / descending / symmetrical) chart pattern ·triangle.rsTripleTopBottom— Triple Top / Triple Bottom reversal chart pattern ·triple_top_bottom.rsWedge— Wedge (rising / falling) reversal chart pattern ·wedge.rs
Harmonic Patterns (8)
Abcd— AB=CD harmonic pattern ·abcd.rsBat— Bat harmonic pattern ·bat.rsButterfly— Butterfly harmonic pattern ·butterfly.rsCrab— Crab harmonic pattern ·crab.rsCypher— Cypher harmonic pattern ·cypher.rsGartley— Gartley harmonic pattern ·gartley.rsShark— Shark harmonic pattern ·shark.rsThreeDrives— Three Drives harmonic pattern ·three_drives.rs
Fibonacci (10)
AutoFib— Auto-Fibonacci — retracement of the most significant recent swing leg ·auto_fib.rsFibArcs— Fibonacci Arcs — semicircular retracement levels centred on the swing end, ·fib_arcs.rsFibChannel— Fibonacci Channel — a sloped base trendline plus parallel lines offset by ·fib_channel.rsFibConfluence— Fibonacci Confluence — the strongest retracement cluster across recent legs ·fib_confluence.rsFibExtension— Fibonacci Extension of the most recent confirmed swing leg ·fib_extension.rsFibFan— Fibonacci Fan — trendlines fanning from a swing start through the ·fib_fan.rsFibProjection— Fibonacci Projection — a measured move from the last three swing pivots ·fib_projection.rsFibRetracement— Fibonacci Retracement of the most recent confirmed swing leg ·fib_retracement.rsFibTimeZones— Fibonacci Time Zones — vertical markers at Fibonacci bar-distances from the ·fib_time_zones.rsGoldenPocket— Golden Pocket — the 0.618-0.65 optimal-trade-entry zone of the last swing ·golden_pocket.rs