Long-Term VWAP Mean Reversion SDCACore Idea:
This indicator is designed to support Strategic Dollar Cost Averaging (SDCA) for Bitcoin using a cumulative VWAP-based mean reversion model. It helps long-term investors identify high-conviction buy zones and overbought conditions using statistical deviation from the cumulative VWAP. This indicator evaluates how much price is stretched from the true market average price, weighted by cumulative volume over time.
Core Concepts and Formulas:
Cumulative VWAP (Volume Weighted Average Price):
VWAP cumulative = ∑(Price×Volume) / ∑Volume
A long-term anchor that reflects the average dollar cost of all market participants across all candles. This version does not reset daily, unlike intraday VWAP.
VWAP Deviation % :
Deviation% = Price - VWAP cumulative / VWAP cumulative x 100
Shows how far current price has diverged from the long-term fair value.
Z-Score of VWAP Deviation:
Z= (Price−VWAP)−μ / σ (lookback period: default 200)
SDCA Multiplier Mapping:
*Keep in mind in my Z-Score system, -2 represents the overbought level (white horizontal line) and +2 represents oversold (cyan horizontal line) conditions. So the scores on the Y axis and Z-score in the table are reversed.
| Z-Score Range | SDCA Multiplier |
---------------------------------------------
| ≤ -2 | 0.25×
| -1 to +1 | 1.0×
| > +2 | 2.0×
The pink line plots this multiplier. It’s meant to control buy weight at each time step.
How to Use This for SDCA:
-Buy normally when the multiplier is 1.0× (Z-score between -1 and +1)
-Accelerate buying when Z-score is deeply negative (price far below VWAP)
-Slow or pause buying when Z-score is high (price far above VWAP)
-Use the stats panel to track current Z-score, VWAP level, deviation %, and multiplier
-Watch the red/blue backgrounds as visual confirmation of oversold/overbought zones
Inputs:
Z-Score Lookback Length:
Default: 200 but can be adjusted.
Visuals:
Z-Score Line (cyan): shows current standardized deviation from VWAP
Multiplier Line (bright pink): your SDCA intensity signal
Background Zones: cyan = oversold, white = overbought
Horizontal Lines: +2 and -2 standard deviation thresholds
Stats Panel (bottom right): live values for Z-score, multiplier, price, VWAP, and the deviation formula
Suited For:
-Long-term Bitcoin investors
-SDCA Systems
-Mean reversion systems
-Macro-level buy/sell planning
Indicators and strategies
Time-Based Fair Value Gaps (FVG) with Inversions (iFVG)The Time-Based Fair Value Gaps (FVG) with Inversions (iFVG) (ICT/SMT) is a specialized tool for ICT traders, pinpointing Fair Value Gaps (FVGs) within customizable 10-minute windows each hour (:00–:10, :10–:20, :20–:30, :30–:40, :40–:50, :50–:60).
Optimized for 10 minute charts or lower, this indicator identifies bullish and bearish FVGs, tracks their mitigation to form inverted FVGs (iFVGs) as key support/resistance zones, and generates retest signals with "Close" or "Wick" options.
With toggleable ATR filtering, optional FVG labels, mitigation removal, and alerts for new FVGs and signals, this indicator delivers precision for ICT strategies.
A timeframe warning ensures users stay on lower timeframes (<1 hour) for accurate filtering, making it ideal for targeting macro timeframes and hourly transitions.
Settings Description:
Show Last (disp_num): Sets the number of recent inverted FVGs (iFVGs) to display (1–100, default: 5). Lower values reduce chart clutter, while higher values show more historical zones.
Time Window Checkboxes (enable_00_10, enable_10_20, etc.): Six toggles to enable/disable FVG detection in each 10-minute window (:00–:10, :10–:20, :20–:30, :30–:40, :40–:50, :50–:60). All default to enabled, allowing FVGs across the hour. Disable specific windows to focus on key ICT periods (e.g., :00–:10 for hourly opens).
Signal Preference (signal_pref): Choose "Close" (default) or "Wick" for iFVG retest signals. "Close" requires the candle body to confirm the retest, while "Wick" uses highs/lows, offering earlier but potentially noisier signals.
Use ATR Filter (use_atr): Enables/disables ATR-based size filtering for FVGs (default: true). When enabled, only FVGs larger than ATR × Multiplier are shown, reducing noise.
ATR Multiplier (atr_multi): Sets the ATR threshold for FVG size (0–∞, default: 0.25). Higher values filter for larger gaps; setting to 0 uses the average bar range, making the filter very permissive.
Remove Mitigated FVGs (remove_mitigated): Removes FVGs and iFVGs when price fully closes through them (default: true), aligning with ICT’s principle that mitigated gaps lose relevance.
Show FVG Labels (show_labels): Displays “Bull FVG” or “Bear FVG” labels above/below gaps (default: true). Disable to reduce chart clutter.
Colors (bull_color, bear_color, midline_color): Customize colors for bullish FVGs (green), bearish FVGs (red), and midlines (gray). Adjust transparency for visibility.
Recommendations for ICT Traders
To maximize the indicator’s effectiveness within ICT concepts, use it on 1–5 minute charts during macro timeframes like the New York Kill Zone (7:00–11:00 AM EST) or London Kill Zone (2:00–5:00 AM EST), where institutional order flow often creates significant FVGs. Focus on the :00–:10 and :50–:60 windows by enabling only these checkboxes , as they capture hourly opens and closes, key for ICT setups like Judas swings or liquidity grabs.
Keep ATR filtering enabled with a multiplier of 0.25–0.5 to prioritize impactful gaps, but disable it on lower timeframes (e.g., 1-minute) for more FVGs during high-volatility periods.
Enable mitigation removal to declutter the chart, reflecting ICT’s view that filled FVGs are less relevant unless inverted.
Use "Close" signal preference for conservative retest confirmation, switching to "Wick" for faster entries in aggressive setups.
Set alerts for “Bullish FVG Detected,” “Bearish FVG Detected,” “Bullish Signal,” and “Bearish Signal” to catch real-time opportunities.
Avoid timeframes ≥1 hour, as the minute-based filter may be unreliable, and heed the warning label to stay on lower timeframes for precision.
OHLCVDataOHLCV Data Power Library
Multi-Timeframe Market Data with Mathematical Precision
📌 Overview
This Pine Script library provides structured OHLCV (Open, High, Low, Close, Volume) data across multiple timeframes using mathematically significant candle counts (powers of 3). Designed for technical analysts who work with fractal market patterns and need efficient access to higher timeframe data.
✨ Key Features
6 Timeframes: 5min, 1H, 4H, 6H, 1D, and 1W data
Power-of-3 Candle Counts: 3, 9, 27, 81, and 243 bars
Structured Data: Returns clean OHLCV objects with all price/volume components
Pine Script Optimized: Complies with all security() call restrictions
📊 Timeframe Functions
pinescript
f_get5M_3() // 3 candles of 5min data
f_get1H_27() // 27 candles of 1H data
f_get1D_81() // 81 candles of daily data
// ... and 27 other combinations
🚀 Usage Example
pinescript
import YourName/OHLCVData/1 as OHLCV
weeklyData = OHLCV.f_get1W_27() // Get 27 weekly candles
latestHigh = array.get(weeklyData, 0).high
plot(latestHigh, "Weekly High")
💡 Ideal For
Multi-timeframe analysis
Volume-profile studies
Fractal pattern detection
Higher timeframe confirmation
⚠️ Note
Replace "YourName" with your publishing username
All functions return arrays of OHLCV objects
Maximum lookback = 243 candles
📜 Version History
1.0 - Initial release (2024)
Intraday NQ - MACD + VWAP + TPO (Short Only from 2025)This intraday Nasdaq futures (NQ) strategy trades based on MACD momentum, VWAP alignment, and TPO breakout simulation. ATR determines dynamic risk and reward. Use the toggles to test long, short, or both strategies from January 1, 2025 onward.
MNQ 1-Min SMC+EMA StrategyThis script is designed for scalping the Micro Nasdaq Futures (mNQ) on the 1-minute chart, combining momentum with structure-based confirmation to deliver high-probability trade signals.
🔍 Strategy Features
9/20 EMA Crossover: Trend-following entries triggered by fast-moving EMA shifts.
Smart Money Structure Filter (optional): Confirms entries only after a Break of Structure (BOS) or Change of Character (CHoCH)-like move, mimicking SMC behavior.
Time Filter: Restricts signals to high-volume sessions (default: 9:30 AM to 11:30 AM ET).
Dynamic Stop-Outs: Choose between:
✅ Swing high/low stops (structure-based)
✅ Fixed % risk (e.g., 0.3% stop loss)
Clear Chart Signals:
Green arrow = Buy
Red arrow = Sell
Orange X = Stop-out
⚙️ Customization
Toggle structure filters on/off
Set your desired stop-loss method
Adjust trading hours to match your active window
ICT Killzones & PivotsPivots and Killzones Indicator
Introduction
The Pivots and Killzones Indicator is a valuable tool for traders utilizing the Inner Circle Trader approach. By incorporating ICT killzones and pivot points, this indicator provides insights into potential market turning points, helping traders make informed decisions.
Whether you are new to trading or an experienced ICT trader, this indicator can improve your understanding of market dynamics and support your trading strategy.
Features
ICT Killzones: The indicator highlights Inner Circle Trader's killzones, specific timeframes known for increased market liquidity, which are crucial for identifying potential reversals and turning points.
Pivot Points: The indicator displays pivot points, which are essential support and resistance levels derived from historical price data. These levels assist in gauging potential price reversals and trend changes.
Customization: Customize the indicator settings to match your trading style. Adjust colors, timeframes, and other parameters to align with your preferences.
User-Friendly Interface: Designed with a clean and user-friendly interface, this indicator is accessible to traders of all skill levels.
Real-Time Updates: The indicator offers real-time updates, ensuring you have the most current market information at your fingertips.
github.com
PDH/PDL HUD (Final, Always Visible)This script creates a simple, reliable heads-up display (HUD) in the top-right corner of the chart that shows:
Previous Day High (PDH)
Previous Day Low (PDL)
It uses session rollover (detected via daily time change) to lock in values from the prior trading day. The data is displayed in a single, always-visible table—no chart overlays, no line clutter, no in-bar labels.
Smarter Money Concepts - MTF IFVGs [PhenLabs]📊 Smarter Money Concepts - MTF IFVG
Version: PineScript™ v6
📌 Description
This multi-timeframe indicator identifies Inverse Fair Value Gaps (IFVGs) and their inversions across simultaneous chart intervals, helping traders spot liquidity voids and potential reversal zones. By analyzing price action through the lens of institutional order flow patterns, it solves the problem of manual gap tracking across timeframes while incorporating volatility-adjusted parameters and psychological level analysis for higher-probability setups.
🚀 Points of Innovation
• Multi-Timeframe Engine - Simultaneous analysis of 3 higher timeframes
• Adaptive Parameters - Auto-adjusts to market volatility conditions
• Quality Scoring System - Ranks gaps using RVI strength and size metrics
• Inversion Tracking - Monitors failed gaps for counter-trend signals
• Render Optimization - Prevents chart clutter with smart gap management
🔧 Core Components
FVG Detection Logic: Identifies gaps using customizable price source (Close/Wick)
Inversion Tracker: Manages failed gaps and generates counter signals
Multi-Timeframe Engine: Processes 3 independent higher timeframe analyses
Dashboard System: Real-time display of active gaps across all timeframes
🔥 Key Features
• Volatility-adjusted gap size filters (ATR-based)
• Customizable timeframe confluence analysis
• Color-coded quality scoring
• Non-repainting inversion signals
• Mobile-optimized visual rendering
🎨 Visualization
• Colored Boxes: Translucent zones show active gaps (green/bullish, red/bearish)
• Midline Plot: Dashed gray line marks gap midpoint for price targets
• Inversion Markers: Intense colors show failed gaps (dark red/bullish failure, bright green/bearish failure)
• HTF Differentiation: Higher timeframe gaps shown in blue/teal hues
📖 Usage Guidelines
Multi-Timeframe Settings
• Higher Timeframe 1
Default: 30 | Range: Any > Chart TF | Controls primary confluence timeframe
• Show All Timeframes
Default: True | Toggles multi-TF gap displays
Gap Settings
• Source
Default: Close | Options: | Determines gap measurement method
• RVI Period
Default: 14 | Range: 1-50 | Sets momentum confirmation sensitivity
• RVI Value
Default 0.1 | 0 to see all IFVGs | Increase min RVI to see the most powerful IFVGs
✅ Best Use Cases
• Identifying confluence across timeframes
• Spotting institutional order blocks
• High-probability reversal trading
• Trend continuation confirmation
• Volatility breakout setups
⚠️ Limitations
• Repaints historical gap zones
• Requires understanding of FVG concepts
• Higher timeframe data latency
• Quality scores rely on RVI/ATR settings
💡 What Makes This Unique
First FVG indicator with true multi-timeframe processing
Adaptive parameters that auto-adjust to volatility
Quantifiable quality scoring system
Professional-grade dashboard with HTF tracking
🔬 How It Works
Gap Detection: Identifies FVGs using price relationships and RVI confirmation
Inversion Tracking: Monitors price breaches to flag failed gaps
Quality Assessment: Scores gaps based on size, momentum, and location
Adaptive Filtering: Adjusts parameters using ATR-based volatility analysis
Multi-TF Synthesis: Correlates gaps across user-selected timeframes
Visual Rendering: Displays only relevant, active gaps to prevent clutter
💡 Note:
Start with default settings and gradually adjust parameters after observing market interactions. Focus on gaps with quality scores above 7 that align with higher timeframe trends. Combine with price action at psychological levels for highest-probability setups. Remember that higher timeframe gaps generally carry more significance than current chart gaps.
BELOTTO SCALPER Buy/Sell- A combination of volume + simple averages (fast and long) will determine the direction of the current trend and give buy and sell signals while in trend and/or when the trend changes.
- An optional filter using the convergence and divergence of moving averages can be activated to filter out "false" signals.
- The calculation does not request data of a resolution higher or lower than the resolution of the main chart symbol.
However, the filter function does request if another resolution is chosen for the filter.
- Persistent variables are used for bid and ask prices, allowing color coding of the signal.
Zero Lag Trend Signals (MTF) + Sideways FilterAbsolutely! Here's a **plain-language description** of what the script does **without diving into code**:
---
### 🔍 **What This Script Does:**
This is a **technical indicator** for TradingView that helps you identify:
1. **When the market is trending** (either bullish or bearish).
2. **When the market is moving sideways** (range-bound or choppy).
3. **Entry signals** during strong trends.
4. **Confirmation signals** across **multiple timeframes** (from 5-minute to daily).
5. **Visual cues and alerts** to guide trading decisions.
---
### 📈 **How It Works:**
#### 1. **Zero Lag Trend Detection**
- It uses a special moving average called **ZLEMA** (Zero Lag Exponential Moving Average) that reacts faster to price changes than traditional ones.
- If the price moves strongly above or below this average, the script recognizes it as a **new trend starting**.
#### 2. **Sideways Market Filter**
- It checks whether the market is **moving within a tight range** by analyzing:
- RSI (Relative Strength Index)
- ADX (Average Directional Index)
- If the market is sideways, it **avoids showing trend signals** and displays a gray circle instead to indicate indecision or no clear trend.
#### 3. **Visual Trend Markers**
- **Green arrows** appear when an upward trend begins.
- **Red arrows** appear when a downward trend begins.
- **Smaller arrows** suggest continuation or entry points during an ongoing trend.
#### 4. **Multi-Timeframe Confirmation**
- It looks at the trend across **five different timeframes** (e.g., 5 min, 15 min, 1 hour, 4 hour, 1 day).
- A **table appears on your chart** showing whether each timeframe is bullish or bearish — helping you make better-informed decisions.
#### 5. **Alerts**
- The script can send **alerts when trend signals appear**, so you don’t miss a potential trade setup even if you're away from the screen.
---
### ✅ **Why Use It:**
This script is ideal for:
- Traders who want to **follow trends and avoid choppy markets**.
- Those who prefer **clear visual signals** and multi-timeframe analysis.
- Anyone using **momentum or trend-following strategies**, especially with indicators like ZLEMA or ADX.
---
MTF PO (3TF)Title: SmartMA Multi-Timeframe Signal Strategy
Description (English):
This indicator provides buy/sell signals based on a multi-timeframe adaptive moving average. It allows traders to align short-term entries with higher time-frame trends. The script integrates a trend-following logic that reacts to price crossovers and adaptive MA slope, helping traders reduce noise and improve entry precision.
概要(日本語)
このインジケーターは、複数時間足の適応型移動平均線(SmartMA)を用いて売買シグナルを生成します。下位足でのエントリーが、上位足のトレンドと一致するよう設計されており、ノイズの除去とトレード精度の向上に貢献します。価格のクロスとMAの傾きを用いたトレンドフォロー型ロジックを搭載しています。
特徴
上位時間足の移動平均(SmartMA)と価格のクロスを検出
傾きフィルターによるトレンド整合性チェック
上位足に合わせて下位足のシグナルを制限
チャート上にシンプルなBuy/Sellラベルを表示
EMA, SMA, RMAなどのカスタム選択が可能
使用方法
チャートにインジケーターを追加し、上位足(例:1時間)と現在の時間足(例:5分)を設定
トレンド方向に沿ったタイミングでエントリーを検討
複数フィルターを用いることで、レンジ相場での誤認識を回避可能
注意事項
本インジケーターは補助的な分析ツールです。過去のパフォーマンスが将来を保証するものではありません。
スクリプトは再描画しない設計ですが、時間足の切り替え等で見た目が変わる可能性があります。
戦略構築には他のリスク管理指標との併用を推奨します。
sideways market for strangleThis Pine Script is designed to identify **sideways or range-bound markets**, which are often ideal conditions for trading **options strangle strategies**. Here's a breakdown of what the script does:
---
### 🛠 **Purpose:**
To **detect low-volatility, sideways market conditions** where price is not trending strongly in either direction — suitable for **neutral options strategies like short strangles**.
---
### 📌 **Key Components:**
#### 1. **Inputs:**
- `RSI Length`: Default 14 — used for calculating the Relative Strength Index (RSI).
- `ADX Length`: Default 14 — used for calculating the Average Directional Index (ADX), DI+ (positive directional movement), and DI- (negative directional movement).
#### 2. **RSI Calculation:**
- `rsiValue` is calculated using the built-in `ta.rsi(close, rsiLength)`.
- A **sideways market** is expected when RSI is in the **40–60 range**, indicating lack of strong momentum.
#### 3. **ADX and Directional Indicators (DI+ and DI-):**
- `diPlus` and `diMinus` are calculated based on recent price movements and the True Range.
- `dx` (Directional Index) measures the strength of trend direction using the difference between DI+ and DI-.
- `adx` is a smoothed version of `dx` and represents **overall trend strength**.
#### 4. **Sideways Market Conditions:**
- **RSI Condition**: RSI is between 40 and 60.
- **ADX Condition**:
- `adx <= 25` → Weak or no trend.
- `adx < diPlus` and `adx < diMinus` → Confirms ADX is lower than directional components, reducing likelihood of a trending market.
#### 5. **Signal Plot:**
- A **green label below the bar** (`shape.labelup`) is plotted when both conditions are met.
- Indicates potential sideways market conditions.
---
### ✅ **Use Case:**
- This signal can help identify **low-volatility zones** suitable for **short strangles** or **iron condors**, where you profit from time decay while expecting the price to stay within a range.
BELOTTO COLORSPrice action is higher or lower on a STRONG or WEAK VOLUME lookback
* (Strong or Weak Bulls // Strong or Weak Bears)
Candles/Bars indicate the following:
BURISH:
DARK GREEN bullish candle with STRONG VOLUME, STRONG bullish candle confirmed.
GREEN bullish candle, neutral bearish volume, neither strong nor weak.
AQUA bullish candle with WEAK VOLUME.
BEARISH:
Dark Red bearish candle with STRONG VOLUME, STRONG bearish candle confirmed.
RED bearish candle, neutral bearish volume, neither strong nor weak.
ORANGE bearish candle with WEAK VOLUME.
Fibonacci - RSI OscillatorIndicator Overview
The Fibonacci RSI Oscillator calculates the Relative Strength Index (RSI) based on a dynamically adjusting level derived from recent price action and a fixed Fibonacci ratio (0.236). This differs from standard RSI, which is calculated directly on the closing price. The objective is to measure momentum relative to a level that adapts to recent peaks and valleys.
Core Calculation Mechanism
Peak/Valley Tracking: The script identifies the highest high (state_peak) and lowest low (state_valley) since the last detected change in short-term directional bias (state_dir).
Dynamic Level Calculation: A level (state_dyn_level) is calculated using a fixed 0.236 Fibonacci ratio relative to the tracked peak and valley:
If bias is up: state_dyn_level = state_peak - (state_peak - state_valley) * 0.236
If bias is down: state_dyn_level = state_valley + (state_peak - state_valley) * 0.236
This level adjusts automatically when a new peak or valley is established in the current directional bias. If price crosses the dynamic level against the current bias, the bias flips, and the level recalculates.
Optional Source Smoothing: The calculated state_dyn_level can optionally be smoothed using a user-selected moving average (SMA, EMA, WMA, HMA, RMA) before the RSI calculation.
RSI Calculation: The standard RSI formula is applied to the (optionally smoothed) state_dyn_level series to produce the primary oscillator value (val_primary_osc).
Signal Line: A moving average (type and length configurable) is calculated on the val_primary_osc to generate the val_sig_line.
Key Features & Components
Dynamic Fibonacci Level: The core input for the RSI calculation, based on recent peaks/valleys and the 0.236 ratio.
Fibonacci Level RSI: The primary oscillator line representing the RSI of the dynamic level.
Signal Line: A moving average of the primary RSI line.
Overbought/Oversold Levels: User-defined threshold lines.
Optional Source Smoothing: Configurable MA smoothing applied to the dynamic level before RSI calculation.
Gradient RSI Color : Option to color the primary RSI line based on its value relative to OB/Mid/OS levels.
Zone & OB/OS Fills: Visual fills for the 0-50 / 50-100 zones and specific fills when the RSI enters OB/OS territory.
Background Gradient: Optional vertical background color gradient based on the RSI's position between 0 and 100.
Configurable Parameters: Inputs for lengths, MA types, OB/OS levels, colors, line widths, and feature toggles.
Visual Elements Explained
Fibonacci Level RSI Line: The main plotted oscillator (color/gradient/width configurable).
Signal Line: The moving average of the RSI line (color/width/MA type configurable).
OB/OS Lines: Horizontal lines plotted at the set OB/OS levels (color/width configurable).
Mid-Line (50): Horizontal line plotted at 50 (color/width configurable).
Zone Fills:
Background fill between 0-50 and 50-100 (colors configurable).
Conditional fill between the RSI line and the 50 line when RSI > OB level or RSI < OS level (colors configurable).
Background Gradient: Optional background coloring where transparency varies vertically with the RSI level (base colors and transparency range configurable).
Configuration Options
Users can adjust the following parameters in the indicator settings:
Smoothing: Enable/disable dynamic level smoothing; set length and MA type.
RSI: Set the RSI calculation length.
Signal Line: Set the signal line smoothing length and MA type.
Levels: Define Overbought and Oversold numeric thresholds.
Visuals: Configure colors and widths for the RSI line, signal line, OB/OS lines, mid-line, zone fills, and OB/OS fills.
Gradients: Enable/disable and configure colors for the RSI line gradient; enable/disable and configure colors/transparency for the background gradient.
Interpretation Notes
The oscillator reflects the momentum of the dynamic Fibonacci level, not directly the price. Divergences, OB/OS readings, and signal line crossovers should be interpreted in this context.
The behavior may differ from standard RSI, potentially offering a smoother output or highlighting different momentum patterns depending on market structure and volatility.
As with any indicator, signals should be used in conjunction with other analysis methods and risk management practices. It is not designed as a standalone trading system.
Risk Disclaimer:
Trading involves significant risk. This indicator is provided for analytical purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use sound risk management practices and never trade with capital you cannot afford to lose.
Zero Lag Trend Signals (MTF) + Sideways FilterThis script is a custom indicator for TradingView that combines two major components: the **Zero Lag Trend** (with MTF support) and a **Sideways Market Filter**. Let me break down the key features and functions of the script:
### Key Components:
1. **Zero Lag Trend Signals**:
- **Zero Lag Trend (ZLEMA)**: A smoothed moving average designed to minimize lag and give faster responses to price movements. This is used to determine the trend.
- **Trend Bands**: Upper and lower bands are derived from the ZLEMA value and adjusted by volatility (calculated using Average True Range or ATR).
- **Trend Direction**: The trend direction is determined by whether the price crosses over the upper or lower band of the ZLEMA, indicating bullish or bearish trends.
2. **Sideways Market Filter**:
- **RSI (Relative Strength Index)**: Measures the speed and change of price movements. It's used here to identify neutral or sideways market conditions when RSI is between 40 and 60.
- **ADX (Average Directional Index)**: Measures the strength of a trend. The script considers a sideways market when ADX is less than 25 and both DI+ and DI- are low.
- **Sideways Market Condition**: A sideways market is defined when the RSI is in the range of 40 to 60 and the ADX is below 25, indicating weak trends.
### Main Features:
1. **Sideways Market Indicators**:
- **Sideways Circles**: When the market is identified as "sideways" based on RSI and ADX conditions, a small circle is plotted either above or below the bars on the chart. The user can adjust the color of the circles via the indicator settings.
- **Sideways Market Filter**: This filter helps to determine when to stay out of trend-based signals, and its detection is visually marked by the circles.
2. **Zero Lag Trend (ZLEMA) Plot**:
- **ZLEMA**: The Zero Lag Exponential Moving Average is plotted as a baseline, and the direction of the trend is indicated by color changes. Green is used for bullish trends, and red is used for bearish trends.
- **Trend Bands**: The script calculates upper and lower bands around the ZLEMA using volatility, and these bands help identify areas of potential trend reversal.
3. **Trend Plotting**:
- **Trend Arrows**: When the trend crosses from bullish to bearish or vice versa, the script plots arrows ("▲" for bullish and "▼" for bearish) above or below the bars on the chart to indicate the signal.
- **Trend Entry Points**: Small arrows are plotted when an entry point is detected for a long (bullish) or short (bearish) position.
4. **Multi-Timeframe (MTF) Trend Signals**:
- The script includes multi-timeframe (MTF) analysis by checking the trend on different timeframes (5m, 15m, 60m, 240m, and 1D).
- A **data table** is displayed on the chart showing the trend status for each of these timeframes (Bullish or Bearish), helping the trader visualize the trend across multiple timeframes.
5. **Alerts**:
- **Alert Conditions**: Alerts are triggered when specific conditions are met, such as:
- Bullish or bearish trend crossover.
- Zero Lag Trend crossing the price.
- Trend change signals on any of the timeframes.
- Alerts for bullish and bearish entry signals based on the trend.
### Inputs for Customization:
- **Zero Lag Trend Parameters**: Length, multiplier for the band, and timeframes for MTF analysis (t1, t2, t3, t4, t5).
- **Color Customization**: Colors for bullish and bearish trends, as well as the fill colors for the bands and the sideways market circles.
- **Sideways Market Filter Parameters**: RSI length, ADX length, and options for showing sideways market circles.
- **Circle Customization**: You can adjust the size, color, and location (above or below bars) of the sideways market circles.
### Summary:
This indicator is a sophisticated tool that combines the **Zero Lag Trend** and **Sideways Market Filter** to help traders:
- Identify strong trends (bullish or bearish) using the ZLEMA and volatility bands.
- Stay out of choppy or sideways markets using the RSI and ADX filter.
- Make trading decisions based on trend confirmation across multiple timeframes (MTF).
- Customize the visual appearance, including color schemes, circle size, and alert conditions.
This script is perfect for traders who want to focus on trading trends while avoiding market conditions that are not conducive to strong directional moves.
BELOTTO ZONAS DE LIQUIDEZThe indicator can be used to highlight significant swing areas, these can be accumulation/distribution zones on lower timeframes and might play a role as future support or resistance.
Swing levels are also highlighted, when a swing level is broken it is displayed as a dashed line. A broken swing high is a bullish indication, while a broken swing low is a bearish indication.
Filtering swing areas by volume allows to only show significant swing areas with an higher degree of liquidity. These swing areas can be wider, highlighting higher volatility, or might have been visited by the price more frequently.
Market Sessions Overlay (MSO®)Market Sessions Overlay (MSO®) is a clean, visual indicator that automatically highlights the three major trading sessions — Asia, London, and New York (U.S.A.) — directly on your chart.
For each daily session, MSO® dynamically draws:
- a high–low price range box
- a midline (average of session high and low)
- a label identifying the session
* Designed for precision:
The indicator is built using Dubai time (UTC+4) as a reference, but works with any timezone selected in TradingView, adjusting all sessions correctly. It auto-resets daily and adapts to Daylight Saving Time changes for London and New York.
* Works on all instruments — crypto, forex, stocks, indices — and is optimized for timeframes like 15m, 30m, 1H.
This overlay helps traders:
- understand volatility windows
- isolate session-based price structure
- spot overlaps and transitions with clarity
Custom 4 Moving Averages可自由調整 4 條均線的週期(透過輸入欄位)。
均線會顯示在 K 棒圖(主圖)上。
The periods of the 4 moving averages can be freely adjusted (via input fields).
The moving average will be displayed on the K-bar chart (main chart).
DMI + Didi Index (Convergência)This indicator combines the power of DMI/ADX with the Didi Index to detect high-probability trade signals only when the market is trending and momentum is aligned.
✅ ADX and DMI help filter out sideways markets by identifying low-trend strength zones.
✅ The Didi Index uses the convergence and divergence of exponential moving averages (EMAs 3, 8, and 20) to spot trend reversals and continuations.
✅ Buy and sell signals are only plotted when both trend strength and directional alignment are confirmed.
Designed for traders who prefer momentum and trend-following strategies while avoiding noise during ranging conditions.
Bot Institucional - EMAs + Volumen + SR InternoThis script is a technical trading tool that combines three main features:
EMA Cross Alerts
Uses two Exponential Moving Averages (EMAs): a short-term (default 9) and a long-term (default 21).
Generates alerts and labels when the fast EMA crosses above (bullish) or below (bearish) the slow EMA.
Institutional Volume Detection
Highlights bars where volume exceeds a user-defined multiple (default: 2×) of the 20-bar average volume.
These spikes are marked as potential signs of institutional activity.
Support/Resistance Level Detection (internal only)
Automatically identifies significant pivot highs/lows to estimate strong support/resistance zones.
These levels are tracked internally but not displayed on the chart to keep visuals clean.
The script provides clear visual labels and alert conditions, making it useful for momentum traders, scalpers, and volume-based strategies.
Bollinger + EMA Strategy with Statssharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")sharpe_window = input.int(252, "Sharpe Lookback")
Stochastic RSI with MTF TableThis Pine Script creates a Stochastic RSI indicator with a multi-timeframe (MTF) table for TradingView. It calculates the Stochastic RSI (using RSI length of 14, Stochastic length of 14, and smoothing of 3 for K and D lines) on the current chart timeframe and plots K (blue) and D (orange) lines, with overbought (80) and oversold (20) levels. The script also displays a horizontal table showing the overbought/oversold status for multiple timeframes (5m, 15m, 30m, 1h, 4h, 1D), with customizable table position (Top-Left, Top-Right, Bottom-Left, Bottom-Right). The table uses green for oversold, red for overbought, and gray for neutral, ensuring independent calculations for each timeframe using historical data to avoid repainting.