Value at signal
- Value
- Signal
near ±0.5 %
- Value at signal
- Distance %
- near
Remembers the price at a signal as a line. Remembers a value, usually the price, on the candle where the signal is true and passes it on as a horizontal line until the signal comes again. This lets you build rules that refer to the trigger: a return to the breakout price, a close back above the price at the last alert, 10 % below the price at the signal. “near” reports when the value comes back within ±x % of the line, from the candle after. Example: signal “price crosses above the 20-day high”, then “near ±1 %” reports the pullback to the breakout level.
What it looks like
Section titled “What it looks like”- Price (close of each candle)
- signal: breakout above the 20-candle high
- Value at signal
- band ±1 %
Setting it in the chart
Section titled “Setting it in the chart”
In the properties, a chart shows the last 150 candles with the Value at signal line and the band around it. Drag an edge or type the width; next to it you see how far the band reaches at the last candle. Dots mark where “near” would be true.
More under Chart above the price.
Settings
Section titled “Settings”The settings appear on the right under “Properties” once you click the node on the board. Below each field you find the same explanation as here.
Band ±
Section titled “Band ±”How close the value has to come to the line for “near” to be true, in percent of the line. 1 means 1 % above and below, so $800 at $80,000.
Example
Section titled “Example”Remembers the price at the breakout above the high of the previous 20 candles. Telegram notifies you when the price later comes back within ±0.5 % of it.
How to connect the nodes:
- Candle (High) → High/Low (Value)
- Candle (Price) → Compare A/B (A)
- High/Low (High) → Compare A/B (B)
- Candle (Price) → Value at signal (Value)
- Compare A/B (true/false) → Value at signal (Signal)
- Value at signal (near) → Telegram (Trigger)
On the board it reads: near ±0.5 %
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Value at signal", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "h1", "type": "core.highlow", "position": { "x": 260, "y": 40 }, "settings": { "length": 20 } }, { "id": "k1", "type": "core.compare-ab", "position": { "x": 480, "y": 40 }, "settings": { "operator": "crossesAbove" } }, { "id": "v1", "type": "core.value-when", "position": { "x": 700, "y": 40 }, "settings": { "width": 0.5 } }, { "id": "t1", "type": "core.telegram", "position": { "x": 920, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.high", "to": "h1.in" }, { "from": "c1.close", "to": "k1.a" }, { "from": "h1.high", "to": "k1.b" }, { "from": "c1.close", "to": "v1.in" }, { "from": "k1.out", "to": "v1.signal" }, { "from": "v1.near", "to": "t1.in" } ]}Inputs and outputs
Section titled “Inputs and outputs”Only matching types connect: number series to number series (round pin), signal to signal (square), message to message (diamond).
| Direction | Pin | Type | Note |
|---|---|---|---|
| Input | Value | Number series | required |
| Input | Signal | Signal (true/false) | required |
| Output | Value at signal | Number series | in the unit of the input |
| Output | Distance % | Number series | in percent |
| Output | near | Signal (true/false) | – |
Good to know
Section titled “Good to know”- In messages the values are called “Value at signal”, “Distance to value at signal”.
- Warm-up with the default settings: 500 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: value at signal, value when, remember, entry, breakout price, retest, pullback, level, valuewhen.
Technical details
Section titled “Technical details”The value on the last candle where the signal was true, the current one included, like ta.valuewhen(signal, value, 0) in TradingView; for at most 500 candles. Distance = (value − line) / |line| · 100. “near” from the candle after the signal when |distance| ≤ x.
- Type in the chain:
core.value-when· Version 1.0.0 · Category keyind - Settings in the chain:
width(Band ±) - Pins in the chain: Input
in,signal· Outputout,distance,near - How a node is built
Version 2026.10.24.21 · Changelog