PROTECTED SOURCE SCRIPT
FintechFull — Next Candle Probability (EB, EWMA, Regime)

Purpose
Developed by FintechFull as a quantitative assistant for day traders.
This indicator estimates the probability that the next candle will close green or red, using recent R/G color patterns of depth N = 1..7.
When a trader knows which side has higher probability, it becomes a powerful edge for trading in the direction of the dominant trend.
Methodology
- Strict no-lookahead counting (no repaint, doji removed)
- Hierarchical Empirical Bayes (EB) smoothing across depths (1→7)
- Optional exponential decay (EWMA) for time-adaptive weighting
- Higher-timeframe EMA regime filter (UP-only / DOWN-only / OFF)
- ALL / SELECTED scopes with single-decision voting (one clean signal per bar)
- On-chart tags (“R” = RAW freq, “E” = EB) and full alert system
How it helps day traders
You can see whether the next bar’s probability favors the bullish or bearish side — then trade in alignment with trend and probability, not emotion.
Learn More
📘 The full research article explaining the math, logic, and Pine implementation,
and the Next-Candle Prediction Bot, are both available on the FintechFull Telegram channel.
→ Just search “FintechFull” on Telegram to read the full paper and try the bot.
Developed by FintechFull as a quantitative assistant for day traders.
This indicator estimates the probability that the next candle will close green or red, using recent R/G color patterns of depth N = 1..7.
When a trader knows which side has higher probability, it becomes a powerful edge for trading in the direction of the dominant trend.
Methodology
- Strict no-lookahead counting (no repaint, doji removed)
- Hierarchical Empirical Bayes (EB) smoothing across depths (1→7)
- Optional exponential decay (EWMA) for time-adaptive weighting
- Higher-timeframe EMA regime filter (UP-only / DOWN-only / OFF)
- ALL / SELECTED scopes with single-decision voting (one clean signal per bar)
- On-chart tags (“R” = RAW freq, “E” = EB) and full alert system
How it helps day traders
You can see whether the next bar’s probability favors the bullish or bearish side — then trade in alignment with trend and probability, not emotion.
Learn More
📘 The full research article explaining the math, logic, and Pine implementation,
and the Next-Candle Prediction Bot, are both available on the FintechFull Telegram channel.
→ Just search “FintechFull” on Telegram to read the full paper and try the bot.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.