Modules
107 modules7 categories
Every building block available in the editor. Each page lists a module's inputs and outputs, what it costs to run and how it works.
Sources
13 modules
- CryptocurrencyOpen, high, low, close and volume (OHLCV) bars for a crypto pair on KuCoin, at the period you choose. Prices are in USDT; volume is in the base asset (BTC for BTC/USDT).
kaya-crypto - Macro: Interest RatesU.S. interest-rate series — the full Treasury constant-maturity ladder, real yields and inflation expectations, curve spreads, and the policy and overnight funding rates — for reading liquidity conditions, funding stress and discount rates.
kaya-macrointerest - Macro: Market IndicatorsA practical guide to using equity indexes, volatility, financial stress, labor, activity, inflation, the dollar and crude to classify regimes, estimate crash risk, and inform crypto and equity trading.
kaya-macromarket - Macro: Money and LiquidityA practical guide to using money and credit aggregates with policy plumbing to infer liquidity regimes and risk-asset performance.
kaya-macromoney - Perpetuals: Funding RateFunding rate of Bybit USDT perpetual futures, from Coinalyze. Positive means longs pay shorts; negative means shorts pay longs. Each bar holds the rate at its end, in percent (0.01 means 0.01%).
kaya-funding-rate - Perpetuals: LiquidationsForced position closures on Bybit USDT perpetual futures, from Coinalyze, in the base asset (BTC for BTC/USDT, troy ounces for XAU/USDT). Long liquidations cluster on price drops, short liquidations on rallies.
kaya-liquidation - Perpetuals: Long/Short RatioHow traders are positioned on Bybit USDT perpetual futures, from Coinalyze. Long Ratio is the percent of accounts that are net long, Short Ratio the percent that are net short, and Long/Short Ratio is the first divided by the second.
kaya-long-short-ratio - Perpetuals: Open InterestA guide to using the open interest of Bybit's USDT perpetual futures, for crypto and for gold and silver, in trading and market analysis.
kaya-oi - Stock: Balance Sheet (Quarter-End)Balance-sheet figures in US dollars from SEC EDGAR quarterly filings, each one the balance at a quarter-end: assets, liabilities, inventory, long-term debt, and retained earnings.
kaya-balance-sheet - Stock: FundamentalsPer-share SEC EDGAR quarterly figures — EPS, revenue per share, book value per share, share count, and dividends per share — the denominator side of every price ratio.
kaya-fundamentals - Stock: Income and Cash Flow (TTM)Income-statement and cash-flow figures in US dollars from SEC EDGAR quarterly filings, each one a trailing-twelve-month (TTM) total: gross profit, operating income, net income, operating cash flow, and capital expenditures.
kaya-income-cashflow - Stock: Insider TransactionsA practical guide to using SEC Form 4 insider buy/sell activity as a sentiment signal alongside a price series.
kaya-insider-transactions - Stock: PriceA practical guide to using Alpaca's US stock and ETF bars to build price and ratio signals alongside SEC EDGAR fundamentals.
kaya-stock
Core
4 modules
- CollapseA sweep asks a question many times at once. **Collapse** answers it once.
kaya-collapse - FilterA sweep gives you many candidates. **Filter** keeps the ones that pass a test, ranks them, and forwards the best few, in rank order, on its single output.
kaya-filter - For EachEvery strategy contains a number you guessed. A moving-average window, an RSI threshold, a lookback for a z-score. You picked 20 because 20 felt reasonable, and never went back.
kaya-for-each - Make MatrixSome modules, such as Linear Regression Predictor and the classifiers, do not work on a single series. They work on a **table**: many series, read together on each bar. **Make Matrix** builds that table from up to 20 series connected to its Row input.
systemic:core-mmtrx
Indicators
55 modules
- (Bearish) CrossUnderThe **Crossunder** module detects the bar where one series crosses **below** another, a classic bearish signal in technical analysis. It is the mirror image of the Crossover module and helps identify trend reversals and exit points.
systemic:core-cu - (Bullish) CrossOverThe **Crossover** module detects the bar where one series crosses **above** another, a classic bullish signal in technical analysis. Many widely used trading strategies are built on this idea.
systemic:core-co - Accumulation Distribution IndexThe **Accumulation Distribution Index (ADI)**, also called the Accumulation Distribution Line (ADL), is a running total that estimates the flow of money into or out of an asset. Developed by Marc Chaikin, it combines price and volume to measure buying and selling pressure. Traders use it to confirm trends, spot divergences, and find possible reversals.
systemic:core-adi - AroonA practical guide to the AROON indicator: measuring trend strength and spotting reversals in stocks and cryptocurrencies.
systemic:core-aroon - Average Directional IndexHow to use the Average Directional Index (ADX) to measure trend strength, filter trades, and tell trending markets from ranging ones in equities and cryptocurrencies.
systemic:core-adx - Average True RangeA guide to the Average True Range (ATR): measuring volatility and setting risk levels in traditional and crypto markets.
systemic:core-atr - Awesome OscilatorHow to use the Awesome Oscillator (AO) to measure momentum, confirm trends, and spot reversals in equities and cryptocurrencies.
systemic:core-ao - Bollinger BandsA practical guide to Bollinger Bands: spotting volatility regimes and overbought/oversold conditions in traditional and crypto markets.
systemic:core-bb - Chaikin Money FlowA guide to the Chaikin Money Flow (CMF) indicator: measuring volume-weighted buying and selling pressure, confirming trends, and spotting reversals in traditional and crypto markets.
systemic:core-cmf - Commodity Channel IndexA guide to the Commodity Channel Index (CCI): spotting cycles and momentum extremes in traditional and crypto markets.
systemic:core-cci - Confirmed Peak / TroughA price can look like a turning point today and be passed tomorrow. **Confirmed Peak / Trough** waits for a chosen number of later values before it calls a high or low a swing. It gives you two running reference levels: the last confirmed peak and the last confirmed trough. Connect closing prices to study turns in closes, or connect an oscillator to study turns in that oscillator.
systemic:core-pivot - Constant Bias ScaleThe **Constant Bias Scale** module applies a linear transformation to each value in a series: it multiplies by a scale factor, then adds a bias.
systemic:core-cbs - Cumulative ReturnA practical guide to using Cumulative Return (CR) for evaluating total investment performance, comparing strategies, and understanding compounding in both traditional and crypto markets.
systemic:core-cr - Cumulative Volume Delta DivergenceThe **Cumulative Volume Delta** module computes a running total of volume-weighted price changes. It shows the net buying and selling pressure over time. Traders use it to spot divergences between price and volume, which often come before trend reversals.
systemic:core-cvdd - Daily Log ReturnThe **Daily Log Return** expresses price moves as continuously compounded returns, a basic tool of quantitative finance. A simple return asks "what percentage did I gain?". A log return asks "at what continuous rate did my investment grow?"
systemic:core-dlr - Daily ReturnThe **Daily Return (DR)** indicator measures the percentage change in the closing price of an asset from one bar to the next (one trading day to the next on daily data). It is a basic metric in financial analysis that shows an asset's day-to-day performance and volatility. Daily Return is widely used in both traditional markets (stocks, ETFs, indices) and cryptocurrencies, where high volatility and 24/7 trading make it especially useful.
systemic:core-dr - Detrend Price OscillatorThe **Detrended Price Oscillator (DPO)** is a technical analysis tool that removes long-term price trends, so short-term cycles and turning points are easier to see. Unlike many oscillators, the DPO does not use the most recent price directly: it compares the price from a few bars back with the current moving average. This helps traders study short-term price movements apart from the broader trend.
systemic:core-dpo - Directional Movement IndexThe **Directional Movement Index (DMI)**, developed by J. Welles Wilder Jr., is a classic technical analysis tool for measuring the strength and direction of market trends. DMI is widely used in both traditional securities (stocks, ETFs, futures) and cryptocurrencies to tell trending markets from ranging ones and to generate signals. It has three main elements:
systemic:core-dmi - Donchian ChannelA practical guide to using the Donchian Channel (DC) for identifying breakouts, following trends, and measuring volatility in both traditional and crypto markets.
systemic:core-dc - Ease Of MovementThe **Ease of Movement (EMV)** is a volume-based oscillator. It relates an asset's price movement to its trading volume and shows how easily price moves up or down. It is useful in fast-moving, high-volume markets such as cryptocurrencies.
systemic:core-emv - Exponential Moving AverageThe **Exponential Moving Average (EMA)** smooths a price series and gives more weight to recent prices. It reacts faster to new information than the Simple Moving Average (SMA). Traders use it to identify trends, build signals and filter market noise. It is used for stocks, ETFs and cryptocurrencies.
systemic:core-ema - Force IndexThe **Force Index (FI)**, developed by Alexander Elder, is a momentum oscillator. It combines price change and volume to measure the strength of buying and selling pressure. It shows the direction and strength of a trend and can warn of reversals. It is useful in fast-moving, high-volume markets such as cryptocurrencies.
systemic:core-fi - Fundamental: Altman Z-ScoreZ = 1.2\frac{CA-CL}{TA} + 1.4\frac{RE}{TA} + 3.3\frac{EBIT}{TA} + 0.6\frac{MVE}{TL} + 1.0\frac{S}{TA}
systemic:core-altz - Fundamental: Altman Z''-Score (Non-Manufacturer)Z'' = 6.56X_1 + 3.26X_2 + 6.72X_3 + 1.05X_4
systemic:core-altzdp - Fundamental: Graham Number\text{Graham Number} = \sqrt{22.5 \times EPS \times BVPS}
systemic:core-graham - Fundamental: Piotroski F-ScoreThe **Piotroski F-Score** (Joseph Piotroski, 2000) grades a company's fundamental health on a **0–9 scale**. It is built from nine pass/fail tests of profitability, leverage/liquidity, and operating efficiency. Most tests compare the current period with the same period one year (`year_lag` bars) earlier.
systemic:core-pfs - Ichimoku Kinko HyoThe **Ichimoku Kinko Hyo**, also known as the **Ichimoku Cloud**, is a technical analysis system. Japanese journalist Goichi Hosoda developed it in the late 1930s and published it in 1969. It shows trend, momentum and support/resistance in a single chart. Its name means "one glance equilibrium chart." For a detailed history, see [Investopedia: Ichimoku Cloud](https://www.investopedia.com/terms/i/ichimoku-cloud.asp) and [TradingView: Ichimoku Cloud History](https://www.tradingview.com/wiki/Ichimoku_Cloud).
systemic:core-ichimoku - Kaufman's Adaptive Moving Average\text{KAMA}_t = \text{KAMA}_{t-1} + SC^2 \times (\text{Price}_t - \text{KAMA}_{t-1})
systemic:core-kama - Keltner ChannelThe **Keltner Channel (KC)** is a volatility-based technical indicator introduced by Chester W. Keltner in his 1960 book "How to Make Money in Commodities." The modern version, popularized by Linda Bradford Raschke, uses an Exponential Moving Average (EMA) as the middle line and bands based on the Average True Range (ATR). Keltner Channels are widely used in both traditional securities and cryptocurrencies to identify breakouts, overbought/oversold conditions, and trend direction. For more, see [Investopedia: Keltner Channel](https://www.investopedia.com/terms/k/keltnerchannel.asp), [StockCharts: Keltner Channel](https://school.stockcharts.com/doku.php?id=technical_indicators:keltner_channels), and [Binance Academy: Volatility Indicators in Crypto](https://academy.binance.com/en/articles/volatility-indicators-in-crypto-trading).
systemic:core-kc - Know Sure ThingThe **Know Sure Thing (KST)** is a momentum oscillator developed by [Martin Pring](https://www.pring.com/) and first published in 1992 in *Stocks & Commodities* magazine. Originally called the "Summed Rate of Change," the KST was designed to solve a fundamental problem in technical analysis: **how to capture momentum across multiple time horizons in a single, actionable indicator**.
systemic:core-kst - Mass IndexThe **Mass Index** is a volatility-based indicator developed by Donald Dorsey in 1992. Momentum indicators measure *direction*. The Mass Index measures how the *price range expands and contracts*, to detect when volatility is building toward a possible trend reversal.
systemic:core-mi - Money Flow IndexIn the 1980s, J. Welles Wilder's RSI was the most popular momentum oscillator. But two technical analysts, **Gene Quong and Avrum Soudack**, noticed a problem.
systemic:core-mfi - Moving Average Convergence DivergenceThe **MACD** (Moving Average Convergence Divergence) is one of the best-known momentum indicators in technical analysis. Gerald Appel created it in the late 1970s. It is still widely used because it combines **trend-following** and **momentum** analysis in a single measure.
systemic:core-macd - Negative Volume IndexThe **Negative Volume Index (NVI)** is a cumulative indicator. It tracks price changes only on bars where trading [volume](https://www.investopedia.com/terms/v/volume.asp) is lower than on the previous bar. **Paul Dysart** developed it in the 1930s and **Norman Fosback** later refined it. The idea: "smart money" (informed, institutional investors) tends to trade on low-volume days, while the "crowd" dominates high-volume days.
systemic:core-nvi - On Balance Volume**On Balance Volume (OBV)** is a momentum indicator developed by **Joseph Granville** in 1963 and introduced in his book *Granville's New Key to Stock Market Profits*. The core idea behind OBV is simple: **volume precedes price**.
systemic:core-obv - Parabolic Stop And ReverseEvery trader faces a dilemma: how do you protect profits without exiting too early?
systemic:core-psar - Percentage Price OscillatorYou compare two stocks. Stock A (\$500) has a MACD of 5. Stock B (\$25) also has a MACD of 5. Which has stronger momentum?
systemic:core-ppo - Percentage Volume OscillatorEvery price move carries a message, but volume reveals how many voices are behind it. A stock can rise 5% on 100,000 shares or 10 million shares — the price change is identical, but the conviction behind each move is radically different.
systemic:core-pvo - Rate Of ChangeThe **Rate of Change** indicator measures momentum as the percentage change between the current price and the price $n$ bars ago. It is one of the simplest momentum oscillators. It answers one question: *"How fast is price moving?"*
systemic:core-roc - Relative Strength IndexThe **Relative Strength Index (RSI)** is one of the most widely used momentum oscillators in technical analysis. J. Welles Wilder Jr. introduced it in his 1978 book *New Concepts in Technical Trading Systems*. The RSI measures the speed and size of price moves to identify overbought and oversold conditions.
systemic:core-rsi - Schaff Trend CycleIn the 1990s, currency trader Doug Schaff had a problem that many technical analysts know: **the MACD was too slow.** When it confirmed a trend, much of the move had already passed.
systemic:core-stc - Simple Moving AverageIn 1833, the Bank of England had a problem: how to report its bullion reserves without showing the daily swings that might alarm the public. Its solution was to average the numbers over time. This technique is the **moving average**.
systemic:core-sma - Stochastic OscillatorIn the late 1950s, George C. Lane made an observation that became one of the best-known ideas in technical analysis:
systemic:core-so - Stochastic RSIRSI is one of the most popular indicators in trading. But it has a weakness: **it rarely reaches extreme levels**.
systemic:core-srsi - Stock to FlowThe **Stock-to-Flow** ratio is a scarcity metric first used to value precious metals and now widely applied to Bitcoin and other fixed-supply assets. It measures how many years of current production are needed to match the existing supply.
systemic:core-bitcoins2f - Tripple Exponentially Smoothed Moving AverageIn the early 1980s, traders who used moving average crossover systems had a problem: **whipsaws**.
systemic:core-trix - True Strength IndexThe **True Strength Index** is a momentum oscillator that shows both the direction and the strength of a trend. It smooths price changes twice to filter noise while staying responsive.
systemic:core-tsi - Ulcer IndexThe **Ulcer Index** measures downside volatility: how deep drawdowns are and how long they last. Unlike standard deviation, it looks only at price declines, so it measures the pain of holding an investment.
systemic:core-ui - Ultimate OscillatorThe **Ultimate Oscillator** combines buying pressure over three windows (classically 7, 14 and 28 bars) into one oscillator. Using three windows reduces the false signals that are common in single-window oscillators.
systemic:core-uo - Volume Delta Divergence**Volume Delta Divergence** measures the difference between buying pressure (ask volume) and selling pressure (bid volume), then compares the average of this delta with the average price.
systemic:core-vdd - Volume Price TrendThe **Volume Price Trend** indicator measures the balance between supply and demand by combining price movement with volume. VPT weights each bar's volume by how much the price moved. This shows whether large price swings have volume behind them, or whether small moves hide significant accumulation.
systemic:core-vpt - Volume Weighted Average Price**VWAP** is the average price at which an asset traded over a **rolling window of N bars**, weighted by volume. It is not the traditional VWAP that resets every session. It updates bar by bar, the same way an SMA does.
systemic:core-vwap - VortexThe **Vortex Indicator** detects the start of new trends and the continuation of existing ones. **Etienne Botes** and **Douglas Siepman** developed it (published January 2010 in *Technical Analysis of Stocks & Commodities*). They were inspired by the spiraling motion of water described by the Austrian naturalist **Viktor Schauberger**: water forms vortex patterns around obstacles, and prices move in a similar back-and-forth between buyers and sellers.
systemic:core-vi - Weighted Moving AverageThe **Weighted Moving Average** fixes one limit of the Simple Moving Average, which treats all bars equally. Recent prices often say more about current market conditions than older ones. WMA gives each bar a **linearly increasing weight**, so the most recent price has the highest weight.
systemic:core-wma - Williams %R**Williams %R** is a momentum oscillator. It shows where the close sits inside the high-low range of the last n bars (the Window). Larry Williams developed it to identify overbought and oversold conditions.
systemic:core-wr
Math
18 modules
- AbsoluteRemoves the sign of every value in a series. Positive values stay the same, negative values become positive, and zero stays zero.
systemic:core-abs - Add\text{Sum}_i = A_i + B_i
systemic:core-add - ArcCosineThe **Arccosine** module computes the inverse cosine of each value in a series. It returns the angle, in **radians**, whose cosine equals that value. In finance it is used to turn correlations into angles and to build angle-based momentum indicators.
systemic:core-arccos - ArcSineThe **Arcsine** module computes the inverse sine of each value in a series. It returns the angle, in **radians**, whose sine equals that value. Its output is symmetric around zero, which makes it useful for analyzing oscillating indicators and finding the phase of a cycle.
systemic:core-arcsin - ArcTangentThe **Arctangent** (arctan) module computes the inverse tangent of each value in a series. It returns the angle, in **radians**, whose tangent equals that value.
systemic:core-arctan - Conditional MeanDoes a market behave differently on the days you care about? **Conditional Mean** lets you ask that question of a numeric series. Give it **Values**, a true/false **Condition**, and a **Window**. It averages only the values whose condition is true. You can compare average trading volume on down days with volume on up days, or study returns in different volatility regimes.
systemic:core-cmean - Correlation CoefficientImagine holding shares in two different countries because their markets usually do not move in lockstep. During a difficult stretch, both begin falling together. Has the relationship changed, or are you seeing a few unusual observations? That is a question worth asking *before* you assume a second holding has diversified the first.
systemic:core-corc - CosineThe Cosine module computes the cosine of each input value, read as an angle in **radians**.
systemic:core-cos - DivideDivides the first series by the second, bar by bar. Useful for ratios, normalization, and cross-asset analysis.
systemic:core-div - Floor DivisionFloor Division divides two values and rounds the result down to a whole number, always toward negative infinity.
systemic:core-fdiv - LagA price rises today, but compared with *which* earlier price? Yesterday's? The last value before a data gap? **Lag** puts an earlier value of a series next to the current one, so you can compare them in the rest of your strategy.
systemic:core-lag - MultiplyMultiplies two numeric series bar by bar. Useful for scaling, weighting and position sizing.
systemic:core-mul - PowerRaises each value of the first input to the power of the matching value of the second, bar by bar. Useful for compound growth, volatility calculations, and non-linear scaling.
systemic:core-pow - SineThe **Sine** module computes the sine of each value in the input series. The sine maps an angle (in radians) to its vertical position on the unit circle. The result oscillates smoothly between −1 and +1.
systemic:core-sin - Square RootComputes the square root of each value. It reduces the scale of extreme values and keeps their order.
systemic:core-sqrt - SubtractSubtracts the second series from the first, bar by bar. Use it for spreads, price changes and deviations.
systemic:core-sub - TangentThe **Tangent** module returns the tangent of each value in the input series. Sine and cosine stay between −1 and +1, but tangent is **unbounded**: it is the slope (rise over run) of an angle.
systemic:core-tan - Value ClampThe **Clamp** module keeps every value of a series between a minimum and a maximum. Limits matter: in the May 6, 2010 [Flash Crash](https://en.wikipedia.org/wiki/2010_flash_crash), the Dow Jones fell nearly 1,000 points in minutes, partly because algorithms reacted to extreme signals without limits. CLAMP stops extreme values from spreading through your strategy.
systemic:core-clamp
Logic
9 modules
- !=\text{Result}_i =
systemic:core-neq - <\text{Output}_i =
systemic:core-lst - <=\text{Output}_i =
systemic:core-lste - >\text{Output}_i =
systemic:core-gtr - >=\text{Output}_i =
systemic:core-gtre - AND\text{Output}_i = A_i \land B_i
systemic:core-and - Equals\text{Output}_i =
systemic:core-eq - NotThe **NOT** module inverts each value in a boolean series: `true` becomes `false`, and `false` becomes `true`.
systemic:core-not - ORA \lor B =
systemic:core-or
Statistics
5 modules
- AverageThe **Cumulative Average** module computes the running mean of a series. At each bar, it returns the average of all values from the start up to that bar.
systemic:core-avg - PercentileThe **Percentile** module computes a conditional quantile for each bar of a series. For every value, it keeps only the values of the whole series that are less than or equal to it. It then computes the chosen percentile of that subset.
systemic:core-perc - Standard DeviationThe **Standard Deviation** module measures how far the values of a series spread around their mean. It does not use a rolling window. It produces an *expanding* (cumulative) standard deviation: each output value covers all values from the start of the series up to that bar.
systemic:core-stdev - Z Score (custom)The **Z-Score** measures how many standard deviations a value is from the mean. In trading, it shows how "unusual" the current price is compared with its history, which is the basis of mean-reversion strategies.
systemic:core-zscr - Z Score (simple)The **Z-Score** measures how many standard deviations a value is from the mean. In trading, it shows how "unusual" the current price is compared with its history, which is the basis of mean-reversion strategies.
systemic:core-zscrsimple
Machine learning
3 modules
- Binary ClassifierThe **Binary Classifier** module adds machine learning to your strategy with an ensemble method called **AdaBoost** (Adaptive Boosting). It learns patterns from historical data to predict a yes/no outcome, such as "price goes up" or "price goes down". It returns a prediction and a confidence score.
systemic:core-bcls - Generic Classifier> *"The best signal is not the one that predicts the market—it's the one that knows when it's confident enough to act."*
systemic:core-gcls - Linear Regression Predictor\hat{y} = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \cdots + \beta_n x_n
systemic:core-lrp