Obv Trend
Nano identifier: ObvTrend
On-balance-volume trend confirmation. OBV_SLOPE = linear-regression slope of OBV over the lookback window, provided by the host data feed. A positive slope confirms accumulation.
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.
// On-balance-volume trend confirmation. OBV_SLOPE = linear-regression slope// of OBV over the lookback window, provided by the host data feed.// A positive slope confirms accumulation.strategy ObvTrend { every 4h { if OBV_SLOPE(20) > 0 { buy(ETHUSD, 0.7) } }}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": "ObvTrend", "effects": [ "intent.emit", "log.append" ], "nodes": [ { "type": "Schedule", "interval": "4h" }, { "type": "Condition", "signal": "OBV_SLOPE", "operator": ">", "value": 0 }, { "type": "Intent", "action": "BUY", "asset": "ETHUSD", "confidence": 0.7 } ]}What it proposes
On a 4 hours cadence, when OBV_SLOPE > 0, it emits buy intent for ETHUSD.
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.