Gold RCI Signalトレンド転換点をRCI×CCI×ボラティリティで検出するロング専用インジケーター。ゴールド(XAUUSD)対応。
A long-only indicator that detects trend reversal points using a combination of RCI, CCI, and volatility. Optimized for Gold (XAUUSD).
#RCI #CCI #volatility #trendreversal #gold #XAUUSD #indicator
Patrones de gráficos
Weekly Breakout Screenermencari harga saham yang kuat breakout harga mingguan. potensi swing trading
3-6-9 Times v3.2 (rdt)3-6-9 Times v3.1 Indicator Overview
Core Concept
This indicator identifies specific times/dates where the digital root (sum of digits reduced to a single number) equals 3, 6, or 9, which are considered significant in numerology and certain trading methodologies.
How It Calculates Roots:
For Intraday Timeframes (minutes, hours):
Formula: Hour + First Minute Digit + Last Minute Digit → Reduce to single digit
For Daily/Weekly/Monthly Timeframes:
Uses Month + Day calculations with similar digit reduction logic.
Key Features:
1. Break Filter (Default: ON)
Only displays labels after a swing high/low is broken
Prevents clutter by filtering out times that don't coincide with price action
Configurable pivot length (default: 2 bars)
Optional directional filter: green candles must break highs, red candles must break lows
2. Root Selection
Toggle individual roots (3, 6, or 9) on/off
Each root has customizable color
Default colors: Blue (3), Green (6), Red (9)
3. Display Options
Marking Style: Labels, Vertical Lines, or Both
Label Text Format:
Root Only (default) - shows just "3", "6", or "9"
Time/Date Only - shows the actual time/date
Root + Time/Date (separate lines) - shows both
Label Background: Toggle colored box behind text (default: OFF)
Chart Background: Toggle colored background highlight (default: OFF)
Text Color: Customizable (default: black)
4. Session Filter:
Set specific hours/minutes for when to display signals
Default: 00:00 to 23:59 (all day)
Useful for focusing on specific trading sessions
5. Hour Offset
Manual adjustment for timezone/DST issues
Range: -12 to +12 hours
Helps align calculations with your preferred timezone
6. Label Placement
Green candles: Label appears above the bar
Red candles: Label appears below the bar
7. Alerts
Four alert conditions available:
Any 3-6-9 root hit
Specific Root 3 hit
Specific Root 6 hit
Specific Root 9 hit
Typical Use Case
Traders use this to identify potential reversal or continuation points when:
A 3/6/9 time occurs
Price breaks a recent swing high/low
Combining this timing signal with other technical analysis
The indicator helps identify "energetic" time windows that may correlate with increased volatility or directional moves.
3-6-9 Times v3.1 (rdt)3-6-9 Times v3.1 Indicator Overview
Core Concept
This indicator identifies specific times/dates where the digital root (sum of digits reduced to a single number) equals 3, 6, or 9, which are considered significant in numerology and certain trading methodologies.
How It Calculates Roots:
For Intraday Timeframes (minutes, hours):
Formula: Hour + First Minute Digit + Last Minute Digit → Reduce to single digit
For Daily/Weekly/Monthly Timeframes:
Uses Month + Day calculations with similar digit reduction logic.
Key Features:
1. Break Filter (Default: ON)
Only displays labels after a swing high/low is broken
Prevents clutter by filtering out times that don't coincide with price action
Configurable pivot length (default: 2 bars)
Optional directional filter: green candles must break highs, red candles must break lows
2. Root Selection
Toggle individual roots (3, 6, or 9) on/off
Each root has customizable color
Default colors: Blue (3), Green (6), Red (9)
3. Display Options
Marking Style: Labels, Vertical Lines, or Both
Label Text Format:
Root Only (default) - shows just "3", "6", or "9"
Time/Date Only - shows the actual time/date
Root + Time/Date (separate lines) - shows both
Label Background: Toggle colored box behind text (default: OFF)
Chart Background: Toggle colored background highlight (default: OFF)
Text Color: Customizable (default: black)
4. Session Filter:
Set specific hours/minutes for when to display signals
Default: 00:00 to 23:59 (all day)
Useful for focusing on specific trading sessions
5. Hour Offset
Manual adjustment for timezone/DST issues
Range: -12 to +12 hours
Helps align calculations with your preferred timezone
6. Label Placement
Green candles: Label appears above the bar
Red candles: Label appears below the bar
7. Alerts
Four alert conditions available:
Any 3-6-9 root hit
Specific Root 3 hit
Specific Root 6 hit
Specific Root 9 hit
Typical Use Case
Traders use this to identify potential reversal or continuation points when:
A 3/6/9 time occurs
Price breaks a recent swing high/low
Combining this timing signal with other technical analysis
The indicator helps identify "energetic" time windows that may correlate with increased volatility or directional moves.
Current & Previous-Day VWAPThe “Current & Previous‑Day VWAP” indicator plots two important volume‑weighted price references on intraday charts:
Current Session VWAP (solid line): The VWAP is the volume‑weighted average price of the current trading session. TradingView’s built‑in ta.vwap() function automatically resets its calculation at the start of each new intraday session
offline-pixel.github.io
, so the line accurately follows today’s price action. You can set the color of this line via the indicator’s input (defaults to blue).
Previous‑Day VWAP (dotted lines): At the final bar of each session, the indicator stores the current session’s VWAP value. On the first bar of the following session, it draws a horizontal dotted line at that stored value and extends it across the entire day. This uses TradingView’s session detection functions—session.islastbar to capture the closing VWAP and session.isfirstbar to start the new line
tradingview.com
. An array holds each line and its y‑value so that multiple previous‑day VWAPs remain visible for comparison. The color of these dotted lines is also user‑configurable.
This design lets you see both where the current price is relative to today’s VWAP and how it stands against the closing VWAP levels of previous sessions, all at a glance.
Session Volume Profile-1This indicator used to show volume profile, you can not change the code. You can suggest the changes
3-6-9 Times v3.0.4Showing the 3-6-9 times on charts to show possible reversals and SMR in price. Work on all time frames. Uses simple logic of add HR to MM, then reducing to one root number of 3, 6 or 9.
AnchorPulse RWAP Universal ScalperWhat it is
AnchorPulse Scalper is an intraday indicator that reads price in real time through three ideas working together.
A live pivot engine that detects the current micro leg.
An Anchored Range Weighted Average Price that starts at each new leg or session.
An adaptive rhythm score that communicates a simple bias: Buy, Sell, or Wait.
The goal is clarity. You get one anchor line, soft bands that show stretch, discrete Buy and Sell marks, and a plain-language dashboard that says Trend, Phase, Bias, Momentum, Volatility, Stretch, ETA to next turn, and Regime. No external dependencies and no lookahead. It is designed for standard chart types on one to five minute timeframes across liquid symbols such as major FX, index futures, large cap stocks, and mainstream crypto pairs.
What makes it original
Most scalpers either track a fixed moving average or draw from a session VWAP. AnchorPulse does neither. The anchor resets at every new micro leg detected by a real time pivot engine that measures distance in units of ATR rather than in fixed points. This produces a responsive anchor that updates only when the market proves a leg has turned. On top of that, the rhythm timer keeps an average of how long legs usually last, so the indicator can treat the start and the end of a leg differently. Early in a leg it favors continuation signals. Late in a leg it watches for mean reversion. This mix of an ATR-based leg detector, a leg-anchored RWAP, and a rhythm aware bias is the core originality.
Plain explanation of the calculations
Pivot engine. While price travels up, the script tracks the highest high reached since the last pivot. If price pulls back from that extreme by at least a user defined fraction of ATR, the leg flips down. The reverse applies to down legs. The distance threshold is adaptive because ATR changes with volatility. A short cooldown in bars can prevent double flips on violent bars.
Anchored Range Weighted Average Price. From the first bar of each new leg the script accumulates a weighted average of the typical price, where the weight is the true range of each bar. The anchor can also reset at the start of a session and can ignore the very first session bar to avoid overweighting the open gap.
Progress and phase. The script measures how far price traveled from the last pivot relative to the reversal threshold. That is progress. At the same time it maintains an exponential average of leg duration in bars. The current leg age divided by that average is the age ratio. An age ratio below an adaptive early threshold means Early. Above an adaptive late threshold means Late. The thresholds drift with recent variability in leg length so they match the rhythm of the market.
Wick pressure and intrabar skew. Lower wick minus upper wick, normalized by ATR and smoothed, acts as tape pressure. The sign of close minus open, smoothed, is intrabar skew. They are combined into a compact momentum read.
Bands and stretch. The script computes the deviation of typical price from the anchor and builds soft bands around the anchor. Standard deviation is capped by a multiple of mean absolute error to avoid inflated bands just after a pivot.
Regime filter. You may optionally gate continuation entries when the higher timeframe EMA disagrees, or gate reversals when ADX shows strong trend.
Adaptive edge score. Progress and momentum are turned into percentile scores using a normal CDF of their rolling z scores. This yields a familiar zero to one hundred scale that is easier to read than raw values. Early in an up leg adds a small bonus to long bias. Early in a down leg adds a small bonus to short bias.
Gap cap. Signals are rejected if price is too far from the anchor. The cap is expressed as a fraction of price, which scales across symbols.
What you see on the chart
One white anchor line. Two transparent bands. Subtle green or orange background when a bias is active. Buy marks below bars and Sell marks above bars. Small triangles at pivots. Bar tint softly aligned with momentum. A compact table in the corner that tells you the state in plain language. On alert, a single JSON line can be sent to your alert channel with ticker, timeframe, trend, phase, bias, edge score, stretch, ETA in bars, and regime note.
How to use it in practice
Choose a liquid symbol and a one to five minute timeframe.
Keep the mode on Hybrid until you learn the personality of the market. If you notice long directional pushes, try Continuation mode. If you see frequent fades near the end of legs, try Reversal mode.
Read the table. Trend shows Up or Down according to the current leg. Phase shows Early, Mid, or Late from the rhythm timer. Bias shows Buy, Sell, or Wait once the signal rules and the gap cap are satisfied. Momentum reads Strong Up, Neutral, or Strong Down from wick pressure and skew. Volatility shows Calm, Average, or Wild relative to an ATR baseline. Stretch vs anchor prints the distance between close and the anchor as a percent of price. ETA shows how many bars remain to the average leg length if such a read is meaningful. Regime reflects the optional gate: None, HTF Up, HTF Down, Strong, or Soft.
Focus on the anchor. Continuation longs are stronger when price holds above the anchor in the first part of an up leg with positive momentum and adequate progress. Continuation shorts are the mirror case below the anchor. Reversal longs are stronger when a down leg is late, price crosses the anchor, and momentum flips positive. Reversal shorts are the mirror case in late up legs.
Respect the gap cap. When price is stretched far away from the anchor, skip signals and wait for re-alignment or a fresh leg.
Keep the chart clean. The script is designed to work on its own. If you add other tools, make sure they do not paint multiple backgrounds or heavy drawings that obscure the anchor and the bands.
Inputs explained with practical defaults
The script ships with sensible defaults and all inputs provide tooltips inside the indicator. The description here is included so traders who do not read code can still understand how to tune it.
Signal mode. Continuation uses early leg logic. Reversal uses late leg logic at anchor crosses. Hybrid allows both and lets the edge score decide.
ATR length and Pivot reversal in ATR. These govern flips. Shorter ATR and smaller reversal multiples yield faster turns and more signals. Longer and larger do the opposite. A middle ground such as ATR 50 with reversal 0.75 often reads well across liquid markets.
Rhythm smoothing length and Freeze bars after flip. The first sets how quickly the average leg length adapts. The second prevents double flips on wide bars. Values around 20 and 1 to 3 bars work well for most symbols.
Session hours, Session reset, and Skip first session bar. These are optional. Day sessions in equities can benefit from a reset and from skipping the first bar so the anchor is not dragged by the open gap. Round the session to your venue.
Wick pressure length and Intrabar skew length. They control how quickly the micro momentum reacts. Values between 6 and 12 for wick pressure and 4 to 10 for skew are common.
Early and Late thresholds and the Adaptive option. If you turn adaptation on, the thresholds drift with leg variability. The adaptiveness setting controls the strength of that drift.
Minimum progress and Maximum stretch vs anchor. The first ensures that continuation signals only occur once the leg moved a minimum distance from the last pivot. The second prevents chasing far from the anchor. As a rule, raise minimum progress when the market chops and reduce it on trend days. Keep stretch around one to two percent for many symbols, then adjust by product.
Regime filter. Higher timeframe EMA supports trend alignment. ADX supports a simple read on the strength of trend. Use one at a time or none, depending on your preference.
Adaptive scoring lookback. The percentile logic needs a modest window. Values near one hundred twenty bars tend to give stable ranks without lagging too much.
Band settings. Band length and width control the look of the soft channel around the anchor. The cap versus mean absolute error is there to keep the bands realistic just after flips.
Visual controls. Pick labels, triangles, or circles, and choose to mark only state changes if you prefer a very clean chart.
Why the dashboard uses plain language
Many traders prefer to reason in simple terms rather than in raw values. The table abstracts the math into natural categories such as Early versus Late, Calm versus Wild, or Strong Up versus Strong Down. The only numeric reads are Stretch and Edge score because these help in threshold decisions. Stretch is a percent of price so it scales across markets. Edge is a normalized score from zero to one hundred that reflects the combined progress, momentum, and phase. The table is intended to be the only element you need to glance at during a fast session once you learn the anchor and the band cues.
Design choices and integrity
No repaint. The script uses bar closes and standard Pine semantics with lookahead off in security calls. There are no offset tricks that move plotted values after the fact.
One background painter. Background tint is created by a single call to avoid vertical stripes.
Reset logic is explicit. The anchor resets at a pivot or at session start if that option is enabled. This is written to be transparent so you know why the anchor restarted.
Conservative defaults. Out of the box, the script is not tuned to over trade. It communicates bias rather than forcing entries.
Clean chart guidance. The tool is meant to be used on standard bars or candles. It is not intended for synthetic chart types such as Heikin Ashi, Renko, Kagi, Point and Figure, or Range for the purpose of signal generation.
How to read a few common situations
Breakout with strong follow through. Trend reads Up. Phase reads Early. Momentum reads Strong Up. Stretch sits inside the band. Bias shows Buy. This is the typical continuation long.
Extended push into exhaustion. Trend reads Up. Phase reads Late. Momentum cools. Stretch prints a high positive percent of price. Bias flips to Wait, sometimes to Sell after an anchor cross. This is the potential reversal short.
Mean reverting chop. Trend flips often. Phase hangs around Mid. Momentum flips sign frequently. Stretch hovers near zero. Bias often prints Wait. In this case you let the market speak and only act when the leg matures or when stretch spikes away from the anchor.
Trend day with strength. ADX filter reads Strong. Continuation is allowed. Reversal attempts are blocked. Bias favors the dominant direction.
Session open. If you selected a session reset and chose to skip the first bar, the anchor starts at the second bar and the first prints do not dominate the anchor.
Limits and realistic expectations
This indicator measures leg structure and micro pressure to suggest a bias. It is not a self-contained trading system. It does not size positions, pick stops, or set take profits. It does not promise accuracy or profits. In violent markets the pivot detector can flip and then flip back. Cooldown reduces this effect but cannot remove it. During news and illiquid hours the anchor can move very quickly. Wide slippage and spread can make any intraday approach impractical. These are standard realities of intraday trading and they also apply here.
Suggested workflows
Discretionary scalper. Keep the chart clean. Use the table to decide whether to engage, then work entries at the anchor or inside the band. Focus on position risk and a predefined stop level independent of the script.
Session specialist. If you trade a venue with strong sessions such as US equities or major FX sessions, enable the session reset. Many traders find the tool shines in the first two hours and the last hour of an active session.
Multi timeframe monitor. Keep AnchorPulse on one to five minutes and a simple higher timeframe EMA on a separate chart. If you prefer a single chart, switch the regime filter to HTF Trend and let the indicator handle it.
Alert driven workflow. Create alerts on Buy or Sell. The payload contains the essential context so you can log and review. Use the payload fields to build a small notebook of cases you like to take.
Why it is published as protected
The script contains original logic that relies on a compact set of calculations not commonly seen together. Publishing as protected keeps the logic intact while still giving the community full access through the Public Library.
Frequently asked questions
Does it repaint
No. The pivot flips on confirmed bars using ATR distance. The anchor, bands, and dashboard read from that state and do not shift after the bar closes.
What settings should I change first
Try the reversal distance in ATR and the minimum progress. These two govern how active or selective the tool becomes. If you see too many flips, raise the ATR multiple or the freeze bars. If you want faster action, lower them slightly.
What is a reasonable stretch cap
One to two percent of price is a useful starting point for many symbols. Thin products may need a larger cap. Extremely liquid products can often work with a smaller cap.
Should I use the regime filter
On days with persistent trend, the higher timeframe EMA filter or the ADX filter can help keep you with the flow. On rotational days, consider turning the filter off to allow more two sided action.
Can I use it on higher timeframes
The logic works on any timeframe, but the design and defaults target one to five minutes. If you go higher, adjust the ATR length, reversal distance, and rank lookback accordingly.
Can I combine it with volume
Yes. A simple volume filter that marks above average volume near the anchor can help you time entries. Keep the chart readable.
Risk notice and user responsibility
This indicator is a tool for research and education. It does not give investment advice, trade recommendations, or any guarantee of outcomes. All trading carries risk including the loss of capital. Past performance is not a reliable guide to future results. You are solely responsible for your trading decisions, for verifying that the indicator behaves as you expect on your data and platform settings, and for selecting appropriate risk controls such as position sizing, stops, and loss limits.
Summary
AnchorPulse Scalper is a concise way to read the market’s current leg, its anchor, and its rhythm. The pivot engine tells you direction. The leg-anchored RWAP shows where value sits for this micro move. The adaptive score simplifies momentum and progress into a familiar scale. The dashboard translates complex calculations into the plain words that scalpers actually use. If you prefer simple signals, enable alerts and let them flow into your log. If you prefer context, watch the anchor and bands as the leg evolves and let the rhythm guide your timing. Use it respectfully on a clean chart, stay realistic, and keep your own rules for risk.
BTS by Ichan Aristain• Breakout Trading System
Adaptive buy/sell engine tuned for crypto that blends EMAs, Ichimoku cloud context, breakout/consolidation filters, momentum checks, and volume validation. It auto-detects symbol
class (BTC, majors, alts, DeFi, small caps) and adjusts the logic accordingly. On the chart you see clean BUY/SELL tags, optional TP ideas, and peak/floor markers; support/resistance
price-action dots keep the view tidy.
Breakout helpers, consolidation and momentum pings, peak/floor updates, and TP suggestions all drive alert hooks so you can automate entries, exits, or take-profit workflows. A
bottom-right dashboard tracks buy/sell win counts (TP hits) and overall hit rate so you always know how the strategy is performing. Toggle the visual layers you need via the “Trade
Visuals” inputs to match your workflow—from scalping to higher-timeframe swing trading.
Breakout Trading System• Breakout Trading System
Adaptive buy/sell engine tuned for crypto that blends EMAs, Ichimoku cloud context, breakout/consolidation filters, momentum checks, and volume validation. It auto-detects symbol
class (BTC, majors, alts, DeFi, small caps) and adjusts the logic accordingly. On the chart you see clean BUY/SELL tags, optional TP ideas, and peak/floor markers; support/resistance
price-action dots keep the view tidy.
Breakout helpers, consolidation and momentum pings, peak/floor updates, and TP suggestions all drive alert hooks so you can automate entries, exits, or take-profit workflows. A
bottom-right dashboard tracks buy/sell win counts (TP hits) and overall hit rate so you always know how the strategy is performing. Toggle the visual layers you need via the “Trade
Visuals” inputs to match your workflow—from scalping to higher-timeframe swing trading.
EMA50 Pullback + Re-entry Candle ColorModification of candle color, break or pullback so we can know about the confirmation candle and make decision whether we can entry or not
BOS INDICATOR )Good for breaking structures. tells you where a break in structure occurs by outlining the break in structure in a red or green candle
MA & EMA with Colored LabelsIt contains three periods of MA and EMA moving averages, and at the same time, it shows whether the closing price of N days ago is higher than the current price by marking
4hr / BTCBTCUSDT.P / 4hr
趨勢線交易策略
設定可以如我圖表
也可以自己找合適的
測試請用最大虧損的三倍金額下去打
圖以含手續費(0.06%)
可以用小金額去打
最大淨利與最大虧損績效比 1:10
平均獲利/虧損盈虧比 2.135
長期放保證獲利
沒獲利或獲利較小的那年通常是大事件
如2022
有問題私訊 謝謝
BTCUSDT.P / 4hr
Trendline Trading Strategy
You can set it up the same way as shown on my chart,
or find your own suitable setup.
For testing, please use three times the maximum loss as your trading capital.
The chart should include fees (0.06%).
You can trade with a small amount.
Performance:
Maximum profit to maximum loss ratio: 1:10
Average profit/loss ratio: 2.135
Guaranteed profit in the long term
Years with no profit or smaller profit are usually caused by major events,
such as 2022.
If you have any questions, please DM me. Thank you.
FVG Strength Detector (1–5)shows you fair value gaps with a rating score of 5 strongest to 1 weakest so if u see a 4 thats a good area
DR volume profile reactionDR fixed volume profil with signals for buys and sells when price reacts to POC.
Confluence Zone BuilderWhat It Does
The Confluence Zone Builder is a technical analysis indicator that identifies high-probability price levels by detecting where multiple technical factors align (converge) at the same price area. These "confluence zones" represent levels where price is statistically more likely to react - either bouncing (support/resistance) or breaking through (breakout targets).
How It Works
1. Multi-Factor Analysis
The indicator calculates key technical levels from various sources:
Fibonacci Retracements (23.6%, 38.2%, 50%, 61.8%, 78.6%) - Support/resistance levels based on recent price swings
Fibonacci Extensions (127.2%, 141.4%, 161.8%, 200%, 261.8%) - Breakout targets beyond the current range (both bullish and bearish)
Pivot Points (Classic pivots: P, R1-R3, S1-S3) - Daily/weekly reference points traders watch
Moving Averages (EMA 20, 50 and SMA 100, 200) - Dynamic support/resistance that institutions track
VWAP - Volume-weighted average price, popular among institutional traders
Psychological Levels - Round numbers that attract orders
Previous Period Levels - Prior day/week high, low, and close
2. Proximity Clustering
When multiple factors fall within a defined proximity range (default 0.5%), they're grouped together into a single "confluence zone." This prevents cluttering the chart with dozens of individual lines.
3. Weighted Scoring System
Not all technical factors are equal. The indicator assigns importance weights:
Key Fibonacci levels (61.8%) and major MAs (200, 50) get higher weights (2.0-2.5x)
Pivot points and VWAP get medium weights (1.5x)
Minor factors get lower weights (1.0x)
The total score reflects both the number of factors and their importance.
4. Historical Validation
The indicator analyzes the last 50 bars (customizable) to track:
Touches: How many times price reached each zone
Rejections: Times price bounced off the zone (✅)
Breaks: Times price broke through the zone (❌)
Win Rate: Percentage of times the zone held (rejections ÷ touches)
5. Dynamic Adjustment
Zones aren't static - they adapt based on how price interacts with them:
Strengthens (+0.5 per rejection, +0.2 per touch): Zones that repeatedly hold become more important
Weakens (-0.8 per break): Zones that fail to hold lose credibility
Visual Indicators:
Thick solid lines = Strong zones (more rejections than breaks)
Dashed lines = Weak zones (more breaks than rejections)
Color-coded by score: Blue (low), Yellow (medium), Red (high)
What You Gain From Using It
For Support/Resistance Trading:
High-probability entries: Enter at zones with high confluence scores and strong historical win rates
Better risk management: Place stops beyond strong confluence zones that are likely to hold
Reduced false signals: Multi-factor confirmation reduces reliance on single indicators
For Breakout Trading:
Target identification: Fibonacci extensions provide profit targets beyond current ranges
Breakout confirmation: Weak zones (dashed lines, low win rates) are easier to break - ideal for breakout entries
False breakout avoidance: Strong zones (thick lines, high win rates) require more confirmation before entering
For Position Management:
Exit planning: Take profits at high-confluence zones ahead
Stop placement: Use strong zones as logical stop-loss levels
Trade filtering: Higher probability setups occur at stronger zones
Key Advantages:
Objective confluence detection - No manual line drawing needed
Data-driven validation - Historical performance shows which zones actually matter
Adaptive intelligence - Zones strengthen/weaken based on real price action
Clean visualization - Top zones only, with compact labels showing score and factors
Customizable - Adjust weights, components, and thresholds to your trading style
Bottom Line:
Instead of guessing which technical level matters most, this indicator does the heavy lifting - analyzing multiple factors, validating them historically, and highlighting only the zones where price is most likely to react. It's like having confluence analysis automated with statistical backing.
EMA 9/20 com Filtro de LateralizaçãoFiltro de lateralizarão, so0 operar quando nao tiver de lado o mercado.
Smart Breakout Detector: Trendline Retest & Angle FilteringDetect trendline breakouts with two important filtering controls: retest validation and angle filtering. Require multiple price retests (2-4 touches) before a trendline is considered valid, eliminating weak single-touch lines. Set precise angle limits to filter out unreliable steep or shallow trendlines. Three independent timeframe sets (fast/medium/slow) with customizable pivot lengths allow you to get low risk entry point for both short-term and major trend continuations/reversals.
═══════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════
This indicator identifies trendline breakouts using two configurable filtering parameters that are uncommon in publicly available indicators:
1. RETEST VALIDATION
Requires a specified number of price touches (2-4) before considering a trendline valid. This reduces false signals from randomly aligned single-touch lines. Higher thresholds decrease signal frequency while increasing reliability.
2. ANGLE FILTERING
Applies maximum angle constraints (0-20) to trendlines independently for resistance and support, both upward and downward slopes. This filters trendlines with extreme angles that typically lack predictive value.
═══════════════════════════════════════════
TECHNICAL IMPLEMENTATION
═══════════════════════════════════════════
DETECTION ALGORITHM:
1. Identifies pivot highs/lows using configurable lookback periods
2. Connects pivots within ATR-based proximity threshold
3. Validates trendlines only after minimum retest requirement is met
4. Applies angle constraints using arctangent calculations
5. Verifies no price penetration occurred between pivot points
6. Triggers breakout signals when price breaches validated lines
THREE INDEPENDENT TREND LINE BANKS:
The indicator operates three parallel detection systems with separate parameters:
- Level Set A: Short pivot periods (default 5 bars)
- Level Set B: Medium pivot periods (default 10 bars)
- Level Set C: Long pivot periods (default 6 bars)
Each system maintains independent arrays of resistance and support lines.
ADAPTIVE COMPONENTS:
- Proximity tolerance scales with ATR(40) to accommodate volatility
- Angle thresholds adjust using combined absolute and percentage ATR factors
- Line lifespan configurable by bar count (default 180/200/300 bars per set)
══════════════════════════════════════════
USE CASES
══════════════════════════════════════════
Appropriate for:
- Filtering breakout candidates by reliability metrics
- Multi-timeframe trendline analysis
- Automated breakout monitoring
- Reducing chart noise from weak trendlines
Not appropriate for:
- Range-bound or highly choppy markets
- Instruments with insufficient historical data
- Strategies requiring predictive (non-historical) trendlines
Displacement Candle Detector This indicator is designed to automatically identify displacement candles — large, momentum-driven candles that signal strong institutional order flow or the beginning of a market expansion.
It’s particularly useful for Step 3 of your 5-Step Model, where you wait for displacement after a liquidity sweep to confirm directional bias (Buy or Sell).
⚙️ How It Works
Calculates Candle Body Size:
Measures the absolute distance between a candle’s open and close (the real body).
Compares to Average Body (Lookback):
Uses a Simple Moving Average (SMA) of body sizes over the last n candles (default = 5).
This gives the script a baseline for what a “normal” candle looks like.
Defines a Displacement Candle:
When the current candle’s body size is ≥ 1.5× (or user-set multiplier) of the average body, it’s flagged as a displacement candle.
Distinguishes Bullish vs. Bearish Momentum:
Bullish displacement: Close > Open and candle body ≥ 1.5× average
Bearish displacement: Close < Open and candle body ≥ 1.5× average
🖥️ What It Displays on Chart
Bar Colors:
Green = Bullish displacement
Red = Bearish displacement
Labels:
Appears above or below the candle (optional toggle).
Helps you easily spot where strong moves originated.
Shapes (Triangles):
Plots a small up/down triangle for each displacement event.
Useful for backtesting, alerts, or pairing with your MSS/FVG setups later.
🧩 Inputs
Setting Description Default
len Lookback period for average body calculation 5
mult Body size multiplier threshold 1.5
showLabels Toggle for displaying candle labels true
showColors Toggle for coloring displacement candles true
🧠 Trading Application
This script acts as your “momentum confirmation filter.”
In your 5-Step Model:
Step 1–2: Wait for liquidity sweep & directional bias.
Step 3: Use this indicator to confirm that displacement (real momentum) occurred.
Step 4–5: Drop to the lower timeframe for MSS confirmation and premium/discount entry.
Once a displacement candle prints, it suggests that:
The side of liquidity swept has been taken,
Institutions are committing volume in the opposite direction,
A Fair Value Gap (FVG) is likely forming for your entry zone.
💡 Pro Tips
Timeframes: Use it on 15m for confirmation, and 1–5m for entry precision.
Multiplier Tuning:
Use 1.3–1.6 for scalping (sensitive).
Use 1.8–2.0 for swing setups (stronger confirmation).
Combine With:
Smart Money Concepts (SMC) Lite for BOS/MSS
FVG Auto-Draw for entry zones
Session Range indicator to visualize liquidity sweeps before displacement.






















