OPEN-SOURCE SCRIPT
Candle Event Sequence Lens [AFD]

Which printed first — the high or the low?
A 15-minute candle shows four prices but hides the order they printed in. Candle Event Sequence Lens opens the last closed candle into its 1-minute and 5-minute candles, with recent higher time frame candles beside it, so the sequence sits right on your chart.
What you see
- The last closed candle split into smaller candles (1m and 5m by default), drawn to the right of the price bars
- Up to 6 recent candles of up to 3 other time frames next to it (30m, 1h and 2h by default)
- Cyan outline: the first 1-minute bar that reached the candle's high. Magenta: the low
- Amber outline: one bar holds both, so the order inside it is unknown
- High/Low price tags on every row. Hover a breakdown tag for the times, e.g. "Low first 15:45 · high 15:51"
- An orange box on the price chart marks the candle being broken down
- An arrow above each row's newest candle
Setup
- Runs on standard 5 to 60 minute charts. It draws right of the last bar; if it is cut off, scroll the chart left
- Stacked (default): each row has its own scale; read prices from the tags
- Beside: real prices, lined up with the price axis. A group too tall for the view is scaled to fit and marked "scaled"
- Up to 3 breakdowns (Auto or 1, 2, 3, 5, 10, 15, 30 min) and up to 3 other time frames (Auto, minutes, D or W)
- Custom levels: enter two prices to see which 1-minute bar reached each one first
Good to know
- Order inside a single minute is never known. Amber says so instead of guessing
- "Reached" means a 1-minute bar's range included the price, not a confirmed trade or fill
- Missing, gapped or mismatched 1-minute data shows "order unknown"
- On a coarser row like 5m, amber means both fell in that group, not in the same minute
- The breakdown moves to the newest candle as each chart candle closes. The newest side candle (dashed outline) keeps changing until its period closes
- Fixed choices do not adapt to the chart: a time frame equal to the chart is hidden, a shorter one shows only the last chart bar's candles, and a breakdown must be shorter than the candle. Auto follows the chart
Describes chart history only: no signals, no forecasts. Educational use; not financial advice. Open-source under MPL 2.0.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Auction Foundry — see the auction more clearly. Educational tools; not investment advice.
Discord support: discord.gg/df6XEnyGC6
Website: auction-foundry.io
Instagram: instagram.com/AuctionFoundry
X: @AuctionFoundry
Discord support: discord.gg/df6XEnyGC6
Website: auction-foundry.io
Instagram: instagram.com/AuctionFoundry
X: @AuctionFoundry
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Auction Foundry — see the auction more clearly. Educational tools; not investment advice.
Discord support: discord.gg/df6XEnyGC6
Website: auction-foundry.io
Instagram: instagram.com/AuctionFoundry
X: @AuctionFoundry
Discord support: discord.gg/df6XEnyGC6
Website: auction-foundry.io
Instagram: instagram.com/AuctionFoundry
X: @AuctionFoundry
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。