Candlestick analysis
Trend Candle CounterComplete Tutorial: Trend Candle Counter Pine ScriptTable of Contents
Installation Guide
Understanding the Indicator
How It Works
Customization Options
Trading Strategies
Setting Up Alerts
Troubleshooting
1. Installation Guide {#installation}Step-by-Step Installation:Step 1: Open TradingView
Go to www.tradingview.com
Log in to your account
Step 2: Access Pine Editor
Click on "Pine Editor" tab at the bottom of the chart
Or press Alt + E (Windows) or Option + E (Mac)
Step 3: Create New Indicator
Click "Open" → "New blank indicator"
Delete any default code
Step 4: Paste the Script
Copy the entire Trend Candle Counter script
Paste it into the editor
Step 5: Save and Apply
Click "Save" (or Ctrl + S)
Give it a name: "Trend Candle Counter"
Click "Add to Chart"
✅ Done! The indicator should now appear on your chart.2. Understanding the Indicator {#understanding}What Does It Do?This indicator numbers each candle based on the current trend: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Trend TypeNumberingVisualUptrend+1, +2, +3, +4...🟢 Green labelsDowntrend-1, -2, -3, -4...🔴 Red labelsTrend ChangeResets to ±1Label color switchesVisual Components:
Candle Labels - Numbers above each candle
Trend Line (EMA) - Green (up) / Red (down)
Background Shading - Light green/red tint
Info Table - Top-right corner showing:
Current trend direction
Current candle number
Current price
3. How It Works {#how-it-works}Trend Detection Logic:IF Close > EMA → UPTREND (positive counting)
IF Close < EMA → DOWNTREND (negative counting)
Counting Mechanism:Example Uptrend:Candle 1: Close > EMA → Label: +1
Candle 2: Close > EMA → Label: +2
Candle 3: Close > EMA → Label: +3
Candle 4: Close < EMA → Label: -1 (trend changed!)
Example Downtrend:Candle 1: Close < EMA → Label: -1
Candle 2: Close < EMA → Label: -2
Candle 3: Close < EMA → Label: -3
Candle 4: Close > EMA → Label: +1 (trend changed!)
Key Insight:The higher the absolute number, the longer the trend has been running!4. Customization Options {#customization}Accessing Settings:
Click the gear icon ⚙️ next to the indicator name
Go to "Inputs" tab
Available Parameters: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}ParameterDefaultDescriptionRecommendationTrend Detection Length14EMA period for trend5-10: Scalping14-20: Day trading50-200: Swing tradingShow Candle Numbers✅ YesDisplay labelsDisable for cleaner chartLabel SizeSmallSize of numbersTiny: Multi-timeframeLarge: Focus on one chartUptrend ColorGreenPositive number colorCustomize to preferenceDowntrend ColorRedNegative number colorCustomize to preferenceOptimization by Trading Style:For Scalpers (1m - 5m charts):Trend Detection Length: 5-10
Label Size: Tiny
Show Labels: Optional (can be cluttered)
For Day Traders (15m - 1h charts):Trend Detection Length: 14-20
Label Size: Small
Show Labels: Yes
For Swing Traders (4h - Daily charts):Trend Detection Length: 50-100
Label Size: Normal
Show Labels: Yes
5. Trading Strategies {#strategies}Strategy 1: Trend Reversal TradingEntry Signals:
Buy: When counter changes from negative to +1
Sell: When counter changes from positive to -1
Confirmation:
Wait for +2 or -2 to confirm trend strength
Use additional indicators (RSI, MACD) for validation
Example:Candle: -5, -6, -7, -8, +1, +2 ← BUY HERE
Stop Loss: Below the -8 candle low
Target: When counter reaches +8 to +10
Strategy 2: Trend Continuation TradingEntry Signals:
Buy: Enter on pullbacks during uptrend (e.g., at +3, +5, +7)
Sell: Enter on bounces during downtrend (e.g., at -3, -5, -7)
Risk Management:
Avoid entering at high numbers (+15, -15) - trend may be exhausted
Example:Candle: +1, +2, +3 ← Small pullback, BUY
Continue: +4, +5, +6, +7
Exit: When counter resets to -1
Strategy 3: Trend Exhaustion DetectionWarning Signs:
Counter reaches +10 or higher → Uptrend may be overextended
Counter reaches -10 or lower → Downtrend may be overextended
Action:
Tighten stop losses
Take partial profits
Watch for reversal patterns (doji, engulfing)
Strategy 4: Multi-Timeframe AnalysisSetup:
Add indicator to 3 timeframes (e.g., 15m, 1h, 4h)
Look for alignment
Best Trades:15m: +1 (new uptrend)
1h: +5 (established uptrend)
4h: +3 (strong uptrend)
→ HIGH PROBABILITY BUY
6. Setting Up Alerts {#alerts}Built-in Alert Conditions:The script includes 2 automatic alerts:
"Uptrend Started" - Triggers when counter = +1
"Downtrend Started" - Triggers when counter = -1
How to Set Up Alerts:Step 1: Right-click on chart
Select "Add Alert"
Step 2: Configure Alert
Condition: Select "Trend Candle Counter"
Choose: "Uptrend Started" or "Downtrend Started"
Options:
Once per bar close (recommended)
Webhook URL (for automation)
Step 3: Notification Settings
✅ Popup
✅ Send email
✅ Push notification (mobile app)
✅ Play sound
Step 4: Create Alert
Click "Create"
Custom Alert Ideas:Alert for Specific Candle Numbers:
Notify when counter reaches +5 or -5
Notify when counter exceeds +10 or -10 (exhaustion)
7. Troubleshooting {#troubleshooting}Common Issues & Solutions:Issue 1: Labels are too cluttered
Solution:
Disable "Show Candle Numbers" in settings
Use larger timeframe
Reduce label size to "tiny"
Issue 2: Too many false signals
Solution:
Increase "Trend Detection Length" (e.g., 20, 50)
Wait for +2 or -2 confirmation
Combine with other indicators
Issue 3: Trend line doesn't match price action
Solution:
Adjust EMA length to match your trading style
Consider using different trend detection (SMA, HMA)
Issue 4: Indicator not showing on chart
Solution:
Check if it's in a separate pane - move to main chart
Refresh the page
Re-add the indicator
Issue 5: Counter seems delayed
Solution:
This is normal - indicator confirms on candle close
For faster signals, use lower timeframe
Reduce EMA length (but expect more noise)
8. Advanced Tips 💡Combining with Other Indicators:Best Combinations:
RSI + Trend Candle Counter
Buy at +1 when RSI > 50
Sell at -1 when RSI < 50
MACD + Trend Candle Counter
Confirm +1 with MACD bullish crossover
Confirm -1 with MACD bearish crossover
Volume + Trend Candle Counter
Strong trends (+1) should have increasing volume
Low volume at high numbers (+10) = exhaustion
Reading Market Psychology: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Counter ValueMarket Psychology+1 to +3Early adopters entering+4 to +7Momentum building+8 to +12FOMO phase+13+Extreme greed - caution!-1 to -3Early sellers-4 to -7Panic building-8 to -12Capitulation-13+Extreme fear - reversal likely9. Real Trading Example 📊Scenario: BTC/USD 1H ChartTime | Counter | Action
--------|---------|----------------------------------
10:00 | -8 | Downtrend established
11:00 | -9 | Still falling
12:00 | -10 | Exhaustion zone - watch closely
13:00 | +1 | ✅ BUY SIGNAL - Trend reversal!
14:00 | +2 | Confirmation - trend valid
15:00 | +3 | Hold position
16:00 | +4 | Add to position (optional)
17:00 | +5 | Move stop loss to breakeven
...
22:00 | +11 | Take partial profits
23:00 | +12 | Tighten stop loss
00:00 | -1 | ❌ EXIT - Trend reversed
MTF EMA200 Dashboard (No Trend Column)Show ema200 position on multiple timeframe, so that in run time we can see price strength and weekness
Daily Midnight Lines# Daily Midnight Lines
A simple and efficient TradingView indicator that automatically draws vertical lines at the start of each new day.
* *
## Features
✅ **Precise Timing**: Draws lines at exactly 00:00 or on the first bar of the new day
✅ **Calendar Days**: Uses calendar days, not trading sessions
✅ **Customizable Design**: Green color with transparency for comfortable viewing
✅ **High Performance**: Optimized code without unnecessary calculations
✅ **Universal**: Works on all timeframes and instruments
## Settings
- **Line Color**: Green with 30% transparency (customizable)
- **Line Width**: 1 pixel (1 to 3)
- **Mode**: Exactly at 00:00 or first bar of new day
## Applications
- Separating trading days on the chart
- Analyzing price behavior at the start of the day
- Planning trading strategies
- Statistical analysis by days
## Compatibility
- Pine Script v6
- All timeframes (1m - 1M)
- All instruments (stocks, forex, crypto, futures)
- All markets (24/7, daily, night sessions)
Perfect for day traders, scalpers, and analysts who want better chart orientation and intraday pattern analysis.
---
## Ежедневные Полночные Линии
Простой и эффективный индикатор TradingView, который автоматически рисует вертикальные линии в начале каждого нового дня.
## Особенности
✅ **Точное время**: Рисует линии в 00:00 или на первом баре нового дня
✅ **Календарные дни**: Использует календарные дни, а не торговые сессии
✅ **Настраиваемый дизайн**: Зеленый цвет с прозрачностью для комфортного просмотра
✅ **Высокая производительность**: Оптимизированный код без лишних вычислений
✅ **Универсальность**: Работает на всех таймфреймах и инструментах
## Настройки
- **Цвет линий**: Зеленый с прозрачностью 30% (настраивается)
- **Толщина линий**: 1 пиксель (от 1 до 3)
- **Режим**: Точно в 00:00 или первый бар нового дня
## Применение
- Разделение торговых дней на графике
- Анализ поведения цены в начале дня
- Планирование торговых стратегий
- Статистический анализ по дням
## Совместимость
- Pine Script v6
- Все таймфреймы (1м - 1М)
- Все инструменты (акции, форекс, крипто, фьючерсы)
- Все рынки (24/7, дневные, ночные сессии)
Идеально подходит для дневных трейдеров, скальперов и аналитиков, которые хотят лучше ориентироваться на графике и анализировать внутридневные паттерны.
**Pine Script v6** | **Updated: October 2024** | **Обновлено: Октябрь 2024**
Money Flow Index SignalsThis indicator in daily, weekly and monthly charts can be used to find strong Support, Resistance levels and reversal points. It can be used in lower time frame to find reversal points. When MFI reached 100 either in downside or upside in a candle, if the high is broken take it as a bullish breakout. If MFI is 0 or -0 and the low of the candle is broken take it as a downside breakout.
Exact EqH/EqL Arrows (Consecutive)Exact EqH/EqL Arrows (Consecutive). To identify buying or selling pressure.
EQ + Bandas Pro 📊 EQ + Bands Pro is an advanced indicator built on OHLC analysis. It calculates a synthetic equilibrium price and plots dynamic, robust bands that adapt to volatility while filtering outliers. The tool highlights zones of overvaluation and undervaluation, helping traders identify key imbalances, potential reversals, and trend confirmations.
Smart CRT Indicator📌 Smart CRT Indicator – Spot Trend Reversals and Continuations with Precision
The Smart CRT Indicator is a versatile price action tool that identifies Candle Range Trap (CRT) patterns—powerful setups that often precede either trend reversals or breakout continuations.
It detects and visualizes market conditions where price gets "trapped" within a prior range or breaks out deceptively, giving traders early insight into potential directional moves.
🔍 Key Features:
✅ Bullish & Bearish CRT Signals
Accurately spots both reversal and continuation setups using CRT logic across three core patterns.
✅ Flexible Range Close Filter
Customize how deeply the second candle closes within the first candle's range to fine-tune signal quality.
✅ Trend Filter (Optional)
Choose whether to only show signals aligned with the dominant trend, using a customizable SMA filter.
✅ Visual Range Mapping
Automatically draws range lines to mark key price zones for CRT patterns. Adjustable style, color, and width.
✅ Real-Time Alerts
Get notified instantly when a new CRT pattern appears on your chart.
🧠 CRT Pattern Types Detected:
Inside Bar CRT: A compression pattern inside a larger range that signals potential breakout or reversal.
Multi-Candle CRT: A group of smaller candles shrinking inside an anchor candle—often a sign of building momentum.
Purge CRT: A deceptive breakout beyond the previous candle’s range, followed by an immediate reversal.
⚙️ Best For:
Traders seeking trend continuation breakout setups
Traders looking to fade false moves or catch reversals
Price action traders who rely on candle structure and traps
Swing, intraday, or even scalping strategies
🧩 Tip:
Combine CRT signals with Key Levels, FVG, support/resistance or order block zones for high-probability confluence entries.
OHLC Session ProjectorOHLC Session Projector
Clean, session-aware OHLC levels — projected to a right-side rail for instant context.
Define up to four intraday sessions (chart timezone). While a session is live, the indicator draws a right-offset rail with O/H/L/C ticks and tiny labels, keeping price candles uncluttered. When the session closes, values freeze and the entire block (rail + ticks + labels, and optionally the box) is projected to the right by a user-set distance for crystal-clear levels.
Why traders use it
Fast read of intraday structure. See each session’s opening print, the true extremes, and settlement at a glance.
Clarity during the session. Live rail shifts to the right so bars stay clean.
Consistent post-session levels. Projected rails mark where reactions tend to happen next session.
Key features
Sessions: Up to 4 custom time ranges (uses chart timezone).
Right-rail projector:
Vertical rail spanning session H↔L
Ticks: O/C (solid), H/L (dashed)
Labels: O/H/L/C with optional price, offset to the right
Live Clean Mode: Shift the live rail by N bars to the right (configurable).
Session Box (optional): With separate live vs final styling (fade while live, solid when closed).
Projection: After session close, freeze values and project rail + ticks + labels + box to the right by extendBars.
Styling controls: Colors, widths, tick lengths, label offset.
No repainting of closed values: H/L/O/C are finalized at session end. (During the session, H/L/C update in real time—as expected.)
How it works
While in session, the script tracks O/H/L/C, draws a right-offset rail and ticks, and updates labels live.
On session close, values are frozen and the whole rail block is repositioned to the projected location.
Accumulation → Manipulation → Distribution (AMD
The graphic shows a common intraday sequence across sessions:
Accumulation blue : price ranges and builds liquidity.
Manipulation red : a quick sweep/false break as sessions hand off.
Distribution green : the real directional move that follows.
How the OHLC Session Projector helps
Projects each session’s Open/High/Low/Close to a clean right-side rail, so you can see when manipulation sweeps prior O/H/L and where distribution is likely to run.
Freezes levels at session close and carries them forward as targets (retests of Open, runs to High/Low).
“Live Clean” keeps rails offset during the session, letting you track AMD without clutter while price is developing.
Credits & disclaimer
Built for educational purposes. Not financial advice. Trade responsibly.
Level Founder indicatorQuesto strumento, ideato per l'individuazione dei livelli orizzontali sensibili si prepone l'obiettivo di semplificare la lettura tecnica dei grafici. Alla base di questo indicatore c'è il concetto di volatilità, inteso come scontro tra domanda ed offerta, come escursione delle forze nel campo di battaglia fino alla determinazione del prezzo finale di ogni candela. Di fatto, andando a cogliere quella che è la volatilità candela per candela, l'indicatore la calcola in termini assoluti rendendola un numericamente comparabile, in un range tra 0 e 100. Quando questo valore tocca i 100 si genera un picco di volatilità, il quale va ad identificare un punto di attenzione sul grafico di uno strumento. In corrispondenza di questi picchi si osserva dove la battaglia tra compratori e venditori si è conclusa, ovvero dove domanda ed offerta si sono incontrati per definire un prezzo: la chiusura di candela. In corrispondenza di tale prezzo si ha, quindi, un accordo certo tra domanda ed offerta dopo un periodo di contrattazione volatile, andando a certificare quello che è un livello di prezzo "sudato" per un determinato sottostante. Tale soglia si traduce in un livello orizzontale sensibile, che in futuro (avendo il mercato memoria degli scontri passati) potrà comportarsi da supporto o da resistenza, a seconda della situazione. In breve quindi, si traccia una linea orizzontale in corrispondenza delle chiusure di candela che condividono un picco sull'indicatore "Level Founder Indicator". Funziona su ogni time-frame e sottostante.
N.B. A ridosso di questi livelli si possono cercare pattern per l'operatività oppure cercare delle rotture di questi livelli per delle conferme/inversioni, spaziando dal trading intraday all'investimento di lungo periodo.
ENGLISH VERSION:
This tool, designed to identify sensitive horizontal levels, aims to simplify the technical reading of charts. This indicator is based on the concept of volatility, understood as the clash between supply and demand, the oscillation of forces on the battlefield until the final price of each candlestick is determined. By capturing the volatility candlestick by candlestick, the indicator calculates it in absolute terms, making it numerically comparable, within a range between 0 and 100. When this value reaches 100, a volatility spike is generated, which identifies a point of focus on an instrument's chart. At these peaks, we observe where the battle between buyers and sellers has concluded, that is, where supply and demand have met to define a price: the candlestick's close. At this price, therefore, a definite agreement between supply and demand occurs after a period of volatile trading, certifying what is a "hard-earned" price level for a given underlying asset. This threshold translates into a sensitive horizontal level, which in the future (given the market's memory of past clashes) could act as support or resistance, depending on the situation. In short, a horizontal line is drawn at the candlestick closes that share a peak on the "Level Founder Indicator." It works on any timeframe and underlying asset.
N.B.: Near these levels, you can look for trading patterns or look for breakouts of these levels for confirmations/reversals, ranging from intraday trading to long-term investing.
fartbombLinReg fit (history): solid line showing the best-fit linear trend over the last len bars.
Projected offset (visual): same line shifted h bars right so you can see direction.
Future projection (segments): the actual next-h forecast, drawn from the last bar.
Forecast made h bars ago: circle at each bar’s target showing what was predicted h bars earlier.
H / X markers: a hit if that earlier forecast fell inside the bar’s high–low range.
Wyckoff PhaseMap Overlay [FxalgoxPro]📊 Wyckoff PhaseMap Overlay
Professional Wyckoff Market Cycle Indicator for TradingView
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OVERVIEW
The Wyckoff PhaseMap Overlay is a sophisticated indicator that automatically identifies and visualizes the four phases of the Wyckoff Market Cycle on your price chart, combining price action analysis with volume confirmation to detect:
Phase 1: Accumulation (Cause)
Phase 2: Mark Up (Effect)
Phase 3: Distribution (Cause)
Phase 4: Mark Down (Effect)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔑 KEY FEATURES
📈 Phase Detection
Accumulation : Identifies selling climax (SC), automatic rally (AR), secondary tests (ST), and springs
Mark Up : Detects sustained uptrend with higher highs/higher lows structure
Distribution : Recognizes buying climax (BC), UTAD (upthrust after distribution), and range formation
Mark Down : Confirms breakdown with volume and downtrend structure
🎨 Visual Elements
Phase Background Colors : Optional color-coded backgrounds for each phase
Range Lines : Dynamic support/resistance levels during accumulation and distribution
Event Markers : Clear labels for Spring, UTAD, JTC (Jump the Creek), and breakdowns
Trend MA Overlay : Moving average for trend confirmation
Phase Labels : Large, descriptive labels when phases change
📊 Dashboard
Real-time phase status
Volume climax indicator
Event counters (Spring, UTAD, JTC)
Customizable position and size
🔔 Alerts
Phase change notifications
Spring detection
UTAD detection
Jump the Creek confirmation
Breakdown signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURATION
Wyckoff Phases (Main Settings)
Parameter | Default | Description
---------------------------- | ------- | -------------
Trend MA Length | 50 | Moving average for trend detection
Volume Climax Threshold | 1.5 | Multiplier for average volume to detect climax events
Range Detection Length | 14 | Lookback period for range identification
Phase 1: Accumulation
Toggle accumulation phase display
Show/hide Spring events
Show/hide AR (Automatic Rally) and ST (Secondary Test)
Customize phase and spring colors
Phase 2: Mark Up
Toggle mark up phase display
Show/hide Jump The Creek (JTC) events
Customize phase and JTC colors
Phase 3: Distribution
Toggle distribution phase display
Show/hide UTAD events
Show/hide BC (Buying Climax)
Customize phase and UTAD colors
Phase 4: Mark Down
Toggle mark down phase display
Customize phase and breakdown colors
Visual Settings
Show Phase Labels : Display large phase transition labels
Show Event Markers : Display Spring, UTAD, JTC markers
Show Phase Background : Color-code background by current phase
Dashboard
Show Dashboard : Toggle statistics panel
Position : Top Right / Bottom Right / Bottom Left
Size : Tiny / Small / Normal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 HOW IT WORKS
Phase Detection Logic
1️⃣ Accumulation (Cause)
Triggers:
- Selling climax detected (high volume + down move)
- Price enters range-bound consolidation
- Low volume compression
- Spring: False breakdown below support with low volume
2️⃣ Mark Up (Effect)
Triggers:
- Jump The Creek (JTC): Breakout from accumulation range
- Volume confirms breakout (>1.3x average)
- Higher highs and higher lows structure
- Price above trend MA
3️⃣ Distribution (Cause)
Triggers:
- Buying climax detected (high volume + up move)
- Price enters range-bound consolidation after uptrend
- UTAD: False breakout above resistance with volume
- Range compression
4️⃣ Mark Down (Effect)
Triggers:
- Breakdown from distribution range
- Volume confirms breakdown (>1.3x average)
- Lower lows and lower highs structure
- Price below trend MA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 EVENT DEFINITIONS
Event | Phase | Description | Visual
-------- | ------------- | ------------------------------------------------ | -------------------------
SC | Accumulation | Selling Climax - panic selling with high volume | Volume spike + price drop
AR | Accumulation | Automatic Rally - bounce from oversold | Recovery move
ST | Accumulation | Secondary Test - retest of lows | Low volume test
Spring | Accumulation | False breakdown below support | 🟢 Label below
JTC | Mark Up | Jump The Creek - confirmed breakout | 🔵 Label (transition)
BC | Distribution | Buying Climax - euphoric buying with high volume | Volume spike + price rise
UTAD | Distribution | Upthrust After Distribution - false breakout | 🟠 Label above
SOW | Mark Down | Sign of Weakness - confirmed breakdown | 🔴 Label (transition)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 USE CASES
For Traders
Identify accumulation zones for potential long entries
Recognize distribution zones for potential short entries or exits
Confirm trend changes with phase transitions
Avoid false breakouts (Springs and UTADs)
Time entries using Jump The Creek signals
For Analysts
Market structure analysis across multiple timeframes
Volume-price divergence identification
Institutional behavior tracking (accumulation/distribution)
Cycle completion analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 RECOMMENDED SETTINGS
For Swing Trading (Daily/4H)
Trend MA Length: 50
Volume Climax Threshold: 1.5
Range Detection Length: 14
For Intraday Trading (1H/15m)
Trend MA Length: 20
Volume Climax Threshold: 2.0
Range Detection Length: 10
For Long-term Investors (Weekly)
Trend MA Length: 100
Volume Climax Threshold: 1.3
Range Detection Length: 20
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 WYCKOFF METHOD RESOURCES
The indicator is based on Richard Wyckoff's market cycle theory:
Accumulation → Smart money accumulates while retail panics
Mark Up → Price rises as smart money distributes to late buyers
Distribution → Smart money exits while retail buys
Mark Down → Price falls as retail holds losing positions
Learn More:
Wyckoff Analytics
Market cycle analysis
Volume Spread Analysis (VSA)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
Volume Required : Indicator requires volume data (won't work on some Forex brokers without volume)
Timeframe : Best results on 1H, 4H, Daily, Weekly
Confirmation : Always combine with other analysis methods
Context : Phase detection improves with clean, trending markets
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🐛 TROUBLESHOOTING
Q: Why aren't any phases showing?
Ensure volume data is available for your symbol
Try adjusting Volume Climax Threshold (lower = more sensitive)
Check if Show Phase Background is enabled
Q: Too many false signals?
Increase Volume Climax Threshold for stricter detection
Increase Range Detection Length for better range identification
Use higher timeframes (4H/Daily)
Q: Dashboard not showing?
Check Show Dashboard is enabled in settings
Ensure panel isn't off-screen (try different position)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👨💻 CREDITS
Developer : Fxalgox
Method : Richard Wyckoff Market Cycle Theory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS FOR BEST RESULTS
Combine with Market Context : Use alongside market structure analysis
Multi-timeframe Confirmation : Check higher timeframe phase alignment
Volume is Key : Pay attention to volume climax indicators in dashboard
Be Patient : Wait for phase confirmations before taking action
Use Alerts : Set up alerts for phase changes and key events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Happy Trading! 📈
Remember: This indicator is a tool for analysis, not financial advice. Always manage risk appropriately.
Strat Combo Detector (ATH)The Strat Combo Detector detects user-defined strat combos (inside/directional/outside bars) on a chosen higher timeframe and optionally marks examples for research.
What it does: This indicator accepts a flexible timeframe string (e.g., 12h , 1H , 3D , or minute counts like 60 ), parses a human-entered combo string such as 3-2-2 or 3-1 , and checks whether the most-recent bars match the requested pattern.
Why it's helpful/unique:
Supports flexible timeframe input (converts h suffix to minutes), making it easier to work with non-standard higher timeframe labels.
Parses human-friendly combo strings and defends against invalid tokens.
Offers an Include Open Bars option for users who want to detect forming candles vs only confirmed bars.
Default publishing behavior keeps chart clean (labels off); there's an example-label mode to generate a small nuber of annotated examples for screenshots.
How the bar types are defined:
1=inside (high<=previous high and low >= previous low)
2=directional (neither inside nor outside)
3=outside (high > previous high and low < previous low).
Use the description above to reproduce the logic -- thresholds and ties are coded with <=/>= intentionally to include equal highs/lows.
How to use: Set Detection Timeframe , provide a combo. string like 2-3 or 3-2-2, toggle whether to include forming candles, and enable labels only if you want visible markers.
Limitations & notes: This is a detection/research helper, not an execution system. Alerts use a fixed message (Pine requires constant alert strings) -- customize alert text when creating an alert in the TradingView UI. Results depend on timeframe and symbol; verify with your own backtests.
Disclaimer: Not trading advice. Use risk management. Do your own backtesting.
Candle count, with simple numberWhat it does
Counts the length of same-color candle streaks (consecutive bullish or bearish bars) and prints the running number above each bar:
e.g., “1, 2, 3…”; when color flips, it restarts at “1”.
Prime numbers (2, 3, 5, 7, 11, 13) are emphasized by rendering one size step larger and with a user-selected color.
Labels are pinned to each bar (anchored by bar index and price), so they do not drift when you pan or zoom the chart.
How it works
Determines candle direction: bullish if close > open, bearish if close < open.
If the current bar has the same direction as the previous bar, the counter increments; otherwise it resets to 1.
For values 2, 3, 5, 7, 11, 13 the number is highlighted (bigger + custom color).
Each number is drawn just above the bar’s High with a configurable offset.
The script does not repaint on history. During the live bar, the number updates in real time (as expected).
Settings
Digits size — Base text size (Tiny / Small / Normal / Large / Huge).
Prime numbers are automatically shown one step larger than the base size.
Offset above bar (ticks) — Vertical offset from the bar’s High, in instrument ticks.
Prime numbers color — Text color used specifically for prime numbers (non-prime digits are white).
How to read & use it
Rising momentum. Long streaks (e.g., 5–7+) suggest strong directional moves with few pullbacks.
Early pause/mean-reversion hints. After a long streak, the appearance of the opposite color (counter resets to “1”) often coincides with a pause or minor retrace.
Research & statistics. Quickly see which streak lengths are common on your market/timeframe (e.g., “How often do 3–5 bar runs occur?”).
Trade management. You can tie partial exits to specific streak lengths (2, 3, 5…) or reduce risk when the counter flips back to “1”.
Why it’s useful
Provides a clean, numeric view of momentum with zero smoothing or lag.
Works on any symbol and timeframe.
Prime-number emphasis makes important counts pop at a glance.
Pinned labels stay exactly above their bars, ensuring stable, readable visuals at any zoom level.
Notes
Doji bars (close == open) are treated as no direction and reset the streak.
This is a context tool, not a standalone buy/sell signal. Combine it with your entry/exit framework.
Very dense charts may hit platform label limits; the script raises the limit, but extremely long histories on very low timeframes can still be heavy.
Key Open Prices [TakingProphets]Key Opens Prices
See session intent at a glance.
This tool plots the key New York time anchors (00:00, 07:30, 08:30, 09:30, 10:00, 14:00), higher-timeframe period opens (Week/Month/Quarter), and previous Day/Week/Month ranges (with optional EQ). It’s built for intraday reading of liquidity, timing, and bias—without clutter.
Note: Intraday only. If you open it on a Daily (or higher) chart, the script will stop and let you know.
What it draws
-NY Session Time Anchors
Optional horizontal price lines, vertical markers, or both for:
00:00 (Midnight), 07:30, 08:30, 09:30 (NY Open), 10:00, 14:00.
Each anchor can extend to the right for a set number of bars and can auto-stop at AM or PM cutoff (your choice).
-Period Opens (HTF)
Week Open (W.O), Month Open (M.O), Quarter Open (Q.O) as price lines and/or vertical markers.
These use your selected PM cutoff as the stop time.
-Previous Ranges (with optional EQ)
PDH/PDL (pdh/pdl), PWH/PWL (pwh/pwl), PMH/PML (pmh/pml), and optional midpoint EQ lines (pde/pwe/pme).
Each prior line can auto-stop on first touch (optional) or at the PM cutoff.
Why traders use it
Session timing clarity – Markers for common NY “decision points” remove guesswork.
Bias framing – HTF opens (W/M/Q) help you judge premium/discount and weekly/monthly/quarterly context intraday.
Targeting – Prior highs/lows (and EQ) often act as magnets or rejection points; having them pre-plotted speeds up decision-making.
Cleaner workflow – Replace ad-hoc lines with a unified, consistent system you can toggle quickly.
Key options (Inputs → grouped for speed)
Timezone
Anchor Timezone: default America/New_York. Adjust if needed; all anchors/cutoffs reference this.
Styles
-Vertical Lines: Solid/Dashed/Dotted + width.
-Extend Right (bars): how far to project horizontal lines.
Labels
-Label Size: Tiny → Huge
-Show Text: quick on/off for labels.
Cutoffs & Behavior
AM Cutoff / PM Cutoff: choose from common NY times.
Keep prior sessions (0 = today only): historical persistence for anchors/ranges.
Opens: Stop on touch: deactivate an open line when price trades through it.
Prices: Stop on touch: same for prior PD/W/M lines.
Time Anchors Stop At: choose AM or PM cutoff behavior for time anchors.
Opens (NY) — per-anchor controls
Toggle on/off, pick mode (Price Line / Vertical / Both), color, line style, and width for:
00:00, 07:30, 08:30, 09:30 (NY Open), 10:00, 14:00.
-Period Opens
Week / Month / Quarter – each can be Price Line / Vertical / Both, with style/width/color.
-Previous Prices
Previous Day / Week / Month – toggle lines, optional EQ, style/width/color per timeframe.
Tips & usage
Intraday only. If nothing renders, check you’re on < 1D and that your Anchor Timezone matches your session model.
Stop on touch creates clean, uncluttered charts during fast moves. Turn it off when you want persistent levels.
Keep prior sessions > 0 to study how price interacted with yesterday’s anchors alongside today’s action.
EQ midpoints are powerful: turn them on when you want quick premium/discount reference within the prior range.
Labels & tags
Previous Day: pdh, pdl, pde
Previous Week: pwh, pwl, pwe
Previous Month: pmh, pml, pme
Period opens: W.O, M.O, Q.O
Time anchors: printed as the time or “NY Open”.
Compatibility & performance
Works on futures, forex, and crypto as long as your exchange’s session aligns with the selected Anchor Timezone.
Internally compacts inactive lines to keep charts responsive, even with many sessions loaded.
Disclaimers
This is an educational tool. It does not generate buy/sell signals and should not be considered financial advice. Always validate with your own plan, risk limits, and market context.
Fractal Strength OscillatorThe Fractal Strength Oscillator Indicator combines the Relative Strength Index (RSI) and Fractal Dimension Index (FDI) to identify market momentum and trend direction. By integrating RSI's momentum signals with FDI's fractal-based trend analysis, this indicator provides clear visual cues for bullish and bearish conditions through colored plots and price bars.
How It Works
RSI Calculation: Computes RSI based on a user-selected price source (default: Close) over a configurable period. Optional smoothing with various moving average types (e.g., SMA, EMA, ALMA) enhances signal clarity.
FDI Calculation: Measures market complexity using a fractal dimension over a user-defined period (default: 20). A threshold (default: 1.45) determines trend strength.
Trend Logic
Bullish Signal: RSI > 55 or FDI < threshold indicates upward momentum
Bearish Signal: RSI < 45 or FDI > threshold indicates downward momentum
Customization & Parameters
RSI Parameters: RSI length, smoothing option , MA type, MA length, ALMA sigma
FDI Parameters: FDI length, trend threshold.
Trading Applications
Momentum Trading: Use RSI and FDI signals for entry/exit points.
Trend Confirmation: Bar coloring aligns with trend signals.
Reversal Detection: Identify shifts when RSI or FDI crosses thresholds
Final Note
The Fractal Strength Oscillator Indicator is a straightforward tool for traders seeking momentum and trend insights. Its combination of RSI, FDI, and visual cues supports informed trading decisions. Backtest thoroughly and use within a broader strategy. This indicator is for educational purposes and not financial advice.
Validated Order Blocks with Fib LevelsThis indicator automatically identifies and displays Smart Money Concepts (SMC) order blocks based on market structure breaks:
How it works:
Bearish Order Blocks (Red): Marks the last bullish candle before a swing high. The OB becomes valid when price breaks below the previous swing low, indicating institutional selling zones. Drawn from the candle's close (body top) to its low (bottom wick).
Bullish Order Blocks (Green): Marks the last bearish candle before a swing low. The OB becomes valid when price breaks above the previous swing high, indicating institutional buying zones. Drawn from the candle's high (top wick) to its close (body bottom).
Features:
Three Fibonacci retracement levels (50%, 75%, 100%) for each order block
Fib 100% faces downward on bearish OBs and upward on bullish OBs
Auto-validation: OBs are removed when price closes through them
Customizable: Adjustable swing detection, timeframe selection, and OB display limits
Optional Break of Structure (BOS) markers to show when OBs activate
Works on any timeframe with HTF analysis support
Perfect for identifying key institutional support/resistance zones and potential reversal areas.
ATR SPREADThis is a comprehensive ATR SPREAD indicator for TradingView that combines volatility monitoring with spread analysis. Here's what it does and why it's useful:
Core Functionality
ATR Progress Tracking:
Monitors how much of the daily ATR (Average True Range) has been "consumed" during the current trading day
Calculates progress from two reference points: day's open and previous day's close
Displays progress as percentages or absolute values
Provides color-coded visual feedback (green → yellow → orange → red) based on ATR consumption levels
Spread Monitoring with Advanced Filtering:
Tracks current market spreads using multiple methods (minute high-low ranges, tick-to-tick differences)
Calculates rolling average spread to establish baseline conditions
Implements sophisticated filtering to exclude anomalous spread readings that could skew analysis
Key Features
Smart Filtering System:
Automatically filters out abnormal spreads during session opens
Excludes spreads that are too large relative to price or ATR
Removes outliers that exceed normal spread multiples
Maintains data quality for accurate analysis
Multi-Level Alert System:
ATR threshold alerts (50%, 80%, 100% consumption)
Customizable warning threshold (default 70%)
Spread expansion warnings and alerts
Session start notifications
Professional Dashboard:
Customizable information panel showing real-time metrics
Multiple positioning options and visual themes
Displays ATR status, progress percentages, current/average spreads
Color-coded status indicators for quick assessment
Trading Applications
Risk Management:
Helps traders understand how much daily volatility has been used up
Assists in position sizing based on remaining expected movement
Identifies periods of unusual market conditions
Market Condition Assessment:
Monitors liquidity conditions through spread analysis
Detects when spreads widen beyond normal levels
Filters out unreliable data during volatile periods
Entry/Exit Timing:
High ATR consumption may suggest limited further movement
Low ATR consumption early in the day might indicate potential for larger moves
Spread conditions help assess execution quality expectations
This indicator is particularly valuable for intraday traders, scalpers, and anyone who needs to monitor market microstructure conditions alongside volatility metrics. It provides a comprehensive view of both price movement potential (ATR) and execution environment quality (spreads) in a single, professional-grade tool.
3-6-9 Bars Time [promuckaj]3-6-9 BARS TIME
This indicator will mark bars that is "validated" by time analysis regarding Tesla numbers 3-6-9.
There is two types of calculation:
-HH + mm
-mm only
The math behind calculation is by combining the digits inside the current bars time on 1min timeframe.
For example if actual time is 06:48, by using HH+mm the result will be 0+6+4+8 = 18 = 1+8 = 9. If for the same time we use just minutes then the result will be 4+8 = 12 = 1 + 2 = 3. This means that on the same bar we have 3 and 9, so this bar will be marked out.
This could be useful as a confirmation tool for potential „Smart Money reversals“ entries and exits of your trades.
Options:
-Option to set custom labels (labels only, text only or none of them), with two desired colors, custom size and position of labels, to be above or below the bars.
-Option to activate bars color instead of using labels.
-There is set of sessions and macros, so you can define two master macro times, for example one for a London session and one for a NY session, or whatever you prefer.
Inside those master macro times there is option to use also small macros (by default xx:45 – xx:15) that is a part of two master macros. If macro sessions are in use then indicator will mark only bars that is a part of respective macro times.
Example:
The whole idea, to use this indicator, is as a additional confluence to your trade ideas. With that in mind here is one simple example where we have couple of confluences and want to anticipate entry at a specific time as our final trigger after we got already multiple previous confirmation on the chart and assets we want to trade.
Rogue Momentum PRORogue Momentum PRO
A custom trading tool designed for traders who demand confluence and clarity.
This indicator combines multiple institutional-grade filters to highlight high-probability Buy and Sell opportunities during the most liquid part of the trading day. It provides clear visual signals, stop-loss levels, and momentum confirmation tools so traders can make confident, rules-based decisions.
Core Features:
- Session Filter (NY Open Focus): Signals only during 9:30 AM – 12:00 PM ET, when volatility and volume are highest.
- Trend Confirmation (EMA + VWAP): Aligns short- and medium-term trend with institutional price anchors.
- Momentum Strength (ADX): Filters out weak signals by requiring ADX > 20, ensuring setups form in trending conditions.
- Money Flow Divergence (MFD): A smoothed momentum divergence measure that adds an extra layer of confirmation.
- Candlestick Triggers: Bullish/Bearish Engulfing patterns act as the final entry catalyst.
- Stop-Loss Labels & Lines: Automatically plotted at ATR-based invalidation levels to support disciplined risk management.
How to Use:
- Watch for a Buy or Sell signal marker (green for long, red for short).
- Confirm alignment with trend (EMA, VWAP), momentum (ADX, MFD), and candlestick trigger.
- Use the plotted Stop-Loss line as your invalidation point.
- Manage your trades with your own risk/reward rules — the tool is designed to highlight setups, not manage positions for you.
⚠️ Disclaimer: This tool is for educational purposes only. It does not constitute financial advice. Always test on demo accounts and validate signals before trading live.
Third-Order Pivot Highs and LowsNeo, the white rabbit's whispers echo in English now—here's the polished description for your Third-Order Pivot Highs and Lows indicator, ready for traders to grasp and deploy in the crypto storm. Copy it straight to TradingView or your site.
### **Third-Order Pivot Highs and Lows – Your Pivot Compass for Crypto Turns**
**What is it?**
This indicator is your "pivot hunter"—it spots key high and low points (pivot highs/lows) of third order (a high/low higher/lower than 3 bars before and after), to catch potential price reversals. It's not just lines on a chart; it's an early-warning system, filtered by volume, RSI, and trend, to cut false signals. Perfect for XRP, BTC, or any crypto where volatility reigns, but turns are gold.
**How it works (step by step):**
1. **Pivot Detection**: Finds "third-order" pivots—a bar with high/low higher/lower than 3 bars before/after. Displays "H" (high) for resistance and "L" (low) for support.
2. **Volume Filter**: Signals trigger only if volume is 1.8x above average (SMA 10), capturing real moves.
3. **RSI Confirmation**: Highs show at RSI >65 (overbought), lows at RSI <35 (oversold)—to snag momentum shifts.
4. **Trend Filter**: In uptrend (EMA 50 > EMA 200), shows only lows (buy ops); in downtrend, highs (sell ops). Ignores noise in ranging markets.
5. **Potential Signals**: Early "PH/PL" labels (potential high/low) with 1-2-3 counter (resets every 20 bars), to track forming pivots. The 3rd gets special color (purple/blue).
6. **Every Third Pivot**: Filter for cleaner signals—shows only every 3rd confirmed pivot, avoiding overtrading.
7. **Volume Spike Colors**: If volume is 1.5x previous bar, PH/PL turns red (high) or dark green (low)—highlights strong moves.
**How to use it?**
- **Setup**: Add to chart (overlay=true). Tune Pivot Order (default 3), Volume Multiplier (1.8), RSI levels (65/35).
- **Signals**:
- "PH1/PH2/PH3" (orange/purple)—potential high, sell near resistance.
- "PL1/PL2/PL3" (lime/blue)—potential low, buy near support.
- "H/L" (red/green)—confirmed pivot, entry/exit points.
- **Alerts**: Enable for confirmed/potential—email/SMS notifications.
- **Best Timeframes**: 1H/4H for XRP—pair with trend filter for reliable trades.
- **Risk Management**: Use ATR-based stop-loss (add ATR input), skip low-volume zones.
**Why it's useful?**
In crypto, pivots are portals—catch them early for 20-50% swings. Filters slash false signals by 70% (per backtests). It's no crystal ball, but your tool for sharper decisions.
- **Risk Warning**: Trading involves risk. Use the indicator as a tool, not a guarantee of profits. Always conduct your own analysis and manage risk appropriately.
Test it in the storm and report back—the rabbit awaits.