MACD crossover while RSI Oversold/Overbought# MACD Crossover with RSI Overbought/Oversold Indicator Explained
## Indicator Overview
This is a trading signal system that combines two classic technical indicators: **MACD (Moving Average Convergence Divergence)** and **RSI (Relative Strength Index)**. Its core logic is: MACD crossover signals are only triggered when RSI is in extreme zones (overbought/oversold), thereby filtering out many false signals and improving trading accuracy.
## Core Principles
### 1. **Dual Confirmation Mechanism**
This indicator doesn't use MACD or RSI alone, but requires both conditions to be met simultaneously:
- **Short Signal (Orange Triangle)**: MACD bearish crossover (fast line crosses below signal line) + RSI was overbought (≥71)
- **Long Signal (Green Triangle)**: MACD bullish crossover (fast line crosses above signal line) + RSI was oversold (≤29)
### 2. **RSI Memory Function**
The indicator checks the RSI values of the current and past 5 candlesticks. As long as any one of them reaches the overbought/oversold level, the condition is satisfied. This design avoids overly strict requirements, as RSI may have already left the extreme zone before the MACD crossover occurs.
```pine
wasOversold = rsi <= 29 or rsi <= 29 or ... or rsi <= 29
wasOverbought = rsi >= 71 or rsi >= 71 or ... or rsi >= 71
```
## Parameter Settings
### MACD Parameters
- **Fast MA**: 12 periods (adjustable 7-∞)
- **Slow MA**: 26 periods (adjustable 7-∞)
- **Signal Line**: 9 periods
### RSI Parameters
- **Oversold Threshold**: 29 (traditional 30)
- **Overbought Threshold**: 71 (traditional 70)
- **Calculation Period**: 14
## Visual Elements
### 1. **Signal Markers**
- 🔻 **Orange Downward Triangle**: Appears above the candlestick, labeled "overbought", indicating a shorting opportunity
- 🔺 **Green Upward Triangle**: Appears below the candlestick, labeled "oversold", indicating a long opportunity
### 2. **Price Level Lines**
- **Orange Dashed Line**: Extends rightward from the high of the short signal, serving as a potential resistance level
- **Green Dashed Line**: Extends rightward from the low of the long signal, serving as a potential support level
Each time a new signal appears, the old level line is deleted, keeping only the most recent reference line.
## Trading Logic Explained
### Short Signal Scenario
1. Price rises, RSI surges above 71 (market overheated)
2. Momentum subsequently weakens, MACD fast line crosses below signal line
3. Indicator draws an orange triangle at the high, alerting to reversal risk
4. Orange dashed line marks the high point of the short entry position
### Long Signal Scenario
1. Price falls, RSI drops below 29 (market oversold)
2. Selling pressure exhausted, MACD fast line crosses above signal line
3. Indicator draws a green triangle at the low, suggesting a rebound opportunity
4. Green dashed line marks the low point of the long entry position
## Advantages and Limitations
### ✅ Advantages
- **Filters Noise**: Reduces false signals through dual confirmation
- **Captures Reversals**: Catches trend reversals in extreme conditions
- **Visual Clarity**: Level lines help identify support/resistance
- **Built-in Alerts**: Can set up message push notifications
### ⚠️ Limitations
- **Lag**: Both indicators are lagging, signals may be delayed
- **Poor Performance in Ranging Markets**: Prone to whipsaws during consolidation
- **Needs Other Analysis**: Should not be the sole decision-making basis
- **Parameter Sensitivity**: Different markets and timeframes may require parameter adjustments
## Practical Trading Suggestions
1. **Confirm Trend Context**: Counter-trend signals carry high risk in strong trending markets
2. **Combine with Candlestick Patterns**: Confirm with patterns (such as engulfing, hammer candles)
3. **Set Stop Losses**: Use level lines as stop-loss references (long stop below green line, short stop above orange line)
4. **Watch Volume**: Signals accompanied by high volume are more reliable
5. **Multi-Timeframe Verification**: Signals appearing simultaneously on daily and 4-hour charts are more credible
## Summary
This indicator follows the "mean reversion from extremes" philosophy, seeking reversal opportunities when market sentiment becomes excessive. It's suitable for auxiliary judgment, particularly in swing trading and position trading strategies. But remember, no indicator is perfect—always combine risk management and multi-dimensional analysis when making trading decisions
Indicateurs et stratégies
Trend Bars with Counter Table# TradingView Trend Bar Indicator Explained
## Indicator Overview
This is a TradingView indicator designed to identify and count **Trend Bars**. It not only visually marks strong bullish and bearish bars on the chart but also displays a data table in the upper right corner that tracks the distribution of trend bars across different periods, helping traders quickly assess market bias.
## Core Concept: What is a Trend Bar?
The indicator defines two types of trend bars:
### Bull Trend Bar
- **Condition**: Close > Open (bullish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
```
Body Length = |Close - Open|
Total Candle Range = High - Low
Criteria: Body Length ≥ 0.75 × Total Candle Range
```
This means both upper and lower wicks are very short, representing a very strong bullish candle.
### Bear Trend Bar
- **Condition**: Close < Open (bearish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
Similarly, this represents a strong bearish candle with minimal wicks and a full body.
## Visual Markers
The indicator marks qualifying candles with:
- **Green upward arrow**: Bull trend bar, appears below the candle
- **Red downward arrow**: Bear trend bar, appears above the candle
## Statistical Function
The indicator uses a **rolling array** (storing up to 1000 trend bars) to track historical data, then counts trend bar distribution across 5 different periods:
| Period | Statistical Range |
|--------|------------------|
| Group 1 | Last 7 trend bars |
| Group 2 | Last 15 trend bars |
| Group 3 | Last 21 trend bars |
| Group 4 | Last 29 trend bars |
| Group 5 | Last 35 trend bars |
**Note**: This counts "the last N trend bars," not "the last N candles." Only candles meeting the trend bar criteria are included.
## Data Table Interpretation
The table in the upper right corner contains 5 columns:
1. **Last N**: The set statistical range (7, 15, 21, 29, 35)
2. **Total**: Actual number of trend bars counted (may be less than target initially)
3. **Bull**: Number of bull trend bars (displayed in green)
4. **Bear**: Number of bear trend bars (displayed in red)
5. **Bias**: Market bias
- "bull" (green): More bull trend bars
- "bear" (red): More bear trend bars
## Practical Applications
### 1. Assess Short-term Momentum
Check the distribution of the last 7 trend bars. If bull trend bars dominate (e.g., 5:2), it indicates strong short-term buying pressure.
### 2. Identify Trend Strength
If multiple periods show the same Bias direction, the trend is very clear. For example, all 5 periods showing "bull" is a strong upward signal.
### 3. Spot Trend Reversals
When short-term bias (7 bars) opposes long-term bias (35 bars), it may signal a trend change in progress.
### 4. Combine with Other Indicators
Use this indicator alongside moving averages, support/resistance levels, and other tools to improve trading decision accuracy.
## Technical Highlights
- **Dynamic Array Management**: Uses `array.unshift()` to add new data at the array's beginning, ensuring the latest trend bars are always first
- **Efficient Statistics**: Quickly calculates bull/bear distribution through loop iteration over specified array ranges
- **Adaptive Display**: Shows actual available count when historical data is insufficient
- **Real-time Updates**: Only updates the table on the last bar to avoid unnecessary calculations
## Conclusion
The core value of this indicator lies in **quantifying price action**. By identifying strong candles with full bodies and clear direction, then tracking their distribution, traders can quickly grasp the balance of market forces and make more informed trading decisions. Whether for intraday trading or swing trading, this tool provides valuable reference information.
Zone Tap Counter: Support & Resistance StrengthWhat is this indicator?
This script is designed to help traders objectively monitor the strength and significance of price zones by counting and visualizing how many times price “taps” confirmed support and resistance levels. The indicator leverages swing high/low detection to automatically plot relevant zones and uses price tap frequency as an objective strength metric.
How does it work?
Zone Identification:
The script uses the Pine Script functions ta.pivothigh and ta.pivotlow to detect confirmed swing highs and lows on your chart. Each swing high establishes a resistance zone, and each swing low establishes a support zone.
Only confirmed pivots are used, ensuring all signals are strictly non-repainting.
Tap Counting Logic:
For every candle, the indicator checks whether price touches (comes within a small, user-set tolerance) of any currently tracked support or resistance zone. To avoid counting repeated taps in the same move, the script ensures only unique bar taps are registered.
Each time price taps a zone, a counter for that zone is incremented.
Both the tolerance for taps (percentage-based), and the depth/history of zones tracked are fully adjustable in settings.
Visual Feedback:
Zones with more taps are drawn darker (lower transparency), making it easy to spot the strongest/hardest-tested levels on the chart.
A label on each zone displays the current tap count (e.g., "3x"), giving direct feedback about which support/resistance are most significant in the current view.
Only recent zones (user-configurable) are shown to keep charts clear and useful.
How to use it:
Add the indicator to your TradingView chart.
Set the swing length and tap tolerance in settings to match your market or timeframe (short swing length for scalping, longer swings for bigger structure).
Watch for zones with high tap counts and darker lines: These zones represent areas where price has repeatedly reacted, suggesting they may be important for your trading decisions.
You can adjust the minimum number of taps needed for a zone to be highlighted and the number of zones to display for your preferred visual clarity.
Combine this tool with other analysis for confirmation—tap counts should not be seen as trading signals, but as supporting information.
Originality & Calculation Details:
This script does NOT simply merge or overlay existing indicators. The calculation method is original: it uses swing-based support/resistance and applies unique tap-count logic, designed for objective zone strength visualization.
No repainting logic is present.
All code and visualization methods are documented and transparent.
Disclaimer:
This indicator is for educational and analytical purposes only. It does not predict future price movement, guarantee profits, or recommend specific trades. Always use your own analysis and risk management. See TradingView’s House Rules for more details.
Aroon RSI Logic — Customizable + No-Trade RSI ZoneThis indicator — **“Aroon RSI Logic — Customizable + No-Trade RSI Zone”** — is designed to help traders identify high-probability turning points in the market by combining **trend momentum (Aroon)** with **relative strength dynamics (RSI)**, while also protecting against emotional or impulsive trading through structured filters and psychological safeguards.
---
### 🧠 **Concept Overview**
At its core, the system balances **trend confirmation** with **momentum moderation**. It seeks to enter trades only when technical alignment suggests both exhaustion of a recent move and early signs of a potential reversal — while filtering out market noise and emotionally driven trades in neutral or extreme conditions.
This design encourages **discipline**, **patience**, and **objectivity**, three of the most critical psychological traits of successful traders.
---
### 📊 **Core Components**
#### 1. **Aroon Structure Awareness**
The Aroon indicator measures how recently price has reached a new high or low within a specific period, reflecting trend strength and potential exhaustion.
* When **Aroon Down** approaches the predefined target level, it suggests the market has not made new lows for several bars — an early indication that bearish momentum may be fading.
* Conversely, when **Aroon Up** nears the target, bullish strength may be waning.
This mechanism trains the trader’s mind to **look for transitions** — moments when dominant sentiment begins to lose control.
---
#### 2. **RSI Momentum Confirmation**
The RSI (Relative Strength Index) and its smoothed version act as dual filters to confirm emotional extremes and trend shifts in momentum.
* When RSI significantly diverges from its smoothed version, it often reflects **emotional spikes** or **unsustainable acceleration**.
* The system only allows trades when the RSI difference remains within a defined limit, fostering entries during **balanced, rational phases** of the market rather than moments of panic or euphoria.
This approach supports **emotional discipline**, discouraging entries when crowd psychology dominates decision-making.
---
#### 3. **No-Trade RSI Zone**
A critical safeguard is the **“No-Trade Zone”**, defined by specific RSI thresholds.
When RSI is too low (oversold) or too high (overbought), traders are often tempted to act impulsively — either out of fear or greed.
By preventing entries during these phases, the indicator helps traders **avoid psychological traps** such as:
* Chasing reversals prematurely.
* Getting caught in continuation moves driven by crowd emotion.
It reinforces a mindset of **restraint** and **selective participation**.
---
#### 4. **Time-Based Discipline Filter**
The session filters allow trading only within designated market hours (for example, morning and afternoon sessions).
This enforces **structured activity**, reducing exposure to low-volume, erratic periods when decision fatigue or overtrading tendencies often arise.
It mirrors the behavior of professional traders who work within time-framed playbooks rather than emotional impulses.
---
### 🟢 **Buy Logic**
Buy opportunities arise when:
* Downward momentum (Aroon Down) weakens near the target level,
* RSI behavior supports balanced momentum or mild recovery, and
* Emotional extremes are absent.
This combination reflects a **calm, data-driven reversal environment**, ideal for contrarian but controlled entries.
---
### 🔴 **Sell Logic**
Sell signals appear when:
* Upward momentum (Aroon Up) softens around the target,
* RSI confirms slowing bullish pressure, and
* Market sentiment shows fatigue without panic.
It aligns with a **psychologically sound exit or shorting scenario**, avoiding reactionary decisions.
---
### 🧩 **Psychological Philosophy**
This tool isn’t just a signal generator — it’s a **trader’s behavioral framework**.
By combining structured logic, volatility filters, and emotional control zones, it helps cultivate:
* **Patience** to wait for qualified setups.
* **Confidence** to act when all conditions align.
* **Detachment** from impulsive market movements.
It transforms trading from a reactive habit into a **strategic execution process** rooted in logic and emotional balance.
---
Momentum Squeeze Candle [Darwinian]# Momentum Squeeze Candle
Professional squeeze detection indicator with Wyckoff accumulation/distribution analysis and multi-method momentum signals.
## Overview
Identifies volatility compression (squeeze) periods and provides intelligent momentum direction signals based on institutional accumulation/distribution patterns.
## Features
6 Squeeze Detection Methods:
• BB + KC (Classic) - John Carter's TTM Squeeze
• ATR Ratio - Volatility compression detection
• Choppiness Index - Ranging vs trending analysis
• BB Width - Bollinger Band contraction
• Volume Contraction - Drying volume detection
• Hybrid Multi-Method - Ensemble approach (3+ methods must agree)
Smart Momentum Direction:
• Priority 1: Wyckoff signals (ATR compression + volume analysis)
• Priority 2: RSI momentum (55/45 thresholds)
• Priority 3: Hybrid slope + momentum confirmation
Visual Indicators:
• Blue candle coloring during squeeze
• Green circles = Bullish momentum (accumulation detected)
• Red circles = Bearish momentum (distribution detected)
• Optional BB/KC band overlay
## How It Works
Wyckoff Accumulation (Bullish):
ATR compressing + volume drying + price holding above MA = Smart money accumulating
→ Green circle signals
Wyckoff Distribution (Bearish):
ATR expanding + volume surging + price failing below MA = Smart money distributing
→ Red circle signals
## Recommended Settings
Swing Trading (Daily/4H):
Method: BB + KC or Hybrid | Sensitivity: 1.2-1.5
Day Trading (15m-1H):
Method: ATR Ratio or BB Width | Sensitivity: 0.8-1.0
Scalping (1m-5m):
Method: Volume Contraction | Sensitivity: 0.7-0.9
High Probability:
Method: Hybrid Multi-Method | Min Score: 4/5 | Sensitivity: 1.5
## Key Advantages
✓ Multiple squeeze detection algorithms for different market conditions
✓ Wyckoff methodology for institutional activity detection
✓ Priority-based momentum system reduces false signals
✓ Clean, optimized code (70% faster than typical indicators)
✓ Fully customizable sensitivity and visual settings
## Usage
1. Choose squeeze detection method based on your trading style
2. Watch for blue candles (squeeze active)
3. Monitor momentum signals:
- Green circles below bars = Accumulation phase (bullish)
- Red circles below bars = Distribution phase (bearish)
4. Trade the breakout in the direction of momentum signals
## Notes
• All inputs hidden from status line by default for clean charts
• Works on all timeframes and asset classes
• Combine with your trading strategy for confirmation
• Best results when multiple priority signals align
Perfect for traders looking to identify consolidation periods and predict breakout direction using institutional accumulation/distribution patterns.
鲨鱼交易指标(创始版)If you need more good indicators, please contact me.
需要更多无敌指标,请联系我:
钉钉:shayv888
wx:19117160239
tg:@SYSY11123
鲨鱼交易指标(创始版)If you need more good indicators, please contact me.
需要更多无敌指标,请联系我:
钉钉:shayv888
wx:19117160239
tg:@SYSY11123
FVG ATRFVG ATR — Fair Value Gap Size Measured in ATR Units
This Pine Script v6 indicator detects Fair Value Gaps and displays their size as a ratio of the Average True Range, providing traders with a normalized measurement of gap significance across different market conditions and timeframes.
Key Features
Automatic FVG Detection
The indicator identifies bullish and bearish Fair Value Gaps using the standard three-candle pattern. Bullish FVGs occur when the current low exceeds the high from two bars ago, while bearish FVGs occur when the current high falls below the low from two bars ago.
ATR Ratio Calculation
Each detected FVG is measured against the current Average True Range at the moment of detection. The ratio is displayed as a compact label next to the gap, showing values like "ATR: 0.75" or "ATR: 1.41". This normalization allows comparison of gap significance across volatile and calm market periods.
Minimal Visual Footprint
Labels are displayed directly on the chart without boxes or lines, using customizable text sizes from tiny to large. The default tiny size ensures the chart remains uncluttered while providing essential information at a glance.
Highly Customizable Display
All visual aspects are configurable through input parameters, including label position (top, middle, or bottom of gap), text size, text color, optional background, and horizontal offset from the detection candle.
Customizable Parameters
Detection Settings
Detect Bullish FVG: Enable or disable detection of bullish gaps. Default is enabled.
Detect Bearish FVG: Enable or disable detection of bearish gaps. Default is enabled.
Min Size (pips): Filter out small gaps below the specified threshold. One pip equals 10 ticks for most Forex pairs. Default is 10 pips.
ATR Calculation
ATR Period: Period length for Average True Range calculation. Default is 14, adjustable to match your trading strategy.
Label Settings
Label Position: Vertical placement of the text label relative to the FVG zone. Options are Top, Middle, or Bottom. Default is Middle.
Label Size: Text size from Tiny (smallest), Small, Normal, to Large. Default is Tiny for minimal chart clutter.
Text Color: Custom color for label text. Default is white for visibility on dark themes.
Show Background: Toggle to display labels with a colored background box or as transparent text only. Default is disabled for cleaner appearance.
Background Color: Custom color for label background when enabled. Default is semi-transparent gray.
Label Offset (bars): Horizontal distance in bars between the detection candle and the label. Set to 0 for labels directly on the candle, or increase for separation. Default is 0.
Recommended Use Cases
Multi-Timeframe Analysis
Compare FVG significance across different timeframes by observing ATR ratios. A 1.5 ATR gap on the 1-hour chart may indicate different significance than the same ratio on the daily chart.
Volatility-Adjusted Trading
Use ATR ratios to filter for only the most significant gaps. For example, only trade FVGs with ratios above 1.0 to focus on gaps larger than typical price movement.
Risk Management
Size positions based on gap magnitude relative to current volatility. Larger ATR ratios may warrant tighter stops or smaller position sizes.
Market Efficiency Analysis
Track how quickly and completely different-sized gaps get filled. Gaps with higher ATR ratios may take longer to fill or act as stronger support and resistance zones.
Technical Details
This indicator is written in Pine Script v6 and follows all recommended coding standards including strict 4-space indentation, lazy boolean evaluation, and proper type declarations. The script uses array-based storage to maintain up to 500 labels simultaneously.
The ATR ratio is calculated at the moment of FVG detection and remains fixed, never repainting. The calculation divides the FVG height (distance between gap boundaries) by the current ATR value using the specified period. Division by zero is protected with conditional logic.
Label positioning uses the xloc.bar_index and yloc.price system for precise placement. The horizontal offset parameter allows traders to adjust label spacing based on chart zoom level and personal preference. Text formatting uses str.tostring with two decimal places for clear ratio display.
Important Notes
The indicator never repaints as all FVG detections and ATR calculations are fixed upon bar confirmation. Labels persist on the chart until the maximum label count is reached, at which point the oldest labels are automatically removed by TradingView.
For optimal performance on charts with many FVGs, consider increasing the minimum pip size filter or using smaller label sizes. The tiny size option provides the smallest possible text for maximum chart clarity.
Installation and Usage
Copy the source code into the TradingView Pine Editor and add the indicator to your chart. The overlay parameter is set to true, allowing labels to display directly on price candles. Configure all parameters through the indicator settings panel to match your trading style and visual preferences.
100% Pine Script v6 indicator — No repaint — Open source
RTH & Overnight ETH Levels (Configurable + Labels)Plots yesterday’s RTH high, low, close, today’s RTH open, and the latest overnight ETH high/low with fully customizable lines and floating labels.
Session High-Low Box,
Session High-Low Box Session High-Low Box indicatorSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low Boxwrtvtrvwrtv4v2tr2Session High-Low Box24v2v2Session High-Low Box
Label Temps Réel - Position Adaptative🕒 REAL-TIME CANDLE TIMESTAMP LABEL
Displays the current candle's date and time directly on your chart with automatic updates.
✨ KEY FEATURES:
• Automatic timestamp label at the bottom of the chart (like the price label on the right)
• Vertical line connecting the active candle to the timestamp
• Real-time updates: moves automatically with each new candle
• Adaptive positioning: works perfectly on ALL timeframes (1M to 1W+)
🎨 CUSTOMIZATION OPTIONS:
• Label Style: Rectangle, Arrow Up/Down, Circle
• Line Style: Solid, Dotted, Dashed
• Text Layout: Horizontal (1 line) or Vertical (2 lines)
• Colors: Independent label and line colors
• Size: Tiny to Huge label sizes
• Distance: Adjustable spacing (% of visible range)
📅 TIME FORMAT:
HH:MM - DD-MM (Hour:Minute - Day-Month)
No year displayed for cleaner visuals.
⚙️ TECHNICAL DETAILS:
• 100% Pine Script v6 compliant
• Zero lag or repainting
• Minimal resource usage (1 label + 1 line)
• Position calculated as percentage of visible range = always consistent visual placement
🎯 USE CASES:
Perfect for traders who need constant time awareness without cluttering the chart.
Especially useful for multi-timeframe analysis and session timing.
💡 NO CONFIGURATION NEEDED:
Add to chart → Works immediately. Customize later if desired.
---
Built with Pine Script v6 | Lightweight | Universal Compatibility
High/Low from Set Period with LabelsMark high and low from a set period.
I use it to mark Overnight Low and High of FDAX instrument, to achieve that :
- you need to use candle chart
- you need to use regular trading hours ( to include overnight trades )
- you need to set that on M2 timeframe
- you need to set time begin : 17:30
- you need to set time end : 08:58
- when it will be drawn in 09:02, then let extend it via a hand and then you can disable
Issues :
- it will be visible after finished miminum period time :
-- after 2 minutes on M2 ( 9:02 )
-- after 5 minutes on M5 ( 9:05 )
etc ...
Quantum Trend Guardian MTF📊 Descripción de Indicador: “Momentum Clarity”
Resumen:
Momentum Clarity es un indicador diseñado para identificar zonas de alta probabilidad de reversión o continuación de tendencia, combinando análisis de volumen, volatilidad y fuerza relativa. Ideal para traders que buscan claridad en momentos de indecisión del mercado.
Características principales:
• 🔍 Detecta divergencias entre precio y momentum.
• 📈 Señala zonas de sobrecompra y sobreventa con mayor precisión que el RSI tradicional.
• 🟢 Incluye alertas visuales para entradas y salidas potenciales.
• 🧠 Compatible con estrategias de scalping, swing y position trading.
Cómo usarlo:
• Utiliza las señales verdes para considerar entradas en largo y las rojas para cortos.
• Confirma con acción del precio y volumen antes de ejecutar.
• Ajusta la sensibilidad según el marco temporal y tu estilo de trading.
Ventajas:
• Reduce el ruido en mercados laterales.
• Mejora la toma de decisiones en zonas de congestión.
• Aumenta la confianza en escenarios de alta volatilidad
Absolutely! Here's the English version of the indicator description:
📊 Indicator Description: “Momentum Clarity”
Overview:
Momentum Clarity is a custom indicator designed to highlight high-probability zones for trend reversals or continuations by combining volume, volatility, and relative strength analysis. It’s ideal for traders seeking clarity during market indecision.
Key Features:
• 🔍 Detects divergences between price and momentum.
• 📈 Identifies overbought and oversold zones with greater precision than traditional RSI.
• 🟢 Includes visual alerts for potential entry and exit points.
• 🧠 Compatible with scalping, swing trading, and long-term strategies.
How to Use:
• Use green signals to consider long entries and red signals for short positions.
• Confirm with price action and volume before executing trades.
• Adjust sensitivity based on your timeframe and trading style.
Benefits:
• Reduces noise in sideways markets.
• Enhances decision-making in consolidation zones.
• Builds confidence in volatile environments.
If you’d like, I can tailor this description to match your specific indicator’s logic, name, and purpose. Just share a few details and I’ll refine it for publication.
DAX Sectors OverviewIt's a table with a realtime read of DAX sectors, their changes in the day, weight for the whole DAX index.
Weights are fixed values defined in the script - recommended to refresh them periodically.
Recent Swing High/Low Lines With Stats TableSwing-Based Volatility
This indicator measures volatility using the distance between recent swing highs and swing lows rather than fixed averages like ATR. Each swing captures a meaningful shift in market control, making this a structure-aware view of volatility.
The tool calculates and plots the average swing range over time, highlighting when the market is expanding (wide swings, high volatility) or contracting (tight swings, low volatility). These phases can help traders identify breakout potential, adjust stop-loss or profit targets, and align position sizing with current market conditions.
Large Order DetectionHow It Works:
Green diamonds appear below bullish candles (close > open) when large volume is detected
Red diamonds appear above bearish candles (close < open) when large volume is detected
Diamond size scales based on how much larger the volume is compared to the average:
Smallest: 2-2.5x average volume
Medium: 2.5-4x average volume
Larger: 4-6x average volume
Largest: 6x+ average volume
Features:
Customizable threshold - Default is 2x average volume, but you can adjust this
Adjustable lookback - Default 50 bars for calculating average volume
Size range control - Set minimum and maximum diamond sizes
Subtle background highlight - Shows when large orders occur
Built-in alerts - Can notify you when large orders are detected
Usage Tips:
Lower timeframes (1-5min) will show more frequent large orders
Increase threshold multiplier (2.5-3.0x) on high-volume assets to reduce noise
Watch for clusters of same-colored diamonds = strong directional pressure
Red diamonds at resistance + bearish EMAs = strong sell signal
Green diamonds at support + bullish EMAs = strong buy signal
Big Orders Detector (Smart Cluster v4)The Big Orders Detector (Smart Cluster v4) is a trading indicator designed to highlight unusually large market orders and potential institutional activity directly on price charts. It identifies candles with volumes significantly above the recent average and can detect clusters of consecutive high-volume bars that may indicate accumulation or distribution by large players. The indicator visualizes these events using circles, labels with estimated monetary values, and a mini dashboard showing the current status of market activity.
Potential ways to use this indicator:
Spotting large market moves: Traders can use it to identify sudden spikes in volume that might precede significant price movements.
Monitoring institutional activity: The “Smart Cluster” feature highlights potential clusters of high-volume bars, which may suggest institutional accumulation or distribution.
Supporting trade decisions: It can serve as an additional layer of information alongside other technical analysis tools, helping traders gauge market interest and momentum.
Alert setup: Users can configure alerts for large orders or clusters to stay informed without constantly monitoring the chart.
Important considerations:
Nothing in trading is certain. This indicator highlights volume anomalies and potential clusters, but it does not guarantee profits or predict market direction.
Trading always involves risk, including the loss of capital. Use this indicator as a supplementary tool rather than a standalone strategy.
Proper risk management, position sizing, and confirmation from other analyses are essential when making trading decisions.
In essence, this tool is for information and insight, helping traders observe where significant market activity occurs, while emphasizing caution and the inherent uncertainty of financial markets.
Force DashboardScalping Dashboard - Complete User Guide
Overview
This scalping system consists of two complementary TradingView indicators designed for intraday trading with no overnight holds:
Force Dashboard - Single-row table showing real-time market bias and entry signals
Large Order Detection - Visual diamonds showing institutional order flow
Together, they provide a complete at-a-glance view of market conditions optimized for quick entries and exits.
Recommended Timeframes
Primary Scalping Timeframes
1-minute chart: Ultra-fast scalps (30 seconds - 3 minutes hold time)
2-minute chart: Quick scalps (2-5 minutes hold time)
5-minute chart: Standard scalps (5-15 minutes hold time)
Best Practices
Use 1-2 minute for highly liquid instruments (ES, NQ, major forex pairs)
Use 5-minute for less liquid markets or if you prefer fewer signals
Never hold past the last hour of trading to avoid overnight risk
Set hard stop times (e.g., exit all positions by 3:45 PM EST)
Dashboard Components Explained
Core Indicators (Circles ●)
MACD (5/13/5)
Green ● = Bullish momentum (MACD histogram positive)
Red ● = Bearish momentum (MACD histogram negative)
Gray ● = No clear momentum
Use: Confirms trend direction and momentum shifts
EMA (9/20/50)
Green ● = Price > EMA9 > EMA20 (uptrend)
Red ● = Price < EMA9 < EMA20 (downtrend)
Gray ● = Choppy/sideways
Use: Identifies the immediate micro-trend
Stoch (5-period Stochastic)
Green ● = Oversold (<20) - potential reversal up
Red ● = Overbought (>80) - potential reversal down
Gray ● = Neutral zone (20-80)
Use: Spots reversal opportunities at extremes
RSI (7-period)
Green ● = Oversold (<30)
Red ● = Overbought (>70)
Gray ● = Neutral
Use: Confirms overbought/oversold conditions
CVD (Cumulative Volume Delta)
Green ● = CVD above its moving average (buying pressure)
Red ● = CVD below its moving average (selling pressure)
Gray ● = Neutral
Use: Shows overall buying vs selling pressure
ΔCVD (Delta CVD - Rate of Change)
Green ● = CVD accelerating upward (buying acceleration)
Red ● = CVD accelerating downward (selling acceleration)
Gray ● = No acceleration
Use: Detects momentum shifts in order flow
Imbal (Order Flow Imbalance)
Green ● = Buy pressure >2x sell pressure
Red ● = Sell pressure >2x buy pressure
Gray ● = Balanced
Use: Identifies extreme one-sided order flow
Vol (Volume Strength)
Green ● = Volume >1.5x average (strong interest)
Red ● = Volume <0.7x average (low interest)
Gray ● = Normal volume
Yellow background = Volume surge (>2x average) - BIG MOVE ALERT
Use: Confirms conviction behind price moves
Tape (Tape Speed)
Green ● = Fast order flow (>1.3x normal)
Red ● = Slow order flow (<0.7x normal)
Gray ● = Normal speed
Yellow background = Very fast tape (>1.5x) - RAPID EXECUTION ALERT
Use: Measures urgency and speed of orders
Key Levels
Support (Supp)
Shows the nearest high-volume support level below current price
Bright Green background = Price is AT support (within 0.3%) - BOUNCE ZONE
Green background = Price above support (healthy)
Red background = Price below support (broken support, now resistance)
Resistance (Res)
Shows the nearest high-volume resistance level above current price
Bright Orange background = Price is AT resistance (within 0.3%) - REJECTION ZONE
Red background = Price below resistance (facing overhead supply)
Green background = Price above resistance (breakout)
These levels update automatically every 3 bars based on volume profile
Entry Signal Components
Score
Displays format: "6L" (6 long indicators) or "4S" (4 short indicators)
Bright Green = 6-7 indicators aligned for long
Light Green = 5 indicators aligned for long
Yellow = 4 indicators aligned (weaker setup)
Gray = No alignment
Red/Orange colors = Same scale for short setups
Score of 5+ indicates high-probability setup
SCALP (Main Entry Signal)
BRIGHT GREEN "LONG" = High-quality long scalp (Score 5+)
Green "LONG" = Decent long scalp (Score 4)
BRIGHT ORANGE "SHORT" = High-quality short scalp (Score 5+)
Red "SHORT" = Decent short scalp (Score 4)
Gray "WAIT" = No clear setup - STAY OUT
Entry Strategies
Strategy 1: High-Probability Scalps (Conservative)
When to Enter:
SCALP column shows BRIGHT GREEN "LONG" or BRIGHT ORANGE "SHORT"
Score is 5 or higher
Vol or Tape has yellow background (volume surge)
Example Long Setup:
SCALP = BRIGHT GREEN "LONG"
Score = 6L
Vol = Yellow background
Price AT Support (bright green Supp cell)
EMA, MACD, CVD, ΔCVD, Imbal all green
Entry: Enter immediately on next candle
Target: 0.5-1% move or resistance level
Stop: Below support or -0.3%
Hold Time: 2-10 minutes
Strategy 2: Momentum Scalps (Aggressive)
When to Enter:
Tape has yellow background (fast tape)
Vol has yellow background (volume surge)
ΔCVD is green (for longs) or red (for shorts)
Imbal shows strong imbalance in your direction
Score is 4+
Example Short Setup:
Tape & Vol = Yellow backgrounds
ΔCVD = Red, Imbal = Red
Price AT Resistance (bright orange)
Score = 5S
Entry: Enter immediately
Target: Quick 0.3-0.7% move
Stop: Tight -0.2%
Hold Time: 1-5 minutes
Strategy 3: Reversal Scalps (Mean Reversion)
When to Enter:
Stoch shows oversold (green) or overbought (red)
RSI confirms the extreme
Price is AT Support (for longs) or AT Resistance (for shorts)
ΔCVD and Imbal start reversing direction
Score is 4+
Example Long Setup:
Stoch = Green (oversold)
RSI = Green (oversold)
Supp = Bright green (at support)
ΔCVD turns green
Imbal turns green
Score = 4L or 5L
Entry: Wait for confirmation candle
Target: Move back to EMA9 or mid-range
Stop: Below the low
Hold Time: 3-8 minutes
Large Order Detection Usage
Diamond Signals
Green diamonds below bar = Large buy orders (institutional buying)
Red diamonds above bar = Large sell orders (institutional selling)
Size matters: Larger diamonds = larger order flow
How to Use with Dashboard
Confirmation Entries
Dashboard shows "LONG" signal
Green diamond appears
Enter immediately - institutions are buying
Divergence Alerts (CAUTION)
Dashboard shows "LONG" signal
RED diamond appears (institutions selling)
DO NOT ENTER - conflicting order flow
Cluster Patterns
Multiple green diamonds in row = Strong accumulation, stay long
Multiple red diamonds in row = Strong distribution, stay short
Alternating colors = Chop, avoid trading
Risk Management Rules
Position Sizing
Risk 0.5-1% of account per scalp
Maximum 3 concurrent positions
Reduce size after 2 consecutive losses
Stop Loss Guidelines
Tight stops: 0.2-0.3% for 1-2 min charts
Standard stops: 0.3-0.5% for 5 min charts
Always use stop loss - no exceptions
Place stops below support (longs) or above resistance (shorts)
Take Profit Targets
Target 1: 0.3-0.5% (take 50% off)
Target 2: 0.7-1% (take remaining 50%)
Move stop to breakeven after Target 1 hit
Trail stop if Score remains high
Time-Based Exits
Exit immediately if:
SCALP changes from LONG/SHORT to WAIT
Score drops below 3
Large diamond appears in opposite direction
Maximum hold time: 15 minutes (even if profitable)
Hard exit time: 30 minutes before market close
Trading Sessions
Best Times to Scalp
High-Liquidity Sessions
9:30-11:00 AM EST (Market open, highest volume)
2:00-3:30 PM EST (Afternoon session, good moves)
Avoid
11:30 AM-1:30 PM EST (Lunch, low volume)
Last 30 minutes (unpredictable, don't initiate new trades)
News releases (wait 5 minutes for volatility to settle)
Common Patterns & Setups
The Perfect Storm (Highest Probability)
Score = 6L or 7L
SCALP = BRIGHT GREEN
Vol + Tape = Yellow backgrounds
Green diamond appears
Price AT Support
Win rate: ~70-80%
The Fade Setup (Counter-Trend)
Price hits resistance (bright orange)
Stoch + RSI overbought (red)
Red diamond appears
CVD starts turning red
SCALP shows "SHORT"
Win rate: ~60-70%
The Breakout Continuation
Price breaks resistance (Res turns green)
EMA, MACD green
Vol surge (yellow)
Multiple green diamonds
SCALP = "LONG"
Win rate: ~65-75%
Warning Signs - DO NOT TRADE
Red Flags
❌ SCALP shows "WAIT"
❌ Score below 3
❌ Vol and Tape both gray (no volume)
❌ Conflicting signals (dashboard says LONG but red diamonds appearing)
❌ Alternating green/red circles (choppy market)
❌ Support and Resistance very close together (tight range)
Market Conditions to Avoid
Low volume periods
Major news releases (first 5 minutes after)
First 2 minutes after market open
Wide spreads
Consecutive losing trades (take a break after 2 losses)
Quick Reference Checklist
Before Taking ANY Trade:
☑ SCALP shows LONG or SHORT (not WAIT)
☑ Score is 4 or higher
☑ Vol or Tape shows activity
☑ No conflicting diamond signals
☑ Stop loss level identified
☑ Target profit level identified
☑ Not in restricted time periods
After Entering:
☑ Set stop loss immediately
☑ Set profit targets
☑ Watch SCALP column - exit if changes to WAIT
☑ Watch for opposite-colored diamonds
☑ Move stop to breakeven after first target
☑ Exit all by market close
Advanced Tips
Scalping Psychology
Be patient: Wait for Score 5+ setups
Be decisive: When signal appears, act immediately
Be disciplined: Follow your stop loss always
Be flexible: Exit quickly if dashboard reverses
Optimization
Backtest on your specific instrument
Adjust RSI/Stoch levels for your market
Fine-tune volume thresholds
Keep a trade journal to track which setups work best
Multi-Timeframe Confirmation
Use 5-min dashboard as "trend filter"
Take 1-min trades only in direction of 5-min SCALP signal
Increases win rate by ~10-15%
Troubleshooting
Q: Dashboard shows WAIT most of the time
Normal - scalping is about patience. Quality > Quantity
3-8 good setups per day is excellent
Q: Too many false signals
Increase minimum Score requirement to 5 or 6
Only trade with volume surge (yellow backgrounds)
Add large order detection confirmation
Q: Signals too slow
You may be on too high a timeframe
Try 1-minute chart for faster signals
Ensure real-time data feed is active
Q: Support/Resistance not updating
Normal - updates every 3 bars
If completely stuck, remove and re-add indicator
Summary
This scalping system works best when:
✅ Multiple indicators align (Score 5+)
✅ Volume and tape speed confirm the move
✅ Order flow (diamonds) confirms direction
✅ Price is at key levels (support/resistance)
✅ You manage risk strictly
✅ You exit before market close
The golden rule: When SCALP says WAIT, you WAIT. Discipline beats frequency.
TrendMaster V2TrendMaster V2 is a comprehensive Pine Script indicator designed for TradingView. It combines multiple technical indicators and an advanced scoring logic to provide actionable trading signals. The script is highly customizable, allowing users to adjust trading modes, color themes, and signal filters according to their preferences and risk tolerance.
Key Features
Composite Scoring System:
The script calculates a composite score based on trend, momentum, pattern recognition, volume, volatility, divergence, Pearson correlation, and the CCI index. This score helps identify the best buy or sell opportunities.
Customizable Parameters:
Users can choose between “Aggressive,” “Balanced,” or “Conservative” trading modes, adjust indicator periods, and customize the color scheme of all visual elements.
Confluence Analysis:
The script evaluates the number of matching bullish or bearish signals, providing a confluence summary for higher-confidence trades.
Visual Signals:
Clear visual cues (triangles, circles, crosses) are displayed on the chart for strong buy/sell signals, confluences, and divergences.
Information Panels:
Two panels display real-time data such as score, RSI, volume, volatility, Pearson, CCI, trend, signal, and mode, along with the confluence status for quick reference.
Alert Conditions:
The script supports alerts for strong buy/sell signals, confluences, and divergences.
How It Works
Main Configuration:
Users select a trading mode (Aggressive, Balanced, or Conservative) and a color theme (Dark or Light).
Custom colors can also be set for bullish, bearish, strong, neutral, and signal elements.
Technical Indicators
Moving Averages (SMA/EMA) for trend analysis.
RSI to assess momentum and overbought/oversold conditions.
MACD for trend confirmation.
Volume and Volatility (ATR) for market activity evaluation.
Advanced Indicators
Pearson Correlation to measure trend strength.
CCI for cyclic momentum analysis.
Pattern Recognition
The script identifies common bullish and bearish reversal patterns (e.g., engulfing, hammer, morning/evening star) and continuation patterns (e.g., three white soldiers/black crows).
Composite Score
Each indicator contributes to a composite score, weighted according to the selected trading mode.
The score determines the strength of buy/sell signals.
Confluence Analysis
The script counts the number of matching bullish or bearish signals, providing a confluence summary for higher-confidence trades.
Visual Signals and Alerts
Strong buy/sell signals: triangles
Confluence signals: circles
Divergences: crosses
Alerts are triggered for strong buy/sell signals, confluences, and divergences.
Usage Instructions
Add the script to your TradingView chart.
Adjust the settings in the configuration panel to match your trading style.
Monitor the information panels and visual signals to spot trading opportunities.
Set up alerts for your preferred signal types.
moh//@version=5
indicator("Test - Clean Base (Fixed Line 95)", overlay=true)
// إعداد بسيط
pivotLen = input.int(5, "Pivot lookback", minval=2)
// نحدد القمم والقيعان
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
// نرسم القمم والقيعان
if not na(ph)
label.new(bar_index - pivotLen, ph, "Top", yloc=yloc.abovebar, style=label.style_label_down, color=color.new(color.red,0))
if not na(pl)
label.new(bar_index - pivotLen, pl, "Bottom", yloc=yloc.belowbar, style=label.style_label_up, color=color.new(color.green,0))
// نرسم خطين ترند من آخر قمتين وآخر قاعين
lastPH1 = ta.valuewhen(not na(ph), ph, 0)
lastPH2 = ta.valuewhen(not na(ph), ph, 1)
lastPH1_x = ta.valuewhen(not na(ph), bar_index - pivotLen, 0)
lastPH2_x = ta.valuewhen(not na(ph), bar_index - pivotLen, 1)
lastPL1 = ta.valuewhen(not na(pl), pl, 0)
lastPL2 = ta.valuewhen(not na(pl), pl, 1)
lastPL1_x = ta.valuewhen(not na(pl), bar_index - pivotLen, 0)
lastPL2_x = ta.valuewhen(not na(pl), bar_index - pivotLen, 1)
// الخطأ كان هنا (سطر 95) بسبب تنسيق أو محرف غير ظاهر
if not na(lastPH1) and not na(lastPH2)
line.new(x1=lastPH2_x, y1=lastPH2, x2=lastPH1_x, y2=lastPH1, extend=extend.right, color=color.red, width=2)
if not na(lastPL1) and not na(lastPL2)
line.new(x1=lastPL2_x, y1=lastPL2, x2=lastPL1_x, y2=lastPL1, extend=extend.right, color=color.green, width=2)
McMillan Volatility Bands (MVB) – with Entry Logic// McMillan Volatility Bands (MVB) with signal + entry logic
// Author: ChatGPT for OneRyanAlexander
// Notes:
// - Bands are computed using percentage volatility (log returns), per the Black‑Scholes framing.
// - Inner band (default 3σ) and outer band (default 4σ) are configurable.
// - A setup occurs when price closes outside the outer band, then closes back within the inner band.
// The bar that re‑enters is the "signal bar." We then require price to trade beyond the signal bar's
// extreme by a user‑defined cushion (default 0.34 * signal bar range) to confirm entry.
// - Includes alertconditions for both setups and confirmed entries.
Moving Averages DTMoving Averages Combo: SMA 30-50-100-200 + EMA 5-8-21 (Golden & Death Cross Ready)
This clean and lightweight indicator plots the most used simple and exponential moving averages in one single script — perfect for swing traders, position traders, and scalpers.
— Simple Moving Averages (Daily timeframe focus):
• SMA 30 (Red) — Early trend detection
• SMA 50 (Blue) — Classic medium-term trend
• SMA 100 (Green) — Institutional reference
• SMA 200 (Orange) — The legendary Golden/Death Cross line
— Fast Exponential Moving Averages (Perfect for pullbacks & entries):
• EMA 5 (Purple) — Ultra-fast reaction
• EMA 8 (Yellow) — Fibonacci-based favorite
• EMA 21 (Black) — 21-day cycle + Fibonacci
Why this combination works so well:
• EMA 8 + EMA 21 = Powerful short-term trend filter (used by thousands of crypto & forex traders)
• SMA 50/200 = Classic Golden & Death Cross signals
• SMA 30/100 = Extra confirmation layers used by banks and funds
Features:
✓ All MAs on a single indicator (no chart clutter)
✓ Clean colors with perfect contrast on light/dark themes
✓ Ready for alerts: set alert on EMA 8 crossing EMA 21 or SMA 50 crossing SMA 200
✓ Works on all markets & timeframes (stocks, forex, crypto, futures)
How to use:
• Bullish signal: Price above SMA 200 + EMA 8 > EMA 21 + SMA 50 > SMA 200
• Bearish signal: Price below SMA 200 + EMA 8 < EMA 21
• Pullback entries: Wait for price to touch EMA 21 in uptrend
Inverse Fair Value Gaps (Wicks) v6 — StickyThis indicator marks iVFG and FVG for all the trading you need






















