FVG & IFVG MTF Detector [Alphaomega18]TITLE:
FVG & IFVG Multi-Timeframe Detector
SHORT DESCRIPTION:
Automatic Fair Value Gap (FVG) and Inverse Fair Value Gap (IFVG) detector with multi-timeframe analysis and automatic gap fill closure.
FULL DESCRIPTION:
📊 OVERVIEW
This indicator automatically detects Fair Value Gaps (FVG) and Inverse Fair Value Gaps (IFVG) on your current timeframe and up to 12 additional timeframes simultaneously. Perfect for confluence analysis and identifying institutional zones.
🎯 KEY FEATURES
✅ Multi-Timeframe Detection:
• 12 available timeframes: 1min, 2min, 5min, 10min, 15min, 30min, 1H, 2H, 4H, Daily, Weekly, Monthly
• Each timeframe with customizable color
• Timeframe labels positioned on the right of boxes
✅ Automatic Closure:
• FVGs automatically close when price fills the gap
• Option to disable for traditional fixed extension
• Smart midline management
✅ Complete Customization:
• Customizable colors for each timeframe
• Configurable label size, position, and style
• Gap size display options (separate for current TF and MTF)
• Transparent or colored labels for MTF
• Customizable borders and midlines
✅ Filters & Controls:
• Filter by minimum gap size
• Maximum boxes per timeframe
• Configurable box extension (5-100 bars)
• Border styles: Solid, Dashed, Dotted
✅ Integrated Dashboard:
• Active FVG/IFVG counter
• Statistics per timeframe
• Customizable position
📈 USAGE
1. **Timeframe Activation**:
- Go to Settings > Multi-Timeframe
- Check the timeframes you want to analyze
- Customize colors for each timeframe
2. **Display Configuration**:
- Settings > Display: control labels and their content
- "Transparent MTF Labels": displays only timeframe text without colored background
- "Show Gap Size": separate options for current TF and MTF
3. **Automatic Closure**:
- Settings > Filters > "Close FVG when Filled": enable to automatically close filled gaps
- Disable for traditional fixed extension
4. **Filtering**:
- "Min Gap Size": filter out insignificant small gaps
- "Max Boxes": control the number of FVGs displayed per timeframe
🔍 INTERPRETATION
• **Bullish FVG (🟢)**: Bullish gap - potential support zone
• **Bearish IFVG (🔴)**: Bearish gap - potential resistance zone
• **MTF Confluences**: Multiple FVGs from different timeframes at the same level = strong institutional zone
⚙️ TECHNICAL PARAMETERS
• Detection: low > high (bullish) | high < low (bearish)
• Max boxes per timeframe: 500
• Max lines: 500
• Automatic memory management (old FVG deletion)
🎨 ADVANCED CUSTOMIZATION
• Separate background and border colors
• 4 label sizes: Tiny, Small, Normal, Large
• 3 label positions for current TF: Left, Center, Right
• MTF labels always positioned right for clarity
• Optional midlines with customizable style and color
💡 USAGE TIPS
1. Start with 2-3 timeframes maximum to avoid visual overload
2. Use contrasting colors to easily differentiate timeframes
3. Daily/Weekly gaps are perfect for identifying major institutional zones
4. Combine with your price action strategy for precise entries
5. Automatic closure helps identify when a zone is invalidated
📊 IDEAL FOR
• ICT Traders (Inner Circle Trader)
• Scalping & Day Trading
• Swing Trading
• Institutional zone analysis
• Multi-timeframe confluence trading
🔔 ALERTS
Configurable alerts for:
• New Bullish FVG detected
• New Bearish IFVG detected
---
© 2024 Alphaomega18 - All rights reserved
License: Mozilla Public License 2.0
Wyszukaj w skryptach "mtf"
Valdex - Squeeze Momentum Indicator [MTF]📝 TradingView Publication Description (English)
SQM-MTF: Multi-Timeframe Squeeze Momentum Indicator (v6)
This is a powerful, multi-timeframe (MTF) version of the renowned Squeeze Momentum Indicator originally developed by LazyBear, completely updated for Pine Script v6.
This version allows traders to calculate the momentum and the Teeza Squeeze status from a higher or lower timeframe than the one currently displayed on the chart, providing superior context for entries and exits.
🚀 Key Features
Multi-Timeframe (MTF) Functionality: Use the "Timeframe del Indicador" setting to select a resolution (e.g., "60" for 1-hour or "240" for 4-hour) independent of your chart's resolution.
Momentum Area Plot: The default style is set to Area for better visual continuity, instead of the traditional histogram columns.
Original Color Logic: Uses the original four-color scheme to clearly identify momentum status and acceleration/deceleration:
Bright Green/Lime: Positive Momentum, Accelerating
Dark Green: Positive Momentum, Decelerating
Bright Red: Negative Momentum, Accelerating
Dark Red/Maroon: Negative Momentum, Decelerating
Optimized for V6: Code fully updated to Pine Script v6 syntax, including optimized request.security usage.
💡 How to Use
This indicator is typically used to identify periods of low volatility (the Squeeze) that signal a potential explosive move is imminent.
Use the MTF feature to:
Find the Squeeze: Check a higher timeframe (e.g., 4H) for the Squeeze status while executing trades on a lower timeframe (e.g., 1H or 15m).
Confirm Entry: Wait for the momentum bars to cross the zero line in the desired direction on the MTF indicator, confirming the start of the trend.
📋 Notas de Publicación (Para ti)
Cuando publiques, asegúrate de añadir las siguientes etiquetas (tags) para que sea fácil de encontrar:
Tags Sugeridas: SQUEEZE, MOMENTUM, MTF, MULTITIMEFRAME, SQUEEZEMOMENTUM, LAZYBEAR, VOLATILITY, PINEV6.
Source Code (Código Fuente): Siempre incluye el código Pine Script en la parte inferior de tu descripción en TradingView.
All-in-One RSI & StochRSI: 4x MTF View Matrix by Jenn.ioAll-in-One RSI & StochRSI: 4x MTF View Matrix (Momentum Dashboard) by Jenn.io
Indicator Overview
This indicator is a complete momentum tool that combines the Relative Strength Index (RSI) and the Stochastic RSI (StochRSI) into a single pane, complemented by a powerful Multi-Timeframe (MTF) Table of up to 4 timeframes for a comprehensive market view.
It is ideal for traders looking to confirm overbought/oversold conditions across multiple timeframes before making a trading decision.
Key Features and Logic:
Dual Oscillator Display: It plots the RSI (to measure the speed and change of price movements) and the %K and %D lines of the StochRSI (to measure the RSI relative to its range).
Visual Signaling: Background Shading: The RSI area is shaded in Red or Green (overbought or oversold) for quick identification of extreme zones.
Optional Labels: Displays clear labels like "OB" (Overbought) or "OS" (Oversold) when the oscillators cross critical levels.
Multi-Timeframe Table (MTF 4): The core feature. It displays the values of the RSI and the StochRSI Average ((K + D) / 2) across four different timeframes fully customizable by the user (e.g., 15m, 1h, 4h, Daily).
Heatmap Matrix: The MTF table values are dynamically colored:Red or Green: If the value is in the Overbought zone ($\geq 70$ by default) or Oversold zone ($\leq 30$ by default).
Recommended Usage:
Signal Confluence: Use the primary oscillators to identify an entry signal on your operating timeframe.
MTF Confirmation: Check the MTF table to confirm that momentum on higher timeframes (e.g., 4H or Daily) is moving in the same direction (e.g., if the current timeframe oscillator is oversold, look for higher TFs to show a neutral or low value to confirm exhaustion).
Risk Management: Avoid taking buy signals if the higher TFs are already showing a strong overbought condition (Red or Green).
The Ultimate Price Action & SMC Toolkit: Delta Zones, MTF IndicaThis is an All-in-One Pine Script indicator that seamlessly combines three advanced trading concepts:
Delta Zones (Wick Pressure): Uses Standard Deviation to identify extreme buying/selling pressure within the candlestick wicks, signaling potential stop hunts or liquidity absorption. These are plotted as critical Buy/Sell Boxes.
Multi-Timeframe (MTF) Indicators: Confirms signals using popular indicators (RSI, CCI, Stochastic) calculated from a separate, user-selected Timeframe or the current chart timeframe. This adds a crucial layer of context and momentum confirmation.
Smart Money Concepts (SMC): Automatically detects and plots Orderblocks (OBs) and Breaker Blocks based on confirmed Market Structure Breaks (MSB). This helps locate high-probability Supply and Demand zones.
Key Features:
Integrated plotting for combined indicator signals.
Flexible MTF selection for all standard oscillators.
Automatic Swing High/Low detection for SMC analysis.
Comprehensive Alert system for Delta Pressure, Orderblocks, and Breaker Zones.
Option 2: Focusing on SMC and Flow (Concise)
Title: "SMC Delta Flow: Advanced Orderblock, Breaker, and Wick Reversal Zones with MTF Filter."
Description:
An essential tool for sophisticated SMC traders. This indicator provides high-precision zones:
Smart Money Blocks: Plots Orderblocks and Breaker Blocks following Market Structure Shifts (MSS). Includes a "Chop Control" feature to invalidate re-used or weak Breakers.
Delta Reversal Zones: Pinpoints candles showing extreme high-deviation wick pressure. Use these zones to confirm reversals and identify precise entry points where liquidity was captured.
MTF Confirmation: Incorporates configurable Multi-Timeframe (MTF) RSI, CCI, and Stochastic indicators to act as a momentum filter or confirmation tool.
Add this indicator to unify your analysis of Liquidity, Market Structure, and Momentum on a single chart!
SMC, SmartMoneyConcepts, Orderblock, BreakerBlock, MTF, MultiTimeframe, Delta, Wick, Liquidity, PriceAction, RSI, Stochastic, CCI
Quantum Trend Guardian MTF v2
💎 Quantum Trend Guardian MTF
No es un simple sistema de señales:
es un asistente de tendencia y riesgo diseñado para actuar como tu guardián operativo, filtrando el mercado con precisión cuántica.
Quantum Trend Guardian MTF
Quantum Trend Guardian MTF is a multi–timeframe trend and confirmation system designed for traders who demand precision, context, and operational control.
It combines intelligent structure recognition, momentum analysis, and adaptive risk management to deliver high–probability trading signals aligned with the dominant market flow.
⚙️ Main Components
🔹 1. Guardian MTF Panel
A real–time information dashboard that displays:
Global trend direction (bullish, bearish, or neutral).
Current risk level (normal, high volatility, climax candle, or news session).
Dynamic TrendScore, measuring trend alignment across multiple timeframes.
Directional confirmation per timeframe (1H, 30m, 15m) showing whether each layer supports or contradicts the global bias.
Instantly provides a clear, structured market overview before each trade.
🔹 2. Intelligent Signal Engine
Automatically detects continuation or reversal points validated by structure, momentum, and context.
Signals are visually classified for easy reading:
Standard entries (L / S) – filtered opportunities aligned with trend and low–risk conditions.
Trend initiations (TL / TS) – when a new directional impulse is confirmed.
Exhaustion or exit points (XL / XS) – when the move shows potential fatigue.
Premium opportunities – high–quality setups during strong alignment and optimal conditions.
🔹 3. Adaptive Risk System
Evaluates market quality in real time.
It identifies conditions such as volatility spikes, climactic candles, or sensitive news windows, automatically adjusting signal generation to keep you out of unfavorable environments.
🔹 4. Trend & Structure Filters
Two operation modes:
Safe mode (trend–aligned only) – generates signals strictly in the direction of the dominant trend.
Flexible mode (structural reversals) – allows countertrend setups only when a valid structural break and momentum confirmation are detected.
This flexibility lets the indicator adapt to both trend–following and smart–reversal strategies.
🔹 5. Dynamic Visual Context
The chart background changes subtly according to trend and risk status, providing an instant visual cue on whether the current environment is favorable for trading.
⚔️ Operational Advantages
Filters out noise and countertrend entries.
Visually reveals cross–timeframe alignment.
Performs exceptionally on high–volatility assets such as XAUUSD and BTCUSD.
Fully supports customizable TradingView alerts for every signal type.
Suitable for all trading styles — scalping, intraday, or swing.
💎 Quantum Trend Guardian MTF
More than a signal generator — it’s your trend and risk guardian,
engineered to interpret market flow with quantum–level precision.
ESPAÑOL
⚙️ Componentes principales
🔹 1. Panel “Guardian MTF”
Un panel visual avanzado que muestra en tiempo real:
Tendencia global (alcista, bajista o rango).
Nivel de riesgo actual (normal, alta volatilidad, vela clímax o evento sensible).
TrendScore dinámico, que mide la alineación de tendencias entre múltiples marcos de tiempo.
Dirección individual por timeframe (1H, 30m, 15m), indicando si cada uno acompaña o contradice la tendencia principal.
Permite leer de un vistazo la estructura y condiciones globales antes de ejecutar una operación.
🔹 2. Módulo de Señales Inteligentes
Detecta automáticamente momentos de continuación o reversión validados por momentum, estructura y contexto.
Las señales se clasifican visualmente según su naturaleza:
Entradas estándar (L / S) – oportunidades filtradas por tendencia y riesgo.
Inicios de tendencia (TL / TS) – cuando se confirma un nuevo impulso direccional.
Salidas o agotamiento (XL / XS) – puntos donde el movimiento muestra fatiga.
Oportunidades Premium – movimientos de alta calidad bajo alineación total y condiciones favorables.
🔹 3. Sistema de Riesgo Adaptativo
Evalúa en tiempo real la calidad del entorno de mercado.
Identifica automáticamente situaciones de alta volatilidad, exceso de impulso, o zonas horarias sensibles, ajustando la emisión de señales para proteger al operador de entornos desfavorables.
🔹 4. Filtros de Tendencia y Estructura
El sistema puede operar en dos modos:
Modo seguro (solo a favor de tendencia) – emite entradas únicamente alineadas con la dirección dominante.
Modo flexible (reversas estructurales) – permite cambios de dirección validados por rompimiento estructural y confirmación de momentum.
De esta forma, el indicador se adapta tanto a estrategias de trend following como a smart reversals.
Ripster Clouds (EMA + MTF)v6🧠 Purpose
This indicator combines Ripster EMA Clouds and Multi-Timeframe (MTF) EMA Clouds into one script.
It allows you to visualize short vs long exponential (or simple) moving averages as colored “clouds” to identify trend direction and momentum — across both your current timeframe and a higher timeframe (e.g., daily).
⚙️ Main Features
1. EMA Clouds (Local Timeframe)
Up to 5 separate EMA/SMA cloud sets (8/9, 5/12, 34/50, 72/89, 180/200 by default).
Each can be individually enabled/disabled in the settings.
MA type toggle → Choose between EMA and SMA.
Optional line display toggle for showing the short and long MA lines.
Color-coded trend clouds:
Greenish tones = bullish (short > long)
Reddish tones = bearish (short < long)
Configurable leading offset and global offset for alignment.
2. MTF Clouds (Higher Timeframe)
Two sets of higher timeframe EMA clouds (default: 50/55 and 20/21).
Uses request.security() to pull EMA data from a selected higher timeframe (default = Daily).
Optional line visibility toggle (Display Lines).
Blue and teal semi-transparent fills to distinguish from local clouds.
Each MTF cloud can be toggled independently.
3. Unified Controls
Master toggles:
✅ Show EMA Clouds
✅ Show MTF Clouds
Transparent cloud fills with dynamically changing colors based on EMA crossovers and slope.
No local-scope plot() or fill() calls — fully compliant with Pine v6 rules.
🎨 Color Logic
Each EMA cloud uses a unique color pair (5 total).
Cloud color changes dynamically based on whether the short EMA is above or below the long EMA.
Line color changes with slope:
Olive = EMA rising
Maroon = EMA falling
📊 Technical Structure
Written in Pine Script v6.
All plot() and fill() calls are at global scope to prevent compilation errors.
Uses helper functions only for math/color logic.
Performance-optimized for TradingView’s rendering limits.
🧩 Quick Setup in TradingView
Paste the script into the Pine Editor.
Add to chart.
In settings:
Toggle on/off any EMA or MTF clouds.
Adjust timeframe (Resolution), line visibility, or offsets.
Choose EMA or SMA as the base calculation.
✅ Result
You now have one unified, customizable Ripster EMA + MTF Cloud indicator, stable in Pine v6, with complete flexibility to toggle, style, and analyze multiple timeframe trends on a single chart.
Supertrend with ADX & MTF MA Filter# **Supertrend with ADX & MTF MA Filter - Comprehensive Explanation**
---
## **1. Purpose of This Indicator**
This indicator combines three powerful technical analysis tools to create a robust trading system:
✅ **Supertrend** (Trend-following)
✅ **ADX Filter** (Trend strength confirmation)
✅ **MTF MA Filter** (Multi-timeframe trend direction confirmation)
**Primary Goals:**
✔ **Identify high-probability trend reversals** with confirmation from multiple indicators
✔ **Filter out weak trends** using ADX (Average Directional Index)
✔ **Add higher timeframe context** with MTF (Multi-TimeFrame) Moving Average
✔ **Reduce false signals** by requiring confluence between all three components
---
## **2. Core Logic & Components**
### **A. Supertrend (Base Indicator)**
- **Calculation:**
```pine
up = hl2 - (Multiplier * ATR(Periods))
dn = hl2 + (Multiplier * ATR(Periods))
```
- **Bullish trend** when price > `up` (green line)
- **Bearish trend** when price < `dn` (red line)
- **Why Supertrend?**
- Simple yet effective trend-following system
- Adapts to volatility via ATR (Average True Range)
---
### **B. ADX Filter (Trend Strength Confirmation)**
- **ADX Calculation:**
```pine
= calcADX(adxLength, adxSmoothing)
strongTrend = adxVal >= adxThreshold
```
- **ADX > Threshold (Default: 20)** = Strong trend
- **DI+ > DI-** = Bullish momentum
- **DI- > DI+** = Bearish momentum
- **Why ADX?**
- Avoids trading in choppy markets (low ADX = weak trend)
- Confirms if Supertrend signals occur in a strong trend
---
### **C. MTF MA Filter (Higher Timeframe Trend Alignment)**
- **Moving Average Calculation:**
```pine
= getMA(maSource, maLength, maType, maTF)
```
- **MA Type:** SMA, EMA, WMA, or DEMA
- **Timeframe:** Any (1m, 5m, 1H, 4H, D, W, M)
- **Trend Direction:**
- **Buy Signal:** MA must be **rising**
- **Sell Signal:** MA must be **falling**
- **Why MTF MA?**
- Aligns trades with the **higher timeframe trend**
- Reduces counter-trend entries
---
## **3. How to Use This Indicator**
### **A. Buy Conditions (All Must Be True)**
1. **Supertrend turns bullish** (price crosses above `up` line)
2. **ADX ≥ Threshold** (trend is strong)
3. **Higher timeframe MA is rising** (confirms bullish bias)
### **B. Sell Conditions (All Must Be True)**
1. **Supertrend turns bearish** (price crosses below `dn` line)
2. **ADX ≥ Threshold** (trend is strong)
3. **Higher timeframe MA is falling** (confirms bearish bias)
### **C. Recommended Settings**
| Parameter | Recommended Value | Description |
|-----------|------------------|-------------|
| **ATR Period** | 14 | Sensitivity of Supertrend |
| **Multiplier** | 1.5-3.0 | Adjust for volatility |
| **ADX Threshold** | 20-25 | Higher = stricter trend filter |
| **MA Length** | 20-50 | Smoothness of trend filter |
| **MA Timeframe** | 1H/D | Align with trading style |
---
## **4. Trading Strategies**
### **A. Trend-Following Strategy**
- **Enter:** When all 3 conditions align (Supertrend + ADX + MA)
- **Exit:** When Supertrend flips or ADX drops below threshold
### **B. Pullback Strategy**
- **Wait for:**
- Supertrend in trend direction
- ADX remains strong
- MA still aligned
- **Enter:** On pullback to Supertrend line
### **C. Multi-Timeframe Confirmation**
- **Intraday traders:** Use 4H/D MA for trend bias
- **Swing traders:** Use D/W MA for trend bias
---
## **5. Advantages Over Standard Supertrend**
✔ **Fewer false signals** (ADX filters weak trends)
✔ **Higher timeframe alignment** (avoids trading against larger trends)
✔ **Customizable MA types** (SMA, EMA, WMA, DEMA)
✔ **Works on all markets** (stocks, forex, crypto)
---
### **Final Thoughts**
This indicator is designed for traders who want **high-confidence trend signals** by combining:
🔹 **Supertrend** (entry trigger)
🔹 **ADX** (trend strength filter)
🔹 **MTF MA** (higher timeframe trend alignment)
By requiring all three components to align, it significantly improves signal quality compared to standalone Supertrend systems.
**→ Best for:** Swing trading, trend-following, and avoiding choppy markets.
Extreme Areas with MTF Screener by QTX Algo SystemsStatistically Extreme Areas with MTF Screener by QTX Algo Systems
Overview
This indicator is designed to automatically highlight zones where prices become statistically overextended, signaling potential reversal opportunities. Enhanced with a Multi Time Frame (MTF) Screener, it verifies these extremes across several timeframes for a comprehensive, multi-dimensional view of market conditions.
How It Works
Baseline Statistical Analysis:
The indicator establishes a baseline price range using historical data through a statistical percentile approach. This baseline reflects typical price extremes over time.
Volatility and Momentum Filters:
It incorporates a Bollinger Band Width Percentile (BBWP) to measure real-time volatility and combines this with a double‐smoothed SMI and a Price – Moving Average Ratio (PMARP) to assess short-term momentum. This dual-filter system ensures that signals are generated only when both volatility and momentum conditions are satisfied.
Directional Oscillator (BBO) Analysis:
A Bollinger Band Oscillator (BBO) is used to evaluate the slopes of the upper and lower bands, adding an extra layer of confirmation for identifying true market extremes.
MTF Screener Integration:
The added MTF Screener scans multiple timeframes, confirming that the statistically extreme conditions are not isolated events. This cross-verification provides a more robust signal, ensuring that the identified reversal zones are consistent across the market.
Customizable Visual Alerts:
The indicator allows for customizable color coding for various conditions (e.g., extreme low warnings, extreme high warnings, and potential reversals), offering clear, visual guidance for traders.
Why It’s Different and Valuable
This tool is more than just a simple merger of common indicators—it’s a carefully integrated system that validates price extremes across several dimensions. By combining statistical analysis with real-time volatility, momentum verification, and multi-timeframe confirmation, it provides a dynamic framework that helps traders identify high-probability reversal zones while minimizing false signals. The added MTF Screener ensures that these signals are consistent and reliable across different market views, enhancing the overall decision-making process.
How to Use
Monitor Visual Cues: Look for the color-coded signals that indicate statistically extreme price levels.
Confirm Across Timeframes: Use the MTF Screener component to ensure that the extreme conditions appear consistently across various timeframes.
Integrate with Your Strategy: Use this indicator alongside other technical tools to refine entry, exit, and stop-loss decisions.
Disclaimer
This indicator is for educational purposes only and is intended to support your trading analysis. It does not guarantee performance, and past results are not indicative of future outcomes. Always use proper risk management and conduct your own analysis before trading.
Continuation Opportunity with MTF Screener by QTX Algo SystemsContinuation Opportunity Indicator with MTF Screener by QTX Algo Systems
Overview
This enhanced indicator is designed to pinpoint key moments when an established trend is likely to continue. By combining traditional momentum analysis with dual volatility measures—and now integrating a powerful Multi Time Frame (MTF) Screener—it offers a multi-dimensional view of trend behavior. This tool not only detects when a pullback is simply a temporary consolidation (characterized by reduced volatility) but also confirms that the overall trend is poised to resume, validated across several timeframes.
How It Works
Core Methodology:
The base indicator uses a double‐smoothed Stochastic Momentum Index (SMI) combined with a Price – Moving Average Ratio (PMARP) to detect momentum crossovers that signal trend continuation. It also uses volatility filters to ensure that the signals occur only when market activity is strong.
Dual Volatility Analysis:
A Bollinger Band Width Percentile (BBWP) measure and historical volatility metrics work together to ensure that only meaningful pullbacks trigger signals—distinguishing between noise and genuine consolidation.
MTF Screener Integration:
The new MTF Screener feature extends the analysis beyond a single timeframe. It scans multiple assets and timeframes concurrently, confirming that a detected pullback or resumption signal appears consistently across the broader market view. This cross-verification minimizes false signals and provides traders with confidence that the trend continuation is robust.
Enhanced Visual Cues:
Color-coded backgrounds and well-defined signal triggers help traders quickly interpret when a pullback is likely just a consolidation phase and when increased volatility signals the trend’s resumption.
Why It’s Different and Valuable
Unlike a simple combination of separate indicators, this tool integrates each element in a systematic, layered approach. The MTF Screener adds an extra dimension by validating signals across different timeframes—ensuring that traders are not basing decisions on isolated, potentially misleading data. This cohesive design enhances overall accuracy and provides actionable insights that are more robust than what individual indicators would offer on their own.
How to Use
Monitor Visual Signals: Look for color-coded cues and momentum crossovers that appear after a pullback.
Validate Across Timeframes: Use the MTF Screener’s output to confirm that the continuation signal is consistent across various timeframes.
Integrate with Other Tools: Combine these signals with your existing technical analysis methods to refine your entry and exit points.
Disclaimer
This indicator is provided for educational purposes only and is intended to support your trading analysis. It does not guarantee performance, and past results are not indicative of future outcomes. Always use proper risk management and perform your own analysis before trading.
[AlbaTherium] MTF External Ranges Analysis - ERA-Orion for SMC MTF External Ranges Analysis - ERA - Orion for Smart Money Concepts
Introduction:
The MTF External Ranges Analysis - ERA - Orion offers enhanced insights into multi-timeframe external structure points, swing structure points, POIs (Points of Interest), and order blocks (OB) . By incorporating this enhancement, your multi-timeframe analysis are streamlined, simplifying the process and reducing chart workload, no need for manual chart drawing anymore, stay focus on Low Time Frame and get High Time Frame insights in one single Time frame.
This identification process remains effective even when focusing on Lower Time Frames (LTF), providing detailed insights without sacrificing the broader market perspective.
The MTF External Ranges Analysis - ERA – Orion is specifically designed to be used in conjunction with OptiStruct™ Premium for Smart Money Concepts . This strategic combination enhances the workflow of identifying optimal entry points. OptiStruct acts as the analysis tool for Lower Time Frames (LTF), zeroing in on immediate interest areas, while Orion expands this analysis to Higher Time Frames (HTF), providing a broader view of market trends and importants key levels . The integration of Orion with OptiStruct seamlessly merges LTF and HTF analyses, ensuring a thorough understanding of market dynamics for informed and strategic decision-making. This toolkit in one package assembly is pivotal for traders relying on Smart Money Concepts, offering unmatched clarity and actionable insights to navigate the markets effectively.
This tool offers an advanced smart money technical analysis to improve your trading experience. It introduces four key concepts:
Main Features:
Entries Enhancements
Inducements HTF
High/Low Markings HTF
Multiple Timeframes and Confluences on Extreme, Dec and SMT Order Blocks
By integrating these concepts into one, traders can identify high-probability zones across multiple timeframes and develop a thorough understanding of market dynamics. These confluence zones enhance order block skills and potential, establishing them as essential pillars in smart money trading strategies and enabling traders to make more informed decisions.
Settings Overview:
HTF Settings Enable HTF Analysis
Select timeframe {Select or 4H Chart}
Labels Alignment for Lines and Boxes
Inside bar ranges HTF
Break of Structure /Change of Character HTF
Inducements HTF
High/Low Markings HTF
High/Low Sweeps HTF
Extreme Order Blocks HTF
Decisional Order Blocks HTF
Smart Money Traps HTF
IDM Demands and Supplies HTF
Historical Order Blocks HTF
OB Mitigation HTF {touch/ extended}
Understanding the Features:
Chapter 1: Entries Enhancements
In this chapter, we delve into strategies to refine trading entries, focusing on the multi-timeframe analysis of extreme or decisional order blocks in the High Time Frame timeframe as a key point of interest. We highlight the significance of transitioning to the Low Time Frame chart for observing pivotal shifts in market behavior. By examining these concepts, traders can gain deeper insights into market dynamics and make more informed entries decisions at critical junctures.
Practical Example:
We had an Order Block Extreme on the 1-hour timeframe, and currently, we are on the recommended chart for trade entry, which is the 5-minute timeframe. We are patiently waiting to observe a 5-minute ChoCh in the market to enter a buying position since it's an OB Extreme Demand on the 1-hour timeframe. Here, it's crucial and important to focus on the entry timeframe rather than checking what's happening in the higher timeframe. The indicator facilitates this task as it provides us with real-time perspective and visibility of everything happening in the higher timeframe.
Chapter 2: Inducements HTF
It is important and useful to be aware of the various liquidity points across the different timeframes we use; sometimes, a reliable entry point in the Lower Time Frame (LTF) may be surrounded by inducements. Consequently, this point becomes unreliable, and prior to the arrival of this functionality, such anomalies could not be detected, especially when focusing on the market in the LTF. From now on, there will be no more such issues.
Practical Example:
Suppose we identify an Order Block Extreme on the 5M timeframe, indicating a potential entry level. However, when we switch to the 5M timeframe to look for an entry point, we observe an accumulation of inducements around this Order Block coming from a higher timeframe, whether it's M15 or H1. This suggests a potential weakness in the entry point and significant market liquidity, which will act as a trap zone. Before the introduction of this feature, we might have missed this crucial observation, but now we can detect these anomalies and adjust our strategy accordingly.
The only practical way to see theses confluences is to use this Indicator, see the example below
Chapter 03: High/Low – Bos - ChoCh Markings HTF
The High/Low Markings HTF feature in the MTF External Ranges Analysis - ERA - Orion provides a comprehensive view into the market's heartbeat across different timeframes, right from within the convenience of the Lower Time Frame (LTF). It meticulously highlights pivotal shifts, allowing traders to seamlessly discern market sentiment and anticipate potential price reversals without needing to toggle between multiple charts. This innovation ensures that critical market movements and sentiment across various timeframes are visible and actionable from a single, focused LTF perspective, enhancing decision-making and strategic planning in trading activities.
Understanding High/Low Markings in HTF Analysis
High/Low Markings in High Time Frame (HTF) analysis mark the market's extremities within a given period, pinpointing potential areas for reversals or continuation and delineating crucial support and resistance levels. These markings are not arbitrary but represent significant market responses, serving as essential indicators for traders and analysts to gauge market momentum and sentiment.
The Role of HTF in Market Analysis
HTF analysis extends a comprehensive view over market movements, distinguishing between ephemeral fluctuations and substantial trend shifts. By scrutinizing these high and low points across wider time frames, analysts can unravel the underlying market momentum, enabling more strategic, informed trading decisions.
Identifying High/Low Markings
Identifying these crucial points entails detailed chart analysis over extended durations—daily, weekly, or monthly. The search focuses on the utmost highs and lows within these periods, which are more than mere points on a chart. They are significant market levels that have historically elicited robust market reactions, serving as key indicators for future market behavior.
Real-world Example:
Chapter 04: Multiple Timeframes and Confluences on Extreme, Dec and SMT Order Blocks Across HTF
The Orion indicator serves as a bridge between the multiple dimensions of the market, enabling a unified and strategic interpretation of potential movements. It's an indispensable tool for those seeking to capitalize on major opportunity zones, where the convergence of diverse perspectives creates ideal conditions for significant market movements.
Designed to navigate through the data of different timeframes and market analysis, Orion provides a clear and consolidated view of major points of interest. With this indicator, traders can not only spot opportunity zones where consensus is strongest but also adjust their strategies based on the dynamic interaction of various market participants, all while remaining within the Lower Time Frame (LTF).
Conclusion:
MTF External Ranges Analysis - ERA - Orion for Smart Money Concepts as “ The Orion ” indicator captures consensus among scalpers, day traders , swing traders, and investors, turning key areas into major opportunities. It allows for precise identification of areas of interest by analyzing the convergence of actions from various market participants. In short, Orion is crucial for detecting and leveraging the most promising points of convergence in the market.
This identification occurs even while focusing on Lower Time Frames (LTF), allowing for detailed insights without losing the broader market perspective.
This document provides an extensive overview of MTF External Ranges Analysis - ERA - Orion , emphasizing its importance in comprehending market dynamics and utilizing essential smart money concepts trading principles.
MACD MTF Strategy [JoseMetal]============
ENGLISH
============
- Description:
This strategy uses my indicator MACD MTF (check my profile) to generate entries, it also has ATR to define Stop Loss and Take Profit if needed.
The strategy has several customizable options, which allows you to refine the strategy for your asset and timeframe.
You can customize settings for ALL indicator settings (MACD MTF and ATR).
- CUSTOM CONDITIONS TO ENTER A POSITION:
1. Both MACDs agree (current timeframe and higher timeframe).
2. Current timeframe MACD crossover.
3. Higher timeframe MACD crossover.
4. MACDs no longer agree with each other.
- EXIT CONDITION:
1. Predefined Stop Loss and Take Profit based on ATR (stop can be previous wick).
2. MACDs no longer agree with each other.
3. Opposite position entry.
- STOP LOSS TYPE:
1. ATR.
2. Previous wick.
- OTHER OPTIONS:
You can customize any setting for my MACD MTF and ATR.
- Visual:
ATR is shown for the Stop Loss / Take Profit.
The script prints the Take Profit as a green line, Stop Loss as a red line and entry price with a white line.
- Recommendations:
Recommended on 8H or 12H timeframe for the CURRENT timeframe, while using DAILY for the higher timeframe on the MACD MFT (by default).
Entry when BOTH MACDs agree and exit on opposite entry, this has NO TAKE PROFIT or STOP LOSS, so be careful, but gives the BEST profit overall, and being on 8H/12H + Daily lets you relax.
- Customization:
As you can see, almost everything is customizable, for colors and plotting styles check the "Style" tab.
Enjoy!
============
ESPAÑOL
============
- Descripción:
Esta estrategia utiliza mi indicador MACD MTF (revisa mi perfil) para generar entradas, también cuenta con ATR para definir Stop Loss y Take Profit si es necesario.
La estrategia tiene varias opciones personalizables, lo te le permiten refinar la estrategia para te activo y temporalidad.
Puedes personalizar la configuración de TODOS los indicadores (MACD MTF y ATR).
- CONDICIONES PERSONALIZADAS PARA ENTRAR EN UNA POSICIÓN:
1. Ambos MACDs coinciden (temporalidad actual y temporalidad superior).
2. Cruce del MACD en el marco de tiempo actual.
3. Cruce del MACD en el marco temporal superior.
4. Los MACD ya no coinciden entre sí (están en desacuerdo).
- CONDICIÓN DE SALIDA:
1. Stop Loss y Take Profit predefinidos basados en el ATR (el stop puede ser la mecha anterior).
2. Los MACDs ya no coinciden entre sí (están en desacuerdo).
3. Entrada en posición contraria.
- TIPO DE STOP LOSS:
1. ATR.
2. Mecha anterior.
- OTRAS OPCIONES:
Puede personalizar cualquier ajuste para mi MACD MTF y ATR.
- Visual:
El ATR se muestra para el Stop Loss / Take Profit.
El script imprime el Take Profit como una línea verde, el Stop Loss como una línea roja y el precio de entrada con una línea blanca.
- Recomendaciones:
Se recomienda en el marco de tiempo 8H o 12H para el marco de tiempo ACTUAL, mientras que se utiliza DIARIO para el marco de tiempo superior en el MACD MFT (por defecto).
Entrar cuando AMBOS MACDs están de acuerdo y salir en la entrada opuesta, esto no tiene TAKE PROFIT o STOP LOSS, así que tenga cuidado, pero da el MEJOR beneficio en general, y estar en 8H/12H + Diario le permite relajarse.
- Personalización:
Como puedes ver, casi todo es personalizable, para colores y estilos de trazado revisa la pestaña "Estilo".
¡Que lo disfrutes!
MA-SS ( EMA SSL ) Indicator StrategyThis is the strategy script relating to the already-published MA-SS Indicator Study.
Backtest properties for the strategy tester results shown below are;
- 10k initial capital
- 50% of equity
- 0.0075% commission
- zero values on everything else
The MA-SS Indicator is a simple yet effective indicator using a combination of EMAs and SSL channel, utilising higher time frame data to help confirm trend/ price direction.
How does it work?
The Indicator consists of;
- 3 x EMAs – The 3rd EMA being a filter EMA
- Multi Time Frame EMA (This is an additional filter EMA which can be switched on and off)
- Multi Time Frame SSL Channel (This acts as a filter and can also be switched on and off)
The concept initially began as a simple EMA crossing indicator, but adding an MTF EMA plus a MTF SSL channel for additional filtering, helped to give a better indication of trend and ultimately filter out several bad trades.
- EXAMPLE: If price is …
o below the MTF EMA filter
o The MTF SSL Channel is red
o White and blue EMAs cross below the yellow (filter) EMA in the red SSL channel
> …a short is fired!
- (Opposite scenario for longs)
- Your stop loss would ideally be the top/ bottom of the SSL channel (either the MTF SSL channel or a standard SSL channel added manually to the chart), or, go for a clear pivot point or support/ resistance level.
- Take profit is yours to decide but I opt for a 1:1.5 risk/reward ratio. You could also use the MTF SSL channel to gauge when you should exit your trade (i.e. if you're in a long, wait for the SSL channel to flip red).
Any questions please fire away in the comments
(FireflyTA) Algo Score MTFAlgo Score MTF
The Algo Score MTF is a meta-analytic oscillator telling you about the technical market strength . It is analyzing a variety of different indicators and metrics to come up with a score that gives you an impression on whether the medium timeframes have fuel to go higher or if it's running out and the risk increases to see corrective price action.
----------------------
About Technical Market Strength
Algo measures the technical strength with a score between -10 and 10 . A bullish or bearish technical market strength shows a high correlation with bullish or bearish PA soon after the score reaches the significant levels deviating from 0. However, optimal treshold values (meaning the score after which the strength can be considered bullish or bearish) vary depending on the market looked at. For BTCUSD, the default values used can be seen as reference. If you want to apply Algo to other markets, you will have to calibrate the tresholds yourself.
It is important to know that market strength is the fuel to drive price higher or lower, but it is not the trigger. The trend is of superior importance. So when price is in a strong uptrend (in this case on the MTF), and the score reaches a value of -4 or lower (which can be considered bearish), it can still take a while for the trend to shift because of the strong momentum. The score in this case can be used as an indicator to show you times when it is wise to take profits / de-risk or take extra care in your risk management in general.
----------------------
Indicators used
All the indicators mentioned are calculated separately and weighted by the significance value you can customize in the indicator UI. It is also possible to (1) deactivate certain indicators and (2) force them as required, so that a signal in the oscillator only occurs when the indicator(s) that is/are required support the thesis (bullish vs. bearish).
Daily VWAP
MTF Trend
Traditional Bollinger Bands
RSI
MTF RSI Divergence
Stoch RSI
Ichimoku Cloud
Fib Retracement Levels
MACD
TTM Squeeze
Moneyflow
Custom Levels you can define (3 categories: Major, medium, minor)
For some indicators, there are specific settings to customize how they contribute to the overall score (i.e. MACD cross vs. shift vs. trending phase). It is also important to know that Algo fetches the indicator data from multiple timeframes, thereby adding reliability to the overall results.
----------------------
Algo Custom Logic
Algo is using my custom logic on when a certain indicator can be interpreted as bullish or bearish in the MTF horizon. If you want to find out about the reliability of certain indicators, I recommend disabling all the indicators except for the one you want to examine, and then see how the score reacts to price action.
----------------------
Timeframes
Due to script limitations, this version can only analyze the medium timeframes . It is best used with charts 2H+, it works on some 90m as well but ceases to work at 1H and below . It is also not compatible with higher timeframes . Upon using the same settings on the same ticker with different timeframes, you will see that the score shows a minor variance. This is because data is consolidated to match the timeframe, so it ultimately leads to minor differences. Find out for yourself what timeframe is the best to use with which market and which settings.
----------------------
How to Use
I'm going to add tooltips for the settings in the indicator UI with upcoming updates, so it becomes more clear on how to set Algo up properly. To prevent a loss of your customized settings, write them down somewhere in case a script update reverts the settings back to default.
You can find in-depth tutorials on how to use this indicator by browsing the links and resources in my signature.
MA-SS ( EMA SSL ) Indicator StudyThe MA-SS Indicator is a simple yet effective indicator using a combination of EMAs and SSL channel, utilising higher time frame data to help confirm trend/ price direction.
How does it work?
The Indicator consists of;
- 3 x EMAs – The 3rd EMA being a filter EMA
- Multi Time Frame EMA (This is an additional filter EMA which can be switched on and off)
- Multi Time Frame SSL Channel (This acts as a filter and can also be switched on and off)
The concept initially began as a simple EMA crossing indicator, but adding an MTF EMA plus a MTF SSL channel for additional filtering, helped to give a better indication of trend and ultimately filter out several bad trades.
- EXAMPLE: If price is …
o below the MTF EMA filter
o The MTF SSL Channel is red
o White and blue EMAs cross below the yellow (filter) EMA in the red SSL channel
> …a short is fired!
- (Opposite scenario for longs)
- Your stop loss would ideally be the top/ bottom of the SSL channel (either the MTF SSL channel or a standard SSL channel added manually to the chart), or, go for a clear pivot point or support/ resistance level.
- Take profit is yours to decide but I opt for a 1:1.5 risk/reward ratio. You could also use the MTF SSL channel to gauge when you should exit your trade (i.e. if you're in a long, wait for the SSL channel to flip red).
I will also have a strategy script available for this indicator.
Any questions please fire away in the comments.
TrendsniperTrendsniper is an indicator built with MTF / 3D capability from the seconds to the weekly chart. It uses 2 key simple moving averages for MTF; the 20 and 21 with the zone fill using the 8 21 cross. We have incorporated the sma to avoid the whipsaw factor that an ema has so one can allow to stay in a trade while the trend remains as noted on the higher time frames and visible with MTF.
The longer time frame MTF moving averages give you a picture of the overall trend allowing trader to objectively trade using them to measure potential reversals and price strength. You will see that every SMA has time designations such as "15S1M" which would mean that that specific SMA is for the local time frame of 15seconds with 1M mtf inclusion. 15M60M would mean that that SMA is for the 15M local time frame chart with 60M mtf inclusion; meaning you're able to see the 60M (60minute) SMA on your 15M (15minute) chart. The same goes for the other SMAs noted in Trendsniper.
You will also notice that moving averages function as support and resistance and MTF moving averages may clearly note that on the chart.
A simple moving average is a technical indicator that can aid in determining if an asset price will continue or if it will reverse a bull or bear trend. We have used the 8, 20, 21 SMAs in this indicator to assist one with identifying the existing trend and exiting a trade when his/her conditions as a trader are met.
Algorithm Builder - Single Trend+ (MTF)Hello traders
I. SCRIPTS ACCESS AND TRIALS
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. You may also contact me directly for more information
II. Algorithm Builder - Single Trend+ (MTF)
2.1 Concept
MTF means Multi Timeframes - we all agree that saying MTF is nicer and easier than multi-timeframe.
That script is an upgrade of the Single Trend:
The Algorithm Builder - Single Trend+ (Multiple Timeframes/MTF) is made to detect the convergence of many unrelated indicators, and give a BUY or SELL signal whenever all the selected sub-indicators - each may be using a different timeframe - are converging in the same direction.
Now sit tight because what's going to be announced will be awesome. Are you ready for it?... :)
The MTF version allows to detect the convergence for indicators in different timeframes. Each indicator has its own timeframe - expanding, even more, your trading analysis capabilities.
In other words, you could, for instance, detects the convergence of an H1 MACD with an H2 Supertrend, and why not also adding an m30 Moving Averages cross in the mix.
The Single Trend+ MTF gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated.
2.2 Why the Algorithm Builder Single Trend may help you
I worked with many traders during my career, and their feedback about trading is often pretty similar.
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules.
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
2.3 The Algorithm Builder trading framework
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified.
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
2.3.1 Supports and Resistances
The indicator displays the main algorithmic supports and resistances according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to.
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
2.3.2 Choose your favorite risk management algorithm
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
Stop-Loss Management
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
Take Profits Management
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
2.3.3 Built-in Trade Manager
This is very likely the most loved utility script that we shared on TradingView.
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades.
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration.
You'll also be able to change the Trade Manager labels positions as you wish :)
2.3.4 Built-in Risk-to-Reward Panel
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
2.3.5 Hard Exits
Our trading method is known for the hard exits, also called invalidation.
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible.
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
2.3.6 Alerts
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
III. Pain points that we're trying to solve with our Algorithm Builders
Issue #1 There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
Solution #1 A reliable system that removes the external noise is much needed in trading to stay "in the game".
Issue #2 Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
Solution #2 Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
Issue #3 Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
Solution #3 As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same
scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal
for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
III. Resolving a complex puzzle and having fun in the process
Trading has to stay a passion and not (only be) a source of intense stress.
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this? Because it's fun
Might appears as a bold statement, but I guarantee that looking for setups is fun.
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
IV. Designing a system that "makes sense"
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice, less than an hour might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
V. Algorithm Builder versus the main trader enemy(=psychology)
This indicator has the goal to help solving one of the MAIN issues encountered by traders.
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time).
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine.
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
VI. What is a wrong or bad configuration?
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
RSI + BB + RSI Advanced MTF Panel//@version=6
indicator(title="RSI + BB + RSI Advanced MTF Panel", shorttitle="RSI + BB + RSI Advance MTF Panel", format=format.price, precision=2, overlay=false)
bb_group = "BB (Price Overlay)"
bb_length = input.int(50, minval=1, group = bb_group)
bb_maType = input.string("SMA", "Basis MA Type", options = , group = bb_group)
bb_src = input.source(close, title="Source", group = bb_group)
bb_mult = input.float(0.2, minval=0.001, maxval=50, title="StdDev", group = bb_group)
BasisColor = input.color(color.rgb(163, 41, 245), "Basis Color", group = bb_group, display = display.none)
UpperColor = input.color(color.rgb(120, 156, 202,100), "Upper Color", group = bb_group, display = display.none)
LowerColor = input.color(color.rgb(120, 156, 202,100), "Lower Color", group = bb_group, display = display.none)
offset = input.int(0, "Offset", minval = -500, maxval = 500, display = display.data_window, group = bb_group)
ma(source, bb_length, _type) =>
switch _type
"SMA" => ta.sma(source, bb_length)
"EMA" => ta.ema(source, bb_length)
"SMMA (RMA)" => ta.rma(source, bb_length)
"WMA" => ta.wma(source, bb_length)
"VWMA" => ta.vwma(source, bb_length)
basis = ma(bb_src, bb_length, bb_maType)
dev = bb_mult * ta.stdev(bb_src, bb_length)
upper = basis + dev
lower = basis - dev
plot(basis, "Basis", color=BasisColor, offset = offset, force_overlay = true)
p1 = plot(upper, "Upper", color=UpperColor, offset = offset, force_overlay = true)
p2 = plot(lower, "Lower", color=LowerColor, offset = offset, force_overlay = true)
fill(p1, p2, title = "Background", color=color.rgb(163, 41, 245, 90))
rsiLengthInput = input.int(30, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
calculateDivergence = input.bool(false, title="Calculate Divergence", group="RSI Settings", display = display.data_window, tooltip = "Calculating divergences is needed in order for divergence alerts to fire.")
SignalDot = input.bool(false, title="Signal Dot", group="Smoothing", display = display.data_window, tooltip = "Signal for possible entry")
change = ta.change(rsiSourceInput)
up = ta.rma(math.max(change, 0), rsiLengthInput)
down = ta.rma(-math.min(change, 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiPlot = plot(rsi, "RSI", color= rsi >= 51 ? color.rgb(13, 197, 230) : color.red)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
midline = hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI Background Fill")
midLinePlot = plot(50, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = color.new(color.green, 0), bottom_color = color.new(color.green, 100), title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = color.new(color.red, 100), bottom_color = color.new(color.red, 0), title = "Oversold Gradient Fill")
GRP = "Smoothing"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("SMA", "Type", options = , group = GRP, display = display.data_window)
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window)
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window)
var enableMA = maTypeInput != "None"
var isBB = maTypeInput == "SMA + Bollinger Bands"
smoothma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
smoothingMA = enableMA ? smoothma(rsi, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(rsi, maLengthInput) * bbMultInput : na
plot(smoothingMA, "RSI-based MA", color=color.yellow, display = enableMA ? display.all : display.none, editable = enableMA)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none, editable = isBB)
lookbackRight = 5
lookbackLeft = 5
rangeUpper = 60
rangeLower = 5
bearColor = color.red
bullColor = color.green
textColor = color.white
noneColor = color.new(color.white, 100)
_calcBarsSince(cond) =>
ta.barssince(cond)
rsiLBR = rsi
// 1. Calculate Pivots Unconditionally
plFound = not na(ta.pivotlow(rsi, lookbackLeft, lookbackRight))
phFound = not na(ta.pivothigh(rsi, lookbackLeft, lookbackRight))
// 2. Calculate History Unconditionally
barsSincePL = _calcBarsSince(plFound )
barsSincePH = _calcBarsSince(phFound )
// 3. Check Ranges Unconditionally
inRangePL = rangeLower <= barsSincePL and barsSincePL <= rangeUpper
inRangePH = rangeLower <= barsSincePH and barsSincePH <= rangeUpper
// 4. Calculate Conditions
var bool bullCond = false
var bool bearCond = false
if calculateDivergence
rsiHL = rsiLBR > ta.valuewhen(plFound, rsiLBR, 1) and inRangePL
lowLBR = low
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and rsiHL and plFound
rsiLH = rsiLBR < ta.valuewhen(phFound, rsiLBR, 1) and inRangePH
highLBR = high
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and rsiLH and phFound
else
bullCond := false
bearCond := false
plot(plFound ? rsiLBR : na, offset = -lookbackRight, title = "Regular Bullish", linewidth = 2, color = (bullCond ? bullColor : noneColor), display = display.pane, editable = calculateDivergence)
plotshape(bullCond ? rsiLBR : na, offset = -lookbackRight, title = "Regular Bullish Label", text = " Bull ", style = shape.labelup, location = location.absolute, color = bullColor, textcolor = textColor, display = display.pane, editable = calculateDivergence)
plot(phFound ? rsiLBR : na, offset = -lookbackRight, title = "Regular Bearish", linewidth = 2, color = (bearCond ? bearColor : noneColor), display = display.pane, editable = calculateDivergence)
plotshape(bearCond ? rsiLBR : na, offset = -lookbackRight, title = "Regular Bearish Label", text = " Bear ", style = shape.labeldown, location = location.absolute, color = bearColor, textcolor = textColor, display = display.pane, editable = calculateDivergence)
alertcondition(bullCond, title='Regular Bullish Divergence', message="Found a new Regular Bullish Divergence.")
alertcondition(bearCond, title='Regular Bearish Divergence', message='Found a new Regular Bearish Divergence.')
// --- Panel Options (General) ---
g_panel = 'MTF Panel Options'
i_orientation = input.string('Vertical', 'Orientation', options = , group = g_panel)
i_position = input.string('Bottom Right', 'Position', options = , group = g_panel)
i_border_width = input.int(1, 'Border Width', minval = 0, maxval = 10, group = g_panel, inline = 'border')
i_color_border = input.color(#000000, '', group = g_panel, inline = 'border')
i_showHeaders = input.bool(true, 'Show Headers', group = g_panel)
i_color_header_bg = input.color(#5d606b, 'Headers Background', group = g_panel, inline = 'header')
i_color_header_text = input.color(color.white, 'Text', group = g_panel, inline = 'header')
i_color_tf_bg = input.color(#2a2e39, 'Timeframe Background', group = g_panel, inline = 'tf')
i_color_tf_text = input.color(color.white, 'Text', group = g_panel, inline = 'tf')
i_debug = input.bool(false, 'Display colors palette (debug)', group = g_panel)
// --- RSI Colors (Conditional Formatting) ---
g_rsi = 'MTF RSI Colors'
i_threshold_ob = input.int(70, 'Overbought Threshold', minval=51, maxval=100, group = g_rsi)
i_color_ob = input.color(#128416, 'Overbought Background', inline = 'ob', group = g_rsi)
i_tcolor_ob = input.color(color.white, 'Text', inline = 'ob', group = g_rsi)
i_threshold_uptrend = input.int(60, 'Uptrend Threshold', minval=51, maxval=100, group = g_rsi)
i_color_uptrend = input.color(#2d472e, 'Uptrend Background', inline = 'up', group = g_rsi)
i_tcolor_uptrend = input.color(color.white, 'Text', inline = 'up', group = g_rsi)
i_color_mid = input.color(#131722, 'No Trend Background', group = g_rsi, inline = 'mid')
i_tcolor_mid = input.color(#b2b5be, 'Text', group = g_rsi, inline = 'mid')
i_threshold_downtrend = input.int(40, 'Downtrend Threshold', group = g_rsi, minval=0, maxval=49)
i_color_downtrend = input.color(#5b2e2e, 'Downtrend Background', group = g_rsi, inline = 'down')
i_tcolor_downtrend = input.color(color.white, 'Text', group = g_rsi, inline = 'down')
i_threshold_os = input.int(30, 'Oversold Threshold', minval=0, maxval=49, group = g_rsi)
i_color_os = input.color(#db3240, 'Oversold Background', group = g_rsi, inline = 'os')
i_tcolor_os = input.color(color.white, 'Text', group = g_rsi, inline = 'os')
// --- Individual RSI Settings (MTF Sources) ---
g_rsi1 = 'RSI #1'
i_rsi1_enabled = input.bool(true, title = 'Enabled', group = g_rsi1)
i_rsi1_tf = input.timeframe('5', 'Timeframe', group = g_rsi1)
i_rsi1_len = input.int(30, 'Length', minval = 1, group = g_rsi1)
i_rsi1_src = input.source(close, 'Source', group = g_rsi1) * 10000
v_rsi1 = i_rsi1_enabled ? request.security(syminfo.tickerid, i_rsi1_tf, ta.rsi(i_rsi1_src, i_rsi1_len)) : na
g_rsi2 = 'RSI #2'
i_rsi2_enabled = input.bool(true, title = 'Enabled', group = g_rsi2)
i_rsi2_tf = input.timeframe('15', 'Timeframe', group = g_rsi2)
i_rsi2_len = input.int(30, 'Length', minval = 1, group = g_rsi2)
i_rsi2_src = input.source(close, 'Source', group = g_rsi2) * 10000
v_rsi2 = i_rsi2_enabled ? request.security(syminfo.tickerid, i_rsi2_tf, ta.rsi(i_rsi2_src, i_rsi2_len)) : na
g_rsi3 = 'RSI #3'
i_rsi3_enabled = input.bool(true, title = 'Enabled', group = g_rsi3)
i_rsi3_tf = input.timeframe('60', 'Timeframe', group = g_rsi3)
i_rsi3_len = input.int(30, 'Length', minval = 1, group = g_rsi3)
i_rsi3_src = input.source(close, 'Source', group = g_rsi3) * 10000
v_rsi3 = i_rsi3_enabled ? request.security(syminfo.tickerid, i_rsi3_tf, ta.rsi(i_rsi3_src, i_rsi3_len)) : na
g_rsi4 = 'RSI #4'
i_rsi4_enabled = input.bool(true, title = 'Enabled', group = g_rsi4)
i_rsi4_tf = input.timeframe('240', 'Timeframe', group = g_rsi4)
i_rsi4_len = input.int(30, 'Length', minval = 1, group = g_rsi4)
i_rsi4_src = input.source(close, 'Source', group = g_rsi4) * 10000
v_rsi4 = i_rsi4_enabled ? request.security(syminfo.tickerid, i_rsi4_tf, ta.rsi(i_rsi4_src, i_rsi4_len)) : na
g_rsi5 = 'RSI #5'
i_rsi5_enabled = input.bool(true, title = 'Enabled', group = g_rsi5)
i_rsi5_tf = input.timeframe('D', 'Timeframe', group = g_rsi5)
i_rsi5_len = input.int(30, 'Length', minval = 1, group = g_rsi5)
i_rsi5_src = input.source(close, 'Source', group = g_rsi5) * 10000
v_rsi5 = i_rsi5_enabled ? request.security(syminfo.tickerid, i_rsi5_tf, ta.rsi(i_rsi5_src, i_rsi5_len)) : na
g_rsi6 = 'RSI #6'
i_rsi6_enabled = input.bool(true, title = 'Enabled', group = g_rsi6)
i_rsi6_tf = input.timeframe('W', 'Timeframe', group = g_rsi6)
i_rsi6_len = input.int(30, 'Length', minval = 1, group = g_rsi6)
i_rsi6_src = input.source(close, 'Source', group = g_rsi6) * 10000
v_rsi6 = i_rsi6_enabled ? request.security(syminfo.tickerid, i_rsi6_tf, ta.rsi(i_rsi6_src, i_rsi6_len)) : na
g_rsi7 = 'RSI #7'
i_rsi7_enabled = input.bool(false, title = 'Enabled', group = g_rsi7)
i_rsi7_tf = input.timeframe('W', 'Timeframe', group = g_rsi7)
i_rsi7_len = input.int(30, 'Length', minval = 1, group = g_rsi7)
i_rsi7_src = input.source(close, 'Source', group = g_rsi7) * 10000
v_rsi7 = i_rsi7_enabled ? request.security(syminfo.tickerid, i_rsi7_tf, ta.rsi(i_rsi7_src, i_rsi7_len)) : na
g_rsi8 = 'RSI #8'
i_rsi8_enabled = input.bool(false, title = 'Enabled', group = g_rsi8)
i_rsi8_tf = input.timeframe('W', 'Timeframe', group = g_rsi8)
i_rsi8_len = input.int(30, 'Length', minval = 1, group = g_rsi8)
i_rsi8_src = input.source(close, 'Source', group = g_rsi8) * 10000
v_rsi8 = i_rsi8_enabled ? request.security(syminfo.tickerid, i_rsi8_tf, ta.rsi(i_rsi8_src, i_rsi8_len)) : na
g_rsi9 = 'RSI #9'
i_rsi9_enabled = input.bool(false, title = 'Enabled', group = g_rsi9)
i_rsi9_tf = input.timeframe('W', 'Timeframe', group = g_rsi9)
i_rsi9_len = input.int(30, 'Length', minval = 1, group = g_rsi9)
i_rsi9_src = input.source(close, 'Source', group = g_rsi9) * 10000
v_rsi9 = i_rsi9_enabled ? request.security(syminfo.tickerid, i_rsi9_tf, ta.rsi(i_rsi9_src, i_rsi9_len)) : na
g_rsi10 = 'RSI #10'
i_rsi10_enabled = input.bool(false, title = 'Enabled', group = g_rsi10)
i_rsi10_tf = input.timeframe('W', 'Timeframe', group = g_rsi10)
i_rsi10_len = input.int(30, 'Length', minval = 1, group = g_rsi10)
i_rsi10_src = input.source(close, 'Source', group = g_rsi10) * 10000
v_rsi10 = i_rsi10_enabled ? request.security(syminfo.tickerid, i_rsi10_tf, ta.rsi(i_rsi10_src, i_rsi10_len)) : na
// --- Panel Helper Functions ---
// Function 4: String Position to Constant (Indentation cleaned)
f_StrPositionToConst(_p) =>
switch _p
'Top Left' => position.top_left
'Top Right' => position.top_right
'Top Center' => position.top_center
'Middle Left' => position.middle_left
'Middle Right' => position.middle_right
'Middle Center' => position.middle_center
'Bottom Left' => position.bottom_left
'Bottom Right' => position.bottom_right
'Bottom Center' => position.bottom_center
=> position.bottom_right
// Function 5: Timeframe to Human Readable (Indentation cleaned)
f_timeframeToHuman(_tf) =>
seconds = timeframe.in_seconds(_tf)
if seconds < 60
_tf
else if seconds < 3600
str.tostring(seconds / 60) + 'm'
else if seconds < 86400
str.tostring(seconds / 60 / 60) + 'h'
else
switch _tf
"1D" => "D"
"1W" => "W"
"1M" => "M"
=> str.tostring(_tf)
type TPanel
table src = na
bool vertical_orientation = true
int row = 0
int col = 0
// Method 1: Increment Column (Indentation cleaned)
method incCol(TPanel _panel) =>
if _panel.vertical_orientation
_panel.col += 1
else
_panel.row += 1
// Method 2: Increment Row (Indentation cleaned)
method incRow(TPanel _panel) =>
if not _panel.vertical_orientation
_panel.col += 1
_panel.row := 0
else
_panel.row += 1
_panel.col := 0
// Method 3: Add Cell (Indentation cleaned)
method add(TPanel _panel, string _v1, color _bg1, color _ctext1, string _v2, color _bg2, color _ctext2) =>
table.cell(_panel.src, _panel.col, _panel.row, _v1, text_color = _ctext1, bgcolor = _bg1)
_panel.incCol()
table.cell(_panel.src, _panel.col, _panel.row, _v2, text_color = _ctext2, bgcolor = _bg2)
_panel.incRow()
// Function 6: Background Color
f_bg(_rsi) =>
c_line = na(_rsi) ? i_color_mid :
_rsi >= i_threshold_ob ? i_color_ob :
_rsi >= i_threshold_uptrend ? i_color_uptrend :
_rsi <= i_threshold_os ? i_color_os :
_rsi <= i_threshold_downtrend ? i_color_downtrend :
i_color_mid
// Function 7: Text Color
f_rsi_text_color(_rsi) =>
c_line = na(_rsi) ? i_tcolor_mid :
_rsi >= i_threshold_ob ? i_tcolor_ob :
_rsi >= i_threshold_uptrend ? i_tcolor_uptrend :
_rsi <= i_threshold_os ? i_tcolor_os :
_rsi <= i_threshold_downtrend ? i_tcolor_downtrend :
i_tcolor_mid
f_formatRsi(_rsi) => na(_rsi) ? 'N/A' : str.tostring(_rsi, '0.00')
// --- Panel Execution Logic ---
if barstate.islast
v_panel = TPanel.new(vertical_orientation = i_orientation == 'Vertical')
v_max_rows = 20
v_panel.src := table.new(f_StrPositionToConst(i_position), v_max_rows, v_max_rows, border_width = i_border_width, border_color = i_color_border)
if i_showHeaders
v_panel.add('TF', i_color_header_bg, i_color_header_text, 'RSI', i_color_header_bg, i_color_header_text)
if i_rsi1_enabled
v_panel.add(f_timeframeToHuman(i_rsi1_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi1), f_bg(v_rsi1), f_rsi_text_color(v_rsi1))
if i_rsi2_enabled
v_panel.add(f_timeframeToHuman(i_rsi2_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi2), f_bg(v_rsi2), f_rsi_text_color(v_rsi2))
if i_rsi3_enabled
v_panel.add(f_timeframeToHuman(i_rsi3_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi3), f_bg(v_rsi3), f_rsi_text_color(v_rsi3))
if i_rsi4_enabled
v_panel.add(f_timeframeToHuman(i_rsi4_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi4), f_bg(v_rsi4), f_rsi_text_color(v_rsi4))
if i_rsi5_enabled
v_panel.add(f_timeframeToHuman(i_rsi5_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi5), f_bg(v_rsi5), f_rsi_text_color(v_rsi5))
if i_rsi6_enabled
v_panel.add(f_timeframeToHuman(i_rsi6_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi6), f_bg(v_rsi6), f_rsi_text_color(v_rsi6))
if i_rsi7_enabled
v_panel.add(f_timeframeToHuman(i_rsi7_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi7), f_bg(v_rsi7), f_rsi_text_color(v_rsi7))
if i_rsi8_enabled
v_panel.add(f_timeframeToHuman(i_rsi8_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi8), f_bg(v_rsi8), f_rsi_text_color(v_rsi8))
if i_rsi9_enabled
v_panel.add(f_timeframeToHuman(i_rsi9_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi9), f_bg(v_rsi9), f_rsi_text_color(v_rsi9))
if i_rsi10_enabled
v_panel.add(f_timeframeToHuman(i_rsi10_tf), i_color_tf_bg, i_color_tf_text, f_formatRsi(v_rsi10), f_bg(v_rsi10), f_rsi_text_color(v_rsi10))
if i_debug
t = table.new(position.middle_center, 21, 20, border_width = i_border_width, border_color = i_color_border)
v_panel2 = TPanel.new(t, vertical_orientation = i_orientation == 'Vertical')
v_panel2.add('Debug', i_color_header_bg, i_color_header_text, 'Colors', i_color_header_bg, i_color_header_text)
// Using a tuple array for debugging colors demo
// Final Syntax Correction: Use array.new() and array.set() to avoid 'tuple()' function reference error
v_rows = 5 // We know we have 5 elements
demo = array.new(v_rows, '') // Initialize array with 5 string elements, will hold string representation of the tuple
// We will push the elements as a *string* representation of the tuple, as Pine v6 allows
// and then parse them inside the loop if necessary.
// To preserve the structure (string, float) without the tuple() function:
// We must define two separate arrays if the 'tuple' function is truly unavailable.
tf_array = array.new(v_rows)
rsi_array = array.new(v_rows)
// Populate the arrays
array.set(tf_array, 0, 'Overbought')
array.set(rsi_array, 0, float(i_threshold_ob))
array.set(tf_array, 1, 'Uptrend')
array.set(rsi_array, 1, float(i_threshold_uptrend))
array.set(tf_array, 2, 'No Trend')
array.set(rsi_array, 2, 50.0)
array.set(tf_array, 3, 'Downtrend')
array.set(rsi_array, 3, float(i_threshold_downtrend))
array.set(tf_array, 4, 'Oversold')
array.set(rsi_array, 4, float(i_threshold_os))
// Iterate over the arrays using a simple index
for i = 0 to v_rows - 1
tf = array.get(tf_array, i)
rsi = array.get(rsi_array, i)
v_panel2.add(tf, i_color_tf_bg, i_color_tf_text, f_formatRsi(rsi), f_bg(rsi), f_rsi_text_color(rsi))
Emas cryptosmart strategy (Multi-MA + MTF)Core Concept: Aligning Two Timeframes
The fundamental purpose of this indicator is to solve the most common problem in trading: fighting the main trend.
It achieves this by visualizing two "universes" of trend data at the same time on a single chart:
The Immediate Trend (Your Current Chart): This is shown by the color of the candles.
The Dominant Trend (Higher Timeframe): This is shown by the "Long/Short" labels.
By separating these two signals, the indicator allows you to see when your short-term trend (your candles) aligns with the long-term trend (the labels), giving you a high-probability confluence signal.
Detailed Components and Logic
The indicator is divided into four systems that work together.
1. The Dual Moving Average Sets (The 8 Lines)
The indicator calculates two identical sets of four moving averages (MA Fast, Mid, Slow, Ex-Slow).
Set 1: Current Timeframe MAs (Solid Lines)
These 4 MAs react to every candle on the chart you are currently watching (e.g., 1-Hour).
They show you the immediate price structure and trend.
Their sole job is to define the color of your candles.
Set 2: Multi-Timeframe (MTF) MAs (Stepped Lines)
You can toggle this set on or off with the Use MAs from Another Timeframe checkbox.
It calculates the same 4 MAs but using data from a higher timeframe you choose (e.g., 1-Day).
These lines look "stepped" or "blocky" because they represent the dominant trend.
Their sole job is to define when the "Long" and "Short" labels appear.
2. 🧠 The Candle Coloring Logic (Your Current Trend)
This is the first part of the core logic:
The candle color (barcolor) is based exclusively on the MAs from the current timeframe.
The Source for Signal and Color menu lets you choose which crossover on your current timeframe defines the trend.
"Fast / Mid": Candles are green if the Fast MA is above the Mid MA.
"Price / Slow": Candles are green if the Price is above the Slow MA.
Result: This gives you an instant read on the short-term trend. If the candles are green, the micro-trend is bullish.
3. The Signal/Label System (Your Main Trend Filter)
This is the second and most important part of the logic:
The "Long" and "Short" labels (label.new) are based exclusively on the MAs from the higher timeframe (MTF) (assuming useMTF is checked).
If you choose "Fast / Mid" as your source and your MTF is "Daily," a "Long" label will only appear when the Daily Fast MA crosses above the Daily Mid MA.
Result: The labels act as a major trend filter. They don't give you an immediate entry signal, but rather tell you, "The wind is at your back to look for buys" ("Long" label) or "The wind is against you" ("Short" label).
4. Advanced Customization (The Inputs)
This indicator gives you full control over every component:
MA Type: You can change all 8 lines from EMA to SMA, WMA, VWMA, or SMMA (RMA), allowing you to test which MA type best fits your strategy.
Visibility: You can hide or show any of the 8 MA lines independently (both current and MTF) to keep your chart clean.
Additional Filter: The Use Trend Filter checkbox adds an extra layer of safety to the labels, requiring the price to also be above the slow MTF MA to confirm the signal.
Aesthetics: You can fully control the style, size, and distance (based on ATR) of the labels so they don't clutter the price.
How To Use the Indicator (Strategy)
The true power of this indicator is seen when you combine its signals:
High-Probability Buy (Long) Scenario:
A "Long" label appears on your chart. This confirms your main trend (e.g., Daily) is bullish. This is your bias.
You ignore all sell signals.
The price pulls back on your current timeframe (e.g., 1-Hour), causing the candles to turn red.
You wait. When the 1-Hour trend realigns with the Daily trend, the candles flip back to green.
This candle color change (from red to green) while the "Long" label is present is your high-confluence entry signal.
"Bull Trap" Scenario (That the Indicator Helps You Avoid):
You are on a 1H chart and the candles turn green (micro-trend is bullish).
You look at the background and see there is no "Long" label (or worse, there is a "Short" label from the Daily trend).
Conclusion: The indicator is visually warning you that this bullish move is likely just a pullback/rally within a larger bearish trend. It saves you from buying into a "bull trap."
Dynamic Market Structure (MTF) - Dow TheoryDynamic Market Structure (MTF)
OVERVIEW
This advanced indicator provides a comprehensive and fully customizable solution for analyzing market structure based on classic Dow Theory principles. It automates the identification of key structural points, including Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH).
Going beyond simple pivot detection, this tool visualizes the flow of the trend by plotting dynamic Breaks of Structure (BOS) and potential reversals with Changes of Character (CHoCH). It is designed to be a flexible and powerful tool for traders who use price action and trend analysis as a core part of their strategy.
CORE CONCEPTS
The indicator is built on the foundational principles of Dow Theory:
Uptrend: A series of Higher Highs and Higher Lows.
Downtrend: A series of Lower Lows and Lower Highs.
Break of Structure (BOS): Occurs when price action continues the current trend by creating a new HH in an uptrend or a new LL in a downtrend.
Change of Character (CHoCH): Occurs when the established trend sequence is broken, signaling a potential reversal. For example, when a Lower Low forms after a series of Higher Highs.
CALCULATION METHODOLOGY
This section explains the indicator's underlying logic:
Pivot Detection: The indicator's core logic is based on TradingView's built-in ta.pivothigh() and ta.pivotlow() functions. The sensitivity of this detection is fully controlled by the user via the Pivot Lookback Left and Pivot Lookback Right settings.
Structure Calculation (BOS/CHoCH): The script identifies market structure by analyzing the sequence of these confirmed pivots.
A bullish BOS is plotted when a new ta.pivothigh is confirmed at a price higher than the previous confirmed ta.pivothigh.
A bearish CHoCH is plotted when a new ta.pivotlow is confirmed at a price lower than the previous confirmed ta.pivotlow , breaking the established sequence of higher lows.
The logic is mirrored for bearish BOS and bullish CHoCH.
Invalidation Levels: This feature identifies the last confirmed pivot before a structure break (e.g., the last ta.pivotlow before a bullish BOS) and plots a dotted line from it to the breakout bar. This level is considered the structural invalidation point for that move.
MTF Confirmation: This unique feature provides confluence by analyzing a second, lower timeframe. When a pivot (e.g., a Higher Low) is confirmed on the main chart, the script requests pivot data from the user-selected lower timeframe. If a corresponding trend reversal is detected on that lower timeframe (e.g., a break of its own minor downtrend), the pivot is labeled "Firm" (FHL); otherwise, it is labeled "Soft" (SHL).
KEY FEATURES
This indicator is packed with advanced features designed to provide a deeper level of market insight:
Dynamic Structure Lines: BOS and CHoCH levels are plotted with clean, dashed lines that dynamically start at the old pivot and terminate precisely at the breakout bar, keeping the chart clean and precise.
Invalidation Levels: For every structure break, the indicator can plot a dotted "Invalidation" line (INV). This marks the critical support or resistance pivot that, if broken, would negate the previous move, providing a clear reference for risk management.
Multi-Timeframe (MTF) Confirmation: Add a layer of confluence to your analysis by confirming pivots on a lower timeframe. The indicator can label Higher Lows and Lower Highs as either "Firm" (FHL/FLH) if confirmed by a reversal on a lower timeframe, or "Soft" (SHL/SLH) if not.
Flexible Pivot Detection: Fully adjustable Pivot Lookback settings for the left and right sides allow you to tune the indicator's sensitivity to match any timeframe or trading style, from long-term investing to short-term scalping.
Full Customization: Take complete control of the indicator's appearance. A dedicated style menu allows you to customize the colors for all bullish, bearish, and reversal elements, including the transparency of the trend-based candle coloring.
HOW TO USE
Trend Identification: Use the sequence of HH/HL and LL/LH, along with the trend-colored candles, to quickly assess the current market direction on any timeframe.
Entry Signals: A confirmed BOS can signal a potential entry in the direction of the trend. A CHoCH can signal a potential reversal, offering an opportunity to enter a new trend early.
Risk Management: Use the automatically plotted "Invalidation" (INV) lines as a logical reference point for placing stop losses. A break of this level indicates that the structure you were trading has failed.
Confluence: Use the "Firm" pivot signals from the MTF analysis to identify high-probability swing points that are supported by price action on multiple timeframes.
SETTINGS BREAKDOWN
Pivot Lookback Left/Right: Controls the sensitivity of pivot detection. Higher numbers find more significant (but fewer) pivots.
MTF Confirmation: Enable/disable the "Firm" vs. "Soft" pivot analysis and select your preferred lower timeframe for confirmation.
Style Settings: Customize all colors and the transparency of the candle coloring to match your chart's theme.
Show Invalidation Levels: Toggle the visibility of the dotted invalidation lines.
This indicator is a powerful tool for visualizing and trading with the trend. Experiment with the settings to find a configuration that best fits your personal trading strategy.
Session Volume Spike Detector (MTF Arrows)Overview
The Session Volume Spike Detector is a precision multi-timeframe (MTF) tool that identifies sudden surges in buy or sell volume during key market windows. It highlights high-impact institutional participation by comparing current volume against its historical baseline and short-term highs, then plots directional markers on your chart.
This version adds MTF awareness, showing spikes from 1-minute, 5-minute, and 10-minute frames on a single chart. It’s ideal for traders monitoring microstructure shifts across multiple time compressions while staying on a fast chart (like 1-second or 1-minute).
Key Features
Dual Session Windows (DST-aware)
Automatically tracks Morning (05:30–08:30 MT) and Midday (11:00–13:30 MT) activity, adjusted for daylight savings.
Directional Spike Detection
Flags Buy spikes (green triangles) and Sell spikes (magenta triangles) using dynamic volume gates, Z-Score normalization, and recent-bar jump filters.
Multi-Timeframe Projection
Displays higher-timeframe (1m / 5m / 10m) spikes directly on your active chart for continuous visual context — even on sub-minute intervals.
Adaptive Volume Logic
Each spike is validated against:
Volume ≥ SMA × multiplier
Volume ≥ recent-high × jump factor
Optional Z-Score threshold for statistical significance
Session-Only Filtering
Ensures spikes are only plotted within specified trading sessions — ideal for futures or intraday equity traders.
Configurable Alerts
Built-in alert conditions for:
Any timeframe (MTF aggregate)
Individual 1m, 5m, or 10m windows
Alerts trigger only when a new qualifying spike appears at the close of its bar.
Use Cases
Detect algorithmic or institutional activity bursts inside your trading window.
Track confluence of volume surges across multiple timeframes.
Combine with FVGs, bank levels, or range breakouts to identify probable continuation or reversal zones.
Build custom automation or alert workflows around statistically unusual participation spikes.
Recommended Settings
Use on 1-minute chart for full MTF display.
Adjust the SMA length (default 20) and Z-Score threshold (default 3.0) to suit market volatility.
For scalping or high-frequency environments, disable the 10m layer to reduce visual clutter.
Credits
Developed by Jason Hyde
© 2025 — All rights reserved.
Designed for clarity, precision, and MTF-synchronized institutional volume detection.
RSI Divergence + MTF PanelRSI Divergence + MTF Panel
📊 Short Description
A powerful indicator for detecting RSI divergences with a multi-timeframe panel that helps traders find high-quality trading opportunities across different time intervals.
✨ Key Features
🎯 Automatic Divergence Detection
- **Bullish Divergence**: Price makes lower lows while RSI makes higher lows
- **Bearish Divergence**: Price makes higher highs while RSI makes lower highs
- Visual divergence marking with lines on the chart
- Customizable colors and line styles
📈 Multi-Timeframe Panel (MTF)
- Displays RSI from 4 fixed timeframes simultaneously (5m, 15m, 1H, 4H)
- Color-coded RSI levels:
- 🔴 Red: RSI > 70 (overbought)
- 🟢 Green: RSI < 30 (oversold)
- ⚪ White: RSI between 30-70 (neutral zone)
⚙️ Flexible Settings
- RSI period (default 14)
- Divergence detection threshold
- Data source selection (close, hl2, hlc3, ohlc4)
- Color and transparency customization
- Enable/disable indicator components
📋 How to Use
1. **Add the indicator to your chart** - it will automatically start scanning for divergences
2. **Adjust parameters** to match your trading style
3. **Monitor the MTF panel** for overall market condition overview
4. **Look for divergences** combined with other signals for confirmation
🎯 Perfect for:
- Swing trading
- Intraday trading
- Finding reversal points
- Confirming trading signals
- Multi-timeframe analysis
⚡ Advantages
- **Automation**: No need to manually search for divergences
- **Multi-functionality**: RSI analysis + MTF overview in one indicator
- **Visual clarity**: Clear signals and color coding
- **Performance**: Optimized code for fast operation
- **Flexibility**: Wide customization options
📊 Technical Details
- Uses standard RSI with customizable period
- Divergence detection algorithm based on peaks and valleys
- MTF panel updates in real-time
- Supports all asset types (stocks, forex, crypto, commodities)
🔧 Usage Recommendations
- Combine with other indicators for signal confirmation
- Consider overall market trend
- Use risk management rules
- Test settings on historical data
👥 Suitable for:
- Beginners (easy to use)
- Experienced traders (flexible settings)
- All trading styles and timeframes
---
*This indicator is designed to enhance trading efficiency and help make informed trading decisions. Always follow risk management rules and don't rely on just one indicator.*
S&R Zones MTF (TechnoBlooms)S&R Zones MTF – Multi-Timeframe Support & Resistance Boxes
🔍 Overview
S&R Zones MTF is a professional-grade yet beginner-friendly indicator that dynamically plots Support & Resistance zones across multiple timeframes, helping traders recognize high-probability reversal areas, entry confirmations, and price reaction points.
This tool visualizes structured zones as colored boxes, allowing both new and experienced traders to analyze multi-timeframe confluence with ease and clarity.
🧠 What Is This Indicator?
S&R Zones MTF automatically detects the most significant support and resistance levels from up to four custom timeframes, using a configurable lookback period. These zones are displayed as colored horizontal boxes directly on the chart, making it easy to:
Spot where price has historically reacted
Identify potential reversal or breakout zones
Confirm entries with institutional-style precision
🛠️ Key Features
✅ Multi-Timeframe Zone Detection (up to 4 timeframes)
📦 Auto Plotted Boxes for Support (Blue) & Resistance (Pink)
🧱 Dynamic Height based on average price range or fixed input
🏷️ Timeframe Labels to instantly identify zone origin
🎛️ Customizable inputs: Lookback length, box color, height style
🔁 Real-time updates as price structure changes
🎓 Educational & Easy to Use
Whether you’re a new trader learning about price structure, or a professional applying institutional concepts, this tool offers an educational layout to understand:
How price respects historic zones
Why multi-timeframe zones offer stronger confluence
How to use zones for entry, exit, or risk placement
📈 How to Use (Multi-Timeframe Strategy)
Select Your Timeframes – Customize up to 4 higher timeframes (e.g., 1m, 5m, 15m, 1h).
Observe Overlapping Zones – When multiple timeframes agree, those zones are more significant.
Entry Confirmation – Wait for price to reach a zone, then look for reversal patterns (engulfing candle, pin bar, etc.)
Combine with Other Tools – Use alongside indicators like RSI, MACD, or Order Blocks for added confidence.
💡 Pro Tips
Zones from higher timeframes (1H, 4H) are often more powerful and reliable.
Confluence matters: If a 15m support zone aligns with a 1H support zone — that's a high-probability reaction area.
Use break-and-retest strategies with zone rejections for sniper entries.
Enable "Auto Height" for a more adaptive, volatility-based zone display.
🌟 Summary
S&R Zones MTF blends precision, clarity, and professional analysis into a visual structure that’s easy to understand. Whether you're learning support & resistance or optimizing your MTF edge — this tool will bring clarity to your charts and confidence to your trades.
Super MTF Clouds (4x3 Pairs)Overview:
This script is based on Ripster's MTF clouds, which transcends the standard moving average cloud indicator by offering a powerful and deeply customizable Multi-Timeframe (MTF) analysis. Instead of being limited to the moving averages of your current charts from the current timeframe, this tool allows you to project and visualize the trend and key support/resistance zones from up to 4 different timeframes simultaneously. User can input up to 6 different EMA values which will form 3 pairs of EMA clouds, for each of the timeframes.
The primary purpose is to provide traders with immediate confluence. By observing how price interacts with moving average clouds from higher timeframes (e.g., Hourly, Daily, Weekly), you can make more informed decisions on your active trading timeframe (e.g., 10 Minute). It's designed as a complete MTF Cloud toolkit, allowing you to display all necessary MTFs in a single script to build a comprehensive view of the market structure without having to flick to different timeframe to look for cloud positions.
Key features:
Four Independent Multi-Timeframe Slots: Each slot can be assigned any timeframe available on TradingView (e.g., D, W, M, 4H).
Three MA Pairs Per Timeframe: For each timeframe, configure up to three separate MA clouds (e.g., a 9/12 EMA pair, a 20/50 EMA pair, and a 100/200 SMA pair).
Complete Customisation: For every single moving average (24 in total), you can independently control:
MA Type: Choose between EMA or SMA.
Length: Any period you require.
Line Color: Full colour selection.
Line Thickness: Adjust the visual weight of each line.
Cloud Control: For every pair (12 in total), you can set the fill colour and transparency.
How To Use This Script:
This tool is best used for confirmation and context. Here are some practical strategies that one can adopt:
Trend Confluence: Before taking a trade based on a signal on your current timeframe, glance at the higher timeframe clouds. If you see a buy signal on the 15-minute chart and the price is currently trading above a thick, bullish Daily cloud, the probability of that trade succeeding is significantly higher. Conversely, shorting into strong HTF support is a low-probability trade.
Dynamic Support & Resistance: The edges of the higher timeframe clouds often act as powerful, dynamic levels of support and resistance. A pullback to the 4-Hour 50 EMA on your 15-minute chart can be a prime area to look for entries in the direction of the larger trend.
Gauging Market Regimes: Use the toggles in the settings to quickly switch between different views. You can have a "risk-on" view with short-term clouds and a "macro" view with weekly and monthly clouds. This helps you adapt your trading style to the current market conditions.
Key Settings:
1. Global Setting
Source For All MAs: This determines the price data point used for every single moving average calculation.
Default: hl2 (an average of the High and Low of each bar). This gives a smooth midpoint price.
Options: You can change this to Close (the most common method), Open, High, Low, or ohlc4 (an average of the open, high, low, and close), among others.
Recommendation: For most standard trend analysis, the default hl2 is the common choice.
2. The Timeframe Group Structure
The rest of the settings are organized into four identical, collapsible groups: "Timeframe 1 Settings" through "Timeframe 4 Settings". Each group acts as a self-contained control panel for one multi-timeframe view.
Within each timeframe group, you have two master controls:
Enable Timeframe: This is the main power switch for the entire group. Uncheck this box to instantly hide all three clouds and lines associated with this timeframe. This is perfect for quickly decluttering your chart or focusing on a different set of analyses.
Timeframe: This dropdown menu is the heart of the MTF feature. Here, you select the higher timeframe you want to analyse (e.g., 1D for Daily, 1W for Weekly, 4H for 4-Hour). All calculations for the three pairs within this group will be based on the timeframe you select here.
3. Pair-Specific Controls
Inside each timeframe group, there are three sections for "Pair 1", "Pair 2", and "Pair 3". These control each individual moving average cloud.
Enable Pair: Just like the master switch for the timeframe, this checkbox turns a single cloud and its two MA lines on or off.
For each pair, the settings are further broken down:
Moving Average Lines (A and B): These two rows control the two moving averages that form the cloud. 'A' is typically used for the shorter-period MA and 'B' for the longer-period one.
Type (A/B): A dropdown menu to select either EMA (Exponential Moving Average) or SMA (Simple Moving Average). EMAs react more quickly to recent price changes, while SMAs are smoother and react more slowly.
Length (A/B): The lookback period for the moving average (e.g., 21, 50, 200).
Color (A/B): Sets the specific colour of the MA line itself on your chart.
Cloud Fill Settings
Fill Color: This controls the colour of the shaded area (the "cloud") between the two moving average lines. For a consistent look, you can set this to the same colour as your shorter MA line.
Transparency: Controls how see-through the cloud is, on a scale of 0 to 100. 0 is a solid, opaque colour, while 100 is completely invisible. The default of 85 provides a light, "cloud-like" appearance that doesn't obscure the price action.
----------------------------------------------------------------------
If anything is not clear please let me know!






















