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