Downloading...
OPEN-SOURCE SCRIPT
Updated

Intelligent Top & Bottom Finder v9.8 Keyvankh

11 512
📈 Intelligent Top & Bottom Finder v9.8 Keyvankh

A next-generation all-in-one trading system for precise tops, bottoms, and reversals across all timeframes.

---
🟢 Overview

This indicator is a powerful and intelligent solution for detecting market tops and bottoms, key reversals, and S/R zones with institutional-grade accuracy. Designed for traders seeking an edge in any market (crypto, forex, stocks), it combines advanced candlestick recognition, multi-indicator confirmation, smart support/resistance clustering, and strict signal filtering into one seamless tool.

---

🔎 How Does It Work?

1. Advanced Support & Resistance Clustering

Automatically detects and draws high-probability support and resistance zones using dynamic ATR-based pivot clustering.
Highlights breakouts and retest (flip) zones in real-time, adapting to changing market structure.

2. Full Candlestick Pattern Recognition

Scans for 15+ classic and advanced patterns: Engulfing, Pin Bar, Doji, Three Bar, Marubozu, Hammer, Shooting Star, Three White Soldiers, Three Black Crows, Tweezer, Morning/Evening Star, Kicker, Belt Hold, and more.
Scores each pattern’s strength based on location (S/R zone, retest, breakout), volume context, and confirmation signals.

3. Multi-Indicator Confirmation Engine**

Integrates and scores confirmation from up to five additional sources:

RSI Games 1.2** (smoothed LTF momentum shifts)
MACD Divergence** (bullish/bearish momentum reversal)
QQE+ v7 Advanced** (dynamic volatility filter)
OBV Trend Filter** (volume-backed trend validation)
Volume Game** (net volume spike and reversal detection)
Each module can be enabled or disabled to fit your personal trading style.

4. Institutional S/R and Retest Logic

Real-time recognition of major trendline breaks, retest zones, and price flips.
Automatic labeling and coloring of S/R zones, retest boxes, and confirmation candles.

5. Smart Buy & Sell Signal Generation**

Combines all scoring modules with strict logical filters and “failsafe override” logic (guaranteeing signal on confirmed hammers, engulfings, etc. even if other filters disagree).
Plots clear “BUY” and “SELL” labels only when a strong, multi-factor signal appears—minimizing noise and maximizing reliability.
Built-in fallback logic (optional) for edge cases.

6. Alerts & Automation Ready

TradingView alerts for all BUY, SELL, or ANY signal conditions—perfect for auto-trading or notification setups.

---

*⚙️ Customizable Inputs

Enable/Disable any module (RSI Games, MACD, OBV, QQE+, Candlestick Scanner, Volume Game)
Minimum Confirmations** required for a signal (1–10)
Pivot/Zone Sensitivity:** ATR multiplier, pivots per cluster, retest bar duration
LTF (Lower Timeframe) Confirmation:** Fully configurable

---

📊 How To Use**

Apply on any timeframe and symbol**—crypto, stocks, forex, indices.
Use as a **standalone reversal/entry tool** or to confirm your own technical setups.
Combine with your favorite momentum, trend, or volume indicators for advanced confluence.
Set up **TradingView alerts** for auto-trading, Telegram/email notifications, or trade journaling.

---

🟢 What Makes This Unique?

All-in-one multi-indicator fusion:** No more juggling a dozen scripts.
Institutional logic:** Goes beyond basic signals with true S/R, retest, and volume logic.
Full transparency:** Source code is clear and commented (if published open-source).
Fast and reliable:** Optimized for minimal lag and maximum accuracy.

---

⚠️ Disclaimer**

This indicator is a tool to assist with trade timing and risk management. **No system is 100% accurate.** Always use in conjunction with your own analysis and risk management practices.

---

📚 Credits & License**

Created by Keyvan Khodakhah.
You may use, modify, or share this script under the [Mozilla Public License 2.0 (MPL-2.0)](mozilla.org/MPL/2.0/).
Please credit the original author if you fork or reuse in public.

---

Questions, feedback, or collaboration? Contact: Keyvankh

---

Precision in technical analysis comes from layers of confluence and discipline. This tool brings that precision to your chart.


Release Notes
snapshot

Intelligent Top & Bottom Finder v9.9 Keyvankh – Major Update!

What’s new in v9.9?

🚀 Full Trendline & Channel Detection:
Automatically detects and draws key trendlines and parallel channels using recent price pivots—no more manual drawing!

🔔 Breakout & Retest Logic:
Now detects and marks trendline/channel breakouts and retests in real time. These structural signals are directly integrated into the buy/sell scoring, improving signal quality and accuracy.

💡 Structure-Aware Signals:
Signals are now blocked below strong resistance and filtered above major support, ensuring you only get high-probability entries. Breakout and retest events give an extra boost to the confidence score.

👀 Enhanced Visualization:
Clear visual markers for trend breaks (“TL BREAK”) and retests (“RETEST”), alongside all classic support/resistance zones.

📈 All classic features remain:
All previous confirmation layers (candlestick, RSI Games, MACD, OBV, QQE, volume, debounce, failsafe, etc.) are fully retained and improved with the new structural logic.

This is a significant upgrade for structure-based traders, breakout/pullback lovers, and anyone who wants “pro-level” signals with total transparency.

As always, feedback is welcome! Try it, share your thoughts, and let’s keep improving.
Release Notes
snapshot
Intelligent Top & Bottom Finder v10.0 Keyvankh
Author: Keyvan Khodakhah
License: Mozilla Public License 2.0 (MPL-2.0)

🚨 Version 10.0 Major Update: Bull & Bear Trap Detection! 🚨
What’s New:

Bull Trap & Bear Trap Detection:
Instantly spots classic bull traps (fake breakouts above resistance) and bear traps (fake breakdowns below support). Bull Traps now appear in orange and Bear Traps in blue directly on your chart for fast visual alerts.

Volume Spike Filtering:
Trap signals only appear when confirmed by strong volume spikes, helping you filter out noise and focus on real traps.

All original buy/sell signal logic, S/R and trendline detection remain unchanged and fully reliable.


If you find this update helpful, please leave your feedback, suggestions, or bug reports in the comments below! Your input helps me keep improving the indicator.

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.