Node reference
Every node — what it does and what happens
- 01Derivatives MetricsBinance USDT-M perpetual positioning data for a selected pair (default: current pair) — what leveraged traders are actually DOING, orthogonal to price and not derivable from any OHLCV series. Pick one metric: open_interest / open_interest_value (how much money is committed), taker_ratio (aggressive buying vs selling), long_short_accounts (all accounts, retail-dominated), top_trader_accounts and top_trader_positions (the same read for large traders — the disagreement between retail and top traders is the signal). Outputs the reading Binance published for the bucket, and nothing else: derive percentile, z-score or rate-of-change yourself by wiring the output into Stdev / SMA / ROC, which step once per bucket rather than once per candle. Honest usage: strongest as a CONFIRMATION or contrarian FILTER on price logic (e.g. price breaking out AND open interest rising = real trend; price up while top_trader_positions falls = crowded long), weak as a standalone trigger. No repainting — holds the last published value between buckets. Data starts ~2020-09 and is published ~2 days in arrears, so a backtest ending today holds its last value across the final ~2 days (the run reports this). Wire the output into a Condition to gate entries/exits.
- 02Fear & GreedCrypto Fear & Greed Index (0-100 market sentiment). Emits the last published daily value at each base bar — <25 extreme fear, >75 extreme greed. Daily granularity: holds the same value all UTC day until the next daily print (no repainting). Wire into a Condition node to gate entries/exits on sentiment.
- 03Funding RateBinance USDT-M perpetual funding rate for a selected pair (default: current pair) — an orthogonal read on leveraged-trader positioning, not a price technical, and not derivable from any OHLCV series. Outputs the rate Binance settled for the interval in effect and nothing else (e.g. 0.0001 = 0.01%/8h; positive = longs pay shorts, meaning the crowd is leveraged long): derive percentile, z-score or cumulative carry yourself by wiring the output into SMA / Stdev / Highest / Lowest, which step once per 8h settlement rather than once per candle. Honest usage: strongest as a CONTRARIAN or carry FILTER on price logic (e.g. block or exit longs when funding sits in the top decile of its recent range), weak as a standalone trigger, and cost-sensitive at short horizons. No repainting — holds the last settled value between 8h settlements. Wire the output into a Condition to gate entries/exits.
- 04OHLC (multi-timeframe)Candle data from another pair or timeframe.
- 05PriceThe candle's price — open, high, low, or close.
- 06Spera ScoreSpera Score for a selected pair (default: current pair): a daily 0-100 directional bull/bear conviction (>60 bullish, <40 bearish) computed from OHLCV alone. Seven outputs — the composite plus its four family sub-scores (trend, momentum, volume, volatility, each 0-100), a regime tag (0 range / 1 trend), and a discrete state (-2 strong bear … +2 strong bull). Last published daily value at each base bar — no repainting. Wire a channel into a Condition to gate entries/exits (e.g. composite > 60).
- 07VariableA constant, or a value that persists across bars.
- 08VolumeThe candle's traded volume.
- 09AccumulatorA running aggregate of a numeric source across the run.
- 10ATR — Average True RangeAverage size of recent candles, in price units — a volatility measure.
- 11Bars SinceHow many bars since a condition last fired.
- 12Bollinger BandsA moving average with upper/lower bands set a number of standard deviations away.
- 13CCI — Commodity Channel IndexUnbounded momentum oscillator off typical price.
- 14EMA — Exponential Moving AverageMoving average that weights recent candles more heavily, so it reacts faster than SMA.
- 15HighestThe highest source value over the last N bars.
- 16HMA — Hull Moving AverageA moving average tuned for minimal lag.
- 17LookbackThe source's value from exactly N bars ago.
- 18LowestThe lowest source value over the last N bars.
- 19MACD — Moving Average Convergence DivergenceTrend + momentum from the gap between a fast and slow EMA, with a signal line.
- 20MFI — Money Flow IndexVolume-weighted, RSI-like oscillator, 0–100.
- 21RMA — Wilder's Moving AverageWilder smoothing (SMMA) — slower and smoother than EMA.
- 22ROC — Rate of ChangePercentage change versus N bars ago — momentum around zero.
- 23RSI — Relative Strength IndexMomentum oscillator (0–100) measuring the speed of recent gains vs. losses.
- 24SMA — Simple Moving AverageUnweighted average of the source over the last N candles.
- 25Standard DeviationRolling volatility — how spread out recent values are.
- 26Stochastic %KWhere price sits in its recent high–low range, 0–100.
- 27TSI — True Strength IndexDouble-smoothed momentum oscillator, roughly ±100.
- 28VWMA — Volume-Weighted Moving AverageA moving average that weights each bar by its volume.
- 29BetweenValue between min and max.
- 30CompareTests one value against another (or a constant) with a chosen operator.
- 31Condition (compound)Build any condition in one node — compare, between, cross, AND/OR/NOT.
- 32Cross AboveTrue only on the candle where A crosses from at-or-below B to above B.
- 33Cross BelowTrue only on the candle where A crosses from at-or-above B to below B.
- 34DebouncePasses its input through only after it stays true for N bars.
- 35ANDLogical AND of boolean inputs.
- 36NOTInverts a boolean — true becomes false and vice-versa.
- 37ORLogical OR of boolean inputs.
- 38Avg Trade DurationAverage duration in candles of closed trades. -1 if no trades. Hedge: set side to read one book.
- 39Bar IndexCurrent candle index (0-based) in the run.
- 40Bars In PositionBars since the position opened.
- 41Closed Trade Duration (Candles)Duration in candles of the indexed CLOSED trade. -1 if out of range / none. Side-filterable.
- 42Closed Trade Entry PriceEntry price of the indexed CLOSED trade. 0 if out of range / none. Side-filterable.
- 43Closed Trade Exit PriceExit price of the indexed CLOSED trade. 0 if out of range / none. Side-filterable.
- 44Closed Trade Exit ReasonExit reason (e.g. signal, stop) of the indexed CLOSED trade. Empty if out of range / none. Side-filterable.
- 45Closed Trade PnLPnL of the indexed CLOSED trade. 0 if out of range / none. Side-filterable.
- 46Consecutive LossesNumber of consecutive losing trades (from most recent). Hedge: set side to read one book.
- 47Consecutive WinsCount of consecutive winning trades from most recent. Hedge: set side to read one book.
- 48Custom State GetRead a key from context custom state (config.key). Returns number when possible, else 0.
- 49Day Of WeekDay of week (1–7, Monday=1) for current candle in configured timezone.
- 50DrawdownCurrent drop from the equity peak.
- 51Drawdown %Current drawdown as % of peak equity.
- 52Entry CountNumber of open fills (lots) in current position. 0 if flat. Net (default) sums both books; set side for one.
- 53EquityCurrent account equity (cash + open value).
- 54First Bar Of DayTrue if current bar is the first bar of the calendar day (in configured timezone).
- 55Gross LossSum of PnL of all losing trades only (positive magnitude). Net (default) sums both sides; set side for one book.
- 56Gross ProfitSum of PnL of all winning trades only. Net (default) sums both sides; set side for one book.
- 57Initial CapitalStarting capital.
- 58Is DailyTrue if timeframe is daily.
- 59Is First BarTrue on the first bar of the run.
- 60Is In PositionTrue whenever you hold an open position.
- 61Is IntradayTrue if timeframe is intraday (1m, 5m, 15m, 30m, 1h, 4h).
- 62Is Last BarTrue on the last bar (e.g. backtest end).
- 63Last Bar Of DayTrue if current bar is the last bar of the calendar day (in configured timezone).
- 64Last Entry PriceEntry price of most recent open lot. 0 if flat. Hedge mode: set side to read one book.
- 65Last Trade Duration (Candles)Duration in candles of last closed trade. -1 if none. Hedge: set side to read one book.
- 66Last Trade Entry PriceEntry price of last CLOSED trade. 0 if none. For a live open-position anchor (DCA/grid) use Last Entry Price instead. Hedge: set side to read one book.
- 67Last Trade Exit PriceExit price of last closed trade. 0 if none. Hedge: set side to read one book.
- 68Last Trade Exit ReasonExit reason of last closed trade (e.g. signal, stop). Empty if none. Hedge: set side to read one book.
- 69Last Trade PnLPnL of the most recent closed trade. 0 if no trades. Hedge: set side to read one book.
- 70Last Trade Was WinTrue if last closed trade had PnL > 0. Hedge: set side to read one book.
- 71Losing Trades CountNumber of closed trades with PnL < 0. Net (default) counts both sides; set side for one book.
- 72Max DrawdownMaximum drawdown (peak-to-trough) observed so far.
- 73Max Drawdown %Max drawdown as % of peak.
- 74MonthMonth (1–12) for current candle in configured timezone.
- 75Open Lot Entry PriceEntry price of the indexed OPEN lot (open position). 0 if out of range / flat. Side-filterable; use for scaling in/out of a specific rung.
- 76Open Lot SizeSize (quantity) of the indexed OPEN lot. 0 if out of range / flat. Side-filterable.
- 77Open Trades CountNumber of open trades (0 or 1 today; future: pyramiding). Net (default) reads the net book; set side to long/short for one book.
- 78Peak EquityHighest equity reached so far.
- 79Position Entry PriceAverage entry price of the current position; 0 if flat.
- 80Position Side1 long, −1 short, 0 flat — for comparisons.
- 81Position SizeCurrent position size; net = long − short.
- 82Profit FactorGrossProfit / abs(GrossLoss). All winners (profit, no losses) → 1e9 sentinel; no profit (no trades) → 0. Hedge: set side to read one book.
- 83Session ActiveTrue when current candle time is within configured session (e.g. 09:30–16:00).
- 84Sharpe RatioRisk-adjusted return (from performance; computed when closing trades).
- 85Strategy IdCurrent strategy ID from context.
- 86SymbolCurrent symbol from context.
- 87Time Since Last TradeNumber of bars (candles) since the last closed trade; -1 if no trades yet.
- 88TimeframeCurrent timeframe as nominal minutes for Compare (for example 1m=1, 1h=60, 1d=1440, 3d=4320, 1w=10080, 1M=43200).
- 89Total Closed TradesTotal number of closed trades. Net (default) counts both sides; set side for one book.
- 90Total PnLCumulative P&L (all closed trades). Net (default) sums both sides; set side for one book.
- 91Trades TodayNumber of trades closed on the current calendar day in the configured timezone. Hedge: set side to read one book.
- 92Unrealized PnLOpen profit/loss of the current position.
- 93Win RateShare of closed trades that were profitable.
- 94Winning Trades CountNumber of closed trades with PnL > 0. Net (default) counts both sides; set side for one book.
- 95YearYear for current candle in configured timezone.
- 96ArithmeticCompute a custom formula over numeric inputs.
- 97AlertMarks a signal on the run when its gate is true — observe without trading.
- 98Enter LongOpens a long position when its gate is true.
- 99Enter ShortOpens a short position when its gate is true.
- 100EntryThe universal entry — direction, order type, pyramiding, auto-reverse.
- 101ExitCloses the position when its gate is true.
- 102ExitCloses a position and carries the stop-loss / take-profit brackets.
- 103Limit EntryPlaces a limit order on the gate and waits for a touch/fill.
- 104Reduce PositionTrims part of an open position instead of closing it fully.
- 105Stop EntryPlaces a stop order on the gate and waits for a breakout fill.
- 106Chart DrawingDraw lines, levels, or shapes on the chart.