Skip to content

pi_cycle_bottom — PI Cycle Bottom ​

Category: Trend · Composite

Reading the response

Use POST /api/indicators?explain=true to include interpretation notes at indicators[responseKey].explain. Read numeric results from columns and data in the same object.

This is a trend indicator.

Parameters ​

ParameterTypeDefault
long_smaint471
short_emaint150
long_multiplefloat0.745
short_multiplefloat1

Output columns ​

Column
pi_cycle_bottom_diff
pi_cycle_bottom_long_ma
pi_cycle_bottom_marker
pi_cycle_bottom_short_ma
pi_cycle_bottom_signal

Native features ​

Set top-level signals: true and read indicators[responseKey].signals. By default features are evaluated on closed bars: true is a positive result, false a valid negative result, and null unknown. These are not trade instructions.

This indicator supports include_forming: true: treat the current final OHLCV sample as complete under the same native rules, returning one set of values, features and objects. The signal table appends bar_status: closed for closed bars, forming for a trial with confirmed_at_ms=null. A trial may disappear on later updates or at close. For BYO, still set last_bar_closed: false. Close requirements below describe the default mode; trials only admit the final sample without shortening structural windows or model confirmation requirements. See forming trials.

History lengths are minimum evaluation requirements, not convergence guarantees. Comparisons use unrounded values and the exact boundaries below. Do not turn null into false on gaps, invalid dependencies or forming bars in the default mode.

Feature columnKindRuleMeaningHistory / validity
pi_cycle_bottom.cross_downeventPrevious short_ma >= long_ma; current short_ma < long_ma, using pi_cycle_bottom_signal.The scaled short EMA crosses below the scaled long SMA; this does not guarantee a cycle bottom.max(long_sma, short_ema) + 1 contiguous bars with both averages valid.

pi_cycle_bottom.cross_down ​

  • Uses the requested interval. Use interval=1d for daily-cycle interpretation; no automatic timeframe conversion.

See feature requests for the format and examples. /api/chart also accepts signals: true, marking confirmed events by default. With include_forming, trial events also produce markers tagged bar_status=forming; states are not drawn on every bar. See feature charts.

Example call ​

bash
curl -X POST -H "Authorization: Bearer mq_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "exchange": "binance",
    "market":   "perp",
    "symbol":   "BTCUSDT",
    "interval": "1d",
    "limit":    500,
    "signals":  true,
    "calc":     [{"name": "pi_cycle_bottom", "params": {"long_sma": 471, "short_ema": 150, "long_multiple": 0.745, "short_multiple": 1}}]
  }' \
  https://api.mobiusquant.ai/api/indicators

Full interpretation guide ​

Field meanings, interpretation rules and usage notes are documented in Chinese at:

pi_cycle_bottom (中文详情)

alligator · alma · ema · hma · hmm_regime · lsma · mcginley_dynamic · mobius_trend

AI trading infrastructure