BB KC Triangle SignalsBased on Trader Oracle's engulfing candle off Bolinger Band.
I added keltner channels as well. So this prints a symbol ( I use triangles) over the engulfing candle at or near the bolinger band/ keltner channel. Don't have to have the bands printed on the screen for them to work. Seems to work on renko too.
Penunjuk dan strategi
Comet C/2025 N1 (ATLAS) Ephemeris☄️ Ephemeris How-To: Plot JPL Horizons Data on TradingView (Educational)
Overview
This open-source Pine Script™ v6 indicator demonstrates how to bring external astronomical ephemeris into TradingView and plot it on a daily chart. Using Comet C/2025 N1 (ATLAS) as an example dataset, it shows the mechanics of structuring arrays, indexing by date, and drawing past and forward ( future projections ) values—strictly as an educational visualization of celestial motion.
Why This Approach
Data is generated from NASA JPL Horizons, a mission-grade, publicly available ephemeris service ( (ssd.jpl.nasa.gov)). On the daily timeframe, Horizons provides high-precision positions you can regenerate whenever solutions update—useful for educational accuracy in exploring orbital data.
What’s Plotted
- Geocentric ecliptic longitude (Earth-view)
- Heliocentric ecliptic longitude (Sun-centered)
- Declination (deg from celestial equator)
Features
- Simple arrays + date indexing (no per-row timestamps)
- Circles for historical/current bars; polylines to connect forward points, emphasizing future projections
- Toggle any series on/off via inputs
- Daily timeframe enforced (runtime error if not 1D)
- Optional table with zodiac conversion (AstroLib by BarefootJoey)
Data & Updates
The example arrays span 2025-07-01 (discovery date) → 2026-01-01. You can refresh them anytime from JPL Horizons (Observer: Geocentric; daily step; include ecliptic lon/lat and declination) and paste the new values into the script.
How we pulled the ephemeris from JPL Horizons (quick guide):
0) Open ssd.jpl.nasa.gov System
1. Ephemeris Type: Observer Table
2. Target Body: C/2025 N1 (ATLAS) (or any object you want)
3. Observer Location: Geocentric
4. Time Specification: set Start, Stop, Step = 1 day
5. Table Settings → Quantities:
* Astrometric RA & Dec
* Heliocentric ecliptic longitude & latitude
* Observer (geocentric) ecliptic longitude & latitude
6. Additional Table Settings:
* Calendar format: Gregorian
* Date/Time: calendar (UTC), Hours & Minutes (HH:MM)
* Angle format: Decimal degrees
* Refraction model: No refraction / airless
* Range units: Astronomical units (au)
7. Generate → Download results (CSV or text).
8. Use AI or a small script to parse columns (e.g., Obs ecliptic lon, Helio ecliptic lon, Declination) into arrays, then paste them into your Pine script.
Educational Note
This indicator’s goal is to show how to prepare and plot ephemeris—so you can adapt the method for other comets or celestial bodies, or swap in data from existing astro libraries, for learning about astronomical projections using JPL daily data.
Credits & License
- Ephemeris: Solar System Dynamics Group, Horizons On-Line Ephemeris System, 4800 Oak Grove Drive, Jet Propulsion Laboratory, Pasadena, CA 91109, USA.
- Zodiac conversion: AstroLib by BarefootJoey
- License: MIT
- For educational use only.
Previous Candle High/Low (Global Rays)Previous Candle High/Low (Global Rays, Corrected)
This indicator tracks the high and low of the most recently closed candle and projects them forward as global horizontal rays.
Features:
✅ Automatically updates the levels once a candle fully closes.
✅ Draws persistent lines at the previous candle’s high (green) and low (red), extending them into the future.
✅ Highlights real-time breakouts:
✅ Includes built-in alert conditions for both breakout events.
How to Use:
Use the levels as reference points for breakout trades, liquidity sweeps, or stop hunts.
Alerts can help you catch moves without needing to constantly watch the chart.
Works on any timeframe and symbol.
Pr0fit Circle 0rbThis indicator automatically plots dynamic support and resistance zones on the chart using swing highs and swing lows. The levels are drawn as dotted lines that extend into the future, making it easy to identify key areas where price may react.
Daryl Guppy's Multiple Moving Averages - GMMAThe Guppy EMAs indicator (Daryl Guppy’s method) displays two groups of exponential moving averages (EMAs) on the chart:
Fast EMA group: 3, 5, 8, 10, 12, 15 periods (thinner, more responsive lines)
Slow EMA group: 30, 35, 40, 45, 50, 60 periods (thicker, smoother lines)
Color Logic:
Fast EMAs turn AQUA if all fast EMAs are in bullish alignment and slow EMAs are in bullish alignment.
Fast EMAs turn ORANGE if all fast EMAs are in bearish alignment and slow EMAs are in bearish alignment.
Otherwise, fast EMAs appear GRAY.
Slow EMAs turn LIME when in bullish order, RED when bearish, and remain GRAY otherwise.
The area between the outermost fast EMAs and slow EMAs is filled with a semi-transparent silver color for visual emphasis.
Candlestick Patterns Dashboard Pro+ [ULTIMATE]Unleash the power of automated candlestick analysis with the most comprehensive and customizable pattern detection tool on TradingView. This is not just another pattern scanner; it's a complete trading dashboard designed to identify, score, and confirm high-probability setups, saving you hours of manual chart analysis.
Built with performance and reliability in mind, this script goes beyond simple detection by introducing a unique reliability score for every pattern, advanced confirmation filters, and a powerful on-screen dashboard to keep you informed.
Key Features
📈 Comprehensive Pattern Detection: Automatically identifies 13 of the most effective candlestick patterns, including Bullish/Bearish Engulfing, Hammer, Shooting Star, Doji, Morning/Evening Star, and more.
🔟 Dynamic Reliability Scoring: Every pattern is assigned a score from 1-10 based on its confirmation strength. Factors include candle body size, volume confirmation, trend alignment, and higher-timeframe confluence, giving you a quantifiable measure of a pattern's potential.
📊 The Ultimate Dashboard: Your at-a-glance command center. The on-screen dashboard provides a complete summary of all active patterns, showing you exactly when they last occurred and highlighting the most recent signals. It also includes an "Overall Bias" meter for a quick sentiment check.
🛡️ Trade Smarter with Advanced Confirmation Filters: Eliminate low-quality signals and focus on what matters.
Trend Alignment: Use SMA(50) and SMA(200) to only show patterns that agree with the dominant market trend.
Volume Confirmation: Validate patterns by requiring a surge in volume.
Non-Repainting HTF Confirmation: Ensure your patterns align with the trend on a higher timeframe (e.g., Daily trend for a 4H signal) using a reliable, non-repainting method.
Market Condition Filter: Isolate patterns that occur only in "Trending" or "Ranging" markets.
Time Filter: Restrict pattern detection to specific trading sessions.
🔧 ‘Fuzzy Logic’ for Real-World Trading: Textbook patterns are rare. Use the "Fuzzy Logic" settings to adjust the criteria for patterns like the Hammer, Piercing Line, and Doji, allowing you to catch imperfect but still valid real-world formations.
⚙️ Fully Customizable Scoring: You decide what's important! Adjust the bonus scores for volume, trend, and other factors to create a scoring system that perfectly aligns with your trading strategy.
🚨 Powerful & Customizable Alerts: Never miss an opportunity.
Create alerts for any individual pattern.
Get notified of "Pattern Clusters" when multiple bullish or bearish signals appear in close succession.
Customize the alert messages to be compatible with your favorite trading automation services.
🚀 Performance Optimized: A "Max Bars Back" setting ensures the script runs smoothly and efficiently, even on lower-end devices or extensive historical data.
How To Use This Indicator
For Confirmation: The primary strength of this tool is for confirmation. Do not trade based on patterns alone. Use the detected signals to confirm your own analysis, such as a pattern appearing at a key support/resistance level, a trendline, or a Fibonacci retracement. A Bullish Engulfing pattern at a major support level is a much stronger signal than one appearing in the middle of a range.
For Discovery: Use the Dashboard to quickly scan through your favorite assets. A dashboard full of recent bullish signals on one asset, and bearish on another, can instantly help you focus your attention for the day.
Customizing for Your Style:
Start with the Market Presets ("Forex," "Stocks," "Crypto") for a solid baseline.
Dive into the Scoring Weights to tell the indicator what you value most. A pure volume trader might increase the Volume Bonus score.
Adjust the Fuzzy Logic settings based on your market's volatility. A volatile crypto market might require a more lenient Doji definition than a stable blue-chip stock.
Setting Up Alerts:
Add the indicator to your chart.
Click the "Alert" button in the TradingView toolbar.
Set the "Condition" to "Candlestick Patterns Dashboard Pro+ ".
Choose the specific alert you want from the dropdown (e.g., "Bullish Pattern Detected," "Bearish Pattern Cluster").
Customize the message if needed and click "Create."
A Note of Thanks
This script began as a personal project and has evolved into this ultimate version thanks to invaluable community feedback, bug reports, and suggestions. A special thank you to the users who helped identify and fix critical bugs related to syntax and variable scope. This collaborative effort has made the indicator more robust and reliable for everyone.
Disclaimer: This tool is for educational and analytical purposes only. All trading involves substantial risk. Past performance is not indicative of future results. Please trade responsibly.
Imbalance No SL📊 Strategy Name: Imbalance No SL
This strategy specially trades on price jumps (true imbalances) in the market, takes advantage of momentum only, and as soon as the opposite signal and profit is received, the trade is closed immediately.
Imbalance No SL strategy specially generates buy and sell signals based on "Imbalance" logic, without any fixed Stop Loss.
🔍 Core Logic
Imbalance Detection
Bullish Imbalance : When the low of the current candle is above the high of the previous candle.
(i.e. a jump type gap occurred in the market – demand is high, price went straight up)
Bearish Imbalance : When the high of the current candle is below the low of the previous candle.
(i.e. the market suddenly fell down)
Creating Visual Box and Label on Signal:
As soon as bullish imbalance is found, green box & IMB BULL label is displayed on the chart.
Bearish has red box & IMB BEAR label.
Trade Entry Logic
BUY on Bullish Imbalance: If there is already a buy or neutral position, then a new “BUY” signal will fire.
SELL on Bearish Imbalance: If already in sell or neutral position, then new “SELL” signal will fire.
You can set quantity/lot size from ‘qty’ input field.
Trade Average Calculation
Buy/Sell maintains average price and their count (so that if averaging is done then correct P&L is calculated).
Trade Exit Logic (Profit Booking/Signal Reverse)
If your buy is going on and bearish imbalance is formed + price is above your average, then buy will be closed (profit condition).
If sell is going on and bullish imbalance is formed + price is below average, then sell will be closed.
Chart Cleaning/Management
Only keep the label and box of the latest signal on the chart, old boxes/labels are automatically deleted.
Alert
You can get alert on bullish or bearish signal (by using alert feature of TradingView).
✅ Simple Explanation for User
This strategy buys or sells directly at the gap (imbalance).
Whenever there is a clear signal of momentum in the market (breakout of the gap), then the trade entry takes place.
When there is an imbalance in the opposite direction and profit is made, the system closes the trade (closes).
There is no fixed stop-loss, risk management is handled by trade averaging/close.
You will know at every point on the visually chart that at which bar the buy, sell and exit took place.
⚠️ What to remember?
If the market is in trend then this script gives very good signals.
In choppy/sideways market, some loss trades can also come because there is no SL.
Big profit or big loss – both depend on the imbalance signal and market speed.
Trojan Cycle: Dip & Profit Hunter📉 Crypto is changing. Your signals should too.
This script doesn’t try to outguess price — it helps you track capital rotation and flow behavior in alignment with the evolving macro structure of the digital asset market.
Trojan Cycle: Dip & Profit Hunter is a signal engine built to support and validate the capital rotation models outlined in the Trojan Cycle and Synthetic Rotation theses — available via RWCS_LTD’s published charts
It is not a classic “buy low, sell high” tool. It is a structural filter that uses price/volume statistics to surface accumulation zones, synthetic traps, and macro context shifts — all aligned with the institutionalization of crypto post-2024.
🧠 Purpose & Value
Crypto no longer follows the retail-led, halving-driven pattern of 2017 or 2021.
Instead, institutional infrastructure, regulatory filters, and equity-market Trojan horses define the new path of capital.
This tool helps you visualize that path by interpreting behavior through statistical imbalances and real-time momentum signals.
Use it to:
Track where capital is accumulating or exiting
Identify signals consistent with true cycle rotation (vs. synthetic traps)
Validate your macro view with real-time statistical context
🔍 How It Works
The engine combines four signal layers:
1. Z-Score Logic
- Measures how far price and volume have deviated from their mean
- Detects dips, blowoffs, and exhaustion zones
2. Percentile Logic
- Compares current price and volume to historical rank distribution
- Flags statistically rare conditions (e.g. bottom 10% price, top 90% volume)
3. Combined Context Engine
- Integrates both models to generate one of 36 unique output states
- Each state provides a labeled market context (e.g., 🟢 Confluent Buy, 🔴 Confluent Sell, 🧨 Synthetic Trap )
4. Momentum Spread & Divergence
- Measures whether price is leading volume (trap risk) or volume is leading price (accumulation)
- Outputs intuitive momentum context with emoji-coded alerts
📋 What You See
🧠 Contextual Table UI with key Z-Scores, percentiles, signals, and market commentary
🎯 Emoji-coded signals to quickly grasp high-probability setups or risk zones
🌊 Optional overlays: price/volume divergence, momentum spread
🎨 Visual table customization (size, position) and chart highlights for signal clarity
🔔 Alert System
✅ Single dynamic alert using alert() that only fires when signal context changes
Prevents alert fatigue and allows clean webhook/automation integration
🧭 Use Cases
For macro cycle traders: Track where we are in the Trojan Cycle using statistical context
For thesis explorers: Use the 36-output signal map to match against your rotation thesis
For capital rotation watchers: Identify structural setups consistent with ETF-driven or compliance-filtered flow
For narrative skeptics: Avoid synthetic altseason traps where volume lags or flow dries up
🧪 Suggested Pairing for Thesis Validation
To use this tool as part of a thesis-confirmation framework , pair it with:
BTC.D — Bitcoin Dominance
ETH/BTC — Ethereum strength vs. Bitcoin
TOTALE100/ETH — Altcoin strength relative to ETH
RWCS_LTD’s published charts and macro cycle models
🏁 Final Note
Crypto has matured. So should your signals.
This tool doesn’t try to game the next 2 candles. It helps you understand the current phase in a compliance-filtered, institutionalized rotation model.
It’s not built for hype — it’s built for conviction.
Explore the thesis → Validate the structure → Trade with clarity.
🚨 Disclaimer
This script is not financial advice. It is an analytical tool designed to support market structure research and rotation thesis validation. Use this as part of a broader framework including technical structure, dominance charts, and macro data.
Volume Spike Strategy - Black GUIA volume spike strategy that buys when the volume is 150% above the 20-day average and the price is increasing.
The strategy uses a black-themed GUI for better visibility.
You can customize the volume spike multiplier and the length of the volume moving average using the input parameters.
This strategy is effective for identifying potential breakout points in the market. Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
Volume Spikes + Daily VWAP SD BandsVolume Spikes + Daily VWAP SD Bands
This indicator combines volume spike detection to help traders identify potential absorption zones with daily VWAP and standard deviation bands , key price levels, continuation opportunities, and possible institutional bias.
Features:
Volume Spike Detection
Highlights candles with unusually high volume relative to a configurable SMA.
Optional filters:
Local highs/lows only (Only Use Valid Highs & Lows)
Candle shapes: Hammer / Shooter only
Candle color match: bullish spikes on green, bearish on red
Plots small circles above/below bars for bullish and bearish volume spikes.
Alerts available for both bullish and bearish spikes.
Interpretation: Volume spikes at local highs/lows can indicate absorption, where one side absorbs aggressive buying/selling pressure.
Daily VWAP
Calculates volume-weighted average price (VWAP) for the current day.
Optionally shows previous day’s VWAP for reference.
Plot lines are customizable with optional circles on lines for visual clarity.
Labels on the last bar show exact VWAP values.
Institutional Bias Insight: Price above both current and previous VWAPs may indicate bullish positioning; price below both VWAPs may indicate bearish positioning. Many professional traders consider this a clue to institutional bias, but it’s not guaranteed. Always confirm with volume, delta, or orderflow analysis.
Standard Deviation Bands
Optional x1 and x2 SD bands around the daily VWAP.
Visual fill between bands shows price volatility zones.
Can be used to identify potential support/resistance or absorption zones.
Use Case: Price bounces off first SD band may indicate continuation signals, especially when volume spikes occur at those levels.
Customizable Visuals
Colors for bullish and bearish volume spikes
VWAP and SD band colors and thickness
Optional circles and filled bands for better readability
Alerts
Bullish / Bearish Volume Spikes
Supports TradingView alert system for automated notifications
Advanced Use Cases:
Combine with Cumulative Delta or Orderflow tools to confirm true absorption zones.
Identify high-volume rejection candles signaling possible trend continuation.
Use VWAP positioning relative to price to assess potential institutional bias, keeping in mind it is probabilistic, not guaranteed.
Visualize intraday VWAP levels and volatility with SD bands for better trade timing.
Settings: Fully customizable, including volume multiplier, SMA length, session filter, candle shape, color options, and VWAP/SD display preferences.
Quantum Trading MatrixThe Quantum Trading Matrix is a sophisticated Pine Script indicator designed for TradingView that offers a comprehensive trading dashboard by combining multiple market analysis techniques in one interface. The indicator integrates price action, volume, momentum, trend detection, institutional activity, and technical oscillators to provide traders a unified perspective on the market.
At its core, the script uses fundamental market data like price (open, high, low, close) and volume to calculate various metrics. The VWAP (Volume Weighted Average Price) is a key element that helps traders understand if the price is trading above or below the average price weighted by volume, indicating market strength or weakness. The distance of the current price from the VWAP is computed as a percentage to signal how far the price has diverged from this benchmark.
Momentum is measured through a "Quantum Momentum Oscillator" derived from the difference between fast and slow exponential moving averages of price. Positive momentum signals bullish conditions while negative momentum signals bearish ones. Volume flow analysis breaks down buying versus selling pressure on each bar by observing where the close price lies within the daily range combined with volume, generating an order flow ratio. This aids in identifying if buyers or sellers dominate the market at a given time.
Trend detection involves calculating EMAs of different lengths (8, 21, and 50) and aggregating their relationships into a trend score. Scores range from strong uptrend to downtrend, providing a clear directional bias. Institutional activity is inferred by detecting volume spikes significantly above the average volume, suggesting large players might be active. A dark pool estimate provides an approximate volume figure representing hidden or off-exchange trading.
The script also identifies market structure by detecting pivot highs and lows which act as resistance and support levels, respectively. These levels offer valuable insight into potential price reversals or breakouts. The RSI (Relative Strength Index) is incorporated, including a basic divergence detection to suggest potential bull or bear reversals. Volatility is measured using the Average True Range (ATR), classifying the current volatility from low to extreme, helping traders gauge the risk environment.
All these metrics are combined into a scoring system that awards points for positive indications such as price above VWAP, positive order flow, bullish momentum, and an uptrend in EMAs. The overall score ranges from 0 to 100 and is interpreted visually with emojis: a rocket for strong bullish setups, a chart up emoji for positive bias, a balanced scale for neutral, and a chart down emoji for bearish conditions.
The indicator issues alerts based on the combination of these signals, including bullish and bearish setups when multiple criteria align favorably, volume spike alerts when abnormal volume events occur, and institutional activity alerts for high volume surges.
To use this indicator effectively, traders should first assess the trend direction indicated by the EMA-based scoring. Positive momentum and price trading above the VWAP confirm bullish bias, while the opposite suggests bearishness. Volume flow and institutional activity provide additional confirmation. Support and resistance levels derived from pivots help in planning entries and exits. The RSI and volatility readings inform traders of potential overbought or oversold conditions and market risk levels. Alerts provide timely notifications to act on significant setups.
The indicator is highly customizable, allowing users to adjust the dashboard's position, size, and color theme to suit personal preferences. Parameters such as the momentum period, volume profile bars, trend multiplier, and signal sensitivity can be fine-tuned to adapt to different markets and trading styles.
This tool requires foundational knowledge of key technical concepts such as EMAs, VWAP, ATR, RSI, and volume analysis for best utilization. For traders interested in expanding their understanding, recommended resources include the TradingView Pine Script manual, technical analysis books by John J. Murphy and Dr. Alexander Elder, and practical video tutorials focusing on volume spread analysis and institutional order flow.
Overall, the Quantum Trading Matrix™ serves as a powerful control panel for active traders, providing a multi-dimensional view of the market through combined technical indicators, helping to identify high probability trade setups and manage risk effectively.
________________________________________
⚠️ Warning:
• Trading financial markets involves substantial risk.
• You can lose more money than you invest.
• Past performance of indicators does not guarantee future results.
• This script must not be copied, resold, or republished without authorization from aiTrendview.
By using this material or the code, you agree to take full responsibility for your trading decisions and acknowledge that this is not financial advice.
________________________________________
⚠️ Disclaimer and Warning (From aiTrendview)
This Dynamic Trading Dashboard is created strictly for educational and research purposes on the TradingView platform. It does not provide financial advice, buy/sell recommendations, or guaranteed returns. Any use of this tool in live trading is completely at the user’s own risk. Markets are inherently risky; losses can exceed initial investment.
The intellectual property of this script and its methodology belongs to aiTrendview. Unauthorized reproduction, modification, or redistribution of this code is strictly prohibited. By using this study material or the script, you acknowledge personal responsibility for any trading outcomes. Always consult professional financial advisors before making investment decisions.
Multi Stoch + VWAP Heatmap + Histogram + ScalpingThis indicator was developed by referencing various indicators from many contributors. I apologize that I cannot identify all the original authors due to the numerous sources referenced. Thank you to everyone who contributed to the trading community.
Important Notice: Please use this indicator with sufficient caution and proper risk management. I do not assume any responsibility for any losses incurred from using this indicator. Trade at your own risk.
Alternative version:
Acknowledgment & Disclaimer:
This indicator incorporates ideas and concepts from numerous community indicators. I sincerely apologize for not being able to properly credit all the original creators due to the extensive references used. My heartfelt gratitude goes out to all the talented developers in the trading community.
Risk Warning: Please exercise extreme caution when using this indicator. All trading involves substantial risk of loss, and I accept no liability for any financial losses that may result from the use of this indicator. Always implement proper risk management and trade responsibly.
Multi Stoch + VWAP Heatmap + Histogram + Scalping Usage Guide
🔧 Basic Settings
Parameter Settings (Recommended for XAU/USD)
Fast Stoch Length: 5 # Ultra-short term trend
Medium Stoch Length: 14 # Short term trend
Slow Stoch Length: 21 # Medium term trend
%K Smoothing: 2 # High sensitivity setting
%D Smoothing: 2 # High sensitivity setting
Overbought Level: 75 # Sell zone
Oversold Level: 25 # Buy zone
📈 Reading the Chart
1. Histogram (Background Bar Chart)
Green tones: Strong uptrend
Red tones: Strong downtrend
Gray: Trendless/neutral
2. Line Display
Blue lines: Ultra-short term Stochastic (K1/D1)
Orange lines: Short term Stochastic (K2/D2)
Purple lines: Medium term Stochastic (K3/D3)
Yellow line: VWAP (normalized)
3. Horizontal Lines
Upper line (75): Sell zone
Center line (50): Neutral line
Lower line (25): Buy zone
🎯 Signal Types and Meanings
Scalping Signals (● marks)
Green ● (bottom): 📈 Scalp buy entry
RSI(7) < 25 + K1 < 30 combination
VWAP bounce targeting
Red ● (top): 📉 Scalp sell entry
RSI(7) > 75 + K1 > 70 combination
VWAP rejection targeting
Main Trend Signals
▲ (large, green): 💪 Strong buy signal - Multiple conditions aligned
▼ (large, red): 💪 Strong sell signal - Multiple conditions aligned
△ (medium, green): 📈 Normal buy signal
▽ (medium, orange): 📉 Normal sell signal
Warning/Reversal Signals
▼ (pink): ⚠️ Sell warning - Trend reversal caution
△ (teal): ⚠️ Buy warning - Trend reversal caution
Cross Signals (● marks, positioned up/down)
Green ● (bottom): Histogram crosses above VWAP
Red ● (top): Histogram crosses below VWAP
🚀 Practical Usage
Scalping Strategy (1-5 minute charts recommended)
Entry: Enter on green ● or red ● signals
Take Profit: At opposite zone or next ● signal
Stop Loss: Around 10-15 pips (for gold)
Time Session: London-NY overlap optimal
Swing Trading Strategy (15min-1hour charts)
Entry: Strong ▲▼ signals
Take Profit: Opposite warning signals (▼△)
Stop Loss: VWAP reverse break or 30-50 pips
Day Trading Strategy (5-15 minute charts)
Trend Confirmation: Histogram color
Entry: △▽ signals
Take Profit: Opposite zone reached
Stop Loss: 20-30 pips
⚡ XAU/USD Specific Usage
Session-Based Strategy
Tokyo Session (9-15 JST): Wait and see, small scalps
London Session (16-24 JST): Main trading
NY Session (22-6 JST): Most active, all signals valid
Major News Events
Pre-announcement: Reduce positions
Post-announcement: Trend following with ● signals
🔍 Filter Functions
ATR Filter
Small price movements filtered as noise
Signals only on significant price moves
Time Filter
Strong signals only during high volatility sessions
Weaker signals during low volatility periods
Consecutive Signal Prevention
Duplicate signals within 2 bars filtered out
Prevents noise trading
⚙️ Settings Customization
For Aggressive Trading
Signal Cooldown: 1 # More frequent signals
ATR Length: 5 # More sensitive filter
For Conservative Trading
Signal Cooldown: 5 # Relaxed signals
ATR Length: 20 # Stricter filter
Overbought: 80 # More extreme levels
Oversold: 20
📱 Recommended Alert Settings
Strong Buy/Sell Signal: Priority ★★★
Scalping Buy/Sell Signal: Priority ★★☆
Reverse Warning: Priority ★★★ (for position management)
⚠️ Important Notes
Scalping requires quick decision-making
Multiple timeframe confirmation recommended
Exercise caution during major news events
Risk management is top priority
This indicator is a versatile multi-functional tool suitable for short to medium-term trading strategies!
🎓 Trading Examples
Scalping Example
Wait for green ● at oversold level (below 30)
Enter long position immediately
Target: 50 level or red ● signal
Stop: Below recent swing low
Day Trading Example
Histogram turns green (bullish trend)
Wait for △ buy signal near support
Target: Overbought level (75)
Exit: Warning signal ▼ appears
Risk Management Rules
Never risk more than 2% per trade
Use proper position sizing
Set stops before entry
Take partial profits at key levels
This comprehensive guide will help you maximize the potential of this advanced multi-timeframe indicator!
Scalp - Victor Trader//@version=6
indicator("Scalp Fluxo Simples v6 — OP1/OP2/OP3", overlay=true, max_labels_count=500)
// === Inputs básicos ===
lenVol = input.int(50, "Janela do Volume", minval=10)
zVolThr = input.float(2.2,"Z-score mínimo p/ Clímax", step=0.1)
imbThr = input.float(0.65,"Desequilíbrio |Δ|/Vol", step=0.01)
sweepLookbk = input.int(20, "Lookback p/ Varredura", minval=5)
wickMult = input.float(1.0,"Pavio dominante vs Corpo (x)", step=0.1)
confirmClose = input.bool(true, "Confirmar só no fechamento? (anti-repaint)")
cooldownBars = input.int(8, "Cooldown OP1 (barras mínimas entre OP1)", minval=0)
// --- OP2 (reteste) ---
useOP2 = input.bool(true, "Ativar OP2 (reteste da zona)?")
retestBars = input.int(8, "Janela p/ reteste (barras após OP1)", minval=1)
// --- OP3 (confirmação do candle seguinte) ---
useOP3 = input.bool(true, "Ativar OP3 (confirmação do candle seguinte)?")
// === Funções utilitárias ===
zscore(src, len) =>
m = ta.sma(src, len)
s = ta.stdev(src, len)
s := s == 0.0 ? 1e-10 : s
(src - m) / s
// === Proxy de delta (tick rule) ===
chg = close - close
delta = volume * math.sign(chg)
// === Clímax de volume ===
zVol = zscore(volume, lenVol)
climax = zVol >= zVolThr
// === Pavio dominante ===
body = math.abs(close - open)
topWick = high - math.max(open, close)
botWick = math.min(open, close) - low
topDom = topWick > body * wickMult
botDom = botWick > body * wickMult
// === Desequilíbrio ===
imbalance = math.abs(delta) / math.max(volume, 1.0)
buyImb = imbalance >= imbThr and delta > 0
sellImb = imbalance >= imbThr and delta < 0
// === Sweeps ===
prevHH = ta.highest(high, sweepLookbk)
prevLL = ta.lowest(low, sweepLookbk)
sweepHigh = high > prevHH
sweepLow = low < prevLL
okBar = not confirmClose or barstate.isconfirmed
// === OP1 (sinal raiz) ===
topOP1_raw = climax and buyImb and sweepHigh and topDom and okBar
bottomOP1_raw = climax and sellImb and sweepLow and botDom and okBar
// Cooldown OP1
var int lastTopOP1 = na
var int lastBotOP1 = na
topOP1 = topOP1_raw and (na(lastTopOP1) or bar_index - lastTopOP1 > cooldownBars)
bottomOP1 = bottomOP1_raw and (na(lastBotOP1) or bar_index - lastBotOP1 > cooldownBars)
if topOP1
lastTopOP1 := bar_index
if bottomOP1
lastBotOP1 := bar_index
// === Guardar ZONAS do pavio do OP1 para OP2 ===
var float lastTopZoneLow = na
var float lastTopZoneHigh = na
var int lastTopBar = na
var float lastBotZoneLow = na
var float lastBotZoneHigh = na
var int lastBotBar = na
if topOP1
lastTopZoneLow := math.max(open, close)
lastTopZoneHigh := high
lastTopBar := bar_index
if bottomOP1
lastBotZoneLow := low
lastBotZoneHigh := math.min(open, close)
lastBotBar := bar_index
// === OP2 (reteste da zona do pavio dentro de N barras) ===
topOP2 = useOP2 and not na(lastTopBar) and bar_index > lastTopBar and (bar_index - lastTopBar <= retestBars) and high >= lastTopZoneLow and low <= lastTopZoneHigh and close < open and okBar
bottomOP2 = useOP2 and not na(lastBotBar) and bar_index > lastBotBar and (bar_index - lastBotBar <= retestBars) and high >= lastBotZoneLow and low <= lastBotZoneHigh and close > open and okBar
// === OP3 (confirmação do candle seguinte) ===
topOP3 = useOP3 and topOP1 and close < low and okBar
bottomOP3 = useOP3 and bottomOP1 and close > high and okBar
// === Plots ===
plotshape(series=topOP1, title="TOP OP1", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, text="TOP1")
plotshape(series=topOP2, title="TOP OP2", style=shape.triangledown, location=location.abovebar, color=color.maroon, size=size.small, text="TOP2")
plotshape(series=topOP3, title="TOP OP3", style=shape.triangledown, location=location.abovebar, color=color.orange, size=size.small, text="TOP3")
plotshape(series=bottomOP1, title="FND OP1", style=shape.triangleup, location=location.belowbar, color=color.lime, size=size.small, text="FND1")
plotshape(series=bottomOP2, title="FND OP2", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, text="FND2")
plotshape(series=bottomOP3, title="FND OP3", style=shape.triangleup, location=location.belowbar, color=color.teal, size=size.small, text="FND3")
// === Alertas ===
alertcondition(condition=topOP1, title="TOP OP1", message="TOP OP1 (clímax+sweep+pavio)")
alertcondition(condition=topOP2, title="TOP OP2", message="TOP OP2 (reteste da zona)")
alertcondition(condition=topOP3, title="TOP OP3", message="TOP OP3 (confirmação)")
alertcondition(condition=bottomOP1, title="FND OP1", message="FND OP1 (clímax+sweep+pavio)")
alertcondition(condition=bottomOP2, title="FND OP2", message="FND OP2 (reteste da zona)")
alertcondition(condition=bottomOP3, title="FND OP3", message="FND OP3 (confirmação)")
MTF RSI + ADX + ATR SL/TP vivekDescription:
This strategy combines the power of multi-timeframe RSI filtering with ADX trend confirmation and ATR-based risk management to capture strong directional moves.
🔑 Entry Rules:
• Daily RSI > 60
• 4H RSI > 60
• 1H RSI > 60
• 10m RSI > 40
• ADX (current timeframe) > 20
When all conditions align, a long entry is triggered.
🛡 Risk Management:
• ATR-based Stop-Loss (customizable multiplier)
• Take-Profit defined as a Risk-Reward multiple of the ATR stop
🎯 Why this Strategy?
• Ensures alignment across higher timeframes before entering a trade
• Uses ADX to avoid choppy/range-bound markets
• Built-in ATR stop-loss & take-profit for disciplined risk control
• Fully customizable parameters
This strategy is designed for trend-following swing entries. It works best on liquid instruments such as indices, forex pairs, and large-cap stocks. Always optimize the parameters based on your preferred asset and timeframe.
Parabolic SAR Trend Following - Black GUIA Parabolic SAR-based strategy that buys when the SAR dots are below the price and sells when they are above.
The strategy uses a black-themed GUI for better visibility.
You can customize the input parameters for the SAR calculation.
This strategy is effective for trending markets.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
BarLibrary "Bar"
A comprehensive library for creating and managing custom multi-timeframe (MTF) candlestick bars without using request.security calls, providing enhanced visualization and analytical capabilities with improved performance
Candle()
Creates a new candle object initialized with current bar's OHLC data
Returns: A new _Candle instance with current market data
method body(this)
Calculates the absolute size of the candle body (distance between open and close)
Namespace types: _Candle
Parameters:
this (_Candle)
Returns: The absolute difference between closing and opening prices
method topWick(this)
Calculates the length of the upper wick (shadow above the candle body)
Namespace types: _Candle
Parameters:
this (_Candle)
Returns: The distance from the higher of open/close to the high price
method bottomWick(this)
Calculates the length of the lower wick (shadow below the candle body)
Namespace types: _Candle
Parameters:
this (_Candle)
Returns: The distance from the low price to the lower of open/close
method display(this, bullishColor, bearishColor, transp, borderWidth, lineWidth)
Renders the candle visually on the chart with customizable colors and styling options
Namespace types: _Candle
Parameters:
this (_Candle)
bullishColor (color)
bearishColor (color)
transp (int)
borderWidth (int)
lineWidth (int)
candles(tf, autoDisplay)
Creates and manages an array of custom timeframe candles with optional automatic display
Parameters:
tf (string) : Target timeframe string (e.g., "60", "240", "D") for candle aggregation
autoDisplay (bool)
Returns: Array containing all completed candles for the specified timeframe
_Candle
Custom candlestick data structure that stores OHLCV data with visual rendering components
Fields:
start (series int) : Opening timestamp of the candle period
end (series int) : Closing timestamp of the candle period
o (series float) : Opening price of the candle
h (series float) : Highest price reached during the candle period
l (series float) : Lowest price reached during the candle period
c (series float) : Closing price of the candle
v (series float) : Volume traded during the candle period
bodyBox (series box)
wickLine (series line)
Example Usage
// Change version with latest version
import EmreKb/Bar/1 as bar
// "240" for 4h timeframe
// true for auto display candles on chart (default: false)
candlesArr = bar.candles("240", true)
PanelWithGrid v1.7PanelWithGrid v1.7 - Advanced Multi-Timeframe Grid and Panel Indicator
DESCRIPTION:
PanelWithGrid v1.7 is a comprehensive tool for traders who want to monitor multiple timeframes simultaneously while operating based on a customizable price grid. This indicator combines two essential functionalities in a single script:
🎯 MAIN FEATURES:
✅ CUSTOMIZABLE GRID SYSTEM
Configurable timeframe for the grid base (1M to Monthly)
Selection of the reference candlestick level (0 = current, 1 = previous, etc.)
NEW: Custom price as the grid base
Adjustable distance between lines in points
Colored lines (red = base, blue = above, gold = below)
Informative label with the base value
✅ COMPLETE MULTI-TIMEFRAME DASHBOARD
Monitoring of 11 timeframes: 1M, 5M, 15M, 30M, 1H, 2H, 3H, 4H, 6H, 12H, and 1D
Real-time data: open, close, difference, and candlestick type
Countdown to close Each candle
Intuitive colors (green for bullish, red for bearish)
✅ CONFLUENCE SYSTEM
Visual and audio alerts for bullish/bearish confluence on all timeframes
Special confluence analysis for 1H candles after 30 minutes of formation
Buy/sell arrows on the chart for clear signals
⚙️ MAIN SETTINGS:
Grid Settings:
Timeframe for Grid: Select the period for the baseline
Candle Level: 0 (current candle), 1 (last candle), etc.
Grid Distance: Distance between lines in points
NEW: Use Custom Price - Enables manual price as a base
Custom Close Price - Sets the manual value for the grid
🎨 VISUAL:
Grid with lines extended to the right
Panel positioned in the upper left corner
Colors organized for easy interpretation
Informative labels directly on the chart
🔔 ADVANCED FEATURES:
Alerts configured for confluences
Optimized for performance
Real-time updates
Compatible with all pairs and markets
PERFECT FOR:
Scalpers and day traders
Level-based trading
Multiple timeframe analysis
Reversal and breakout strategies
UPDATE v1.7:
Added custom price option for the grid
Improved line stability
Performance optimization
Bug fixes minors
INSTRUCTIONS FOR USE:
Apply the indicator to the chart
Set the desired timeframe and level for the grid
Adjust the distance between lines according to your strategy
Use the custom price if you want a specific basis
Monitor the dashboard to see the convergence between timeframes
Trade based on the identified confluences
Master Candle# Master Candle Indicator
## Overview
The Master Candle Indicator identifies and highlights significant price consolidation patterns where multiple candles trade within the high-low range of a single "master" candle. This technical analysis tool helps traders spot potential breakout zones and key support/resistance levels.
## What is a Master Candle?
A Master Candle is a candlestick that contains 4 or more subsequent candles completely within its high-low range. These formations often indicate:
- Market consolidation phases
- Potential breakout areas
- Strong support and resistance levels
- Areas of price compression before significant moves
## Features
✅ **Automatic Detection**: Scans historical data to identify Master Candle patterns
✅ **Visual Highlighting**: Draws colored boxes around detected Master Candles
✅ **Customizable Parameters**: Adjust minimum candles required (2-20)
✅ **Candle Counter**: Shows exact number of candles contained within each Master Candle
✅ **Performance Optimized**: Efficient lookback system with memory management
✅ **Clean Interface**: Non-intrusive visual design that doesn't clutter charts
## How to Use
1. Add the indicator to your chart
2. Adjust the "Minimum candles inside" parameter (default: 4)
3. Set the lookback period for historical scanning (default: 50)
4. Master Candles will be automatically highlighted with colored boxes
5. Use these levels as potential support/resistance zones for your trading strategy
## Settings
- **Minimum candles inside**: Set how many candles must be contained (2-20)
- **Lookback period**: How far back to scan for patterns (10-200 bars)
## Educational Purpose
This indicator is designed for educational and analysis purposes. It helps traders:
- Understand market consolidation patterns
- Identify potential breakout zones
- Recognize key support and resistance areas
- Improve market structure analysis skills
## Technical Details
- Compatible with all timeframes
- Works on any trading instrument
- Optimized for performance with automatic memory management
- Uses historical data analysis for pattern detection
## Important Notes
- This indicator is for educational and analytical purposes only
- Past patterns do not guarantee future results
- Always combine with other analysis tools
- Practice proper risk management in your trading
- Not financial advice - for educational use only
Composite TECH Line (Debug) – v0.2 [Strategy]You can check now first version of strategy - Composite TECH Line V0.2
X D HL MitigationDesigned to track and project prior day high and low levels into the current trading session. It provides traders with reference points for potential support and resistance without being distorted by the unfinished intraday range of the active day.
Key Features
Prior-Day Anchoring
At the start of each new trading day, the indicator captures the previous day’s high and low.
Current-day developing highs and lows are ignored, ensuring only completed data drives level creation.
Dynamic Extensions
Each high and low level is extended forward intraday until price action mitigates (touches or crosses) the level.
When mitigated, the line is automatically “frozen” at the bar of contact and restyled to a new color.
This makes it easy to distinguish which historical levels remain active versus which have already been resolved by price.
End-of-Day Housekeeping
Optional setting allows all mitigated lines to be automatically removed at the end of each trading day, keeping charts uncluttered and focused only on active levels.
Trading Applications
Support & Resistance Mapping: Prior-day highs and lows are commonly watched areas where liquidity pools form and price often reacts.
Breakout & Reversal Signals: Monitoring if and when price mitigates these levels can help confirm breakouts or identify potential reversals.
Intraday Focus: By excluding developing highs and lows of the current session, the indicator emphasizes only proven, market-validated levels.
ICT Silver Bullet Zones (All Sessions)This Pine Script v6 indicator highlights the ICT Silver Bullet windows (10:00–11:00 local time) for all major forex/trading sessions: London, New York AM, New York PM, and Asia.
✅ Features:
Clearly visualizes Silver Bullet zones for each session.
Labels are centered inside each zone for easy identification.
Fully compatible with Pine Script v6 and TradingView.
Adjustable opacity and label size for better chart visibility.
Works on any timeframe and keeps historical zones visible.
Use Case:
Perfect for ICT strategy traders who want to identify high-probability trading windows during major market sessions. Helps in planning entries and understanding liquidity timing without cluttering the chart.
Instructions:
Add the script to your TradingView chart.
Adjust opacity and label size to suit your chart style.
Observe the SB zones for all sessions and plan trades according to ICT methodology.