Smart Trend Lines v.1 [TradeMindsetAI]
✅ " 🚀 Smart Trend Lines V.1 🚀 " is an advanced Pine Script indicator that automatically detects and draws dynamic trend lines based on real pivot points from candle shadows (wicks).
✅ Key Features:
• Accurately identifies pivot highs and lows using customizable lookback periods
• Draws support/resistance trend lines only if price has respected them (via pullback or bounce validation)
• Validates lines by ensuring price doesn't cross the projected line in its path
• Limits the number of displayed lines to keep the chart clean
• Auto-removes outdated lines (older than 500 bars)
• Fully customizable line colors, styles (solid/dashed/dotted), and widths
✅ Ideal for traders seeking reliable, reactive trend lines across all timeframes.
✅ Note: Lines are calculated only after analyzing at least 1000 candles for maximum accuracy.
✅ Recommended Settings:
`Lookback Candles: 500` | `Pivot Period: 20` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 17` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 11` | `Pivot Points: 3`
🎯Built for traders who demand **pixel-perfect accuracy**.
⭐Like & Follow for more elite tools!
#trendline #smart #support #resistance #pivot #crypto #forex
✅ این اندیکاتور🚀"Smart Trend Lines V.1" 🚀 به صورت خودکار خطوط روند صعودی (حمایتی) و نزولی (مقاومتی) را بر اساس پیوتهای واقعی سایه کندلها شناسایی و رسم میکند.
✅ ویژگیهای کلیدی:
• تشخیص خودکار پیوتهای کف و سقف با دوره قابل تنظیم
• رسم خطوط روند تنها در صورتی که قیمت به آنها واکنش نشان داده باشد
• اعتبارسنجی دقیق خطوط با بررسی عدم نفوذ قیمت در مسیر روند
• محدود کردن تعداد خطوط نمایش داده شده برای جلوگیری از شلوغی چارت
• حذف خودکار خطوط قدیمی (بیش از ۵۰۰ کندل)
• قابلیت تنظیم رنگ، سبک و ضخامت خطوط حمایتی و مقاومتی
✅ مناسب برای تحلیلگرانی که به دنبال خطوط روند معتبر و پویا در تایمفریمهای مختلف هستند.
✅ نکته: خطوط فقط پس از بررسی حداقل ۱۰۰۰ کندل رسم میشوند تا از دقت بالا اطمینان حاصل شود.
✅ تنظیمات پیشنهادی:
`Lookback Candles: 500` | `Pivot Period: 20` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 17` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 11` | `Pivot Points: 3`
🎯 برای معاملهگرانی که دقت پیکسلبهپیکسل میخواهند.
⭐ لایک و فالو کنید تا ابزارهای حرفهای بیشتری ببینید!
Indicatori e strategie
Delta Pro VOLUME DELTA – FULL BREAKDOWN
WHAT IS DELTA?
→ Net difference between aggressive BUYING and SELLING per bar
→ Shows WHO is in control: buyers (ask hits) or sellers (bid hits)
CALCULATION (IN SCRIPT):
delta = volume * (close > open ? +1 : close < open ? -1 : 0)
• GREEN BAR (Up candle) → +DELTA → Buyers hit the ASK
• RED BAR (Down candle) → -DELTA → Sellers hit the BID
• DOJIS → 0 Delta
WHAT YOU SEE ON CHART:
• GREEN/RED BARS → Per-bar Delta (size = aggression)
• PURPLE LINE → Cumulative Delta (net order flow all session)
• ZERO LINE → Baseline (above = net buying, below = net selling)
TRADING EDGE (3 KILLER SETUPS):
1. DIVERGENCE = REVERSAL
Price: New high
Delta: Lower high → NEGATIVE DIVERGENCE
→ SHORT the breakdown
2. DELTA EXPLOSION = BREAKOUT
+500k green bar + price breaks resistance
→ GO LONG with momentum
3. ABSORPTION = FADE
Price drops hard
Delta flat/rising → Buyers absorbing supply
ApexSniper2.0I have Tested this Indicator Manually for about 2 months now and its been amazing.Ive been working with pine code for a really long time now, took me about 6 months to build this script, hopefully it works well for you.very good for trading. will help you out a lot
Session Breakout, Retest, Reversal + Large Move Alert# Script Description for Publication
## Script Name
**Session Breakout, Retest, Reversal + Large Move Alert**
## Short Description
A professional trading indicator that identifies session breakouts, failed retests, and large intraday price movements across any futures contract with real-time alerts and visual markers.
## Long Description
This comprehensive indicator combines session analysis with dynamic move detection, designed for active traders monitoring ES, NQ, GC, CL, and other futures contracts.
**Core Features:**
**Session Tracking:**
Automatically identifies and marks daily session breakouts and failed retests based on user-defined session times and timezones. The indicator draws visual boxes showing session highs (PH) and lows (PL), with labels marking breakout (BO) and retest failure (RF) points.
**Dynamic Large Move Detection:**
Monitors candles on any chart interval for significant price movements. The threshold is fully customizable per futures contract (default 15 points for ES/NQ/GC). When a candle closes with a move exceeding the threshold, the indicator displays a "BO" label with the exact move size and current chart timeframe.
**Real-Time Alerts:**
Triggers active alerts whenever large moves are detected, allowing traders to receive instant notifications via TradingView's alert system for timely entry or exit opportunities.
**Multi-Timeframe Compatible:**
Works seamlessly on any chart interval (1-minute through daily and beyond) without manual adjustments. The detection threshold automatically applies to the current chart's candles, with labels displaying the active timeframe.
**Universal Futures Support:**
Configurable for any futures contract by adjusting the point threshold input parameter based on each contract's typical volatility.
## Key Inputs
| Input | Default | Purpose |
|-------|---------|---------|
| Session Time | 0400-0930 | Defines trading session hours (pre-market session) |
| Session Timezone | America/New_York | Sets timezone for session detection |
| Point Move Threshold | 15.0 | Minimum point move to trigger alert (adjust per futures: ES=15, GC=15, CL=1.5) |
## How to Use
1. **Add to Chart:** Search for this indicator in TradingView and add it to your futures chart (ES, NQ, GC, CL, etc.)
2. **Configure Inputs:**
- Set session start/end times for your preferred trading session
- Adjust point threshold based on your futures contract
- Verify timezone matches your trading location
3. **Create Alerts:**
- Click "Create Alert" on the chart
- Select "Large Move Alert" from the condition dropdown
- Choose notification method (push, email, or SMS)
- Set desired frequency
4. **Monitor Moves:**
- Watch for "BO" labels appearing on confirmed candles
- Each label shows the threshold value and actual move size
- Combine with your existing trading strategy for confirmation
## Visual Elements
- **Session Box:** Blue shaded area showing session high/low range
- **PH Label:** Green label marking session high (pivot high)
- **PL Label:** Red label marking session low (pivot low)
- **BO ↑/↓ Labels:** Lime/red labels marking session breakouts
- **RF Labels:** Yellow/orange labels marking failed retests
- **Large Move Labels:** Green (bullish) or red (bearish) labels showing threshold breaches with move size
## Ideal For
- Scalpers monitoring quick intraday moves
- Day traders tracking pre-market breakouts
- Futures traders on ES, NQ, GC, CL, and other contracts
- Multi-timeframe traders watching various chart intervals simultaneously
- Alert-based automated trading systems
## Technical Details
- **Pine Script Version:** 5
- **Overlay:** Yes (displays on price chart)
- **Historical Buffer:** 5000 bars (supports 1-minute and lower timeframes)
- **Compatibility:** All futures contracts and chart intervals
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Users should conduct their own research and consult with financial professionals before making trading decisions. Past performance does not guarantee future results.
---
AZ VP Scan 40% AreaThis indicator is developed by Ankur Zaveri, Gujarat, India. This indicator marks the Day's High and Day's Low for the underlying and calculates the difference between the two extrme values of the day in a separate table on the chart. It also shows 40% value of the difference between the Day's High and Day's Low to help scan the underlyings for taking trades based on Volume Profile.
Inflection Nexus - SPAInflection Nexus - SPA: Self-Adapting Trend Reversal System
Overview
Inflection Nexus - SPA (Shadow Portfolio Adaptation) is an adaptive trend-following indicator that automatically optimizes its parameters in real-time through a unique shadow testing methodology. Unlike traditional static indicators that use fixed ATR periods and multipliers, this system continuously evaluates multiple parameter combinations in the background and dynamically adjusts to current market conditions without manual intervention.
What Makes This Original
The core innovation is the Shadow Portfolio Adaptation (SPA) engine, which runs parallel virtual portfolios in the background to test different ATR period and multiplier combinations. The system tracks the performance of these shadow portfolios over rolling windows and automatically switches to the best-performing parameter set. This creates a self-improving indicator that adapts to changing volatility regimes, trending vs. ranging markets, and shifting market dynamics without requiring user reconfiguration.
This is not simply a combination of existing indicators. The SPA engine is a novel approach that transforms the traditional Supertrend methodology from a static tool into an adaptive system with built-in machine learning principles.
Core Components and How They Work Together
1. Adaptive Supertrend Foundation
The base trend detection uses an ATR-based Supertrend calculation with your chosen source (default: hlcc4 for smoothness). Rather than using fixed parameters, the system starts with your configured ATR Period and Multiplier as baseline values.
2. Shadow Portfolio Adaptation Engine
This is where the innovation happens. The system simultaneously tests multiple parameter variations in the background:
- Creates shadow portfolios with different ATR periods (spanning from your base period minus a range to plus a range)
- Tests different ATR multipliers for each period
- Each shadow portfolio tracks virtual trade performance over a configurable lookback window
- Calculates a confidence score based on win rate, profit factor, and trade frequency
- Automatically switches to the best-performing parameter combination
- Implements smooth transitions to prevent whipsaw from parameter changes
The adaptation happens continuously, allowing the system to shift from tight, responsive settings during low volatility to wider, more conservative settings during high volatility periods.
3. Signal Generation Logic
The system offers two complementary signal modes:
Reversal Mode (default): Identifies potential trend exhaustion points. A sell signal requires price to make a new structural high while the trend is bullish, then flip bearish. This captures the exact moment a trend runs out of momentum. The "Require New High/Low During Trend" filter ensures signals only occur at genuine extremes, not mid-range noise.
Breakout Mode (optional): Identifies trend continuation. Signals occur when price breaks to new highs/lows in the direction of the current trend, confirming momentum rather than reversing it.
4. Multi-Layer Confirmation Filters
Each signal passes through optional quality filters:
- RSI Momentum Filter : Ensures buy signals occur after RSI has been oversold (preventing buying into exhaustion) and sell signals occur after RSI has been overbought
- Volume Spike Confirmation : Requires increased volume relative to recent average, confirming conviction behind the move
- Major Level Filter : Ensures signals only occur after significant price moves (measured in ATR multiples), filtering out minor fluctuations
5. Risk Management Integration
The dashboard displays real-time metrics including:
- Current regime classification (Trending, Volatile, Ranging)
- Shadow portfolio performance tracking
- Adaptive confidence scores
- Parameter evolution log
- Market heat map showing probability zones
How to Use This Indicator
Setup:
1. Apply the indicator to your chart
2. Start with default settings for your first session
3. The SPA engine requires a warm-up period (controlled by "Learning Window") to gather sufficient data - expect optimal adaptation after 100-200 bars
4. Enable the dashboard to monitor the adaptation process and current market regime
Signal Interpretation:
- Long signals (green triangles below price): Enter long when the system detects a potential bullish reversal or breakout
- Short signals (red triangles above price): Enter short when the system detects a potential bearish reversal or breakout
- Dashboard color coding : Green regime = favorable for trend-following, Yellow = volatile (use caution), Red = choppy (consider reducing position size)
Best Practices:
- Use Reversal Mode in swing trading environments where you want to catch major turning points
- Use Breakout Mode in strong trending markets where you want confirmation entries
- Enable both modes for comprehensive coverage, but filter by the regime indicator
- The "Min Bars Between Signals" setting prevents over-trading - start at 10-12 bars for most timeframes
- Pay attention to the "Map Heat" metric - higher active cells indicate more defined market structure
Parameter Optimization:
The system is designed to self-optimize, but you can guide it:
- Sensitivity : Lower values (15-25) for intraday scalping, higher values (40-60) for swing trading
- ATR Period : Your baseline starting point - the SPA engine will explore around this value
- Multiplier : Your baseline band width - the engine tests variations of this
- Learning Window : How many bars of data the shadow portfolios evaluate (200-500 for most markets)
- Adaptation Frequency : How often the system checks for better parameters (30-50 bars balances responsiveness and stability)
Dashboard Insights:
The three-panel dashboard provides real-time intelligence:
- Panel A shows current signal state, trend direction, and overall market regime
- Panel B displays shadow portfolio statistics, confidence scores, and the adaptation log
- The regime classification helps you understand if current market conditions favor trending strategies or if you should reduce exposure
Calculation Methodology
The system operates in three phases:
Phase 1 - Base Calculation:
- Calculates ATR using your specified period and method (RMA for smoothness)
- Identifies structural highs/lows using the sensitivity parameter
- Computes initial Supertrend bands: Price ± (ATR × Multiplier)
Phase 2 - Shadow Testing:
- Creates a grid of parameter combinations (ATR periods from base-5 to base+15, multipliers from base-0.5 to base+1.0)
- For each combination, simulates trade entries and exits over the learning window
- Tracks metrics: win rate, profit factor, max drawdown, trade count
- Calculates a confidence score using weighted metrics (win rate × 0.4 + profit factor × 0.3 + normalized trade frequency × 0.3)
Phase 3 - Adaptive Selection:
- Every N bars (adaptation frequency), ranks all shadow portfolios by confidence score
- Selects the highest-scoring parameter set
- Implements parameter change with transition smoothing to prevent signal disruption
- Logs the change and updates the dashboard
This creates a continuous feedback loop where the indicator learns from recent market behavior and adjusts its sensitivity accordingly.
Ideal Market Conditions
Best Performance:
- Markets with clear swing structure (forex majors, liquid stocks, major indices)
- Timeframes from 5-minute to daily (indicator adapts across timeframes)
- Trending markets with periodic consolidations (where reversals are meaningful)
Challenging Conditions:
- Extremely low liquidity assets (insufficient price action for adaptation)
- Very low timeframes (1-minute or below) where noise dominates
- Markets in deep consolidation for extended periods (the system will reduce signal frequency appropriately)
Technical Notes
- The indicator uses lookback functions with a 5000-bar maximum, ensuring sufficient historical context
- Shadow portfolios are lightweight - they don't execute actual trades, only track hypothetical P&L
- The confidence-based selection prevents the system from chasing random variations
- The minimum bars between signals prevents over-fitting to short-term fluctuations
- All calculations are performed on closed bars to prevent repainting
Recommended Settings by Trading Style
Day Trading (5-15 min charts):
- Sensitivity: 20-30
- ATR Period: 14-20
- Multiplier: 1.2-1.5
- Min Bars Between Signals: 8-12
- Enable RSI Filter: Yes
Swing Trading (1H-4H charts):
- Sensitivity: 30-50
- ATR Period: 20-30
- Multiplier: 1.5-2.0
- Min Bars Between Signals: 10-15
- Enable Major Levels Only: Optional
Position Trading (Daily charts):
- Sensitivity: 50-80
- ATR Period: 30-40
- Multiplier: 2.0-2.5
- Min Bars Between Signals: 5-10
- Enable Breakout Mode: Consider
The SPA engine will refine these starting points automatically based on actual market performance.
Important Disclaimers
This indicator is a technical analysis tool designed to identify potential trend changes and continuation points. It should not be used as a standalone trading system. Always combine with proper risk management, position sizing, and additional confirmation methods. Past performance of the adaptation engine does not guarantee future results. The shadow portfolio system is designed to improve parameter selection, but no indicator can predict market movements with certainty.
— Dskyz, Trade with insight. Trade with anticipation.
vagab0nd AlgoCombination of simple and exponential moving averages, SuperIchi cloud by LuxAlgo (love that group!), and a conglomeration of various indicators I've compiled over the years to try to spot tops and bottoms.
My custom indicator will highlight the background either green or orange/red and will show small yellow, or larger white arrows to indicate potential tops and bottoms. It is oscillator based so it can often show a strong signal for a top or bottom where price can rebound from, but will often retest or even stop loss run the previous signal area while not showing another signal. This indicates an underlying divergence that can potentially be taken advantage of.
iman S&D ( Supply and Demand )Hello friend, I hope you are doing well . 🍕
Using this indicator you can find the supply and demand areas in all different symbols like crypto, forex, etc.🔥
Note that you can make it even more optimal by changing the settings values.⚡
--------
🐱👤Contact Via Telegram : @byp4s
FDT Pro FDT Pro – The all-in-one futures trading kit used by serious traders.
INSTITUTIONAL TOOLS, RETAIL PRICE: $0
• Daily VWAP + Standard Deviation Bands (±1, ±2 SD)
• 9 & 20 EMA – Fast & slow trend confirmation
• Daily Volume Profile – POC, VAH, VAL (70% Value Area)
• Volume Delta – Real-time buying vs selling pressure
• Cumulative Delta – Net order flow tracking
• Auto-reset every session (RTH/ETH compatible)
• Zero runtime errors – mobile & desktop tested
• Pine Script v6 – future-proof
WORKS ON:
✓ /ES, /NQ, /CL, /GC, /SI, /BTC, /ETH
✓ 1m to 1D timeframes
✓ Scalping, day trading, swing trading
HOW TO USE:
1. Add to chart
2. Save as Template → "FDT Pro"
3. Apply to any futures contract in 1 click
NO PREMIUM. NO TRIAL. NO BS.
Built for traders who refuse to pay for edge.
FDT Pro – Because your P&L shouldn’t fund someone else’s indicator.
HOW IT WORKS
FDT Pro – TOOL LEGEND
YELLOW LINE → VWAP
Daily fair value. Price above = bullish bias.
ORANGE CIRCLES → ±1 SD
68% of price action. Mean reversion zones.
RED CIRCLES → ±2 SD
95% extremes. Breakout or reversal levels.
AQUA LINE → EMA 9
Fast momentum. Entry timing.
PINK LINE → EMA 20
Trend filter. Avoid counter-trend trades.
YELLOW THICK LINE → POC
Price of Control. Strongest support/resistance.
BLUE BOX → VALUE AREA (70%)
Where 70% of volume traded. "Fair price" zone.
LABEL (POC/VAH/VAL) → KEY LEVELS
POC = Control | VAH = Top of value | VAL = Bottom
GREEN/RED BARS → VOLUME DELTA
Green = buying pressure | Red = selling pressure
PURPLE LINE → CUMULATIVE DELTA
Net order flow. Divergence = reversal setup.
HOW TO TRADE:
• Buy dips to POC/VAL if delta turns green
• Short rallies to POC/VAH if delta turns red
• Break above VAH = long | Below VAL = short
• Use VWAP as dynamic stop or target
NO PREMIUM. NO ERRORS. NO LIMITS.
ApexSniperI have Tested this Indicator Manually for about 2 months now and its been amazing.Ive been working with pine code for a really long time now, took me about 6 months to build this script, hopefully it works well for you.very good for trading. will help you out a lot
Mother Candles | ZeeZeeMonMother Candles | ZeeZeeMon
Описание:
Индикатор Mother Candles предназначен для выявления ключевых "материнских свечей" и построения структурных точек, которые помогают определять начало и конец локальных движений на рынке. Он автоматически отслеживает свечи с экстремальными значениями High и Low и формирует визуальные уровни поддержки и сопротивления, а также линии зигзага, отображающие смену тренда.
Индикатор полезен для:
Определения уровней, которые могут служить зонами спроса и предложения
Визуализации локальных трендов и переломных точек
Построения зигзага для анализа структур движения цены
Основная логика работы:
Материнская свеча (Mother Candle)
Выделяется свеча с экстремальными значениями High и Low. Линии High и Low материнской свечи отображаются на графике. Каждая последующая свеча сравнивается с текущей материнской свечой для определения пробоя уровней.
Тренд и структурные точки
Тренд фиксируется как 1 (восходящий) или -1 (нисходящий). При смене тренда индикатор фиксирует ключевую структурную точку и отображает её меткой на графике. Если происходит одновременный пробой уровней материнской свечи, сначала определяется, какой уровень пробит первым, и строятся соответствующие структурные точки.
Зигзаг
Между структурными точками автоматически строятся линии зигзага, показывающие локальные изменения тренда.
Обновление уровней
Линии материнской свечи обновляются на каждом баре. Старые линии удаляются и создаются новые при появлении новой материнской свечи.
Настройки индикатора:
Визуализация зигзага
Показывать зигзаг – включение/отключение линий зигзага
Цвет зигзага – выбор цвета линии
Толщина линии зигзага – регулирует толщину линии (1–5)
Линии материнской свечи
Показывать границы материнской свечи – включение/отключение линий High/Low
Структурные точки
Показывать структурные точки – включение/отключение меток ключевых экстремумов
Что показывает индикатор:
Зеленая линия – уровень High текущей материнской свечи
Красная линия – уровень Low текущей материнской свечи
Меткi на графике – ключевые экстремумы, смена тренда
Линии зигзага – визуализация локального движения цены между структурными точками
Рекомендации по использованию:
Использовать на любых таймфреймах для выявления локальных экстремумов
Совмещать с другими индикаторами тренда и объема для подтверждения сигналов
Подходит для выявления точек входа и выхода на основе локальных уровней поддержки и сопротивления
Mother Candles | ZeeZeeMon
Description:
The Mother Candles indicator is designed to identify key "mother candles" and construct structural points that help determine the beginning and end of local market movements. It automatically tracks candles with extreme High and Low values and forms visual support and resistance levels, as well as zigzag lines reflecting trend changes.
The indicator is useful for:
Identifying levels that can act as demand and supply zones
Visualizing local trends and reversal points
Constructing a zigzag for analyzing the structure of price movement
Core logic:
Mother Candle
A candle with extreme High and Low values is highlighted. The High and Low lines of the mother candle are displayed on the chart. Each subsequent candle is compared with the current mother candle to determine level breakouts.
Trend and Structural Points
The trend is fixed as 1 (uptrend) or -1 (downtrend). When the trend changes, the indicator marks a key structural point and displays it on the chart. If both mother candle levels are broken simultaneously, the level broken first is identified, and the corresponding structural points are drawn.
Zigzag
Zigzag lines are automatically drawn between structural points, showing local trend changes.
Level Updates
Mother candle lines are updated on each bar. Old lines are removed and new ones are created when a new mother candle appears.
Indicator Settings:
Zigzag Visualization
Show zigzag – enable/disable zigzag lines
Zigzag color – choose line color
Zigzag line width – adjust line thickness (1–5)
Mother Candle Lines
Show mother candle boundaries – enable/disable High/Low lines
Structural Points
Show structural points – enable/disable key extremum labels
What the indicator shows:
Green line – High level of the current mother candle
Red line – Low level of the current mother candle
Labels on the chart – key extremums, trend changes
Zigzag lines – visualization of local price movement between structural points
Usage Recommendations:
Use on any timeframe to identify local extremums
Combine with other trend and volume indicators to confirm signals
Suitable for identifying entry and exit points based on local support and resistance levels
Quantum Market Harmonics [QMH]# Quantum Market Harmonics - TradingView Script Description
## 📊 OVERVIEW
Quantum Market Harmonics (QMH) is a comprehensive multi-dimensional trading indicator that combines four independent analytical frameworks to generate high-probability trading signals with quantifiable confidence scores. Unlike simple indicator combinations that display multiple tools side-by-side, QMH synthesizes temporal analysis, inter-market correlations, behavioral psychology, and statistical probabilities into a unified confidence scoring system that requires agreement across all dimensions before generating a confirmed signal.
---
## 🎯 WHAT MAKES THIS SCRIPT ORIGINAL
### The Core Innovation: Weighted Confidence Scoring
Most indicators provide binary signals (buy/sell) or display multiple indicators separately, leaving traders to interpret conflicting information. QMH's originality lies in its weighted confidence scoring system that:
1. **Combines Four Independent Methods** - Each framework (described below) operates independently and contributes points to an overall confidence score
2. **Requires Multi-Dimensional Agreement** - Signals only fire when multiple frameworks align, dramatically reducing false positives
3. **Quantifies Signal Strength** - Every signal includes a numerical confidence rating (0-100%), allowing traders to filter by quality
4. **Adapts to Market Conditions** - Different market regimes activate different component combinations
### Why This Combination is Useful
Traditional approaches suffer from:
- **Single-dimension bias**: RSI shows oversold, but trend is still down
- **Conflicting signals**: MACD says buy, but volume is weak
- **No prioritization**: All signals treated equally regardless of strength
QMH solves these problems by requiring multiple independent confirmations and weighting each component's contribution to the final signal. This multi-dimensional approach mirrors how professional traders analyze markets - not relying on one indicator, but waiting for multiple pieces of evidence to align.
---
## 🔬 THE FOUR ANALYTICAL FRAMEWORKS
### 1. Temporal Fractal Resonance (TFR)
**What It Does:**
Analyzes trend alignment across four different timeframes simultaneously (15-minute, 1-hour, 4-hour, and daily) to identify periods of multi-timeframe synchronization.
**How It Works:**
- Uses `request.security()` with `lookahead=barmerge.lookahead_off` to retrieve confirmed price data from each timeframe
- Calculates "fractal strength" for each timeframe using this formula:
```
Fractal Strength = (Rate of Change / Standard Deviation) × 100
```
This creates a momentum-to-volatility ratio that measures trend strength relative to noise
- Computes a Resonance Index when all four timeframes show the same directional bias
- The index averages the absolute strength values when all timeframes align
**Why This Method:**
Fractal Market Hypothesis suggests that price patterns repeat across different time scales. When trends align from short-term (15m) to long-term (Daily), the probability of trend continuation increases substantially. The momentum/volatility ratio filters out low-conviction moves where volatility dominates direction.
**Contribution to Confidence Score:**
- TFR Bullish = +25 points
- TFR Bearish = +25 points (to bearish confidence)
- No alignment = 0 points
---
### 2. Cross-Asset Quantum Entanglement (CAQE)
**What It Does:**
Analyzes correlation patterns between the current asset and three reference markets (Bitcoin, US Dollar Index, and Volatility Index) to identify both normal correlation behavior and anomalous breakdowns that often precede significant moves.
**How It Works:**
- Retrieves price data from BTC (BINANCE:BTCUSDT), DXY (TVC:DXY), and VIX (TVC:VIX) using confirmed bars
- Calculates Pearson correlation coefficient between the main asset and each reference:
```
Correlation = Covariance(X,Y) / (StdDev(X) × StdDev(Y))
```
- Computes an Intermarket Pressure Index by weighting each reference asset's momentum by its correlation strength:
```
Pressure = (Corr₁ × ROC₁ + Corr₂ × ROC₂ + Corr₃ × ROC₃) / 3
```
- Detects "correlation breakdowns" when average correlation drops below 0.3
**Why This Method:**
Markets don't operate in isolation. Inter-market analysis (developed by John Murphy) recognizes that:
- Crypto assets often correlate with Bitcoin
- Risk assets inversely correlate with VIX (fear gauge)
- Dollar strength affects commodity and crypto prices
When these normal correlations break down, it signals potential regime changes. The term "quantum" reflects the interconnected nature of these relationships - like quantum entanglement where distant particles influence each other.
**Contribution to Confidence Score:**
- CAQE Bullish (positive pressure, stable correlations) = +25 points
- CAQE Bearish (negative pressure, stable correlations) = +25 points (to bearish)
- Correlation breakdown = Warning marker (potential reversal zone)
---
### 3. Adaptive Market Psychology Matrix (AMPM)
**What It Does:**
Classifies the current market emotional state into six distinct categories by analyzing the interaction between momentum (RSI), volume behavior, and volatility acceleration (ATR change).
**How It Works:**
The system evaluates three metrics:
1. **RSI (14-period)**: Measures overbought/oversold conditions
2. **Volume Analysis**: Compares current volume to 20-period average
3. **ATR Rate of Change**: Detects volatility acceleration
Based on these inputs, the market is classified into:
- **Euphoria**: RSI > 80, volume spike present, volatility rising (extreme bullish emotion)
- **Greed**: RSI > 70, normal volume (moderate bullish emotion)
- **Neutral**: RSI 40-60, declining volatility (balanced state)
- **Fear**: RSI 40-60, low volatility (uncertainty without panic)
- **Panic**: RSI < 30, volume spike present, volatility rising (extreme bearish emotion)
- **Despair**: RSI < 20, normal volume (capitulation phase)
**Why This Method:**
Behavioral finance principles (Kahneman, Tversky) show that markets follow predictable emotional cycles. Extreme psychological states often mark reversal points because:
- At Euphoria/Greed peaks, everyone bullish has already bought (no buyers left)
- At Panic/Despair bottoms, everyone bearish has already sold (no sellers left)
AMPM provides contrarian signals at these extremes while respecting trends during Fear and Greed intermediate states.
**Contribution to Confidence Score:**
- Psychology Bullish (Panic/Despair + RSI < 35) = +15 points
- Psychology Bearish (Euphoria/Greed + RSI > 65) = +15 points
- Neutral states = 0 points
---
### 4. Time-Decay Probability Zones (TDPZ)
**What It Does:**
Creates dynamic support and resistance zones based on statistical probability distributions that adapt to changing market volatility, similar to Bollinger Bands but with enhancements for trend environments.
**How It Works:**
- Calculates a 20-period Simple Moving Average as the basis line
- Computes standard deviation of price over the same period
- Creates four probability zones:
- **Extreme Upper**: Basis + 2.5 standard deviations (≈99% probability boundary)
- **Upper Zone**: Basis + 1.5 standard deviations
- **Lower Zone**: Basis - 1.5 standard deviations
- **Extreme Lower**: Basis - 2.5 standard deviations (≈99% probability boundary)
- Dynamically adjusts zone width based on ATR (Average True Range):
```
Adjusted Upper = Upper Zone + (ATR × adjustment_factor)
Adjusted Lower = Lower Zone - (ATR × adjustment_factor)
```
- The adjustment factor increases during high volatility, widening the zones
**Why This Method:**
Traditional support/resistance levels are static and don't account for volatility regimes. TDPZ zones are probability-based and mean-reverting:
- Price has ≈99% probability of staying within extreme zones in normal conditions
- Touches to extreme zones represent statistical outliers (high-probability reversal opportunities)
- Zone expansion/contraction reflects volatility regime changes
- ATR adjustment prevents false signals during unusual volatility
The "time-decay" concept refers to mean reversion - the further price moves from the basis, the higher the probability of eventual return.
**Contribution to Confidence Score:**
- Price in Lower Extreme Zone = +15 points (bullish reversal probability)
- Price in Upper Extreme Zone = +15 points (bearish reversal probability)
- Price near basis = 0 points
---
## 🎯 HOW THE CONFIDENCE SCORING SYSTEM WORKS
### Signal Generation Formula
QMH calculates separate Bullish and Bearish confidence scores each bar:
**Bullish Confidence (0-100%):**
```
Base Score: 20 points
+ TFR Bullish: 25 points (if all 4 timeframes aligned bullish)
+ CAQE Bullish: 25 points (if intermarket pressure positive)
+ AMPM Bullish: 15 points (if Panic/Despair contrarian signal)
+ TDPZ Bullish: 15 points (if price in lower probability zones)
─────────
Maximum Possible: 100 points
```
**Bearish Confidence (0-100%):**
```
Base Score: 20 points
+ TFR Bearish: 25 points (if all 4 timeframes aligned bearish)
+ CAQE Bearish: 25 points (if intermarket pressure negative)
+ AMPM Bearish: 15 points (if Euphoria/Greed contrarian signal)
+ TDPZ Bearish: 15 points (if price in upper probability zones)
─────────
Maximum Possible: 100 points
```
### Confirmed Signal Requirements
A **QBUY** (Quantum Buy) signal generates when:
1. Bullish Confidence ≥ User-defined threshold (default 60%)
2. Bullish Confidence > Bearish Confidence
3. No active sell signal present
A **QSELL** (Quantum Sell) signal generates when:
1. Bearish Confidence ≥ User-defined threshold (default 60%)
2. Bearish Confidence > Bullish Confidence
3. No active buy signal present
### Why This Approach Is Different
**Example Comparison:**
Traditional RSI Strategy:
- RSI < 30 → Buy signal
- Result: May buy into falling knife if trend remains bearish
QMH Approach:
- RSI < 30 → Psychology shows Panic (+15 points)
- But requires additional confirmation:
- Are all timeframes also showing bullish reversal? (+25 points)
- Is intermarket pressure turning positive? (+25 points)
- Is price at a statistical extreme? (+15 points)
- Only when total ≥ 60 points does a QBUY signal fire
This multi-layer confirmation dramatically reduces false signals while maintaining sensitivity to genuine opportunities.
---
## 🚫 NO REPAINT GUARANTEE
**QMH is designed to be 100% repaint-free**, which is critical for honest backtesting and reliable live trading.
### Technical Implementation:
1. **All Multi-Timeframe Data Uses Confirmed Bars**
```pinescript
tf1_close = request.security(syminfo.tickerid, "15", close , lookahead=barmerge.lookahead_off)
```
Using `close ` instead of `close ` ensures we only reference the previous confirmed bar, not the current forming bar.
2. **Lookahead Prevention**
```pinescript
lookahead=barmerge.lookahead_off
```
This parameter prevents the function from accessing future data that wouldn't be available in real-time.
3. **Signal Timing**
Signals appear on the bar AFTER all conditions are met, not retroactively on the bar where conditions first appeared.
### What This Means for Users:
- **Backtest Accuracy**: Historical signals match exactly what you would have seen in real-time
- **No Disappearing Signals**: Once a signal appears, it stays (though price may move against it)
- **Honest Performance**: Results reflect true predictive power, not hindsight optimization
- **Live Trading Reliability**: Alerts fire at the same time signals appear on the chart
The dashboard displays "✓ NO REPAINT" to confirm this guarantee.
---
## 📖 HOW TO USE THIS INDICATOR
### Basic Trading Strategy
**For Trend Followers:**
1. **Wait for Signal Confirmation**
- QBUY label appears below a bar = Confirmed bullish entry opportunity
- QSELL label appears above a bar = Confirmed bearish entry opportunity
2. **Check Confidence Score**
- 60-70%: Moderate confidence (consider smaller position size)
- 70-85%: High confidence (standard position size)
- 85-100%: Very high confidence (consider larger position size)
3. **Enter Trade**
- Long entry: Market or limit order near signal bar
- Short entry: Market or limit order near signal bar
4. **Set Targets Using Probability Zones**
- Long trades: Target the adjusted upper zone (lime line)
- Short trades: Target the adjusted lower zone (red line)
- Alternatively, target the basis line (yellow) for conservative exits
5. **Set Stop Loss**
- Long trades: Below recent swing low minus 1 ATR
- Short trades: Above recent swing high plus 1 ATR
**For Mean Reversion Traders:**
1. **Wait for Extreme Zones**
- Price touches extreme lower zone (dotted red line below)
- Price touches extreme upper zone (dotted lime line above)
2. **Confirm with Psychology**
- At lower extreme: Look for Panic or Despair state
- At upper extreme: Look for Euphoria or Greed state
3. **Wait for Confidence Build**
- Monitor dashboard until confidence exceeds threshold
- Requires patience - extreme touches don't always reverse immediately
4. **Enter Reversal**
- Target: Return to basis line (yellow SMA 20)
- Stop: Beyond the extreme zone
**For Position Traders (Longer Timeframes):**
1. **Use Daily Timeframe**
- Set chart to daily for longer-term signals
- Signals will be less frequent but higher quality
2. **Require High Confidence**
- Filter setting: Min Confidence Score 80%+
- Only take the strongest multi-dimensional setups
3. **Confirm with Resonance Background**
- Green tinted background = All timeframes bullish aligned
- Red tinted background = All timeframes bearish aligned
- Only enter when background tint matches signal direction
4. **Hold for Major Targets**
- Long trades: Hold until extreme upper zone or opposite signal
- Short trades: Hold until extreme lower zone or opposite signal
---
## 📊 DASHBOARD INTERPRETATION
The QMH Dashboard (top-right corner) provides real-time market analysis across all four dimensions:
### Dashboard Elements:
1. **✓ NO REPAINT**
- Green confirmation that signals don't repaint
- Always visible to remind users of signal integrity
2. **SIGNAL: BULL/BEAR XX%**
- Shows dominant direction (whichever confidence is higher)
- Displays current confidence percentage
- Background color intensity reflects confidence level
3. **Psychology: **
- Current market emotional state
- Color coded:
- Orange = Euphoria (extreme bullish emotion)
- Yellow = Greed (moderate bullish emotion)
- Gray = Neutral (balanced state)
- Purple = Fear (uncertainty)
- Red = Panic (extreme bearish emotion)
- Dark red = Despair (capitulation)
4. **Resonance: **
- Multi-timeframe alignment strength
- Positive = All timeframes bullish aligned
- Negative = All timeframes bearish aligned
- Near zero = Timeframes not synchronized
- Emoji indicator: 🔥 (bullish resonance) ❄️ (bearish resonance)
5. **Intermarket: **
- Cross-asset pressure measurement
- Positive = BTC/DXY/VIX correlations supporting upside
- Negative = Correlations supporting downside
- Warning ⚠️ if correlation breakdown detected
6. **RSI: **
- Current RSI(14) reading
- Background colors: Red (>70 overbought), Green (<30 oversold)
- Status: OB (overbought), OS (oversold), or • (neutral)
7. **Status: READY BUY / READY SELL / WAIT**
- Quick trade readiness indicator
- READY BUY: Confidence ≥ threshold, bias bullish
- READY SELL: Confidence ≥ threshold, bias bearish
- WAIT: Confidence below threshold
### How to Use Dashboard:
**Before Entering a Trade:**
- Verify Status shows READY (not WAIT)
- Check that Resonance matches signal direction
- Confirm Psychology isn't contradicting (e.g., buying during Euphoria)
- Note Intermarket value - breakdowns (⚠️) suggest caution
**During a Trade:**
- Monitor Psychology shifts (e.g., from Fear to Greed in a long)
- Watch for Resonance changes that could signal exit
- Check for Intermarket breakdown warnings
---
## ⚙️ CUSTOMIZATION SETTINGS
### TFR Settings (Temporal Fractal Resonance)
- **Enable/Disable**: Turn TFR analysis on/off
- **Fractal Sensitivity** (5-50, default 14):
- Lower values = More responsive to short-term changes
- Higher values = More stable, slower to react
- Recommendation: 14 for balanced, 7 for scalping, 21 for position trading
### CAQE Settings (Cross-Asset Quantum Entanglement)
- **Enable/Disable**: Turn CAQE analysis on/off
- **Asset 1** (default BTC): Reference asset for correlation analysis
- **Asset 2** (default DXY): Second reference asset
- **Asset 3** (default VIX): Third reference asset
- **Correlation Length** (10-100, default 20):
- Lower values = More sensitive to recent correlation changes
- Higher values = More stable correlation measurements
- Recommendation: 20 for most assets, 50 for less volatile markets
### Psychology Settings (Adaptive Market Psychology Matrix)
- **Enable/Disable**: Turn AMPM analysis on/off
- **Volume Spike Threshold** (1.0-5.0x, default 2.0):
- Lower values = Detect smaller volume increases as spikes
- Higher values = Only flag major volume surges
- Recommendation: 2.0 for stocks, 1.5 for crypto
### Probability Settings (Time-Decay Probability Zones)
- **Enable/Disable**: Turn TDPZ visualization on/off
- **Probability Lookback** (20-200, default 50):
- Lower values = Zones adapt faster to recent price action
- Higher values = Zones based on longer statistical history
- Recommendation: 50 for most uses, 100 for position trading
### Filter Settings
- **Min Confidence Score** (40-95%, default 60%):
- Lower threshold = More signals, more false positives
- Higher threshold = Fewer signals, higher quality
- Recommendation: 60% for active trading, 75% for selective trading
### Visual Settings
- **Show Entry Signals**: Toggle QBUY/QSELL labels on chart
- **Show Probability Zones**: Toggle zone visualization
- **Show Psychology State**: Toggle dashboard display
---
## 🔔 ALERT CONFIGURATION
QMH includes four alert conditions that can be configured via TradingView's alert system:
### Available Alerts:
1. **Quantum Buy Signal**
- Fires when: Confirmed QBUY signal generates
- Message includes: Confidence percentage
- Use for: Entry notifications
2. **Quantum Sell Signal**
- Fires when: Confirmed QSELL signal generates
- Message includes: Confidence percentage
- Use for: Entry notifications or exit warnings
3. **Market Panic**
- Fires when: Psychology state reaches Panic
- Use for: Contrarian opportunity alerts
4. **Market Euphoria**
- Fires when: Psychology state reaches Euphoria
- Use for: Reversal warning alerts
### How to Set Alerts:
1. Right-click on chart → "Add Alert"
2. Condition: Select "Quantum Market Harmonics"
3. Choose alert type from dropdown
4. Configure expiration, frequency, and notification method
5. Create alert
**Recommendation**: Set alerts for Quantum Buy/Sell signals with "Once Per Bar Close" frequency to avoid intra-bar false triggers.
---
## 💡 BEST PRACTICES
### For All Users:
1. **Backtest First**
- Test on your specific market and timeframe before live trading
- Different assets may perform better with different confidence thresholds
- Verify that the No Repaint guarantee works as described
2. **Paper Trade**
- Practice with signals on a demo account first
- Understand typical signal frequency for your timeframe
- Get comfortable with the dashboard interpretation
3. **Risk Management**
- Never risk more than 1-2% of capital per trade
- Use proper stop losses (not just mental stops)
- Position size based on confidence score (larger size at higher confidence)
4. **Consider Context**
- QMH signals work best in clear trends or at extremes
- During tight consolidation, false signals increase
- Major news events can invalidate technical signals
### Optimal Use Cases:
**QMH Works Best When:**
- ✅ Markets are trending (up or down)
- ✅ Volatility is normal to elevated
- ✅ Price reaches probability zone extremes
- ✅ Multiple timeframes align
- ✅ Clear inter-market relationships exist
**QMH Is Less Effective When:**
- ❌ Extremely low volatility (zones contract too much)
- ❌ Sideways choppy markets (conflicting timeframes)
- ❌ Flash crashes or news events (correlations break down)
- ❌ Very illiquid assets (irregular price action)
### Session Considerations:
- **24/7 Markets (Crypto)**: Works on all sessions, but signals may be more reliable during high-volume periods (US/European trading hours)
- **Forex**: Best during London/New York overlap when volume is highest
- **Stocks**: Most reliable during regular trading hours (not pre-market/after-hours)
---
## ⚠️ LIMITATIONS AND RISKS
### This Indicator Cannot:
- **Predict Black Swan Events**: Sudden unexpected events invalidate technical analysis
- **Guarantee Profits**: No indicator is 100% accurate; losses will occur
- **Replace Risk Management**: Always use stop losses and proper position sizing
- **Account for Fundamental Changes**: Company news, economic data, etc. can override technical signals
- **Work in All Market Conditions**: Less effective during extreme low volatility or major news events
### Known Limitations:
1. **Multi-Timeframe Lag**: Uses confirmed bars (`close `), so signals appear one bar after conditions met
2. **Correlation Dependency**: CAQE requires sufficient history; may be less reliable on newly listed assets
3. **Computational Load**: Multiple `request.security()` calls may cause slower performance on older devices
4. **Repaint of Dashboard**: Dashboard updates every bar (by design), but signals themselves don't repaint
### Risk Warnings:
- Past performance doesn't guarantee future results
- Backtesting results may not reflect actual trading results due to slippage, commissions, and execution delays
- Different markets and timeframes may produce different results
- The indicator should be used as a tool, not as a standalone trading system
- Always combine with your own analysis, risk management, and trading plan
---
## 🎓 EDUCATIONAL CONCEPTS
This indicator synthesizes several established financial theories and technical analysis concepts:
### Academic Foundations:
1. **Fractal Market Hypothesis** (Edgar Peters)
- Markets exhibit self-similar patterns across time scales
- Implemented via multi-timeframe resonance analysis
2. **Behavioral Finance** (Kahneman & Tversky)
- Investor psychology drives market inefficiencies
- Implemented via market psychology state classification
3. **Intermarket Analysis** (John Murphy)
- Asset classes correlate and influence each other predictably
- Implemented via cross-asset correlation monitoring
4. **Mean Reversion** (Statistical Arbitrage)
- Prices tend to revert to statistical norms
- Implemented via probability zones and standard deviation bands
5. **Multi-Timeframe Analysis** (Technical Analysis Standard)
- Higher timeframe trends dominate lower timeframe noise
- Implemented via fractal resonance scoring
### Learning Resources:
To better understand the concepts behind QMH:
- Read "Intermarket Analysis" by John Murphy (for CAQE concepts)
- Study "Thinking, Fast and Slow" by Daniel Kahneman (for psychology concepts)
- Review "Fractal Market Analysis" by Edgar Peters (for TFR concepts)
- Learn about Bollinger Bands (for TDPZ foundation)
---
## 🔄 VERSION HISTORY AND UPDATES
**Current Version: 1.0**
This is the initial public release. Future updates will be published using TradingView's Update feature (not as separate publications). Planned improvements may include:
- Additional reference assets for CAQE
- Optional machine learning-based weight optimization
- Customizable psychology state definitions
- Alternative probability zone calculations
- Performance metrics tracking
Check the "Updates" tab on the script page for version history.
---
## 📞 SUPPORT AND FEEDBACK
### How to Get Help:
1. **Read This Description First**: Most questions are answered in the detailed sections above
2. **Check Comments**: Other users may have asked similar questions
3. **Post Comments**: For general questions visible to the community
4. **Use TradingView Messaging**: For private inquiries (if available)
### Providing Useful Feedback:
When reporting issues or suggesting improvements:
- Specify your asset, timeframe, and settings
- Include a screenshot if relevant
- Describe expected vs. actual behavior
- Check if issue persists with default settings
### Continuous Improvement:
This indicator will evolve based on user feedback and market testing. Constructive suggestions for improvements are always welcome.
---
## ⚖️ DISCLAIMER
This indicator is provided for **educational and informational purposes only**. It does **not constitute financial advice, investment advice, trading advice, or any other type of advice**.
**Important Disclaimers:**
- You should **not** rely solely on this indicator to make trading decisions
- Always conduct your own research and due diligence
- Past performance is not indicative of future results
- Trading and investing involve substantial risk of loss
- Only trade with capital you can afford to lose
- Consider consulting with a licensed financial advisor before trading
- The author is not responsible for any trading losses incurred using this indicator
**By using this indicator, you acknowledge:**
- You understand the risks of trading
- You take full responsibility for your trading decisions
- You will use proper risk management techniques
- You will not hold the author liable for any losses
---
## 🙏 ACKNOWLEDGMENTS
This indicator builds upon the collective knowledge of the technical analysis and trading community. While the specific implementation and combination are original, the underlying concepts draw from:
- The Pine Script community on TradingView
- Academic research in behavioral finance and market microstructure
- Classical technical analysis methods developed over decades
- Open-source indicators that demonstrate best practices in Pine Script coding
Special thanks to TradingView for providing the platform and Pine Script language that make indicators like this possible.
---
## 📚 ADDITIONAL RESOURCES
**Pine Script Documentation:**
- Official Pine Script Manual: www.tradingview.com
**Related Concepts to Study:**
- Multi-timeframe analysis techniques
- Correlation analysis in financial markets
- Behavioral finance principles
- Mean reversion strategies
- Bollinger Bands methodology
**Recommended TradingView Tools:**
- Strategy Tester: To backtest signal performance
- Bar Replay: To see how signals develop in real-time
- Alert System: To receive notifications of new signals
---
**Thank you for using Quantum Market Harmonics. Trade safely and responsibly.**
ApexSignalsIve been working with pine code for a really long time now, took me about 6 months to build this script, hopefully it works well for you.very good for trading. will help you out a lot
Magnus Bestest 2This indicator is a sophisticated version of my Magnus Bestest signature move only as this script is highly advanced and has a huge amount of lines of code and structures so I had to create a new separate indicator for it. It signals only when there is a very nice liquidity and broken pivot points, confirming a truly nice trade opportunity.
My main indicator named Magnus Bestest is still working great and has all the other signals and alerts.
DISCLAIMER: I'm not a financial adviser and this is not a financial advise, just for educational purposed. Remember, most traders lose money.
Golden Ratio Trend Persistence PRO [EWT]Golden Ratio Trend Persistence PRO indicator provides a dynamic, self-adjusting Fibonacci retracement level based on the Golden Ratio (0.618), specifically designed to identify and track the persistence of major market trends. It is built on a core philosophy that a genuine trend will respect a key retracement level relative to its anchor point.
This is PRO version of the free GRTP Indicator
What's Extra in this PRO Version 🚀
This updated version introduces crucial tools for advanced analysis and execution:
Multi-Timeframe (MTF) Trend Table: A customizable table is displayed on the chart to provide an immediate summary of the indicator's trend direction across five key timeframes (1D, 4H, 1H, 15m, 5m), giving you instant insight into cross-market directional confluence.
Visual Range Plotting: The indicator now plots the Anchor Price (the initial pivot that established the trend) and the Extremity Price (the highest high or lowest low achieved since the trend began), visually defining the exact price range used for the Fibonacci calculation.
Trend Reversal Alerts: Dedicated alerts are included to notify you the moment the closing price crosses the dynamic Fibonacci level, signaling a potential trend reversal (Bullish → Bearish, or Bearish → Bullish).
Flexible Price Source: You can now choose whether the trend's extremity should be tracked using the High/Low (more sensitive) or the Close price (smoother).
How the Indicator Works
The Golden Ratio Trend Persistence (GRTP) indicator uses a non-repainting logic to define the trend:
Trend Establishment : The indicator uses the first confirmed Pivot High or Pivot Low (based on user-defined lookback periods) to establish a major trend direction:
First Pivot High → Downtrend
First Pivot Low → Uptrend
Re-Anchoring : Trend's starting 'Anchor Price' will move to new, stronger pivots (higher lows in an uptrend, lower highs in a downtrend). This makes the level more dynamic.
Dynamic Level Calculation : The indicator continuously tracks the Extremity Price (the new High in an uptrend, or new Low in a downtrend). The Dynamic Level is calculated using the Golden Ratio retracement (61.8%) by default, but can be configured to use other setting:
Uptrend: Support Level=Extremity Price−0.618×(Extremity Price−Anchor Price)
Downtrend: Resistance Level=Extremity Price+0.618×(Anchor Price−Extremity Price)
Trend Reversal : The trend state officially flips when the closing price crosses the Dynamic Level. This strict rule serves as an objective measure of trend invalidation and triggers the corresponding alert.
Cybertrading-Insidebar hunter pro robotThe Cybertrading-Inside Pro strategy is an advanced version of Cyber-Inside.
It automates ATR-based inside-bar trading with optional pullback entries, full risk/reward visualization, time filtering, pending-order handling, and fixed chart watermark branding (“CollegePips / CyberTrading”).
⚙️ Technical Overview
1. Core Structure
Uses ATR(14) to measure volatility and classify candle ranges.
Candles are labeled as Spinning, Standard, Long, or Huge based on their range vs. ATR.
Only valid candles (Standard or Long) qualify to confirm a setup.
2. Inside-Bar Logic
The setup requires the current candle’s high/low to be fully contained inside the previous candle (an inside bar).
A wick-break must occur — the wick slightly breaks the previous inside bar’s range while the body remains inside.
This pattern forms a Pierce-Only signal.
Direction:
Wick down → potential Long entry
Wick up → potential Short entry
3. Timing and Entry Conditions
With the time filter enabled, trades trigger only between defined hours (e.g., 07–22).
If Enable Pullback is on, the entry is placed using a limit order offset by pullbackATR × ATR from the signal candle.
If the pullback entry isn’t triggered within pullbackMaxBars, the pending order is canceled automatically.
You can also enable display-only entries without execution (Enable Entry Without Pullback).
4. Risk & Target Management
Stop loss is placed beyond the second-previous candle’s high/low ± stopBuffer × ATR.
Take-profit is based on the chosen risk/reward multiple (RR) or the previous candle’s high/low.
Position size auto-adjusts to keep total risk equal to riskPercent of equity.
5. Visual Components
Dynamic chart objects include:
Red box: risk zone (entry → stop)
Green/blue box: reward zone (entry → target)
Dotted diagonal line: risk-to-reward path
Arrows: actual fill points
6. Order Management System
Each signal creates a unique order ID (pendingId) and exit ID (planExitId).
On a valid fill (newLong / newShort), real stop, target, and position size are applied.
If an order isn’t filled within the timeout window, it’s canceled and reset automatically.
7. Advantages
✅ Smart inside-bar pattern recognition
✅ Automated risk control and dynamic sizing
✅ Clear visual feedback for analysis
✅ Fully backtest-ready for research or education
CyberTrading-Inside Hunt RobotThis Pine Script strategy, titled "Cyber-Inside", is a fully automated entry and risk management system built around inside bar pierce patterns and ATR-based dynamic stops/targets. It identifies specific candle formations, calculates position sizing based on risk percentage, and visually displays risk/reward zones and trade labels on the chart.
Detailed Explanation
1. Core Logic
The script searches for inside bars — candles whose high and low are contained within the previous bar — that appear after a valid “normal” or “long” range candle.
Then it waits for a wick pierce (a candle that breaks the previous inside bar's range slightly but closes inside).
That wick pierce acts as a potential reversal or continuation signal:
wickDown → possible long entry
wickUp → possible short entry
2. ATR-based Classification
Each candle is compared to the ATR(24):
Spinning (small) → below 0.8 × ATR
Standard → between 0.8× and 1.2× ATR
Long → between 1.2× and 2.5× ATR
Huge → above 2.5× ATR
Only certain candle types (standard or long) in the previous bars qualify for pattern validation.
3. Entry Conditions
A trade signal occurs when:
The current bar forms a wick pierce of a prior inside bar pattern.
No active position exists (strategy.position_size == 0).
Then:
For longs, entry at close, stop at previous low minus ATR buffer.
For shorts, entry at close, stop at previous high plus ATR buffer.
4. Risk Management
The stop distance defines the risk per trade, and the position size is adjusted dynamically so that only the chosen riskPercent (e.g., 1%) of equity is at risk.
If useRR is enabled, a take-profit target is placed using the defined risk/reward multiple (rr, e.g. 1:3).
If disabled, the target defaults to the previous candle’s high or low.
5. Visualization
The strategy visually marks:
Entry points (triangles)
Red box = risk zone (entry → stop)
Green box = reward zone (entry → target)
Optional diagonal and horizontal lines for clarity
Labels updated after trade closes with PnL values (profit or loss)
6. Application
This system helps traders:
Automate inside-bar breakout or reversal entries
Maintain strict risk-based position sizing
Visually assess trade zones and risk/reward areas
Backtest and evaluate performance consistency on various timeframes and assets
Bullmart Discounted Momentum 1.0detection of timeframe-specific patterns on manipulated coins, - screening for over-extension of pronounced directional movements against their usual natural growth-rate boundary
RBD + SMA/EMA/ORB + Buy/Sell ComboWhat is SMA (Simple Moving Average)?
The Simple Moving Average (SMA) smooths out price data by calculating the average closing price over a specific number of periods.
It helps identify trend direction and potential reversals.
📊 SMA 21 and SMA 50 Explained:
SMA Description Use
SMA 21 Short-term moving average (last 21 candles) Shows short-term trend and momentum
SMA 50 Medium-term moving average (last 50 candles) Shows medium-term trend and key support/resistance levels
⚙️ How to Use Them Together:
Bullish Signal (Buy) 🟢
When SMA 21 crosses above SMA 50, it’s called a Golden Cross → trend turning up.
Indicates potential buy or long opportunity.
Bearish Signal (Sell) 🔴
When SMA 21 crosses below SMA 50, it’s called a Death Cross → trend turning down.
Indicates potential sell or short opportunity.
Trend Confirmation:
Price above both SMAs → uptrend.
Price below both SMAs → downtrend.
Support/Resistance:
During uptrends, SMA 21 often acts as dynamic support.
During downtrends, SMA 50 can act as resistance.
⏱ Example (for 10-min Nifty chart):
If SMA 21 > SMA 50 and price trades above both → look for buy on dips.
If SMA 21 < SMA 50 and price stays below → look for sell on rise setups.
DOGE_TRYING_SCALP_V093dont use this
this is for my fri
he entire purpose of this indicator is to automate the difficult part of the strategy—finding the perfect two-candle setup. It makes trading the system simple, visual, and mechanical.
The Three Key Visuals on Your Chart
The indicator gives you three pieces of information. Understanding them is the key to using it effectively.
The Yellow Candle (The "Setup Candle")
What it is: This is the "Rejection Wick Candle." It's the first candle in the two-part pattern.
What it means: "Get Ready." A potential trade setup is forming, but it is NOT a signal to enter yet. It tells you that the market tried to push in one direction and failed.
Your Action: Do nothing. Simply pay close attention to the next candle that is forming.
The Signal Triangle (The "Entry Trigger")
What it is: A green "LONG" triangle below the candle or a red "SHORT" triangle above the candle.
What it means: "GO." This is your confirmation. It only appears after the candle following the yellow one has closed and confirmed the direction of the trade.
Your Action: This is your signal to enter the trade immediately at the market price.
The Stop Loss Line (The "Safety Net")
What it is: A solid green or red line that appears at the same time as the Signal Triangle.
What it means: This is the exact price where your initial Stop Loss should be placed. The indicator calculates it for you automatically based on the rules.
Your Action: After entering the trade, place your Stop Loss order at this price level.
Step-by-Step Guide to Trading a LONG (Buy) Signal
Let's walk through a live example.
Step 1: The Setup Appears
You are watching the 15-minute chart. The price has been dropping. Suddenly, a candle with a long lower wick closes and the indicator colors it YELLOW.
What this tells you: The sellers tried to push the price down, but buyers stepped in and rejected the lower prices. This is a potential bottom.
Your Action: Do nothing yet. You are now waiting for confirmation.
Step 2: The Confirmation and Entry Trigger
You wait for the next 15-minute candle to complete. It closes as a green (bullish) candle. The moment it closes, three things appear instantly:
A green "LONG" triangle appears below that confirmation candle.
A solid green line appears at the low of the previous yellow candle.
The background of the two-candle pattern is shaded.
What this tells you: The rejection has been confirmed by bullish momentum. The system's rules for entry have been met.
Your Action:
Enter a BUY (Long) trade immediately.
Place your Stop Loss at the level of the solid green line.
Step 3: Manage the Trade
The indicator has done its job of getting you into a high-probability trade with a defined risk. Now, you manage the trade manually according to the strategy's rules (trailing your stop loss under the low of each new candle that makes a higher high).
Step-by-Step Guide to Trading a SHORT (Sell) Signal
Now, let's look at the opposite scenario.
Step 1: The Setup Appears
You are watching the 15-minute chart. The price has been rising. A candle with a long upper wick closes and the indicator colors it YELLOW.
What this tells you: The buyers tried to push the price up, but sellers took control and rejected the higher prices. This is a potential top.
Your Action: Wait for confirmation.
Step 2: The Confirmation and Entry Trigger
You wait for the next 15-minute candle to complete. It closes as a red (bearish) candle. The moment it closes, you will see:
A red "SHORT" triangle appear above that confirmation candle.
A solid red line appear at the high of the previous yellow candle.
The background of the pattern will be shaded.
What this tells you: The rejection has been confirmed by bearish momentum. It's time to sell.
Your Action:
Enter a SELL (Short) trade immediately.
Place your Stop Loss at the level of the solid red line.
Step 3: Manage the Trade
Just like before, your entry and initial risk are set. Your job now is to manage the trade by trailing your stop loss above the high of each new candle that makes a lower low.
Summary of the Workflow
Check H1 Trend (Optional but Recommended): Look at the 1-Hour chart to know if you should be favoring Buys or Sells.
Wait for Yellow: On the M15 chart, wait patiently for the indicator to color a candle yellow.
Wait for the Triangle: Wait for the next candle to close. If a green or red triangle appears, the setup is confirmed.
Execute: Enter your trade and immediately set your stop loss at the line the indicator provides.
Manage: Manage the rest of the trade manually.
Average Daily Range [Blaz]Version 1.0 – Published October 2025: Initial release
1. Overview & Purpose
The Average Daily Range is an advanced volatility assessment tool designed to give traders a clear, real-time view of the market's expected daily movement. It calculates the average range between daily highs and lows over a user-defined historical period and projects this average onto the current trading session.
By visualising the potential high and low boundaries for the day, this indicator assists in setting realistic profit targets, managing risk effectively, and identifying when price action is becoming overextended relative to its recent volatility profile. It is an essential tool for day traders and swing traders across all markets, including Forex, Stocks, Crypto, Futures, and Commodities.
2. Core Functionality & Key Features
The indicator provides a dynamic, multi-faceted analysis of daily volatility:
Historical ADR Calculation: Automatically computes the Average Daily Range based on the specified number of previous trading days (configurable from 1 to 20).
Real-Time Range Tracking: Monitors and displays the current day's live price range as it develops.
Percentage Used Metric: Shows the percentage of the historical ADR that the current day's range has already consumed, providing an immediate gauge of remaining volatility potential.
Remaining Range Projection: Visually highlights the potential upward and downward movement remaining to meet the average range, displayed as semi-transparent areas on the chart.
Daily Open Reference: Plots customisable vertical separation lines and horizontal price lines at the daily open to clearly anchor the current session's price action.
3. Visual Components & Analytical Insights
A fully configured Average Daily Range setup displays several key analytical components that work together to provide a comprehensive volatility overview.
3.1. Information Table
A highly customizable data table provides a concise summary of all critical metrics at a glance:
Historical Ranges: Displays the individual daily ranges for the selected lookback period.
ADR Value: The calculated average range.
Today's Range: The live, developing range for the current session.
% Used: A colour-coded percentage (turning orange upon exceeding 100% and red upon exceeding 150%) showing how much of the average volatility has been consumed.
3.2. Visual Range Projections
Remaining Range Zones: When the current day's range is below the historical average, semi-transparent zones extend from the current day's extreme high and low, illustrating the additional movement required to reach the ADR. This provides an instant visual cue for potential target zones.
Daily Open Markers: Clean, customisable lines mark the start of each trading day (vertical line) and the daily open price (horizontal line), helping to contextualise intraday price moves.
4. Input Parameters and Settings
4.1. General Settings
Lookback: Set the number of days used to calculate the Average Daily Range (1-20).
Set Alert: Configure alerts to be notified when the current day's range consumes a significant portion (e.g., 100% or more) of the historical ADR.
4.2. Table Customization
Visibility & Style: Toggle the table and historical data on/off. Fully customise the header and body colours, text colours, border style, and font sizes.
Placement & Orientation: Precisely position the table anywhere on the chart (Top/Bottom/Centre, Left/Right) and choose between Horizontal or Vertical layout to best suit your chart layout.
4.3. Visual Style Controls
Remaining Range: Toggle the projection zones on/off and customise their colour and transparency.
Daily Open Markers: Independently control the visibility, colour, style, and width of the daily separation line and the open price line.
5. Protected Logic & Original Design
The Average Daily Range indicator incorporates proprietary logic for efficiently tracking intraday extremes, managing historical data arrays, and dynamically rendering visual elements. The closed-source nature of this tool protects the author's original code structure and optimisation techniques, particularly the real-time area fill projection logic for the remaining daily range and the dynamic table management system. This ensures the indicator remains performant and reliable while being freely accessible to the entire TradingView community.
6. Disclaimer & Terms of Use
This indicator, titled Average Daily Range , has been independently developed by the author. The code and its structural logic are original and were written entirely from scratch to reflect a unique and efficient approach to volatility analysis. The internal mechanics were written from scratch and are not based on any publicly available script or third-party code.
This tool is provided solely for educational and informational purposes. It is not intended as financial advice, investment guidance, or a specific recommendation to buy or sell any financial instrument. The indicator is designed to assist with technical analysis based on volatility but does not guarantee accuracy or profitability.
Trading financial markets involves significant risk, including the possibility of loss of capital. By using this indicator, you acknowledge and accept that you are solely responsible for any decisions you make and for all trading outcomes. No part of this script should be considered a signal or assurance of success in the market.
WSH - Calvin / Scott EMA'sProvides EMA's as described by Calvin Hill along with some other EMA's including Hull, SSMA and some settings to turn on or off some of the noise.






















