Bollinger Band Touch
Nano identifier: BollingerBandTouch
Bollinger lower-band touch. BB_PCT_B = (close - lower) / (upper - lower), Pine's ta.bb %B, provided by the host data feed. Below 0 = close under the lower band.
Nano source
This is the strategy exactly as published. Nano has no import, no file access and no network primitive, so reading or copying this source cannot execute anything.
// Bollinger lower-band touch. BB_PCT_B = (close - lower) / (upper - lower),// Pine's ta.bb %B, provided by the host data feed. Below 0 = close under// the lower band.strategy BollingerBandTouch { every 1h { if BB_PCT_B(20) <= 0 { buy(SPY, 0.8) } }}Compiled IR
Nano compiles to a pinned intermediate representation. This is the artifact a runtime would actually load — inspectable before anything runs, and byte-diffable against the published source.
{ "type": "Strategy", "nanoIrVersion": "0.1.0", "name": "BollingerBandTouch", "effects": [ "intent.emit", "log.append" ], "nodes": [ { "type": "Schedule", "interval": "1h" }, { "type": "Condition", "signal": "BB_PCT_B", "operator": "<=", "value": 0 }, { "type": "Intent", "action": "BUY", "asset": "SPY", "confidence": 0.8 } ]}What it proposes
On a 1 hour cadence, when BB_PCT_B <= 0, it emits buy intent for SPY.
An intent is a proposal, not an order. A separate risk gate — outside the language, and outside this library — decides whether anything is acted on.
Risk disclosure
This strategy is published as an educational, verified example. It compiles to the IR shown above and replays deterministically. It has not been backtested against market data, forward-tested, paper-traded, or traded live by Aether, and no performance statistics are published because none have been produced.
Nothing on this page is financial advice, an offer, or a recommendation to trade. Trading carries risk of loss. Any decision to run logic derived from this strategy — and the risk gate that governs it — is entirely your own responsibility.