OPEN-SOURCE SCRIPT
Aktualisiert Candle Fingerprint [TradingIQ]

Hello Traders!
🔹Candle Fingerprint
Candle Fingerprint is a pattern-based analysis tool designed to study how price has typically behaved after specific candle structures.
Instead of treating candles as isolated events, this tool compares current candles to historical ones and shows what has usually happened next in similar situations.
Think of it as a way to find historical matches and outcomes for the current candle, not as a fixed prediction engine.
🔹What the tool shows
🔸Candle similarity matching
The script analyzes the current candle and searches historical data for candles with similar structure.
It compares multiple components such as body size, wick proportions, volatility, and where the candle closed within its range.
This helps reveal:
Instead of assuming what a candle means, you get a historical reference for how similar structures have behaved before.
🔸Continuation vs reversal behavior
Once similar candles are found, the script tracks what happened next.
It calculates how often price continued in the same direction versus reversing.
This allows you to see:
This provides context around the current candle, rather than a guaranteed outcome.
🔸Typical move after the candle
In addition to direction, the script measures how far price typically moved after similar candles.
It calculates median moves for both continuation and reversal scenarios.
This helps show:
This is not about predicting an exact move, but about understanding what has commonly happened in the past.
🔸Visual similarity mapping
The script highlights the most similar historical candles directly on the chart.
This gives a visual reference for how past setups formed and evolved.
This helps you:
🔸Candle streak model
In addition to similarity, the script includes a streak-based model that tracks sequences of consecutive up or down closes.
This allows you to analyze:
This provides a different lens focused on momentum sequences rather than structure.
🔸Confidence context
The tool evaluates how reliable the observed behavior is based on sample size and consistency.
This helps you understand:
🔹How to read it
Each component gives a different layer of insight:
Candle structure → what the current candle looks like
Similarity matches → where this pattern appeared before
Continuation rate → how often price continued
Reversal rate → how often price reversed
Typical move → how far price typically moved afterward
Streak context → how sequences of candles have behaved
🔹Why this tool is useful
It gives you:
🔹Best use cases
🔹Important note
This tool is based entirely on historical observations and pattern matching.
That means:
🔹Inputs you can customize
The script includes flexible controls such as:
Closing Notes
Candle Fingerprint is built to shift the focus from what a candle looks like to how similar candles have behaved historically.
It does not attempt to predict the future, but instead provides a structured view of what has typically happened in comparable situations, allowing you to make more informed, contextual decisions.
Thank you for checking it out!
🔹Candle Fingerprint
Candle Fingerprint is a pattern-based analysis tool designed to study how price has typically behaved after specific candle structures.
Instead of treating candles as isolated events, this tool compares current candles to historical ones and shows what has usually happened next in similar situations.
Think of it as a way to find historical matches and outcomes for the current candle, not as a fixed prediction engine.
- finds candles with similar structure in the past
- compares body size, wicks, volatility, and close position
- tracks whether price typically continued or reversed
- shows continuation vs reversal rates
- displays typical move after similar candles
- optional streak-based behavior analysis
🔹What the tool shows
🔸Candle similarity matching
The script analyzes the current candle and searches historical data for candles with similar structure.
It compares multiple components such as body size, wick proportions, volatility, and where the candle closed within its range.
This helps reveal:
- which past candles looked similar to the current one
- how those candles behaved afterward
- whether similar setups tended to continue or reverse
Instead of assuming what a candle means, you get a historical reference for how similar structures have behaved before.
🔸Continuation vs reversal behavior
Once similar candles are found, the script tracks what happened next.
It calculates how often price continued in the same direction versus reversing.
This allows you to see:
- whether continuation or reversal has been more common
- the relative strength of that tendency
- how consistent the behavior has been across samples
This provides context around the current candle, rather than a guaranteed outcome.
🔸Typical move after the candle
In addition to direction, the script measures how far price typically moved after similar candles.
It calculates median moves for both continuation and reversal scenarios.
This helps show:
- the typical size of follow-through moves
- the difference between continuation and reversal magnitude
- how strong or weak reactions have been historically
This is not about predicting an exact move, but about understanding what has commonly happened in the past.
🔸Visual similarity mapping
The script highlights the most similar historical candles directly on the chart.
This gives a visual reference for how past setups formed and evolved.
This helps you:
- see real examples of similar price behavior
- compare structure side by side
- understand how the current setup fits into historical context
🔸Candle streak model
In addition to similarity, the script includes a streak-based model that tracks sequences of consecutive up or down closes.
This allows you to analyze:
- what has typically happened after multiple up closes
- what has typically happened after multiple down closes
- how continuation vs reversal tendencies shift with streak length
This provides a different lens focused on momentum sequences rather than structure.
🔸Confidence context
The tool evaluates how reliable the observed behavior is based on sample size and consistency.
This helps you understand:
- whether the data is meaningful or limited
- how much weight to give the observation
- when patterns appear more or less stable
🔹How to read it
Each component gives a different layer of insight:
Candle structure → what the current candle looks like
Similarity matches → where this pattern appeared before
Continuation rate → how often price continued
Reversal rate → how often price reversed
Typical move → how far price typically moved afterward
Streak context → how sequences of candles have behaved
🔹Why this tool is useful
It gives you:
- a structured way to compare current candles to historical ones
- context for whether a setup has tended to continue or reverse
- typical move expectations based on past behavior
- a data-driven alternative to subjective candle interpretation
- multiple perspectives using both structure and streak behavior
🔹Best use cases
- analyzing individual candle behavior
- comparing current setups to historical patterns
- studying continuation vs reversal tendencies
- understanding momentum through candle streaks
- adding contextual data to price action analysis
🔹Important note
This tool is based entirely on historical observations and pattern matching.
That means:
- it reflects past behavior, not guaranteed outcomes
- it should not be treated as a predictive or deterministic model
- similar candles can still produce different results
- outputs are best used as context, not certainty
🔹Inputs you can customize
The script includes flexible controls such as:
- model selection (similarity or streak)
- candle selection method
- table display and positioning
- similarity weighting (body, wicks, volatility, close)
- history table settings
- visual offset and layout
Closing Notes
Candle Fingerprint is built to shift the focus from what a candle looks like to how similar candles have behaved historically.
It does not attempt to predict the future, but instead provides a structured view of what has typically happened in comparable situations, allowing you to make more informed, contextual decisions.
Thank you for checking it out!
Versionshinweise
Added coloring options to help traders using white backgroundOpen-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Get Access To Our Tools: tradingiq.io
Subscribe For Daily Content: youtube.com/watch?v=Gx_cW29BUds
Subscribe For Daily Content: youtube.com/watch?v=Gx_cW29BUds
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Get Access To Our Tools: tradingiq.io
Subscribe For Daily Content: youtube.com/watch?v=Gx_cW29BUds
Subscribe For Daily Content: youtube.com/watch?v=Gx_cW29BUds
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.