Session Start & Day BackgroundThis indicator visually enhances your TradingView charts by highlighting the start of each new trading day and coloring the background based on the day of the week.
The first candle of each new trading day is marked in gray for better session separation.
The background color changes based on the current day of the week, making it easier to recognize market patterns and trends at a glance.
Works across all markets including Forex, Stocks, and Crypto.
Designed to improve chart readability and market structure visualization.
Ideal for traders who want a clearer overview of daily sessions and better differentiation between trading days! 🚀
Indicators and strategies
Price Guide NQ### **Price Guide NQ - Indicator Description (English)**
The **Price Guide NQ** indicator is designed to plot horizontal guide lines at specific price levels based on the **daily opening price** of the Nasdaq (NQ) index. Instead of dynamically adjusting with each new candle, the levels remain fixed throughout the trading day, providing a stable reference for traders.
#### **Key Features:**
- **Daily Open-Based Levels**: The indicator captures the market's opening price each day and calculates the price guide levels from that fixed point.
- **Predefined Price Increments**: It plots **30 levels above and below** the opening price in increments of 10 points (e.g., 19810, 19820, 19830, etc.).
- **Clear Visualization**: The guide lines are drawn with a **dotted style** and a neutral **gray color** to avoid cluttering the chart while providing key reference levels.
- **Automatic Line Management**: Each time a new trading day starts, the previous day's lines are removed, and new ones are plotted based on the fresh opening price.
#### **Usage:**
This indicator is particularly useful for traders looking to identify psychological price levels or areas of potential support and resistance throughout the trading session.
Let me know if you'd like any modifications or enhancements! 🚀
Schaff Trend Cycle (STC)The STC (Schaff Trend Cycle) indicator is a momentum oscillator that combines elements of MACD and stochastic indicators to identify market cycles and potential trend reversals.
Key features of the STC indicator:
Oscillates between 0 and 100, similar to a stochastic oscillator
Values above 75 generally indicate overbought conditions
Values below 25 generally indicate oversold conditions
Signal line crossovers (above 75 or below 25) can suggest potential entry/exit points
Faster and more responsive than traditional MACD
Designed to filter out market noise and identify cyclical trends
Traders typically use the STC indicator to:
Identify potential trend reversals
Confirm existing trends
Generate buy/sell signals when combined with other technical indicators
Filter out false signals in choppy market conditions
This STC implementation includes multiple smoothing options that act as filters:
None: Raw STC values without additional smoothing, which provides the most responsive but potentially noisier signals.
EMA Smoothing: Applies a 3-period Exponential Moving Average to reduce noise while maintaining reasonable responsiveness (default).
Sigmoid Smoothing: Transforms the STC values using a sigmoid (S-curve) function, creating more gradual transitions between signals and potentially reducing whipsaw trades.
Digital (Schmitt Trigger) Smoothing: Creates a binary output (0 or 100) with built-in hysteresis to prevent rapid switching.
The STC indicator uses dynamic color coding to visually represent momentum:
Green: When the STC value is above its 5-period EMA, indicating positive momentum
Red: When the STC value is below its 5-period EMA, indicating negative momentum
The neutral zone (25-75) is highlighted with a light gray fill to clearly distinguish between normal and extreme readings.
Alerts:
Bullish Signal Alert:
The STC has been falling
It bottoms below the 25 level
It begins to rise again
This pattern helps confirm potential uptrend starts with higher reliability.
Bearish Signal Alert:
The STC has been rising
It peaks above the 75 level
It begins to decline
This pattern helps identify potential downtrend starts.
MTF Fibonacci Pivots with Mandelbrot FractalsMTF Fibonacci Pivots with Mandelbrot Fractals: Advanced Market Structure Analysis
Overview
The MTF Fibonacci Pivots with Mandelbrot Fractals indicator represents a significant advancement in technical analysis by combining multi-timeframe Fibonacci pivot levels with sophisticated fractal pattern recognition. This powerful tool identifies key support and resistance zones while predicting potential price reversals with remarkable accuracy.
Key Capabilities
This indicator provides traders with three distinct layers of market structure analysis:
Automatic Timeframe Adaptation: The primary pivot set automatically adjusts to your chart's timeframe, ensuring relevant support and resistance levels for your specific trading horizon.
1-Year Fibonacci Pivots: The second layer displays yearly pivots that reveal long-term market cycles and institutional price levels that often act as significant reversal points.
3-Year Fibonacci Pivots: The third layer unveils major market structure zones that typically remain relevant for extended periods, offering strategic context for position trading and long-term investment decisions.
Predictive Technology
What truly distinguishes this indicator is its advanced predictive capability powered by:
Mandelbrot Fractal Pattern Recognition: The indicator implements a sophisticated fractal detection algorithm that identifies recurring price patterns across multiple timeframes. Unlike conventional fractal indicators, it incorporates noise filtering and adaptive sensitivity to market volatility.
Tesla's 3-6-9 Principle Integration: The system incorporates Nikola Tesla's mathematical principle through a cubic Mandelbrot equation (Z_{n+1} = Z_n^3 + C where Z_0 = 0), creating a unique approach to pattern recognition that aligns with natural market rhythms.
Historical Pattern Matching: When a current price pattern exhibits strong similarity to historical formations, the indicator generates predictive targets with confidence ratings. Each prediction undergoes rigorous validation against multiple parameters including trend alignment, volatility context, and mathematical coherence.
Visual Intelligence System
The indicator's visual presentation enhances trading decision-making through:
Confidence-Based Visualization: Predictions display with intuitive star ratings, percentage confidence scores, and contextual information including price movement magnitude and estimated time to target.
Adaptive Color Harmonization: The color system intelligently adjusts to provide optimal visibility while maintaining a professional appearance suitable for any chart setup.
Trend Alignment Indicators: Each prediction includes references to the broader trend context, helping traders avoid counter-trend trades unless the reversal signal carries exceptional strength.
Strategic Applications
This indicator excels in multiple trading scenarios:
Intraday Trading: Identify high-probability reversal zones with precise timing
Swing Trading: Anticipate significant market turns at key structural levels
Position Trading: Recognize major cycle shifts for strategic entry and exit
The automatic 1-year and 3-year Fibonacci pivots provide institutional-grade reference points that typically define major market movements. These longer timeframes reveal critical zones that might be invisible on shorter-term analysis, giving you a significant edge in understanding where price is likely to encounter substantial buying or selling pressure.
This innovative approach to market analysis combines classical Fibonacci mathematics with cutting-edge fractal theory to create a comprehensive market structure visualization system that illuminates both present support/resistance levels and future price targets with exceptional clarity.
Setting Up MTF Fibonacci Pivots with Mandelbrot Fractals
Initial Setup
Adding this indicator to your TradingView charts is straightforward:
Navigate to the "Indicators" button on your chart toolbar
Search for "MTF Fibonacci Pivots with Mandelbrot Fractals"
Select the indicator to add it to your chart
A configuration panel will appear with various setting categories
Recommended Settings
The indicator comes pre-configured with optimal default settings, but you may want to adjust them based on your trading style:
For Day Trading (Timeframes 1-minute to 1-hour)
Pivots Timeframe 1: Auto (automatically adapts to your chart)
Pivots Timeframe 2: Daily
Pivots Timeframe 3: Weekly
Fractal Sensitivity: 2-3
Fractal Lookback Period: 20
Prediction Strength: 2
Color Theme: High Contrast or Dark Mode
For Swing Trading (Timeframes 4-hour to Daily)
Pivots Timeframe 1: Daily
Pivots Timeframe 2: Weekly
Pivots Timeframe 3: Monthly
Fractal Sensitivity: 1-2
Fractal Lookback Period: 30
Prediction Strength: 2-3
Color Theme: Default or Dimmed
For Position Trading (Timeframes Daily to Weekly)
Pivots Timeframe 1: Weekly
Pivots Timeframe 2: Monthly
Pivots Timeframe 3: Quarterly
Fractal Sensitivity: 1
Fractal Lookback Period: 50
Prediction Strength: 1
Color Theme: Monochrome or Pastel
Restoring Default Settings
If you've adjusted settings and wish to return to the defaults:
Right-click on the indicator name on your chart
Select "Settings" from the context menu
In the settings dialog, look for the "Reset All" button at the bottom
Confirm the reset when prompted
Alternatively, you can remove the indicator and add it again for a fresh start with default settings.
Advanced Settings Guidance
Visual Appearance
Use Gradient Colors: Enable for better visual differentiation between pivot levels
Color Transparency: 15% provides an optimal balance between visibility and chart clutter
Line Width: 1-2 for cleaner charts, 3+ for enhanced visibility
Fractal Analysis
Enable Fractal Analysis: Keep enabled for prediction capabilities
Fractal Box Spacing: Higher values (5-10) for cleaner displays, lower values (1-3) for more signals
Maximum Forecast Bars: 20 is optimal for most timeframes, adjust higher for longer predictions
Performance Considerations
Enable Self-Optimization: Keep enabled to maintain smooth chart performance
Resource Priority: Use "Balanced" for most computers, "Performance" for older systems
Force Pivot Display: Enable only when checking specific historical periods
Common Setup Mistakes to Avoid
Setting all timeframes too close together (e.g., Daily, Daily, Weekly) reduces the multi-timeframe advantage
Using high fractal sensitivity (4+) on noisy markets creates excessive signals
Setting fractal box spacing too low causes cluttered prediction boxes
Disabling self-optimization may cause performance issues on complex charts
Using incompatible color themes for your chart background reduces visibility
The indicator's power comes from its default 1-year and 3-year Fibonacci pivot settings, which highlight institutional levels while the auto-timeframe setting adapts to your trading horizon. These carefully balanced defaults provide an excellent starting point for most traders.
For optimal results, I recommend making minimal adjustments at first, then gradually customizing settings as you become familiar with the indicator's behavior in your specific markets and timeframes.
Screenshots:
Adaptive Regression Channel [MissouriTim]The Adaptive Regression Channel (ARC) is a technical indicator designed to empower traders with a clear, adaptable, and precise view of market trends and price boundaries. By blending advanced statistical techniques with real-time market data, ARC delivers a comprehensive tool that dynamically adjusts to price action, volatility, volume, and momentum. Whether you’re navigating the fast-paced world of cryptocurrencies, the steady trends of stocks, or the intricate movements of FOREX pairs, ARC provides a robust framework for identifying opportunities and managing risk.
Core Components
1. Color-Coded Regression Line
ARC’s centerpiece is a linear regression line derived from a Weighted Moving Average (WMA) of closing prices. This line adapts its calculation period based on market volatility (via ATR) and is capped between a minimum of 20 bars and a maximum of 1.5 times the user-defined base length (default 100). Visually, it shifts colors to reflect trend direction: green for an upward slope (bullish) and red for a downward slope (bearish), offering an instant snapshot of market sentiment.
2. Dynamic Residual Channels
Surrounding the regression line are upper (red) and lower (green) channels, calculated using the standard deviation of residuals—the difference between actual closing prices and the regression line. This approach ensures the channels precisely track how closely prices follow the trend, rather than relying solely on overall price volatility. The channel width is dynamically adjusted by a multiplier that factors in:
Volatility: Measured through the Average True Range (ATR), widening channels during turbulent markets.
Trend Strength: Based on the regression slope, expanding channels in strong trends and contracting them in consolidation phases.
3. Volume-Weighted Moving Average (VWMA)
Plotted in orange, the VWMA overlays a volume-weighted price trend, emphasizing movements backed by significant trading activity. This complements the regression line, providing additional confirmation of trend validity and potential breakout strength.
4. Scaled RSI Overlay
ARC features a Relative Strength Index (RSI) overlay, plotted in purple and scaled to hover closely around the regression line. This compact display reflects momentum shifts within the trend’s context, keeping RSI visible on the price chart without excessive swings. User-defined overbought (default 70) and oversold (default 30) levels offer reference points for momentum analysis."
Technical Highlights
ARC leverages a volatility-adjusted lookback period, residual-based channel construction, and multi-indicator integration to achieve high accuracy. Its parameters—such as base length, channel width, ATR period, and RSI length—are fully customizable, allowing traders to tailor it to their specific needs.
Why Choose ARC?
ARC stands out for its adaptability and precision. The residual-based channels offer tighter, more relevant support and resistance levels compared to standard volatility measures, while the dynamic adjustments ensure it performs well in both trending and ranging markets. The inclusion of VWMA and scaled RSI adds depth, merging trend, volume, and momentum into a single, cohesive overlay. For traders seeking a versatile, all-in-one indicator, ARC delivers actionable insights with minimal noise.
Best Ways to Use the Adaptive Regression Channel (ARC)
The Adaptive Regression Channel (ARC) is a flexible tool that supports a variety of trading strategies, from trend-following to breakout detection. Below are the most effective ways to use ARC, along with practical tips for maximizing its potential. Adjustments to its settings may be necessary depending on the timeframe (e.g., intraday vs. daily) and the asset being traded (e.g., stocks, FOREX, cryptocurrencies), as each market exhibits unique volatility and behavior.
1. Trend Following
• How to Use: Rely on the regression line’s color to guide your trades. A green line (upward slope) signals a bullish trend—consider entering or holding long positions. A red line (downward slope) indicates a bearish trend—look to short or exit longs.
• Best Practice: Confirm the trend with the VWMA (orange line). Price above the VWMA in a green uptrend strengthens the bullish case; price below in a red downtrend reinforces bearish momentum.
• Adjustment: For short timeframes like 15-minute crypto charts, lower the Base Regression Length (e.g., to 50) for quicker trend detection. For weekly stock charts, increase it (e.g., to 200) to capture broader movements.
2. Channel-Based Trades
• How to Use: Use the upper channel (red) as resistance and the lower channel (green) as support. Buy when the price bounces off the lower channel in an uptrend, and sell or short when it rejects the upper channel in a downtrend.
• Best Practice: Check the scaled RSI (purple line) for momentum cues. A low RSI (e.g., near 30) at the lower channel suggests a stronger buy signal; a high RSI (e.g., near 70) at the upper channel supports a sell.
• Adjustment: In volatile crypto markets, widen the Base Channel Width Coefficient (e.g., to 2.5) to reduce false signals. For stable FOREX pairs (e.g., EUR/USD), a narrower width (e.g., 1.5) may work better.
3. Breakout Detection
• How to Use: Watch for price breaking above the upper channel (bullish breakout) or below the lower channel (bearish breakout). These moves often signal strong momentum shifts.
• Best Practice: Validate breakouts with VWMA position—price above VWMA for bullish breaks, below for bearish—and ensure the regression line’s slope aligns (green for up, red for down).
• Adjustment: For fast-moving assets like crypto on 1-hour charts, shorten ATR Length (e.g., to 7) to make channels more reactive. For stocks on daily charts, keep it at 14 or higher for reliability.
4. Momentum Analysis
• How to Use: The scaled RSI overlay shows momentum relative to the regression line. Rising RSI in a green uptrend confirms bullish strength; falling RSI in a red downtrend supports bearish pressure.
• Best Practice: Look for RSI divergences—e.g., price hitting new highs at the upper channel while RSI flattens or drops could signal an impending reversal.
• Adjustment: Reduce RSI Length (e.g., to 7) for intraday trading in FOREX or crypto to catch short-term momentum shifts. Increase it (e.g., to 21) for longer-term stock trades.
5. Range Trading
• How to Use: When the regression line’s slope is near zero (flat) and channels are tight, ARC indicates a ranging market. Buy near the lower channel and sell near the upper channel, targeting the regression line as the mean price.
• Best Practice: Ensure VWMA hovers close to the regression line to confirm the range-bound state.
• Adjustment: For low-volatility stocks on daily charts, use a moderate Base Regression Length (e.g., 100) and tight Base Channel Width (e.g., 1.5). For choppy crypto markets, test shorter settings.
Optimization Strategies
• Timeframe Customization: Adjust ARC’s parameters to match your trading horizon. Short timeframes (e.g., 1-minute to 1-hour) benefit from lower Base Regression Length (20–50) and ATR Length (7–10) for agility, while longer timeframes (e.g., daily, weekly) favor higher values (100–200 and 14–21) for stability.
• Asset-Specific Tuning:
○ Stocks: Use longer lengths (e.g., 100–200) and moderate widths (e.g., 1.8) for stable equities; tweak ATR Length based on sector volatility (shorter for tech, longer for utilities).
○ FOREX: Set Base Regression Length to 50–100 and Base Channel Width to 1.5–2.0 for smoother trends; adjust RSI Length (e.g., 10–14) based on pair volatility.
○ Crypto: Opt for shorter lengths (e.g., 20–50) and wider widths (e.g., 2.0–3.0) to handle rapid price swings; use a shorter ATR Length (e.g., 7) for quick adaptation.
• Backtesting: Test ARC on historical data for your asset and timeframe to optimize settings. Evaluate how often price respects channels and whether breakouts yield profitable trades.
• Enhancements: Pair ARC with volume surges, key support/resistance levels, or candlestick patterns (e.g., doji at channel edges) for higher-probability setups.
Practical Considerations
ARC’s adaptability makes it suitable for diverse markets, but its performance hinges on proper calibration. Cryptocurrencies, with their high volatility, may require shorter, wider settings to capture rapid moves, while stocks on longer timeframes benefit from broader, smoother configurations. FOREX pairs often fall in between, depending on their inherent volatility. Experiment with the adjustable parameters to align ARC with your trading style and market conditions, ensuring it delivers the precision and reliability you need.
Deviation ChannelsIndicator Name: Deviation Channels (Dev Chan)
Why Use This Indicator?
Visualize Volatility Ranges:
The indicator plots Keltner Channels at four levels above and below an average line, letting you easily see how far price has deviated from a typical range. Each “dev” line highlights potential support or resistance during pullbacks or surges.
Color-Coded Clarity:
Each band shifts color intensity depending on whether the current price is trading above or below it, letting you spot breakouts and rejections at a glance. Meanwhile, the Fast SMA (default 10) also changes color – green if price is above, red if below – adding a quick momentum read.
Adjustable Source & Length:
Choose your input source (open, close, ohlc4, or hlc3) and set your Keltner length to suit different asset classes or timeframes. Whether you want a tighter, more reactive channel or a smoother, longer-term reading, the script adapts with minimal effort.
A Simple Trading Approach
Identify Trend with Fast SMA:
If the Fast SMA (default length 10) is green (price above it), treat that as a bullish environment. If it’s red (price below), favor bearish or neutral stances.
Wait for Price to Reach Lower/Upper Deviations:
In a bullish setup (Fast SMA green), watch for price to dip into one of the lower channels (e.g., -1 Dev or -2 Dev). Such pullbacks can become potential “buy the dip” zones if price stabilizes and resumes upward momentum.
Conversely, if the Fast SMA is red, watch for price to test the upper channels (1 Dev or 2 Dev). That might be a short opportunity or a place to close out any remaining longs before a deeper correction.
Manage Risk with Channel Levels:
Place stop-losses just beyond the next “dev” band to protect against volatility. For example, if you enter on a bounce at -1 Dev, consider placing a stop near -2 Dev or -3 Dev, depending on your risk tolerance.
Take Profits Gradually:
In an uptrend, you might scale out of positions as price moves toward higher lines (e.g., 1 Dev or 2 Dev). Conversely, if price fails to hold above the Fast SMA or repeatedly closes below a key band, it might be time to exit.
Disclaimer: No single indicator is foolproof. Always combine with sound risk management, observe multiple timeframes, and consider fundamental factors before making trading decisions. Experiment with the Keltner length and Fast SMA fastLength to find the sweet spot for your market and time horizon.
Keltner Channel StrategyOverview
The Keltner Channel Strategy is a powerful trend-following and mean-reversion system that leverages the Keltner Channels, EMA crossovers, and ATR-based stop-losses to optimize trade entries and exits. This strategy has proven to be highly effective, particularly when applied to Gold (XAUUSD) and other commodities with strong trend characteristics.
📈 How It Works
This strategy incorporates two trading approaches: 1️⃣ Keltner Channel Reversal Trades – Identifies overbought and oversold conditions when price touches the outer bands.
2️⃣ Trend Following Trades – Uses the 9 EMA & 21 EMA crossover, with confirmation from the 50 EMA, to enter trades in the direction of the trend.
🔍 Entry & Exit Criteria
📊 Keltner Channel Entries (Reversal Strategy)
✅ Long Entry: When the price crosses below the lower Keltner Band (potential reversal).
✅ Short Entry: When the price crosses above the upper Keltner Band (potential reversal).
⏳ Exit Conditions:
Long positions close when price crosses back above the mid-band (EMA-based).
Short positions close when price crosses back below the mid-band (EMA-based).
📈 Trend Following Entries (Momentum Strategy)
✅ Long Entry: When the 9 EMA crosses above the 21 EMA, and price is above the 50 EMA (bullish momentum).
✅ Short Entry: When the 9 EMA crosses below the 21 EMA, and price is below the 50 EMA (bearish momentum).
⏳ Exit Conditions:
Long positions close when the 9 EMA crosses back below the 21 EMA.
Short positions close when the 9 EMA crosses back above the 21 EMA.
📌 Risk Management & Profit Targeting
ATR-based Stop-Losses:
Long trades: Stop set at 1.5x ATR below entry price.
Short trades: Stop set at 1.5x ATR above entry price.
Take-Profit Levels:
Long trades: Profit target 2x ATR above entry price.
Short trades: Profit target 2x ATR below entry price.
🚀 Why Use This Strategy?
✅ Works exceptionally well on Gold (XAUUSD) due to high volatility.
✅ Combines reversal & trend strategies for improved adaptability.
✅ Uses ATR-based risk management for dynamic position sizing.
✅ Fully automated alerts for trade entries and exits.
🔔 Alerts
This script includes automated TradingView alerts for:
🔹 Keltner Band touches (Reversal signals).
🔹 EMA crossovers (Momentum trades).
🔹 Stop-loss & Take-profit activations.
📊 Ideal Markets & Timeframes
Best for: Gold (XAUUSD), NASDAQ (NQ), Crude Oil (CL), and trending assets.
Recommended Timeframes: 15m, 1H, 4H, Daily.
⚡️ How to Use
1️⃣ Add this script to your TradingView chart.
2️⃣ Select a 15m, 1H, or 4H timeframe for optimal results.
3️⃣ Enable alerts to receive trade notifications in real time.
4️⃣ Backtest and tweak ATR settings to fit your trading style.
🚀 Optimize your Gold trading with this Keltner Channel Strategy! Let me know how it performs for you. 💰📊
MACD with TrendIndicator Name: MACD with Trend & Multi-Timeframe Dashboard
Why Use This Indicator?
Two MACDs for Double Confirmation:
It integrates both a standard MACD (fast/slow lengths of your choice) and a Trend MACD (longer lengths). The standard MACD identifies short-term momentum shifts, while the Trend MACD helps confirm the higher-level market trend.
Multi-Timeframe 50/200 SMA Overview:
A built-in dashboard quickly shows whether the 50-period moving average is above or below the 200-period moving average across multiple timeframes (Monthly, Weekly, Daily, etc.). At a glance, you can see if higher timeframes agree with your immediate trading setup.
Clear Buy/Sell Signals:
The script plots buy arrows when the MACD histogram crosses from negative to positive, plus an additional label for the Trend MACD crossing. The same goes for sell signals if momentum flips from positive to negative. This clarity can reduce guesswork.
Customizable & Intuitive:
Easily adjust moving average types (SMA or EMA), lengths, and source inputs to suit different asset classes or personal preferences. Visual color coding helps you quickly interpret bullish vs. bearish conditions.
Recommended Trading Approach
Identify Overall Trend
Check the Trend MACD histogram and the multi-timeframe dashboard (50/200 SMAs). If you see bullish alignment on higher timeframes (e.g., Daily, Weekly) and the Trend MACD is above zero, you know the market environment is supportive for long trades.
Pinpoint Entry Using Standard MACD
Wait for the standard MACD histogram to cross above zero or for a labeled “Buy Signal.” This indicates short-term momentum turning bullish in sync with the broader trend. If the market is already trending up (confirmed by the dashboard), the probability of a successful long entry often improves.
Set a Stop-Loss & Take-Profit
While not included in the code, adding an ATR- or price-based stop-loss can protect against sudden reversals. A simple approach is risking 1–2% per trade and aiming for a 1.5–2× reward relative to that risk.
Monitor Sell Signals
If the short-term MACD crosses below zero—triggering a “Sell Signal”—and the Trend MACD also turns down (or the dashboard flips bearish), consider exiting the position or tightening stops. This alignment of short- and long-term indicators often signals a shift in momentum that could threaten your open profits.
Summary
The MACD with Trend & Multi-Timeframe Dashboard is a versatile, all-in-one toolkit. It combines the immediacy of short-term MACD signals, the validation of a longer-term trend oscillator, and the broader insight of multi-timeframe moving averages. Whether you are a swing trader looking for alignment across bigger trends or a shorter-term trader wanting clear momentum triggers, this indicator helps streamline decision-making and reduce noise.
Disclaimer: As with all technical analysis tools, there is no guarantee of success. Always combine indicator signals with sound risk management and a thorough understanding of market conditions
Label Selected DayThis Pine Script indicator allows users to highlight a specific day of the week on the chart. Users can select a day using the dropdown menu, and the script will mark all occurrences of that day.
The indicator is lightweight and non-intrusive, making it a great addition for traders who analyze market movements relative to specific days.
Moon+Lunar Cycle Vertical Delineation & Projection
Automatically highlights the exact candle in which Moonphase shifts occur.
Optionally including shifts within the Microphases of the total Lunar Cycle.
This allow traders to pre-emptively identify time-based points of volatility,
focusing on mean-reversion; further simplified via the use of projections.
Projections are calculated via candle count, values displayed in "Debug";
these are useful in understanding the function & underlying mechanics.
Dynamic Support and Resistance ### Indicator: Dynamic Support and Resistance
#### Overview:
The *Dynamic Support and Resistance* indicator is a powerful tool designed to help traders identify key price levels on a chart. It dynamically calculates support and resistance levels based on pivot points and the Average True Range (ATR). The indicator also highlights broken support and resistance zones, providing visual cues for potential trend reversals or continuations.
---
### Key Features:
1. *Dynamic Support and Resistance Levels*:
- The indicator identifies support and resistance levels using pivot highs and lows within a user-defined range.
- These levels are adjusted using the ATR to account for market volatility, making them more responsive to changing market conditions.
2. *Support and Resistance Zones*:
- The indicator draws boxes around the support and resistance levels, with customizable colors and widths.
- The width of the zones is determined by the ATR and a user-defined multiplier, allowing traders to adjust the sensitivity of the zones.
3. *Broken Zones*:
- When price breaks through a support or resistance zone, the zone is highlighted with a distinct color to indicate a potential shift in market sentiment.
- Traders can limit the number of broken zones displayed on the chart to avoid clutter.
4. *Customizable Inputs*:
- *Range Candle Count*: Defines the number of candles analyzed to determine pivot points. Increasing this value will result in fewer but more significant levels, while decreasing it will produce more levels that are sensitive to shorter-term price movements.
- *ATR Period*: Controls the sensitivity of the ATR calculation. A shorter period makes the ATR more responsive to recent price changes, while a longer period smooths it out.
- *Box Width Multiplier*: Adjusts the width of the support and resistance zones. A higher multiplier creates wider zones, which may be useful in more volatile markets.
- *Max Broken Zones*: Limits the number of broken zones displayed on the chart. This helps keep the chart clean and focused on the most recent breaks.
---
### How It Works:
1. *Pivot Points*:
- The indicator identifies pivot highs and lows within the specified range. These pivots serve as the basis for calculating support and resistance levels.
2. *ATR Adjustment*:
- The ATR is used to adjust the support and resistance levels, making them more dynamic and responsive to market volatility.
3. *Zone Creation*:
- Support and resistance zones are drawn as boxes around the pivot levels. The width of these zones is determined by the ATR and the box width multiplier.
4. *Zone Breaks*:
- When price breaks through a zone, the zone is highlighted with a distinct color, and the broken zone is added to an array. If the number of broken zones exceeds the user-defined limit, the oldest broken zone is removed from the chart.
---
### How to Use:
1. *Trend Identification*:
- Use the support and resistance levels to identify key price levels where the market may reverse or consolidate.
- Broken zones can signal potential trend reversals or continuations.
2. *Entry and Exit Points*:
- Traders can use the support and resistance zones as potential entry or exit points. For example, buying near support or selling near resistance.
- Broken zones can be used as confirmation for breakout strategies.
3. *Risk Management*:
- The width of the zones can help traders set stop-loss levels. For example, placing a stop-loss just outside a support or resistance zone.
4. *Customization*:
- Adjust the input parameters to suit your trading style and the specific market conditions. For example, increase the range candle count for longer-term analysis or decrease it for shorter-term trading.
---
### Who Should Use This Indicator?
- *Swing Traders*: Can use the indicator to identify key levels for potential reversals or breakouts.
- *Day Traders*: Can benefit from the dynamic levels and zones, especially in volatile markets.
- *Position Traders*: Can use the indicator to identify long-term support and resistance levels.
- *Breakout Traders*: Can use the broken zones to confirm breakouts and plan their trades accordingly.
---
### Input Parameters and Their Effects:
1. *Range Candle Count*:
- *Increase*: Produces fewer but more significant levels, suitable for longer-term analysis.
- *Decrease*: Produces more levels, sensitive to shorter-term price movements.
2. *ATR Period*:
- *Increase*: Smoothens the ATR, making the levels less sensitive to recent price changes.
- *Decrease*: Makes the ATR more responsive to recent price changes, resulting in more dynamic levels.
3. *Box Width Multiplier*:
- *Increase*: Creates wider zones, suitable for more volatile markets.
- *Decrease*: Creates narrower zones, suitable for less volatile markets.
4. *Max Broken Zones*:
- *Increase*: Displays more broken zones on the chart, providing more historical context.
- *Decrease*: Keeps the chart clean by displaying only the most recent broken zones.
---
### Conclusion:
The *Dynamic Support and Resistance* indicator is a versatile tool that can be adapted to various trading styles and market conditions. By dynamically adjusting to market volatility and highlighting key price levels, it provides traders with valuable insights into potential support and resistance areas. Whether you're a swing trader, day trader, or position trader, this indicator can help you make more informed trading decisions.
---
### Publishing on TradingView:
- *Title*: Dynamic Support and Resistance
- *Description*: A dynamic support and resistance indicator that uses pivot points and ATR to identify key price levels. Includes customizable support/resistance zones and highlights broken zones for breakout trading.
- *Tags*: support, resistance, ATR, pivot points, breakout, trading, indicator
- *Access*: Public or Invite-only, depending on your preference.
This indicator is ready to be published on TradingView, and the detailed description above will help users understand its functionality and how to use it effectively.
Fibonacci RangeFibonacci Range 50 Indicator
The Fibonacci Range 50 indicator is designed to help traders identify potential price reversal zones and breakout levels by utilizing the 50% Fibonacci retracement level as a key reference point. This indicator is particularly useful for traders who rely on technical analysis and price action to make informed trading decisions.
How It Works:
Identifies the Range – The indicator automatically detects a significant price range, typically based on the highest and lowest points of a given session (e.g., Asian session, previous day’s range, or a custom timeframe).
Plots Fibonacci Levels – The key 50% Fibonacci retracement level is calculated within this range, acting as a dynamic midpoint that often serves as a pivot zone for price movements.
Breakout & Reversal Signals –
If the price rejects the 50% level, it may indicate a trend continuation or range-bound movement.
If the price breaks above or below the range with momentum, it may signal a potential breakout trade opportunity.
Key Features:
✅ Automatic Fibonacci Level Calculation – No manual drawing required.
✅ Customizable Time Ranges – Allows traders to adjust the indicator based on their preferred trading session.
✅ Works Across Different Markets – Effective for Forex, Crypto, and Stock trading.
✅ Breakout & Reversal Strategy Integration – Can be used in conjunction with other indicators such as Moving Averages, RSI, and MACD.
Ideal For:
Intraday traders looking for high-probability setups.
Swing traders identifying potential turning points.
Traders using breakout strategies based on price action.
This indicator provides traders with clear and actionable insights to improve their trade entries, stop-loss placements, and profit targets. 🚀
Multi-Timeframe Stochastic RSI ArrowsMulti-Timeframe Stochastic RSI Arrows Indicator by The Venetian
Dear Moderators before you torch me alive theres nothing groundbreaking just very handy indicator for some users.
This indicator provides traders with a jet fighter-style heads-up display for market momentum across multiple timeframes. By displaying Stochastic RSI directional arrows for 12 different timeframes simultaneously, it offers a comprehensive view of market conditions without requiring multiple chart windows.
How It Works
The indicator calculates the Stochastic RSI for each of 12 common timeframes (1m to 3M) and represents directional movements with intuitive arrows:
- ▲ Green up arrow = Rising momentum
- ▼ Red down arrow = Falling momentum
- ◄► Yellow horizontal arrows = Flat/sideways momentum
- ► Gray right arrow = Just peaked (crossed above overbought)
- ◄ Gray left arrow = Just bottomed (crossed below oversold)
Each timeframe's status appears with its label (e.g., "1m ▲") in a clean, vertically-stacked display using ATR-based spacing to maintain consistent visual appearance regardless of price scale.
Key Features
- ATR-Based Spacing : Uses Average True Range to maintain consistent distances between labels even as chart scale changes
- Multi-Timeframe Analysis: Easily spot divergences and confluences across timeframes (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1D, 1W, 1M, 3M)
- Sensitivity Control: Adjust flat detection sensitivity to filter out noise
- Customisable Appearance: Modify arrow size, vertical spacing, and show/hide timeframe labels
- Overbought/Oversold Detection: Highlights when momentum has peaked or bottomed at extreme levels
- Trading Applications
- Trend Alignment: Quickly identify when multiple timeframes align in the same direction
- Divergence Detection: Spot when shorter timeframes begin to shift against longer ones
- Entry/Exit Timing: Use crossovers of significant timeframes as potential signals
- Market Context: Maintain awareness of the bigger picture while trading shorter timeframes
This indicator doesn't break new ground technically but excels in presenting complex multi-timeframe information in a clean, actionable format — much like a pilot's heads-up display provides critical information at a glance. The ATR-based positioning ensures consistent visibility across different instruments and market conditions.
Great effort has been made for this script to adhere to TradingView's Pine Script house rules and focuses on trader usability rather than introducing novel technical concepts.
Adaptive Bollinger BandsAdaptive Bollinger Bands
This indicator displays Bollinger Bands with parameters that dynamically adjust based on market volatility. Unlike standard Bollinger Bands with fixed parameters, this version adaptively modifies both the period and standard deviation multiplier in real-time based on measured market conditions.
Key Features
Dynamic adjustment of period and standard deviation based on normalized volatility
Color-coded visualization of current volatility regime (expanding, normal, contracting)
Integration with Keltner Channels for band refinement
Bandwidth analysis for volatility regime identification
Optional on-chart parameter labels showing current settings
Band cross alerts and visual markers
Volatility Visualization
The indicator uses color-coding to display different volatility regimes:
Red: Expanding volatility regime (higher measured volatility)
Blue: Normal volatility regime (average measurements)
Green: Contracting volatility regime (lower measured volatility)
Technical Information
The indicator calculates volatility by analyzing price returns over a configurable lookback period (default 50 bars). The standard deviation of returns is normalized against historical extremes to create an adaptive scaling factor.
Band adaptation occurs through two primary mechanisms:
1. Period adjustment: Higher volatility uses shorter periods (more responsive), while lower volatility uses longer periods (more stable)
2. Standard deviation multiplier adjustment: Higher volatility increases the multiplier (wider bands), while lower volatility decreases it (tighter bands)
The middle band uses a simple moving average with the adaptive period. Additional refinement occurs through Keltner Channel integration, which can tighten bands when contained within Keltner boundaries.
Volatility regimes are determined by analyzing Bollinger Bandwidth relative to its recent history, providing contextual information about the current market state.
Settings Customization
The indicator provides extensive customization options:
- Base parameters (period and standard deviation)
- Adaptive range limits (min/max period and standard deviation)
- Keltner Channel parameters for band refinement
- Bandwidth analysis settings
- Display options for visual elements
Limitations and Considerations
All technical indicators have inherent limitations and should not be used in isolation
Past performance does not guarantee future results
The indicator requires sufficient historical data for proper volatility normalization
Smaller timeframes may produce more noise in the adaptive calculations
Parameters may require adjustment for different markets and trading styles
Band crosses are not trading signals on their own and should be evaluated with other factors
This indicator is designed to provide objective information about market volatility conditions and potential support/resistance zones. Always combine with other analysis methods within a comprehensive trading approach.
Breakout Support & Resistance SwiftEdgeBreakout Support & Resistance
The Breakout is a technical analysis tool designed to identify breakout opportunities in the market by detecting price movements through support and resistance levels. It plots potential entry points, stop-loss (SL), and take-profit (TP) levels based on user-defined percentages, helping traders visualize breakout setups on their charts.
How It Works
Support and Resistance Detection: The indicator uses pivot points to identify support and resistance levels over a user-defined lookback period.
Breakout Identification: A breakout is confirmed when the price crosses above a resistance level (bullish) or below a support level (bearish) and remains there for a specified number of bars.
Entry, SL, and TP Levels: Upon a confirmed breakout, the indicator sets an entry point at the closing price and calculates SL, TP1, and TP2 levels based on user-defined percentages.
Directional Filtering: To avoid conflicting signals, the indicator filters breakouts based on the current trade direction. A new entry in the opposite direction is only set if the price moves a user-defined percentage away from the previous entry or if the previous trade hits its SL, TP1, or TP2.
Visuals: The indicator plots support and resistance lines, breakout labels, and entry/SL/TP levels on the chart. Users can choose to display only the latest entry or up to 5 recent entries.
Features
Customizable Settings: Adjust the lookback period for pivot points, breakout confirmation bars, SL/TP percentages, and more.
Directional Change Control: A direction change is indicated when the price moves significantly in the opposite direction, helping to manage trend reversals.
Multiple Entry Display: Option to show up to 5 recent entries for tracking multiple breakouts.
Alerts: Receive alerts when a breakout is confirmed, including entry, SL, TP1, and TP2 levels.
Settings
Pivot Lookback Length: Number of bars to look back for identifying support and resistance levels (default: 5).
Breakout Confirmation Bars: Number of bars the price must stay above/below the level to confirm a breakout (default: 2).
Take Profit 1 (%): First take-profit level as a percentage above/below the entry (default: 2.0%).
Take Profit 2 (%): Second take-profit level as a percentage above/below the entry (default: 4.0%).
Stop Loss (%): Stop-loss level as a percentage below/above the entry (default: 1.0%).
Show Multiple Entries: Toggle to display up to 5 recent entries or only the latest (default: false).
Direction Change Threshold (%): Percentage the price must move away from the entry to allow a direction change (default: 2.0%).
How to Use
Add the Breakout Scanner to your chart.
Adjust the settings to match your trading style (e.g., tweak the pivot lookback or SL/TP percentages).
Watch for breakout labels ("Breakout") on the chart, indicating a confirmed breakout.
Use the plotted entry, SL, TP1, and TP2 levels to plan your trades.
Enable alerts to be notified of new breakouts in real-time.
Notes
This indicator is designed to assist with identifying breakout opportunities and does not guarantee specific results. Always combine it with other analysis and risk management techniques.
The direction change feature helps filter breakouts in the opposite direction, but significant price movements may still trigger a new entry in the opposite direction.
For best results, test the indicator on a demo account to understand its behavior in your preferred market and timeframe.
FlexATRFlexATR: A Dynamic Multi-Timeframe Trading Strategy
Overview: FlexATR is a versatile trading strategy that dynamically adapts its key parameters based on the timeframe being used. It combines technical signals from exponential moving averages (EMAs) and the Relative Strength Index (RSI) with volatility-based risk management via the Average True Range (ATR). This approach helps filter out false signals while adjusting to varying market conditions — whether you’re trading on a daily chart, intraday charts (30m, 60m, or 5m), or even on higher timeframes like the 4-hour or weekly charts.
How It Works:
Multi-Timeframe Parameter Adaptation: FlexATR is designed to automatically adjust its indicator settings depending on the timeframe:
Daily and Weekly: On higher timeframes, the strategy uses longer periods for the fast and slow EMAs and standard periods for RSI and ATR to capture more meaningful trend confirmations while minimizing noise.
Intraday (e.g., 30m, 60m, 5m, 4h): The parameters are converted from “days” into the corresponding number of bars. For instance, on a 30-minute chart, a “day” might equal 48 bars. The preset values for a 30-minute chart have been slightly reduced (e.g., a fast EMA is set at 0.35 days instead of 0.4) to improve reactivity while maintaining robust filtering.
Signal Generation:
Entry Signals: The strategy enters long positions when the fast EMA crosses above the slow EMA and the RSI is above 50, and it enters short positions when the fast EMA crosses below the slow EMA with the RSI below 50. This dual confirmation helps ensure that signals are reliable.
Risk Management: The ATR is used to compute dynamic levels for stop loss and profit target:
Stop Loss: For a long position, the stop loss is placed at Price - (ATR × Stop Loss Multiplier). For a short position, it is at Price + (ATR × Stop Loss Multiplier).
Profit Target: The profit target is similarly set using the ATR multiplied by a designated profit multiplier.
Dynamic Trailing Stop: FlexATR further incorporates a dynamic trailing stop (if enabled) that adjusts according to the ATR. This trailing stop follows favorable price movements at a distance defined by a multiplier, locking in gains as the trend develops. The use of a trailing stop helps protect profits without requiring a fixed exit point.
Capital Allocation: Each trade is sized at 10% of the total equity. This percentage-based position sizing allows the strategy to scale with your account size. While the current setup assumes no leverage (a 1:1 exposure), the inherent design of the strategy means you can adjust the leverage externally if desired, with risk metrics scaling accordingly.
Visual Representation: For clarity and accessibility (especially for those with color vision deficiencies), FlexATR employs a color-blind friendly palette (the Okabe-Ito palette):
EMA Fast: Displayed in blue.
EMA Slow: Displayed in orange.
Stop Loss Levels: Rendered in vermilion.
Profit Target Levels: Shown in a distinct azzurro (light blue).
Benefits and Considerations:
Reliability: By requiring both EMA crossovers and an RSI confirmation, FlexATR filters out a significant amount of market noise, which reduces false signals at the expense of some delayed entries.
Adaptability: The automatic conversion of “day-based” parameters into bar counts for intraday charts means the strategy remains consistent across different timeframes.
Risk Management: Using the ATR for both fixed and trailing stops allows the strategy to adapt to changing market volatility, helping to protect your capital.
Flexibility: The strategy’s inputs are customizable via the input panel, allowing traders to fine-tune the parameters for different assets or market conditions.
Conclusion: FlexATR is designed as a balanced, adaptive strategy that emphasizes reliability and robust risk management across a variety of timeframes. While it may sometimes enter trades slightly later due to its filtering mechanism, its focus on confirming trends helps reduce the likelihood of false signals. This makes it particularly attractive for traders who prioritize a disciplined, multi-timeframe approach to capturing market trends.
Trend Detection
#### *Description:*
This *Trend Detection* indicator is designed to help traders identify and confirm trends in the market using a combination of moving averages, volume analysis, and MACD filters. It provides clear visual signals for uptrends and downtrends, along with customizable settings to adapt to different trading styles and timeframes. The indicator is suitable for both beginners and advanced traders who want to improve their trend-following strategies.
---
#### *Key Features:*
1. *Trend Detection:*
- Uses *Moving Averages (MA)* to determine the overall trend direction.
- Supports multiple MA types: *SMA (Simple), **EMA (Exponential), **WMA (Weighted), and **HMA (Hull)*.
2. *Advanced Filters:*
- *MACD Filter:* Confirms trends using MACD crossovers.
- *Volume Filter:* Ensures trends are supported by above-average volume.
- *Multi-Timeframe Filter:* Validates trends using a higher timeframe (e.g., Daily or Weekly).
3. *Visual Signals:*
- Plots a *trend line* on the chart to indicate the current trend direction.
- Fills the background with *green* for uptrends and *red* for downtrends.
4. *Customizable Settings:*
- Adjust the *MA lengths, **MACD parameters, and **confirmation thresholds* to suit your trading strategy.
- Control the transparency of the background fill for better chart readability.
5. *Alerts:*
- Generates *buy/sell signals* when a trend is confirmed.
- Alerts can be set to trigger at the close of a candle for precise entry/exit points.
---
#### *How to Use:*
1. *Adding the Indicator:*
- Copy and paste the Pine Script code into the TradingView Pine Script editor.
- Add the indicator to your chart.
2. *Configuring the Settings:*
- *Trend Settings:*
- Choose the *MA type* (e.g., EMA for faster response, HMA for smoother trends).
- Set the *Trend MA Period* (e.g., 200 for long-term trends) and *Filter MA Period* (e.g., 100 for medium-term trends).
- *Advanced Filters:*
- Enable/disable the *MACD Filter* and adjust its parameters (Fast, Slow, Signal).
- Enable/disable the *Volume Filter* to ensure trends are supported by volume.
- *Multi-Timeframe Filter:*
- Enable this filter to validate trends using a higher timeframe (e.g., Daily or Weekly).
3. *Interpreting the Signals:*
- *Uptrend:* The trend line turns *green*, and the background is filled with a transparent green color.
- *Downtrend:* The trend line turns *red*, and the background is filled with a transparent red color.
- *Alerts:* Buy/sell signals are generated when the trend is confirmed.
4. *Using Alerts:*
- Set up alerts for *Buy Signal* (bullish reversal) and *Sell Signal* (bearish reversal).
- Alerts can be configured to trigger at the close of a candle for precise execution.
---
#### *Settings and Their Effects:*
1. *MA Type:*
- *SMA:* Smooth but lagging. Best for long-term trends.
- *EMA:* Faster response to price changes. Suitable for medium-term trends.
- *WMA:* Gives more weight to recent prices. Useful for short-term trends.
- *HMA:* Combines speed and smoothness. Ideal for all timeframes.
2. *Trend MA Period:*
- A longer period (e.g., 200) identifies long-term trends but may lag.
- A shorter period (e.g., 50) reacts faster but may produce false signals.
3. *Filter MA Period:*
- Acts as a secondary filter to confirm the trend.
- A shorter period (e.g., 50) provides tighter confirmation but may increase noise.
4. *MACD Filter:*
- Ensures trends are confirmed by MACD crossovers.
- Adjust the *Fast, **Slow, and **Signal* lengths to match your trading style.
5. *Volume Filter:*
- Ensures trends are supported by above-average volume.
- Reduces false signals during low-volume periods.
6. *Multi-Timeframe Filter:*
- Validates trends using a higher timeframe (e.g., Daily or Weekly).
- Increases reliability but may delay signals.
7. *Confirmation Value:*
- Sets the minimum percentage deviation from the trend MA required to confirm a trend.
- A higher value (e.g., 2.0%) reduces false signals but may delay trend detection.
8. *Confirmation Bars:*
- Sets the number of bars required to confirm a trend.
- A higher value (e.g., 5 bars) ensures sustained trends but may delay signals.
---
#### *Who Should Use This Indicator?*
1. *Trend Followers:*
- Traders who focus on identifying and riding long-term trends.
- Suitable for *swing traders* and *position traders*.
2. *Day Traders:*
- Can use shorter MA periods and faster filters (e.g., EMA, HMA) for intraday trends.
3. *Volume-Based Traders:*
- Traders who rely on volume confirmation to validate trends.
4. *Multi-Timeframe Traders:*
- Traders who use higher timeframes to confirm trends on lower timeframes.
5. *Beginners:*
- Easy-to-understand visual signals and alerts make it beginner-friendly.
6. *Advanced Traders:*
- Customizable settings allow for fine-tuning to match specific strategies.
---
#### *Example Use Cases:*
1. *Long-Term Investing:*
- Use a *200-period SMA* with a *Daily* higher timeframe filter to identify long-term trends.
- Enable the *Volume Filter* to ensure trends are supported by strong volume.
2. *Swing Trading:*
- Use a *50-period EMA* with a *4-hour* higher timeframe filter for medium-term trends.
- Enable the *MACD Filter* to confirm trend reversals.
3. *Day Trading:*
- Use a *20-period HMA* with a *1-hour* higher timeframe filter for short-term trends.
- Disable the *Volume Filter* for faster signals.
---
#### *Conclusion:*
The *Trend Detection* indicator is a versatile tool for traders of all levels. Its customizable settings and advanced filters make it suitable for various trading styles and timeframes. By combining moving averages, volume analysis, and MACD filters, it provides reliable trend signals with minimal lag. Whether you're a beginner or an advanced trader, this indicator can help you make better trading decisions by identifying and confirming trends in the market.
---
#### *Publishing on TradingView:*
- *Title:* Trend Detection with Advanced Filters
- *Description:* A powerful trend detection tool using moving averages, volume analysis, and MACD filters. Suitable for all trading styles and timeframes.
- *Tags:* Trend, Moving Averages, MACD, Volume, Multi-Timeframe
- *Category:* Trend-Following
- *Access:* Public or Private (depending on your preference).
---
Let me know if you need further assistance or additional features!
fractal candle The fractal candle technical indicator to identify potential trend reversals in financial markets. It works by counting a series of price bars and looking for specific patterns that indicate when a trend is likely to reverse.
How the Indicator Works:
Counting Candles:
The indicator compares the closing price of the current candle with the closing price from 4 candles ago.
If the current close is higher, the bullish (buy) count increases.
If the current close is lower, the bearish (sell) count increases.
When a count reaches 9 or 13, it may signal a trend reversal.
Buy and Sell Setup:
A buy setup occurs when there have been 9 consecutive candles where each close is lower than the close 4 candles before. This suggests a possible bullish reversal.
A sell setup occurs when there have been 9 consecutive candles where each close is higher than the close 4 candles before. This suggests a possible bearish reversal.
Support and Resistance Levels:
The indicator tracks previous highs and lows during buy/sell setups to identify potential support and resistance levels.
These levels can help traders decide where price might reverse or consolidate.
Candle Coloring for Visual Aid:
The script changes candle colors:
Red for sell signals 📉
Green for buy signals 📈
Different shades for overshoot conditions (extended trends)
Ehlers Adaptive RSIThe Ehlers Adaptive RSI improves on the traditional RSI by dynamically adjusting its period based on market conditions.
Problem with the Classic RSI:
The traditional Relative Strength Index (RSI) uses a fixed period (e.g., 14), making it slow to react in volatile markets and too sensitive in stable conditions.
How the Adaptive RSI Solves This:
Instead of a fixed period, this version automatically adapts based on market volatility using a combination of ATR (Average True Range) and EMA (Exponential Moving Average).
Key Benefits:
More Responsive – Quickly adapts to market shifts, reducing lag.
Less Noise – Filters out unnecessary fluctuations in stable trends.
Self-Adjusting – No need to manually change RSI settings for different market conditions.
Better Signal Accuracy – Helps detect real trend reversals without false alarms.
This script is for informational and educational purposes only. It does not constitute financial advice, and past performance does not guarantee future results. Use it at your own risk.
Hull Moving Average Adaptive RSI (Ehlers)Hull Moving Average Adaptive RSI (Ehlers)
The Hull Moving Average Adaptive RSI (Ehlers) is an enhanced trend-following indicator designed to provide a smooth and responsive view of price movement while incorporating an additional momentum-based analysis using the Adaptive RSI.
Principle and Advantages of the Hull Moving Average:
- The Hull Moving Average (HMA) is known for its ability to track price action with minimal lag while maintaining a smooth curve.
- Unlike traditional moving averages, the HMA significantly reduces noise and responds faster to market trends, making it highly effective for detecting trend direction and changes.
- It achieves this by applying a weighted moving average calculation that emphasizes recent price movements while smoothing out fluctuations.
Why the Adaptive RSI Was Added:
- The core HMA line remains the foundation of the indicator, but an additional analysis using the Adaptive RSI has been integrated to provide more meaningful insights into momentum shifts.
- The Adaptive RSI is a modified version of the traditional Relative Strength Index that dynamically adjusts its sensitivity based on market volatility.
- By incorporating the Adaptive RSI, the HMA visually represents whether momentum is strengthening or weakening, offering a complementary layer of analysis.
How the Adaptive RSI Influences the Indicator:
- High Adaptive RSI (above 65): The market may be overbought, or bullish momentum could be fading. The HMA turns shades of red, signaling a possible exhaustion phase or potential reversals.
- Neutral Adaptive RSI (around 50): The market is in a balanced state, meaning neither buyers nor sellers are in clear control. The HMA takes on grayish tones to indicate this consolidation.
- Low Adaptive RSI (below 35): The market may be oversold, or bearish momentum could be weakening. The HMA shifts to shades of blue, highlighting potential recovery zones or trend slowdowns.
Why This Combination is Powerful:
- While the HMA excels in tracking trends and reducing lag, it does not provide information about momentum strength on its own.
- The Adaptive RSI bridges this gap by adding a clear visual layer that helps traders assess whether a trend is likely to continue, consolidate, or reverse.
- This makes the indicator particularly useful for spotting trend exhaustion and confirming momentum shifts in real-time.
Best Use Cases:
- Works effectively on timeframes from 1 hour (1H) to 1 day (1D), making it suitable for swing trading and position trading.
- Particularly useful for trading indices (SPY), stocks, forex, and cryptocurrencies, where momentum shifts are frequent.
- Helps identify not just trend direction but also whether that trend is gaining or losing strength.
Recommended Complementary Indicators:
- Adaptive Trend Finder: Helps identify the dominant long-term trend.
- Williams Fractals Ultimate: Provides key reversal points to validate trend shifts.
- RVOL (Relative Volume): Confirms significant moves based on volume strength.
This enhanced HMA with Adaptive RSI provides a powerful, intuitive visual tool that makes trend analysis and momentum interpretation more effective and efficient.
This indicator is for educational and informational purposes only. It should not be considered financial advice or a guarantee of performance. Always conduct your own research and use proper risk management when trading. Past performance does not guarantee future results.
Jigga-SectorTrendViewThe Jigga-SectorView script is indicator designed to analyze and visualize sector trends based on given input. Based on input of multiple sector indices, calculates key technical values, and presents a structured summary in a table.
Calculating Sector Strength & Momentum:
For each selected symbol
Step 1 - 52-week lowest low is fetched.
Step 2 - Daily closing price is retrieved.
Step 3 - A crossover between 50-day EMA and 200-day EMA determines trend shifts.
Step 4 - Percentage difference from the identified level is calculated.
Output:
A bottom-right table is created with sector-wise trend insights which shows Symbol name and how much its away from SL in percentage terms.
Wall Street Ai**Wall Street Ai – Advanced Technical Indicator for Market Analysis**
**Overview**
Wall Street Ai is an advanced, AI-powered technical indicator meticulously engineered to provide traders with in-depth market analysis and insight. By leveraging state-of-the-art artificial intelligence algorithms and comprehensive historical price data, Wall Street Ai is designed to identify significant market turning points and key price levels. Its sophisticated analytical framework enables traders to uncover potential shifts in market momentum, assisting in the formulation of strategic trading decisions while maintaining the highest standards of objectivity and reliability.
**Key Features**
- **Intelligent Pattern Recognition:**
Wall Street Ai employs advanced machine learning techniques to analyze historical price movements and detect recurring patterns. This capability allows it to differentiate between typical market noise and meaningful signals indicative of potential trend reversals.
- **Robust Noise Reduction:**
The indicator incorporates a refined volatility filtering system that minimizes the impact of minor price fluctuations. By isolating significant price movements, it ensures that the analytical output focuses on substantial market shifts rather than ephemeral variations.
- **Customizable Analytical Parameters:**
With a wide range of adjustable settings, Wall Street Ai can be fine-tuned to align with diverse trading strategies and risk appetites. Traders can modify sensitivity, threshold levels, and other critical parameters to optimize the indicator’s performance under various market conditions.
- **Comprehensive Data Analysis:**
By harnessing the power of artificial intelligence, Wall Street Ai performs a deep analysis of historical data, identifying statistically significant highs and lows. This analysis not only reflects past market behavior but also provides valuable insights into potential future turning points, thereby enhancing the predictive aspect of your trading strategy.
- **Adaptive Market Insights:**
The indicator’s dynamic algorithm continuously adjusts to current market conditions, adapting its analysis based on real-time data inputs. This adaptive quality ensures that the indicator remains relevant and effective across different market environments, whether the market is trending strongly, consolidating, or experiencing volatility.
- **Objective and Reliable Analysis:**
Wall Street Ai is built on a foundation of robust statistical methods and rigorous data validation. Its outputs are designed to be objective and free from any exaggerated claims, ensuring that traders receive a clear, unbiased view of market conditions.
**How It Works**
Wall Street Ai integrates advanced AI and deep learning methodologies to analyze a vast array of historical price data. Its core algorithm identifies and evaluates critical market levels by detecting patterns that have historically preceded significant market movements. By filtering out non-essential fluctuations, the indicator emphasizes key price extremes and trend changes that are likely to impact market behavior. The system’s adaptive nature allows it to recalibrate its analytical parameters in response to evolving market dynamics, providing a consistently reliable framework for market analysis.
**Usage Recommendations**
- **Optimal Timeframes:**
For the most effective application, it is recommended to utilize Wall Street Ai on higher timeframe charts, such as hourly (H1) or higher. This approach enhances the clarity of the detected patterns and provides a more comprehensive view of long-term market trends.
- **Market Versatility:**
Wall Street Ai is versatile and can be applied across a broad range of financial markets, including Forex, indices, commodities, cryptocurrencies, and equities. Its adaptable design ensures consistent performance regardless of the asset class being analyzed.
- **Complementary Analytical Tools:**
While Wall Street Ai provides profound insights into market behavior, it is best utilized in combination with other analytical tools and techniques. Integrating its analysis with additional indicators—such as trend lines, support/resistance levels, or momentum oscillators—can further refine your trading strategy and enhance decision-making.
- **Strategy Testing and Optimization:**
Traders are encouraged to test Wall Street Ai extensively in a simulated trading environment before deploying it in live markets. This allows for thorough calibration of its settings according to individual trading styles and risk management strategies, ensuring optimal performance across diverse market conditions.
**Risk Management and Best Practices**
Wall Street Ai is intended to serve as an analytical tool that supports informed trading decisions. However, as with any technical indicator, its outputs should be interpreted as part of a comprehensive trading strategy that includes robust risk management practices. Traders should continuously validate the indicator’s findings with additional analysis and maintain a disciplined approach to position sizing and risk control. Regular review and adjustment of trading strategies in response to market changes are essential to mitigate potential losses.
**Conclusion**
Wall Street Ai offers a cutting-edge, AI-driven approach to technical analysis, empowering traders with detailed market insights and the ability to identify potential turning points with precision. Its intelligent pattern recognition, adaptive analytical capabilities, and extensive noise reduction make it a valuable asset for both experienced traders and those new to market analysis. By integrating Wall Street Ai into your trading toolkit, you can enhance your understanding of market dynamics and develop a more robust, data-driven trading strategy—all while adhering to the highest standards of analytical integrity and performance.
Elastic Volume-Weighted Student-T TensionOverview
The Elastic Volume-Weighted Student-T Tension Bands indicator dynamically adapts to market conditions using an advanced statistical model based on the Student-T distribution. Unlike traditional Bollinger Bands or Keltner Channels, this indicator leverages elastic volume-weighted averaging to compute real-time dispersion and location parameters, making it highly responsive to volatility changes while maintaining robustness against price fluctuations.
This methodology is inspired by incremental calculation techniques for weighted mean and variance, as outlined in the paper by Tony Finch:
📄 "Incremental Calculation of Weighted Mean and Variance" .
Key Features
✅ Adaptive Volatility Estimation – Uses an exponentially weighted Student-T model to dynamically adjust band width.
✅ Volume-Weighted Mean & Dispersion – Incorporates real-time volume weighting, ensuring a more accurate representation of market sentiment.
✅ High-Timeframe Volume Normalization – Provides an option to smooth volume impact by referencing a higher timeframe’s cumulative volume, reducing noise from high-variability bars.
✅ Customizable Tension Parameters – Configurable standard deviation multipliers (σ) allow for fine-tuned volatility sensitivity.
✅ %B-Like Oscillator for Relative Price Positioning – The main indicator is in form of a dedicated oscillator pane that normalizes price position within the sigma ranges, helping identify overbought/oversold conditions and potential momentum shifts.
✅ Robust Statistical Foundation – Utilizes kurtosis-based degree-of-freedom estimation, enhancing responsiveness across different market conditions.
How It Works
Volume-Weighted Elastic Mean (eμ) – Computes a dynamic mean price using an elastic weighted moving average approach, influenced by trade volume, if not volume detected in series, study takes true range as replacement.
Dispersion (eσ) via Student-T Distribution – Instead of assuming a fixed normal distribution, the bands adapt to heavy-tailed distributions using kurtosis-driven degrees of freedom.
Incremental Calculation of Variance – The indicator applies Tony Finch’s incremental method for computing weighted variance instead of arithmetic sum's of fixed bar window or arrays, improving efficiency and numerical stability.
Tension Calculation – There are 2 dispersion custom "zones" that are computed based on the weighted mean and dynamically adjusted standard student-t deviation.
%B-Like Oscillator Calculation – The oscillator normalizes the price within the band structure, with values between 0 and 1:
* 0.00 → Price is at the lower band (-2σ).
* 0.50 → Price is at the volume-weighted mean (eμ).
* 1.00 → Price is at the upper band (+2σ).
* Readings above 1.00 or below 0.00 suggest extreme movements or possible breakouts.
Recommended Usage
For scalping in lower timeframes, it is recommended to use the fixed α Decay Factor, it is in raw format for better control, but you can easily make a like of transformation to N-bar size window like in EMA-1 bar dividing 2 / decayFactor or like an RMA dividing 1 / decayFactor.
The HTF selector catch quite well Higher Time Frame analysis, for example using a Daily chart and using as HTF the 200-day timeframe, weekly or monthly.
Suitable for trend confirmation, breakout detection, and mean reversion plays.
The %B-like oscillator helps gauge momentum strength and detect divergences in price action if user prefer a clean chart without bands, this thanks to pineScript v6 force overlay feature.
Ideal for markets with volume-driven momentum shifts (e.g., futures, forex, crypto).
Customization Parameters
Fixed α Decay Factor – Controls the rate of volume weighting influence for an approximation EWMA approach instead of using sum of series or arrays, making the code lightweight & computing fast O(1).
HTF Volume Smoothing – Instead of a fixed denominator for computing α , a volume sum of the last 2 higher timeframe closed candles are used as denominator for our α weight factor. This is useful to review mayor trends like in daily, weekly, monthly.
Tension Multipliers (±σ) – Adjusts sensitivity to dispersion sigma parameter (volatility).
Oscillator Zone Fills – Visual cues for price positioning within the cloud range.
Posible Interpretations
As market within indicators relay on each individual edge, this are just some key ideas to glimpse how the indicator could be interpreted by the user:
📌 Price inside bands – Market is considered somehow "stable"; price is like resting from tension or "charging batteries" for volume spike moves.
📌 Price breaking outer bands – Potential breakout or extreme movement; watch for reversals or continuation from strong moves. Market is already in tension or generating it.
📌 Narrowing Bands – Decreasing volatility; expect contraction before expansion.
📌 Widening Bands – Increased volatility; prepare for high probability pull-back moves, specially to the center location of the bands (the mean) or the other side of them.
📌 Oscillator is just the interpretation of the price normalized across the Student-T distribution fitting "curve" using the location parameter, our Elastic Volume weighted mean (eμ) fixed at 0.5 value.
Final Thoughts
The Elastic Volume-Weighted Student-T Tension indicator provides a powerful, volume-sensitive alternative to traditional volatility bands. By integrating real-time volume analysis with an adaptive statistical model, incremental variance computation, in a relative price oscillator that can be overlayed in the chart as bands, it offers traders an edge in identifying momentum shifts, trend strength, and breakout potential. Think of the distribution as a relative "tension" rubber band in which price never leave so far alone.
DISCLAIMER:
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The following indicator was made for NON LUCRATIVE ACTIVITIES and must remain as is, following TradingView's regulations. Use of indicator and their code are published for work and knowledge sharing. All access granted over it, their use, copy or re-use should mention authorship(s) and origin(s).
WARNING NOTICE!
THE INCLUDED FUNCTION MUST BE CONSIDERED FOR TESTING. The models included in the indicator have been taken from open sources on the web and some of them has been modified by the author, problems could occur at diverse data sceneries, compiler version, or any other externality.