Correlation X macroeconomicsFind the correlation between financial assets and the main Brazilian macroeconomic variables:
SELIC rate (Red)
PIB (Green)
Inflation (Blue)
Employment and income (Yellow)
Unlike other indicators that measure the correlation between two assets, the indicator "Correlation X macroeconomics" measures, for example, the correlation that the VALE3 asset has with the SELIC rate.
The correlation is obtained by calculating the variation suffered by a given asset on the day a given Brazilian macroeconomic variable is released.
This indicator can be used on any financial asset.
Use time frame chart = 1 day.
To calculate the correlation, data published by IBGE and the Central Bank of Brazil over a period of time are used. This time period is different depending on the selected macroeconomic variable. Namely:
16 PIB disclosures (4 years)
24 SELIC rate disclosures (3 years)
24 disclosures of IPCA and employment and income data (2 years)
You can select one or more macroeconomic variables to check the effect of correlation separately on each of them.
This indicator "Correlation X macroeconomics" will be updated monthly, as detailed below:
At the end of the day on which the PIB is released
At the end of the day on which employment and income data are released
At the end of the day following the day on which the SELIC rate is published
On the last business day of the month if none of the aforementioned disclosures occur
Индикаторы и стратегии
matrixx Global Sessions + Good/Premium Spread ZonesSimple (enough) Script that allows you to visualize the major trading sessions, with some QoL stuff, Includes a "Monday Open" bar for reference when zooming out.
By default no one 'session' is turned on; instead, we have;
Good Zone - where spread tends to close up enough for (me) to trade in the 1-minute timezones
Premium Zone - where the tightest spreads tend to happen and I (you?) can get more aggressive with Stop Losses, and moment-to-moment trade accuracy.
The Monday Open - for reference.
You are able to go into the settings and turn these on and off at will, making any combination of 'zones' you prefer, and can colour code them, as well.
Points of Difference;
You can turn on and off any group or set of sessions for an overview;
Additionally, this is coded so that if there is a "Daylight Saving" or other localized timezone shift, it should be reflected correcty, as timezones are calculated based on each sessions' data, not arbitrarily with +/- as most of the other scripts that do similar to this one.
Monday Open
you can toggle sessions, or instead toggle the 'off hour' zones, at will
Session Profile AnalyzerWhat’s This Thing Do?
Hey there, trader! Meet the Session Profile Analyzer (SPA) your new go-to pal for breaking down market action within your favorite trading sessions. It’s an overlay indicator that mixes Rotation Factor (RF), Average Subperiod Range (ASPR), Volume Value Area Range (VOLVAR), and TPO Value Area Range (TPOVAR) into one tidy little toolkit. Think of it as your market vibe checker momentum, volatility, and key levels, all served up with a grin.
The Cool Stuff It Does:
Rotation Factor (RF) : Keeps tabs on whether the market’s feeling bullish, bearish, or just chilling. It’s like a mood ring for price action shows “UP ↑,” “DOWN ↓,” or “NONE ↔.”
ASPR : Averages out the range of your chosen blocks. Big swings? Tiny wiggles? This tells you the session’s energy level.
VOLVAR : Dives into volume to find where the action’s at, with a smart twist it adjusts price levels based on the session’s size and tiny timeframe moves (capped at 128 so your chart doesn’t cry).
TPOVAR : Grabs lower timeframe data to spot where price hung out the most, TPO-style. Value zones, anyone?
Dynamic Precision : No ugly decimal overload SPA matches your asset’s style (2 decimals for BTC, 5 for TRX, you get it).
How to Play With It:
Session Start/End : Pick your trading window (say, 0930-2200) and a timezone (America/New_York, or wherever you’re at).
Block Size : Set the chunk size for RF and ASPR like 30M if you’re into half-hour vibes.
Value Area Timeframe : Go micro with something like 1S for VOLVAR and TPOVAR precision.
Label : Size it (small to huge), color it (white, neon pink, whatever), and slap it where you want (start, mid, end).
How It All Works (No PhD Required):
RF : Imagine breaking your session into blocks (via Block Size). For each block, SPA checks if the high beats the last high (+1) or not (0), and if the low dips below the last low (-1) or not (0). Add those up, and boom positive RF means upward vibes, negative means downward, near zero is “meh.” Use it to catch trends or spot when the market’s napping.
ASPR : Takes those same blocks, measures high-to-low range each time, and averages them. It’s your volatility pulse big ASPR = wild ride, small ASPR = snooze fest. Great for sizing up session action.
VOLVAR : Here’s the fun part. It takes the session’s full range (high minus low), divides it by the average range of your tiny Value Area Timeframe bars (e.g., 1S), and picks a sensible number of price levels capped at 128 so it doesn’t overthink. Then it bins volume into those levels, finds the busiest price (POC), and grows a 70% value area around it. Perfect for spotting where the big players parked their cash.
TPOVAR : Grabs midpoints from those tiny timeframe bars, sorts them, and snips off the top and bottom 15% to find the 70% “value zone” where price chilled the most. Think of it as the market’s comfort zone great for support/resistance hunting.
Why You’ll Like It:
Whether you’re scalping crypto, swinging forex, or dissecting stocks, SPA’s got your back. Use RF to catch momentum shifts like jumping on an “UP ↑” trend or fading a “DOWN ↓” exhaustion. ASPR’s your secret weapon for sizing up trades: a big ASPR (say, 100 on BTC) means you can aim for juicy targets (like 1-2x ASPR) or set invalidations tight when it’s tiny (e.g., 0.001 on TRX) to dodge chop. VOLVAR and TPOVAR are your level-finders nail those key zones where price loves to bounce or break, perfect for entries, stops, or profit grabs. It’s like having a trading co-pilot who’s chill but knows their stuff.
Heads-Up:
Load enough history for those micro timeframes to shine (1S needs some bars to work with).
Keeps things light won’t bog down your chart even with decent-sized sessions.
Let’s Roll:
Slap SPA on your chart, tweak it to your style, and watch it spill the beans on your session. Happy trading, fam may your pips be plenty and your losses few!
Psych LevelWhat it shows:
This indicator will show a horizontal line at a psychological value which can be user defined. (Psychological values are round numbers, like 10,50,100,1000 and so on...)
At these Psychological value there are often limit orders placed for both buying and selling and can often act as support and resistances.
Therefore it is useful to pre-draw these levels beforehand and this indicator will speed up the process doing so by adjusting few different settings and draw them automatically.
How to use it:
At these Psychological value there are often limit orders placed for both buying and selling and can often act as support and resistances. This is often the case when you look at limit orders at such levels on bookmap or level 2 data.
At these psychological levels it can be set as a target of your trade or as risk levels when taking a trade in either of direction. Obviously this alone shouldn't dictate the trade you should take but can be a valuable info to supplement your trade.
On the chart it is clear to see these psychological level lines are acting as resistances/supports.
Key settings:
Interval: Interval levels will be drawn for, between the minimum and maximum values inputted by the user. Minimum value allowed is 1.
Min. value: Minimum value of Psychological level that will be drawn. Minimum value allowed is 1.
Max value: Maximum value of Psychological level that will be drawn. Minimum value allowed is 1.
Line colour: Colour of line drawn.
Line width: Width of line drawn.
Line style: Style of line drawn, either solid, dotted or dashed.
Label offset: Offset of where where label will be, measured from current bar. Offset of 0 will be drawn at current bar location, any positive number will move to the right by the set amount.
Text Colour: Colour of label text
Text size: Size of label text
Example: Chart here shows setting for minimum value as 100, maximum value as 140 and interval as 5. In this setting lines will be automatically drawn at: 100,105,110,115,120,125,130,145 and 140.
The flexibility of user defined max/min and interval values allows to be accommodated for price with different price tags, including stocks under $10.
----------------------------------------------------------------------
If anything is not clear please let me know!
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! 🚀
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.
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.
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.