A collection of market pattern detectors and trading indicators. Each pattern lives in its own folder with its Pine Script source under pine/, plus any supporting detector code (Python etc.) and a README describing the pattern's logic.
| Pattern | Description | Source |
|---|---|---|
blowoftop/ |
Blow-off top detector — 5-criteria state machine (Python) with a Pine v6 chart port. Included as a submodule. | Pine v6 + Python |
reactive-trail-system/ |
Reactive Trail System (RTS) — ratcheting adaptive trailing stop on a configurable baseline MA, volatility-driven width tightened by RSI momentum, with a full simulated trade engine (wick-anchored SL, 3 TPs, break-even, reversals, dashboard, webhook alerts). | Pine v6 |
marketpatterns/
├── blowoftop/ # submodule → opencue/blowoff-watch
└── reactive-trail-system/
├── README.md # pattern description
└── pine/ # Pine Script source
The blowoftop pattern is a git submodule, so clone with:
git clone --recurse-submodules https://github.com/opencue/marketpatterns.gitCreate a new lowercase-kebab folder with a README.md and a pine/ subfolder (plus detector code if any), and add it to the table above. Patterns that grow into standalone projects get their own repo in the opencue org and are linked back here as submodules.