Relative Valuation OscillatorRelative Valuation Oscillator (RVO) Description
The Valuation_OTC.pine script is a Relative Valuation Oscillator for TradingView that compares the current asset against a reference asset (like Bitcoin, S&P 500, or Gold) to determine if it's relatively overvalued or undervalued.
Key Features:
1. Multiple Calculation Methods:
Simple Ratio - Compares price ratio deviation from average
Percentage Difference - Direct percentage comparison between assets
Ratio Z-Score - Statistical measure (standard deviations from mean)
Rate of Change Comparison - Compares momentum/performance
Normalized Ratio - 0-100 scale centered at zero
2. Customizable Settings:
Reference asset selection (default: BTC/USDT)
Adjustable lookback period (10-500 bars)
Optional smoothing with configurable period
Overbought/oversold level thresholds (default: ±1.5)
3. Trading Signals:
Overvalued - Oscillator above overbought level (red zone)
Undervalued - Oscillator below oversold level (green zone)
Neutral - Between thresholds
Crossover alerts for key levels
Divergence detection (bullish/bearish)
4. Visual Components:
Color-coded oscillator line (green when positive, red when negative)
Optional signal line for additional smoothing
Background shading for valuation zones
Information table showing current metrics and status
Shape markers for crossovers and divergences
5. Alert Conditions:
Overvalued/undervalued alerts
Zero-line crossovers
Divergence signals
This indicator is useful for pairs trading, relative strength analysis, and identifying when an asset is trading at extremes relative to a benchmark asset.
Grafik Desenleri
Supernova IndicatorTim Sykes Supernova Indicator. This indicator will look for spikes in trading looking for a supernova.
[LTS] Marubozu Candle StrategyOVERVIEW
The Marubozu Candle Strategy identifies and trades wickless candles (Marubozu patterns) with dynamic take-profit and stop-loss levels based on market volatility. This indicator combines traditional Japanese candlestick pattern recognition with modern volatility-adjusted risk management and includes a comprehensive performance tracking dashboard.
A Marubozu candle is a powerful continuation pattern characterized by the complete absence of wicks on one side, indicating strong directional momentum. This strategy specifically detects:
- Bullish Marubozu: Close > Open AND Low = Open (no lower wick)
- Bearish Marubozu: Close < Open AND High = Open (no upper wick)
When price returns to test these levels, the indicator generates trading signals with predefined risk-reward parameters.
CORE METHODOLOGY
Detection Logic:
The script scans each bar for Marubozu formations using precise price comparisons. When a wickless candle appears, a horizontal line extends from the opening price, marking it as a potential support (bullish) or resistance (bearish) level. These levels remain active until price touches them or until the maximum line limit is reached.
EMA Filter (Optional):
An exponential moving average filter enhances signal quality by requiring proper trend alignment. For bullish signals, price must be above the EMA when touching the level. For bearish signals, price must be below the EMA. This filter reduces counter-trend trades and improves win rates in trending markets. Users can disable this filter for range-bound conditions.
Dynamic Risk Management:
The strategy employs ATR-based (Average True Range) position sizing rather than fixed point values. This approach adapts to market volatility automatically:
- In low volatility: Tighter stops and targets
- In high volatility: Wider stops and targets proportional to market movement
Default settings use a 2:1 reward-to-risk ratio (1x ATR for take-profit, 0.5x ATR for stop-loss), but users can adjust these multipliers to match their trading style.
HOW IT WORKS
Step 1 - Pattern Detection:
On each bar, the indicator evaluates whether the candle qualifies as a Marubozu by comparing the high, low, open, and close prices. When detected, the opening price becomes the key level.
Step 2 - Level Management:
Horizontal lines extend from each Marubozu's opening price. The indicator maintains two separate arrays: one for unbroken levels (actively extending) and one for broken levels (historical reference). Users can configure how many of each type to display, preventing chart clutter while maintaining relevant context.
Step 3 - Signal Generation:
When price returns to touch a Marubozu level, the indicator evaluates the EMA filter condition. If the filter passes (or is disabled), the script draws TP/SL boxes showing the expected profit and loss zones based on current ATR values.
Step 4 - Trade Tracking:
Each valid signal enters the tracking system, which monitors subsequent price action to determine outcomes. The script identifies whether the take-profit or stop-loss was hit first (discarding trades where both trigger on the same candle to avoid ambiguous results).
PERFORMANCE DASHBOARD
The integrated dashboard provides real-time strategy analytics to automatically convert results to dollar values for any instrument:
Tracked Metrics:
- Total Trades: Complete count of closed positions
- Wins/Losses: Individual counts with color coding
- Win Rate: Success percentage with dynamic color (green >= 50%, red < 50%)
- Total P&L: Cumulative profit/loss in dollars
- Avg Win: Mean dollar amount per winning trade
- Avg Loss: Mean dollar amount per losing trade
NOTE: The dollar values shown in the dashboard are for trading only a single share/contract/etc. You will need to manually multiply those numbers by the amount of shares/contracts you are trading to get a true value.
The dollar conversion works automatically across all markets:
- Futures contracts (ES, NQ, CL, etc.) use their contract specifications
- Forex pairs use standard lot calculations
- Stocks and crypto use their respective point values
This eliminates manual calculation and provides immediate performance feedback in meaningful currency terms.
CUSTOMIZATION OPTIONS
ATR Settings:
- ATR Period: Lookback length for volatility calculation (default: 14)
- TP Multiplier: Take-profit distance as multiple of ATR (default: 3.0)
- SL Multiplier: Stop-loss distance as multiple of ATR (default: 1.5)
EMA Settings:
- EMA Length: Period for trend filter calculation (default: 9)
- Use EMA Filter: Toggle trend confirmation requirement (default: enabled)
Visual Settings:
- Bullish Color: Color for long signals and wins (default: green)
- Bearish Color: Color for short signals and losses (default: red)
- EMA Color: Color for trend filter line (default: orange)
- Line Width: Thickness of Marubozu level lines (1-5, default: 2)
- EMA Width: Thickness of EMA line (1-5, default: 2)
Line Management:
- Max Unbroken Lines: Limit for active extending lines (default: 10)
- Max Broken Lines: Limit for historical touched lines (default: 5)
Dashboard Settings:
- Show Dashboard: Toggle performance display on/off
- Dashboard Position: Corner placement (4 options)
- Dashboard Size: Text size selection (Tiny/Small/Normal/Large)
HOW TO USE
1. Add the indicator to your chart
2. Adjust ATR multipliers based on your risk tolerance (higher values = more conservative)
3. Configure the EMA filter based on market conditions (enable for trending, disable for ranging)
4. Set line limits to match your visual preference and chart timeframe
5. Monitor the dashboard to track strategy performance in real-time
6. Use the TP/SL boxes as reference levels for manual trades or automation
Best Practices:
- Enable EMA filter in strongly trending markets
- Disable EMA filter if you want more trade signals but at lower quality
- Increase ATR multipliers in highly volatile markets
- Decrease ATR multipliers for tighter, more frequent trades
- Review avg win/loss ratio to ensure positive expectancy
UNIQUE FEATURES
Unlike basic Marubozu detectors, this strategy provides:
1. Automatic level tracking with memory management
2. Volatility-adjusted risk parameters instead of fixed values
3. Optional trend confirmation via EMA filter
4. Real-time performance analytics with automatic dollar conversion
5. Separate tracking of wins/losses with individual averages
6. Configurable visual display to prevent chart clutter
7. Complete transparency with all logic visible in open-source code
Relative Momentum Rotation [CHE] Relative Momentum Rotation — Ranks assets by multi-horizon momentum for guided rotational selection with regime overlay
Summary
This indicator evaluates a universe of assets using a blended momentum measure across three time horizons, then ranks them to highlight top performers for potential portfolio rotation. It incorporates a regime filter to contextualize signals, tinting the background to indicate favorable or unfavorable market conditions and labeling transitions for awareness. By focusing on relative strength within a selectable universe, it helps identify leaders without relying on absolute thresholds, reducing noise from isolated trends and promoting disciplined asset switching.
Motivation: Why this design?
Traders often struggle with momentum signals that perform unevenly across market phases, such as overreacting in volatile periods or lagging in steady uptrends, leading to suboptimal rotations in multi-asset portfolios. The core idea of relative momentum rotation addresses this by comparing assets head-to-head within a defined group, blending short- and long-term changes to capture sustained strength while a regime overlay adds a macro layer to avoid fighting broader trends. This setup prioritizes peer-relative outperformance over standalone measures, aiding consistent selection in rotational strategies.
What’s different vs. standard approaches?
- Reference baseline: Traditional rate-of-change indicators track absolute price shifts over a single window, which can generate whipsaws in sideways markets or miss cross-asset opportunities.
- Architecture differences:
- Blends three distinct horizons into one composite score for a fuller momentum picture, rather than isolating one period.
- Applies ranking across a customizable universe (e.g., crypto or tech stocks) to emphasize relatives, not absolutes.
- Integrates a simple regime check via moving average crossover on a reference symbol, gating selections without overcomplicating the core logic.
- Outputs a dynamic table for visual ranking, plus subtle visual cues like background tints, instead of cluttered plots.
- Practical effect: Charts show clearer hierarchy among assets, with regime tints providing at-a-glance context—top ranks stand out more reliably in bull regimes, helping traders focus rotations without constant recalibration.
How it works (technical)
The indicator starts by assembling a list of symbols from the selected universe, including only those marked as active to keep the group focused. For each symbol, it gathers change rates over three specified horizons on a higher timeframe, blends them using user-defined weights (automatically normalized if they do not sum to one), and computes a single composite score. Scores are then ranked to select the top performers up to a set number, forming a rotation candidate list.
To add context, a regime state is determined by comparing the reference symbol's price to its moving average on daily bars—above signals a positive environment, below a negative one, with an option to invert this logic. The current chart's symbol is checked against the top list for inclusion status. All higher-timeframe data pulls are set to avoid lookahead bias, though updates may shift slightly until bars close. Persistent variables track the table state and prior regime to handle redraws efficiently, ensuring the display rebuilds only when the selection count changes.
Parameter Guide
Universe — Switches between predefined crypto or US-tech symbol sets for ranking peers. Default: Crypto. Trade-offs/Tips: Crypto for volatile assets; US-Tech for equities—match to your portfolio to avoid mismatched volatility.
Include Symbol 1–12 — Toggles individual symbols in the universe on or off. Default: Varies (true for top 10, false for extras). Trade-offs/Tips: Start with defaults for a balanced group; disable laggards to sharpen focus, but keep at least 5–8 for robust ranking.
Scoring Timeframe — Sets the aggregation period for momentum changes (e.g., monthly bars). Default: Monthly. Trade-offs/Tips: Monthly for long-term rotation; weekly for faster signals—increases noise if too short.
Weight 12m / 6m / 3m — Adjusts emphasis on long/medium/short horizons in the blend. Default: 0.50 / 0.30 / 0.20. Trade-offs/Tips: Heavier long-term for stability in trends; balance to fit asset class—test sums near 1.0 to avoid auto-normalization surprises.
ROC over MA instead of Close — Uses smoothed averages for change rates to reduce chop. Default: False. Trade-offs/Tips: Enable in noisy markets for fewer false tops; adds slight lag, so monitor for delayed rotations.
Top N to hold — Limits selections to this many highest-ranked assets. Default: 10. Trade-offs/Tips: Lower for concentrated bets (higher risk/reward); higher for diversification—align with your position sizing.
Mark current symbol if in Top N — Highlights if the chart's asset ranks in the selection. Default: True. Trade-offs/Tips: Useful for self-scanning; disable in multi-chart setups to declutter.
Enable Regime Filter — Activates macro overlay using reference symbol. Default: True. Trade-offs/Tips: Core for trend-aware trading; disable for pure momentum plays, but risks counter-trend entries.
Regime Symbol — Chooses the benchmark for regime (e.g., broad index). Default: QQQ. Trade-offs/Tips: Broad market proxy like SPY for equities; swap for BTC in crypto to match universe.
SMA Length (D) — Sets the averaging window for regime comparison. Default: 100. Trade-offs/Tips: Longer for fewer flips (smoother regimes); shorter for quicker detection—default suits daily checks.
Invert (rare) — Flips the regime logic (price above average becomes negative). Default: False. Trade-offs/Tips: Only if your view inverts the benchmark; test thoroughly as it reverses all tints/labels.
Show Ranking Table — Displays the ranked list with scores and regime status. Default: True. Trade-offs/Tips: Essential for selection; position tweaks help on crowded charts.
Table X / Y — Places the table on the chart (e.g., top-right). Default: Right / Top. Trade-offs/Tips: Corner placement avoids price overlap; middle for central focus in reviews.
Dark Theme — Applies inverted colors for visibility. Default: True. Trade-offs/Tips: Matches most TradingView themes; toggle for light backgrounds without losing contrast.
Text Size — Scales table font for readability. Default: Normal. Trade-offs/Tips: Smaller for dense data; larger on big screens—impacts only last-bar render.
Background Tint by Regime — Colors the chart faintly green/red based on state. Default: True. Trade-offs/Tips: Subtle cue for immersion; disable if it distracts from price action.
Label on Regime Flip — Adds text markers at state changes. Default: True. Trade-offs/Tips: Aids journaling flips; space them by disabling in low-vol periods to cut clutter.
Reading & Interpretation
The ranking table lists top assets by position, symbol, percentage score (higher indicates stronger blended momentum), and regime status—green "ON" for favorable, red "OFF" for cautionary. Background shifts to a light teal in positive regimes (suggesting alignment for longs) or pale red in negative ones (hinting at reduced exposure). Flip labels appear as green "Regime ON" above bars or red "Regime OFF" below, marking transitions without ongoing noise. If the current symbol appears in the top rows with a solid score, it signals potential hold or entry priority within rotations.
Practical Workflows & Combinations
- Trend following: Scan the table weekly on monthly charts for top entrants; confirm with higher highs/lows in price structure before rotating in. Use regime tint as a veto—skip buys in red phases.
- Exits/Stops: Rotate out of bottom-half ranks monthly; tighten stops below recent lows during regime flips to protect against reversals. Pair with volatility filters like average true range for dynamic sizing.
- Multi-asset/Multi-TF: Defaults work across crypto/equities on daily+ timeframes; for intraday, shorten scoring to weekly but expect more interim noise. Scale universe size with portfolio count—e.g., top 5 for aggressive crypto rotations.
Behavior, Constraints & Performance
Signals update on bar close to confirm higher-timeframe data, but live bars may preview shifts from security calls, introducing minor repaint until finalized—mitigated by non-lookahead settings, though daily regime checks can lag by one session. Arrays handle up to 12 symbols efficiently, with loops capped at selection size; max bars back at 5000 supports historical depth without overload. Resource use stays low, but dense universes on very long charts may slow initial loads.
Known limits include sensitivity to universe composition (skewed groups amplify biases) and regime lag at sharp market turns, potentially delaying rotations by a period.
Sensible Defaults & Quick Tuning
Defaults assume a 10-asset crypto rotation on monthly scoring with balanced weights and QQQ regime—ideal for intermediate-term equity-like plays. For too-frequent table reshuffles, extend scoring timeframe or weight longer horizons more. If selections feel sluggish, shorten the 3-month weight or enable MA smoothing off. In high-vol environments, raise top N and SMA length for stability; for crypto bursts, drop to weekly scoring and invert regime if using a volatile proxy.
What this indicator is—and isn’t
This is a selection and visualization tool for momentum-based rotations, layering relative ranks and regime context onto charts to inform asset picks. It is not a standalone system—pair it with entry/exit rules, position sizing, and risk limits. Nor is it predictive; it reacts to past changes and may underperform in prolonged ranges or during universe gaps.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Where does it come from, specifically?
The principle of “composite momentum across multiple horizons” is common in TAA/rotation strategies. As a documented example: Keller/Butler use a composite 1/3/6/12-month momentum (“13612W”)—same idea, different windows/weights.
Robot Wealth
A practical vendor example: EPS Momentum calculates an RMR composite as a weighted mix of 12/6/3/1-month ranks (very close to “12/6/3”).
EPS Momentum
Related but not identical: StockCharts’ RRG measures the momentum rotation of relative strength—often mentioned in the same context, but it doesn’t have a fixed “12/6/3” composite.
chartschool.stockcharts.com
How is it typically computed?
ROC_12 + ROC_6 + ROC_3 (often scaled/weighted), then ranked vs. peers; the rotation periodically holds the top ranks in the portfolio. (Variants use different weights or additionally include 1-month—see the sources above.)
robotwealth.com
epsmomentum.com
Pullback Finder AutoPullback Finder Auto — Intraday Momentum Cooling Detector
Pullback Finder Auto is designed to find stocks that have made a strong intraday run from the open and are now cooling off while still positive — the classic pullback zone where continuation entries often form.
It automatically measures the percentage change from today’s open and highlights bars where:
the stock has already run at least a chosen amount (for example +10 % above its open), and
the current price is still up but within a defined pullback range (for example between +3 % and +8 % above the open).
When those two conditions are met, you’ll see green graphics on your chart:
Green triangle markers under the candle.
Optionally, small green PB labels such as “PB 5.2 %” showing the exact percentage from open when the setup occurs.
A green highlight in the sub‑window or line plot if you left the “Change from Open %” plot active.
These are your visual cues that a pullback has formed — a stock that previously ran and is now pulling back while holding strength.
How it works
The script continuously monitors:
• High % from Open = (high − open) / open × 100
• Current % from Open = (close − open) / open × 100
A “Pullback” condition triggers only if:
the high % is greater than or equal to your minimum run threshold, and
the current % sits between your minimum and maximum pullback percentages.
When both are true, the indicator plots the green triangle and optional label.
Default parameters
Min Run % = 10
Min Current % = 3
Max Current % = 8
Session Start = 09:30 – 16:00 US Eastern
All can be changed to fit different volatility levels.
Lower values catch smaller moves; higher values restrict signals to explosive runners.
Using it in real time
During live trading, Pullback Finder Auto updates with each candle.
When a bar first enters the target zone, a green triangle and PB label will appear immediately under that candle.
These are dynamic: if price moves out of the valid zone on the same bar, the marker may disappear.
You can create an alert on “Pullback Finder Auto – Pullback Candidate” to be notified whenever new triangles appear across your active symbols.
This works on any timeframe:
use shorter timeframes such as 1‑minute or 5‑minute charts for fast, intraday detection,
use longer timeframes for a broader view of the day’s market structure.
Using it on past data (scanning backwards)
When you scroll back through history, past green triangles remain visible at every bar where the condition was true at that time.
The PB labels next to those candles show exactly how far above the open the stock was trading during the historical setup.
Use this for visual back‑testing: study how price reacted after these pullback points, adjust the thresholds, and refine your criteria for different markets.
The grey or teal line under the chart (if enabled) shows the percent‑from‑open curve so you can see the full run‑and‑cool pattern leading into each triangle signal.
If you convert the indicator into a strategy, the same condition becomes historical entry points you can test with the Strategy Tester.
Summary
1. Pullback Finder Auto paints green triangles and PB labels whenever an intraday pullback fits your criteria.
2. It runs dynamically in real‑time and also preserves markers for historical review.
3. Adjust the thresholds to match volatility or timeframe.
4. Ideal for visual scanning, watchlist alerts, or integration into a lightweight screening strategy.
ICT Kill zones ver 2ICT Kill zones :
London 02:00 - b5:00
NY 7:00 -10:00
NY Lunch
13:00 - 14:30
*all times are NYC times
Avivso 150 + ATHThis Pine Script displays a dynamic on-chart watermark and key stock data.
It shows company info, symbol, industry, market cap, ATR(14) with color status, earnings countdown, and distances from the current price to SMA150 and the all-time high.
It also plots SMA 20 and SMA 150 moving-average lines on the chart and supports configurable position, size, and padding for the watermark.
BTC Confluence Score + Confirmed Signals (12m/1h)This script combines 7 different signals across multiple timeframes (12 min + 1 hour + BTC dominance), then only gives you a BUY or SELL when everything aligns.
It’s designed to filter out fake-outs and help you catch momentum reversals that stick.
WHAT IT’S DOING UNDER THE HOOD
Timeframes
12 min (fast) → short-term trigger (RSI, Stoch RSI, volatility)
1 hour (slow) → trend confirmation (EMA structure, RSI, MACD)
BTC Dominance (1 h) → strength/flow confirmation (is capital rotating into BTC or alts?)
This gives you a multi-timeframe confluence, which is what professional traders look for before entering a trade.
2. The 7 “Score” Ingredients
Each bar gets a “score” from –7 (super bearish) to +7 (super bullish) based on:
# Condition Bullish signal (+1) Bearish signal (–1)
1 RSI (12m) RSI > 50 RSI < 50
2 RSI (1h) RSI > 50 RSI < 50
3 MACD Histogram > 0 Histogram < 0
4 BTC Dominance level > 59.8 % < 59.8 %
5 BTC Dominance trend 3 EMA > 8 EMA 3 EMA < 8 EMA
6 1h EMAs trend 50 EMA > 200 EMA and price > 50 EMA 50 EMA < 200 EMA and price < 50 EMA
7 Volatility (ATR) Current ATR > average (momentum increasing) —
The Confluence Score bar at the bottom shows this numerically:
💚 +5 to +7 → Strong bullish conditions
❤️ –5 to –7 → Strong bearish conditions
🩶 Between –2 and +2 → Choppy / neutral
3️⃣ Confirmed Entry Logic (the clear triangles you see now)
You’ll now see only two real actionable markers:
✅ BUY (Green Triangle Up)
Triggered when:
Stoch RSI crosses upward on 12 min
RSI > 50 (momentum confirmation)
MACD histogram > 0 (trend shift)
Confluence score ≥ 4 (default threshold)
This means momentum + trend + structure + volume all agree on an upward move.
→ Ideal for going long or closing shorts.
🚨 SELL (Red Triangle Down)
Triggered when:
Stoch RSI crosses downward
RSI < 50
MACD histogram < 0
Confluence score ≥ 4 bearish
That’s your exit / short confirmation.
4️⃣ Color Bars (Score Strength)
At the bottom of the chart:
💚 Green Bars = full bullish confluence (+5 or more)
💛 Lime/Orange Bars = moderate bullish or early reversal
❤️ Red Bars = strong bearish confluence (–5 or less)
🩶 Gray Bars = chop/no edge
If you prefer visual simplicity, just use:
BUY = Green Triangle appears on green bars
SELL = Red Triangle appears on red bars
That’s your “double confirmation.”
🎯 HOW TO TRADE IT
⏱ Timeframes
Use 12 min for entries (fast scalps or 1–2 hr setups).
Confirm direction with the 1 hour timeframe — only trade in that direction.
💰 Entry Playbook
Signal What to Do
✅ Green Triangle appears Enter long or scale in. Set stop below recent swing low.
🚨 Red Triangle appears Exit long / enter short / scale out.
Bars gray or alternating Stay out — market is undecided.
🧮 Min Score Setting
Default = 4 (balanced).
Raise to 5 for cleaner, fewer signals.
Lower to 3 for more aggressive, frequent trades.
📲 Alerts
You can now create TradingView alerts using:
BUY Confirmed
SELL Confirmed
Set alert type:
“Once per bar close” — so you only get notified after confirmation, not mid-bar noise.
Y ou now have your own BTC AI Confluence System:
Filters all noise from RSI, MACD, EMAs, volatility, and BTC dominance
Waits for perfect alignment across multiple timeframes
Gives you one simple green (BUY) or red (SELL) signal
Lets you scalp 1–2 % moves safely or swing trade confirmations
Custom Date MarkersCustom Date Markers - Pine Script Indicator
This indicator provides a powerful visual tool for technical and pattern analysis by allowing traders to mark up to 10 specific historical dates with customizable vertical lines on any chart. Each date can be assigned its own unique color, making it easy to categorize and distinguish between different types of events or market catalysts.
Primary Use Cases:
The indicator excels at identifying cyclical patterns and recurring market behavior. By marking significant dates such as earnings announcements, Federal Reserve meetings, dividend ex-dates, or seasonal events, traders can quickly visualize whether stocks consistently react in similar ways around these recurring dates. This is particularly valuable for discovering hidden patterns that might not be obvious from price action alone.
Practical Applications:
Earnings Analysis: Mark historical earnings dates to see if a stock tends to rally or sell-off before/after announcements
Macro Events: Identify how assets respond to FOMC meetings, CPI releases, or other economic data
Seasonal Patterns: Track dates that show recurring volatility or directional moves (like tax deadline periods, end-of-quarter re balancing, etc.)
Event Studies: Analyze the impact of company-specific events like product launches, FDA approvals, or leadership changes
Advanced Insights:
What makes this tool particularly interesting is its ability to reveal non-obvious correlations. For example, you might discover that a retail stock consistently experiences volume spikes 2-3 weeks before Black Friday across multiple years, or that certain tech stocks show weakness during specific conference dates. The color-coding feature allows you to layer multiple event types simultaneously—perhaps using red for bearish catalysts and green for bullish ones—creating a visual heat map of historical market reactions.
The indicator's 6-month default spacing (covering 4.5 years) is strategically designed to capture multiple business cycles while maintaining clarity on the chart. This timeframe is long enough to identify genuine patterns rather than coincidences, yet focused enough to remain relevant to current market conditions.
Pro Tip: Combine this indicator with volume analysis or other technical indicators to validate whether the patterns you observe are accompanied by meaningful market participation or if they're statistical noise.
BTC Confluence Alert 1 Overall Purpose
This script is a custom TradingView indicator that scans for confluence (agreement) between:
BTC’s short-term and medium-term momentum (12-minute and 1-hour RSIs),
The MACD histogram (trend direction and momentum strength),
Bitcoin dominance (money flowing back into BTC).
When all three are bullish, it flashes green and triggers a single alert.
Hidden Impulse═══════════════════════════════════════════════════════════════════
HIDDEN IMPULSE - Multi-Timeframe Momentum Detection System
═══════════════════════════════════════════════════════════════════
OVERVIEW
Hidden Impulse is an advanced momentum oscillator that combines the Schaff Trend Cycle (STC) and Force Index into a comprehensive multi-timeframe trading system. Unlike standard implementations of these indicators, this script introduces three distinct trading setups with specific entry conditions, multi-timeframe confirmation, and trend filtering.
═══════════════════════════════════════════════════════════════════
ORIGINALITY & KEY FEATURES
This indicator is original in the following ways:
1. DUAL-TIMEFRAME STC ANALYSIS
Standard STC implementations work on a single timeframe. This script
simultaneously analyzes STC on both your trading timeframe and a higher
timeframe, providing trend context and filtering out low-probability signals.
2. FORCE INDEX INTEGRATION
The script combines STC with Force Index (volume-weighted price momentum)
to confirm the strength behind price moves. This combination helps identify
when momentum shifts are backed by genuine buying/selling pressure.
3. THREE DISTINCT TRADING SETUPS
Rather than generic overbought/oversold signals, the indicator provides
three specific, rule-based setups:
- Setup A: Classic trend-following entries with multi-timeframe confirmation
- Setup B: Divergence-based reversal entries (highest probability)
- Setup C: Mean-reversion bounce trades at extreme levels
4. INTELLIGENT FILTERING
All signals are filtered through:
- 50 EMA trend direction (prevents counter-trend trades)
- Higher timeframe STC alignment (ensures macro trend agreement)
- Force Index confirmation (validates volume support)
═══════════════════════════════════════════════════════════════════
HOW IT WORKS - TECHNICAL EXPLANATION
SCHAFF TREND CYCLE (STC) CALCULATION:
The STC is a cyclical oscillator that combines MACD concepts with stochastic
smoothing to create earlier and smoother trend signals.
Step 1: Calculate MACD
- Fast MA = EMA(close, Length1) — default 23
- Slow MA = EMA(close, Length2) — default 50
- MACD Line = Fast MA - Slow MA
Step 2: First Stochastic Smoothing
- Apply stochastic calculation to MACD
- Stoch1 = 100 × (MACD - Lowest(MACD, Smoothing)) / (Highest(MACD, Smoothing) - Lowest(MACD, Smoothing))
- Smooth result with EMA(Stoch1, Smoothing) — default 10
Step 3: Second Stochastic Smoothing
- Apply stochastic calculation again to the smoothed stochastic
- This creates the final STC value between 0-100
The dual stochastic smoothing makes STC more responsive than MACD while
being smoother than traditional stochastics.
FORCE INDEX CALCULATION:
Force Index measures the power behind price movements by incorporating volume:
Force Raw = (Close - Close ) × Volume
Force Index = EMA(Force Raw, Period) — default 13
Interpretation:
- Positive Force Index = Buying pressure (bulls in control)
- Negative Force Index = Selling pressure (bears in control)
- Force Index crossing zero = Momentum shift
- Divergences with price = Weakening momentum (reversal signal)
TREND FILTER:
A 50-period EMA serves as the trend filter:
- Price above EMA50 = Uptrend → Only LONG signals allowed
- Price below EMA50 = Downtrend → Only SHORT signals allowed
This prevents counter-trend trading which accounts for most losing trades.
═══════════════════════════════════════════════════════════════════
THE THREE TRADING SETUPS - DETAILED
SETUP A: CLASSIC MOMENTUM ENTRY
Concept: Enter when STC exits oversold/overbought zones with trend confirmation
LONG CONDITIONS:
1. Higher timeframe STC > 25 (macro trend is up)
2. Primary timeframe STC crosses above 25 (momentum turning up)
3. Force Index crosses above 0 OR already positive (volume confirms)
4. Price above 50 EMA (local trend is up)
SHORT CONDITIONS:
1. Higher timeframe STC < 75 (macro trend is down)
2. Primary timeframe STC crosses below 75 (momentum turning down)
3. Force Index crosses below 0 OR already negative (volume confirms)
4. Price below 50 EMA (local trend is down)
Best for: Trending markets, continuation trades
Win rate: Moderate (60-65%)
Risk/Reward: 1:2 to 1:3
───────────────────────────────────────────────────────────────────
SETUP B: DIVERGENCE REVERSAL (HIGHEST PROBABILITY)
Concept: Identify exhaustion points where price makes new extremes but
momentum (Force Index) fails to confirm
BULLISH DIVERGENCE:
1. Price makes a lower low (LL) over 10 bars
2. Force Index makes a higher low (HL) — refuses to follow price down
3. STC is below 25 (oversold condition)
Trigger: STC starts rising AND Force Index crosses above zero
BEARISH DIVERGENCE:
1. Price makes a higher high (HH) over 10 bars
2. Force Index makes a lower high (LH) — refuses to follow price up
3. STC is above 75 (overbought condition)
Trigger: STC starts falling AND Force Index crosses below zero
Why this works: Divergences signal that the current trend is losing steam.
When volume (Force Index) doesn't confirm new price extremes, a reversal
is likely.
Best for: Reversal trading, range-bound markets
Win rate: High (70-75%)
Risk/Reward: 1:3 to 1:5
───────────────────────────────────────────────────────────────────
SETUP C: QUICK BOUNCE AT EXTREMES
Concept: Catch rapid mean-reversion moves when price touches EMA50 in
extreme STC zones
LONG CONDITIONS:
1. Price touches 50 EMA from above (pullback in uptrend)
2. STC < 15 (extreme oversold)
3. Force Index > 0 (buyers stepping in)
SHORT CONDITIONS:
1. Price touches 50 EMA from below (pullback in downtrend)
2. STC > 85 (extreme overbought)
3. Force Index < 0 (sellers stepping in)
Best for: Scalping, quick mean-reversion trades
Win rate: Moderate (55-60%)
Risk/Reward: 1:1 to 1:2
Note: Use tighter stops and quick profit-taking
═══════════════════════════════════════════════════════════════════
HOW TO USE THE INDICATOR
STEP 1: CONFIGURE TIMEFRAMES
Primary Timeframe (STC - Primary Timeframe):
- Leave empty to use your current chart timeframe
- This is where you'll take trades
Higher Timeframe (STC - Higher Timeframe):
- Default: 30 minutes
- Recommended ratios:
* 5min chart → 30min higher TF
* 15min chart → 1H higher TF
* 1H chart → 4H higher TF
* Daily chart → Weekly higher TF
───────────────────────────────────────────────────────────────────
STEP 2: ADJUST STC PARAMETERS FOR YOUR MARKET
Default (23/50/10) works well for stocks and forex, but adjust for:
CRYPTO (volatile):
- Length 1: 15
- Length 2: 35
- Smoothing: 8
(Faster response for rapid price movements)
STOCKS (standard):
- Length 1: 23
- Length 2: 50
- Smoothing: 10
(Balanced settings)
FOREX MAJORS (slower):
- Length 1: 30
- Length 2: 60
- Smoothing: 12
(Filters out noise in 24/7 markets)
───────────────────────────────────────────────────────────────────
STEP 3: ENABLE YOUR PREFERRED SETUPS
Toggle setups based on your trading style:
Conservative Trader:
✓ Setup B (Divergence) — highest win rate
✗ Setup A (Classic) — only in strong trends
✗ Setup C (Bounce) — too aggressive
Trend Trader:
✓ Setup A (Classic) — primary signals
✓ Setup B (Divergence) — for entries on pullbacks
✗ Setup C (Bounce) — not suitable for trending
Scalper:
✓ Setup C (Bounce) — quick in-and-out
✓ Setup B (Divergence) — high probability scalps
✗ Setup A (Classic) — too slow
───────────────────────────────────────────────────────────────────
STEP 4: READ THE SIGNALS
ON THE CHART:
Labels appear when conditions are met:
Green labels:
- "LONG A" — Setup A long entry
- "LONG B DIV" — Setup B divergence long (best signal)
- "LONG C" — Setup C bounce long
Red labels:
- "SHORT A" — Setup A short entry
- "SHORT B DIV" — Setup B divergence short (best signal)
- "SHORT C" — Setup C bounce short
IN THE INDICATOR PANEL (bottom):
- Blue line = Primary timeframe STC
- Orange dots = Higher timeframe STC (optional)
- Green/Red bars = Force Index histogram
- Dashed lines at 25/75 = Entry/Exit zones
- Background shading = Oversold (green) / Overbought (red)
INFO TABLE (top-right corner):
Shows real-time status:
- STC values for both timeframes
- Force Index direction
- Price position vs EMA
- Current trend direction
- Active signal type
═══════════════════════════════════════════════════════════════════
TRADING STRATEGY & RISK MANAGEMENT
ENTRY RULES:
Priority ranking (best to worst):
1st: Setup B (Divergence) — wait for these
2nd: Setup A (Classic) — in confirmed trends only
3rd: Setup C (Bounce) — scalping only
Confirmation checklist before entry:
☑ Signal label appears on chart
☑ TREND in info table matches signal direction
☑ Higher timeframe STC aligned (check orange dots or table)
☑ Force Index confirming (check histogram color)
───────────────────────────────────────────────────────────────────
STOP LOSS PLACEMENT:
Setup A (Classic):
- LONG: Below recent swing low
- SHORT: Above recent swing high
- Typical: 1-2 ATR distance
Setup B (Divergence):
- LONG: Below the divergence low
- SHORT: Above the divergence high
- Typical: 0.5-1.5 ATR distance
Setup C (Bounce):
- LONG: 5-10 pips below EMA50
- SHORT: 5-10 pips above EMA50
- Typical: 0.3-0.8 ATR distance
───────────────────────────────────────────────────────────────────
TAKE PROFIT TARGETS:
Conservative approach:
- Exit when STC reaches opposite level
- LONG: Exit when STC > 75
- SHORT: Exit when STC < 25
Aggressive approach:
- Hold until opposite signal appears
- Trail stop as STC moves in your favor
Partial profits:
- Take 50% at 1:2 risk/reward
- Let remaining 50% run to target
───────────────────────────────────────────────────────────────────
WHAT TO AVOID:
❌ Trading Setup A in sideways/choppy markets
→ Wait for clear trend or use Setup B only
❌ Ignoring higher timeframe STC
→ Always check orange dots align with your direction
❌ Taking signals against the major trend
→ If weekly trend is down, be cautious with longs
❌ Overtrading Setup C
→ Maximum 2-3 bounce trades per session
❌ Trading during low volume periods
→ Force Index becomes unreliable
═══════════════════════════════════════════════════════════════════
ALERTS CONFIGURATION
The indicator includes 8 alert types:
Individual setup alerts:
- "Setup A - LONG" / "Setup A - SHORT"
- "Setup B - DIV LONG" / "Setup B - DIV SHORT" ⭐ recommended
- "Setup C - BOUNCE LONG" / "Setup C - BOUNCE SHORT"
Combined alerts:
- "ANY LONG" — fires on any long signal
- "ANY SHORT" — fires on any short signal
Recommended alert setup:
- Create "Setup B - DIV LONG" and "Setup B - DIV SHORT" alerts
- These are the highest probability signals
- Set "Once Per Bar Close" to avoid false alerts
═══════════════════════════════════════════════════════════════════
VISUALIZATION SETTINGS
Show Labels on Chart:
Toggle on/off the signal labels (green/red)
Disable for cleaner chart once you're familiar with the indicator
Show Higher TF STC:
Toggle the orange dots showing higher timeframe STC
Useful for visual confirmation of multi-timeframe alignment
Info Panel:
Cannot be disabled — always shows current status
Positioned top-right to avoid chart interference
═══════════════════════════════════════════════════════════════════
EXAMPLE TRADE WALKTHROUGH
SETUP B DIVERGENCE LONG EXAMPLE:
1. Market Context:
- Price in downtrend, below 50 EMA
- Multiple lower lows forming
- STC below 25 (oversold)
2. Divergence Formation:
- Price makes new low at $45.20
- Force Index refuses to make new low (higher low forms)
- This indicates selling pressure weakening
3. Signal Trigger:
- STC starts turning up
- Force Index crosses above zero
- Label appears: "LONG B DIV"
4. Trade Execution:
- Entry: $45.50 (current price at signal)
- Stop Loss: $44.80 (below divergence low)
- Target 1: $47.90 (STC reaches 75) — risk/reward 1:3.4
- Target 2: Opposite signal or trail stop
5. Trade Management:
- Price rallies to $47.20
- STC reaches 68 (approaching target zone)
- Take 50% profit, move stop to breakeven
- Exit remaining at $48.10 when STC crosses 75
Result: 3.7R gain
═══════════════════════════════════════════════════════════════════
ADVANCED TIPS
1. MULTI-TIMEFRAME CONFLUENCE
For highest probability trades, wait for:
- Primary TF signal
- Higher TF STC aligned (>25 for longs, <75 for shorts)
- Even higher TF trend in same direction (manual check)
2. VOLUME CONFIRMATION
Watch the Force Index histogram:
- Increasing bar size = Strengthening momentum
- Decreasing bar size = Weakening momentum
- Use this to gauge signal strength
3. AVOID THESE MARKET CONDITIONS
- Major news events (Force Index becomes erratic)
- Market open first 30 minutes (volatility spikes)
- Low liquidity instruments (Force Index unreliable)
- Extreme trending days (wait for pullbacks)
4. COMBINE WITH SUPPORT/RESISTANCE
Best signals occur near:
- Key horizontal levels
- Fibonacci retracements
- Previous day's high/low
- Psychological round numbers
5. SESSION AWARENESS
- Asia session: Use lower timeframes, Setup C works well
- London session: Setup A and B both effective
- New York session: All setups work, highest volume
═══════════════════════════════════════════════════════════════════
INDICATOR WINDOWS LAYOUT
MAIN CHART:
- Price action
- 50 EMA (green/red)
- Signal labels
- Info panel
INDICATOR WINDOW:
- STC oscillator (blue line, 0-100 scale)
- Higher TF STC (orange dots, optional)
- Force Index histogram (green/red bars)
- Reference levels (25, 50, 75)
- Background zones (green oversold, red overbought)
═══════════════════════════════════════════════════════════════════
PERFORMANCE OPTIMIZATION
For best results:
Backtesting:
- Test on your specific instrument and timeframe
- Adjust STC parameters if win rate < 55%
- Record which setup works best for your market
Position Sizing:
- Risk 1-2% per trade
- Setup B can use 2% risk (higher win rate)
- Setup C should use 1% risk (lower win rate)
Trade Frequency:
- Setup B: 2-5 signals per week (be patient)
- Setup A: 5-10 signals per week
- Setup C: 10+ signals per week (scalping)
═══════════════════════════════════════════════════════════════════
CREDITS & REFERENCES
This indicator builds upon established technical analysis concepts:
Schaff Trend Cycle:
- Developed by Doug Schaff (1996)
- Original concept published in Technical Analysis of Stocks & Commodities
- Implementation based on standard STC formula
Force Index:
- Developed by Dr. Alexander Elder
- Described in "Trading for a Living" (1993)
- Classic volume-momentum indicator
The multi-timeframe integration, three-setup system, and specific
entry conditions are original contributions of this indicator.
═══════════════════════════════════════════════════════════════════
DISCLAIMER
This indicator is a technical analysis tool and does not guarantee profits.
Past performance is not indicative of future results. Always:
- Use proper risk management
- Test on demo account first
- Combine with fundamental analysis
- Never risk more than you can afford to lose
═══════════════════════════════════════════════════════════════════
SUPPORT & QUESTIONS
If you find this indicator helpful, please:
- Leave a like and comment
- Share your feedback and results
- Report any bugs or issues
For questions about usage or optimization for specific markets,
feel free to comment below.
═════════════════════════════════════════════════════════════
Peter Brandt's 3-Day Trailing StopPeter Brandt's 3-day trailing stop rule is a trend-following exit strategy where a sell signal is triggered after a stock has reached a new high, followed by a close below the low of that high day, and then a break below the low of the next day, which is called the "setup day". The rule can be reversed to exit a short position. For long positions, Day 1 is the "high day" with a new price high, Day 2 is the "setup day" where the price closes below the low of Day 1, and Day 3 is the "trigger day" where a sell is executed if the price falls below the low of the setup day.
Long exit signal
Day 1: High Day: — The stock makes a new high.
Day 2: Setup Day: — The stock closes below the low of Day 1. At this point, the exit signal is now active.
Day 3: Trigger Day: — A sell to close is triggered when the price breaks below the low of the "setup day" (Day 2).
Short exit signal
Day 1: Low Day: — The stock makes a new low.
Day 2: Setup Day: — The stock closes above the high of Day 1.
Day 3: Trigger Day: — A buy to close is triggered when the price breaks above the high of the "setup day" (Day 2).
jjjjjjjjExplanation of the Script
Bullish and Bearish Candles: The function isBullishOrderBlock() checks if a candle is "bullish" in nature (based on body size to range ratio). Similarly, isBearishOrderBlock() checks for bearish candles.
Order Block Length and Threshold: length is the number of bars to scan for an order block, and threshold sets how strong a candle needs to be to be considered an order block.
Detection: The loop searches backward through the bars to find strong bullish and bearish order blocks, marking the price points where the strong moves happened.
Plotting: The plotshape() function is used to plot arrows or labels on the chart to mark where bullish or bearish order blocks are identified.
Improving and Customizing
Highlighting Blocks: Instead of just marking a point, you can plot horizontal boxes or shaded regions using box.new() to visually highlight the order block zone.
Use of Different Timeframes: You can modify the script to look for order blocks across multiple timeframes to increase accuracy.
Complex Rules: Depending on your strategy, you may want to add additional rules, such as looking for price to return to the order block area before confirming the strength of the block.
CHOCH + FVG Signals [30m Optimized]CHOCH + FVG Signals
🎯 What It Does:
This script automatically scans your chart for high-probability Smart Money Concepts (SMC) setups based on two key institutional trading principles:
Change of Character (CHOCH) – A shift in market structure signaling potential reversal
Fair Value Gap (FVG) – An imbalance zone where price moved too fast, often acting as support/resistance
When both conditions align, the script plots clear Buy (▲) and Sell (▼) signals directly on your chart — ideal for intraday trading on the 30-minute timeframe (but works on any timeframe).
✅ Key Features:
🔹 Visual Fair Value Gaps
Green shaded zones = Bullish FVGs (potential support)
Red shaded zones = Bearish FVGs (potential resistance)
Toggle on/off in settings
🔹 Smart CHOCH Detection
Detects breaks of recent swing highs/lows with proper context
Avoids false signals by confirming prior price structure
🔹 Clear Trade Signals
Green ▲ below bar = Buy signal (Bullish CHOCH + FVG confluence)
Red ▼ above bar = Sell signal (Bearish CHOCH + FVG confluence)
🔹 Customizable Filters
Option to require FVG for a signal (recommended for higher accuracy)
Adjust sensitivity via swing detection settings (default optimized for 30m)
🔹 Alert-Ready
Built-in alert conditions for instant notifications on TradingView mobile/desktop
⚙️ How to Use:
Apply to a 30-minute chart (e.g., EURUSD, Gold, NAS100, BTC)
Wait for at least 50–100 bars to load (so swing points appear)
Look for:
A green triangle (▲) → consider long entry near FVG support
A red triangle (▼) → consider short entry near FVG resistance
Confirm with price action: Wait for a strong candle close or rejection at the FVG zone
Use stop-loss below/above the FVG and target recent liquidity pools
💡 Pro Tip: Best used during high-volume sessions (e.g., London Open 7–10 AM UTC, NY Open 12:30–3:30 PM UTC).
🛠️ Settings (Inputs):
Show Fair Value Gaps
✅ Enabled
Visualize FVG zones
Max FVG History
100 bars
Prevent chart clutter
Require FVG for Signal?
✅ Enabled
Higher-quality setups (disable to test CHOCH-only)
⚠️ Important Notes:
This is a signal generator, not financial advice. Always manage risk.
Works best in trending or breaking markets — avoid during low-volatility ranges.
FVGs may get filled (tested) before price continues — patience improves results.
Backtest on historical data before live trading.
📣 Ideal For:
Retail traders learning Smart Money Concepts (SMC)
Price action traders seeking institutional-level confluence
Intraday scalpers & swing traders on 30m–1H timeframes
TR ADR/AWR/AMR (with 25%, 50%, 75%) - RodolfoThis script uses the TR ADR/AWR/AMR indicator code and only the 25 and 75% levels for all 3 volatilities
RSI + TSI✅ All 3 indicators in one pane
✅ RSI and RSI MA with standard zones (30, 50, 70)
✅ TSI scaled to 0–100 range for alignment with RSI
✅ Color-coded TSI fill for quick trend recognition (green = bullish, red = bearish)
✅ Compatible with TradingView v6
Indian Gold Festival Dates HistoricalIndian Gold Festival Dates (1975-2025)
Marks 8 major Indian festivals associated with gold buying over 50 years of historical data. Essential for analyzing seasonal patterns and cultural demand cycles in gold markets.
Festivals Included:
Dhanteras (Gold) - Most auspicious gold buying day
Diwali (Orange) - Festival of Lights
Akshaya Tritiya (Green) - "Never-ending" prosperity
Dussehra (Red) - Victory and success
Makar Sankranti (Cyan) - Solar new year
Gudi Padwa (Magenta) - Hindu New Year (Maharashtra)
Ugadi (Purple) - Hindu New Year (South India)
Navratri (Yellow) - 9-day festival
Features:
✓ 408 exact historical dates (1975-2025)
✓ Color-coded vertical lines for easy identification
✓ Toggle individual festivals on/off
✓ Adjustable line width and labels
✓ Works on all timeframes (best on daily/weekly)
Perfect for traders analyzing gold seasonality, Indian market sentiment, and cultural demand patterns. Use on XAUUSD, GC1!, or Indian gold futures.
PINs & Engulfing fr ATR_DWhy do most Pin Bar detection indicators use a ratio of shadow to body size? It often leads to somewhat subjective settings. The indicator may signal on very small candles (since a tiny body can still meet the shadow-to-body ratio filter), while ignoring more significant ones (because the body size exceeds the predefined proportion limits).
What I need is a timely display of the simple fact that the current price movement has changed sharply (within one or two bars: a Pin Bar or an Engulfing pattern), indicating new market force. This shift can be used either as a signal to trade in that direction now (join the impulse) or to mark the price level of that pattern for future reference (e.g., if the level is broken later without reaction).
Therefore, I define candle parameters as percentages of ATR_D (average daily price range — a simple average over the last 30 days).
I typically use this indicator on H4, as I’m only interested in truly significant price reactions. That’s why the default input values are 30 and 35, reflecting my focus on larger movements. If you plan to use this algorithm on lower timeframes, you will need to adjust the parameters visually to suit smaller ranges.
USAGE
I use these patterns only as an additional signal at significant levels or in conjunction with other strong factors (e.g., overextension, divergences, etc.).
RUS:
Почему-то во всех индикаторах для определения ПИН-баров используется коэффициент отношения тени к телу свечи, и в итоге получаются какие-то не совсем объективные настройки. Индикатор начинает сигналить про мелкие свечки (ведь хвостик больше мизерного тельца, и соответствует фильтру отбора) и игнорировать нормальные (из-за того что тело свечи оказалось крупнее указанных пропорций )
Мне же нужно своевременно отобразить просто сам факт того, что текущее движение достаточно резко изменилось (в рамках одной или двух свечей ), и это изменение можно рассматривать как некую новую силу в рынке, и можно поработать в ее направлении сейчас , либо взять ценовой уровень этой фигуры на заметку/на будущее )
Поэтому я указываю параметры свечки в процентах от ATR_D (средний проход цены за день )
Я использую индикатор на H4,, т.к. мне интересны только реально существенные реакции в движениях цены, поэтому по умолчанию во входных параметрах стоят размеры свечек 30 и 35.
Если же понадобится этот алгоритм на меньших таймфреймах, то нужно будет визуально подобрать меньшие пропорции для вычисления фигур.
Alerts Killzones + PD/WL/ML Levels (No Labels)This indicator automatically highlights the London and New York killzones and triggers alerts at key price levels — without adding any labels or text clutter to the chart.
Features:
Highlights London (10:00–13:00) and New York (15:00–17:00) sessions (GMT+3, Romania).
Draws and updates key levels automatically:
PDH / PDL – Previous Day High & Low
WH / WL – Previous Week High & Low
MH / ML – Previous Month High & Low
Alerts when price touches any of these levels.
Alerts at session opens and closes for both London and New York.
Clean interface – no labels or extra markers on chart.
Ideal for:
Traders who follow ICT concepts, session-based setups, or liquidity sweeps and want precise alerts without chart noise.
6am Candle High/Low Indicator with Highlight6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight 6am Candle High/Low Indicator with Highlight
MACD with Smart Entry Signals & Trend Filter
This advanced MACD indicator combines traditional MACD analysis with intelligent entry signal detection and an optional EMA trend filter. It identifies high-probability entry points by analyzing histogram patterns, consolidation phases, and trend continuation setups.
### Key Features
**🎯 Smart Entry Detection**
- **Consolidation Breakouts**: Identifies exits from consolidation zones (weak bars) with strong momentum
- **Trend Reversals**: Detects potential trend changes after extended weak phases
- **Correction/Continuation Patterns**: Recognizes brief corrections within strong trends that offer continuation opportunities
**📊 Enhanced MACD Visualization**
- Color-coded histogram showing four distinct states:
- Strong Bullish (dark green): Rising histogram above zero
- Weak Bullish (light green): Falling histogram above zero
- Weak Bearish (light red): Rising histogram below zero
- Strong Bearish (dark red): Falling histogram below zero
**🔍 Multi-Layer Filtering System**
- **Candle Size Filter**: Eliminates signals during high volatility/large candle ranges
- **EMA Trend Filter**: Optional filter ensuring entries align with the dominant trend direction
- Visual markers for rejected signals (orange X for candle size, blue E for EMA trend)
**⚙️ Customizable Parameters**
- Adjustable MACD periods (default: 34/144/9)
- Configurable consolidation bar requirements
- Flexible correction pattern detection
- EMA trend filter with adjustable sensitivity
- Multiple alert types for all signal conditions
### How to Use
1. **Enable/disable filters** based on your trading style and market conditions
2. **Green triangles (L)**: Long entry signals when all conditions are met
3. **Red triangles (S)**: Short entry signals when all conditions are met
4. **Rejected signal markers**: Help you understand why certain setups were filtered out
5. **Background coloring**: Provides visual confirmation of signal zones and correction patterns
### Alert System
Comprehensive alerts for:
- Long and short entry signals
- Specific pattern types (consolidation, reversal, continuation)
- Rejected signals (helps refine strategy)
- Traditional MACD histogram crossovers
### Best Practices
- Use the EMA trend filter in trending markets to avoid counter-trend trades
- Adjust candle size filter based on your instrument's typical volatility
- Consider combining with support/resistance levels for confirmation
- Test different consolidation bar settings for your timeframe
### Parameters Summary
- Fast/Slow Length: MACD calculation periods
- Signal Smoothing: Signal line period
- Consolidation Bars: Minimum weak bars before breakout
- Max Candle Range: Filter for oversized candles
- EMA Period & Sensitivity: Trend filter configuration
---
*This indicator is designed for traders who want a systematic approach to identifying MACD-based entry opportunities with built-in risk management through filtering.*
Sonic R+EMA PYTAGOYou must determine the supply and demand zone as ema34, ema89, ema200, ema610. Then open the long position or the short position with SL and TP.






















