PMH/PML ZonesThe PMH/PML Zones indicator highlights the price range between the premarket high (PMH) and low (PML) during the premarket session (4:00 AM to 9:30 AM EST). It draws a semi-transparent zone across the chart, making it easy to visualize key support and resistance levels from the premarket trading activity. This indicator is designed for intraday traders who want to focus on premarket price action, excluding regular market and after-hours data.
Indicadores e estratégias
Price Extreme BandsPrice Extreme Bands Description
This indicator calculates and displays Price Extreme Bands based on an Exponential Moving Average (EMA) and True Range Average True Range (TR ATR). It utilizes a custom "Super Smoother" function to smooth the bands, providing a clearer representation of potential price extremes without sacrificing accuracy.
Usage
Built for specifically for intraday timeframes, this indicator identifies short term price extremes and volatility ranges. Traders can observe when price moves towards the outer bands, suggesting strong momentum or potential overbought/oversold conditions. The filled zones highlight areas of increased volatility which can used as exit criteria for a trade, possible reversal points in ranging markets or price ranges where price momentum could slow in trending markets.
Key Features
Length Input: Controls the length of the EMA and TR ATR calculations.
Multiplier Inputs: Uses two fixed multipliers (1.71 and 2.50) to create bands.
Super Smoother: Applies a custom smoothing function to the bands for reduced noise.
Fill Zones: Fills the areas between the inner and outer bands to highlight potential volatility ranges.
Calculation:
1. EMA (Basis): Calculates the Exponential Moving Average of the selected source.
2. TR ATR: Calculates the True Range and then smoothes it using RMA (Rolling Moving Average).
3. Bands: Calculates upper and lower bands using the EMA and ATR, with multipliers of 1.71 and 2.50.
4. Super Smoother: Applies a smoothing function to the calculated bands.
Visuals:
Basis Line: Plots the EMA (basis) (invisible by default).
Inner Bands (1.71 Multiplier): Plots the smoothed bands with a distinct color (e.g., orange) (invisible by default).
Outer Bands (2.50 Multiplier): Plots the smoothed bands with a different color (e.g., purple) (invisible by default).
Fill Zones: Fills the region between the inner and outer upper bands and the inner and outer lower bands with a translucent color (e.g. light blue).
// Note: The plot lines are invisible by default. To view the basis, upper and lower band lines, adjust the visibility settings in the indicator's settings.
Uniqueness: Ready of the box. Code and parameters built specifically for 1m to 15m timeframes provides users with an indicator to easily identify price extremes. The use of TR ATR and addition of the Super Smoother calculation create a easier visualization and implementation compared to existing price band options.
Wyckoff Range Detector [Beta] + Smart Money ElementsThis indicator detects the key phases of the Wyckoff market structure and integrates smart money elements, such as Order Blocks (OB), Fair Value Gaps (FVG), and Breaker Blocks. It also helps identify potential reversal zones (LPS, UTAD, Spring), breakout opportunities, and provides automatic Risk-Reward (R:R) calculations.
Key Features:
Wyckoff Phases Detection:
Automatically detects key phases of Wyckoff's market structure:
B (Range) – The initial range of accumulation.
C (Spring Phase) – Accumulation phase with a potential breakout.
C (UTAD Phase) – Upthrust After Distribution, indicating a potential reversal.
D (LPS Phase) – Last Point of Support, signaling accumulation before a breakout.
E (Breakout) – Phase marking breakout from range.
Re-Accumulation – Possible continuation in the range after a breakout.
Re-Distribution – Possible breakdown of a distribution phase.
Smart Money Elements:
Order Blocks (OB): Identifies Bullish and Bearish OBs to anticipate market entries.
Fair Value Gap (FVG): Highlights imbalance areas where price is likely to return.
Breaker Blocks: Marks areas where the price has previously broken a structure, indicating strong supply/demand zones.
Automatic Risk-Reward Calculation:
Smart RR: Automatically calculates Risk-Reward (R:R) ratios from LPS phases and Order Blocks. It draws lines to indicate target and stop levels with green for the target and red for the stop.
Visual representation of the entry signal with target and stop levels displayed.
Alerts:
Set alerts for phase changes, breakout, re-accumulation, or re-distribution to stay updated on the market’s movements.
Visual Tools:
Labels are used to indicate key zones such as AR, SC, LPS, and Spring Zones.
Draw boxes for the Spring and LPS phases to highlight areas where price action is likely to reverse.
Lines to represent potential breakouts, with customizable risk-reward indicators.
How to Use:
Apply the Indicator on any chart.
Identify Wyckoff phases to understand market trends.
Monitor Smart Money Elements (OB, FVG, Breaker) for entry and exit points.
Use automatic Risk-Reward levels for managing trades.
Set alerts for various Wyckoff phases and smart money signals to stay updated.
Custom Opening Range FillThis TradingView indicator visualizes a customizable opening range. Users define the start hour, minute (UTC), and range duration. It calculates the high and low prices within this period and fills the area between them on the chart. The range resets daily. This highlights a specific trading window, aiding in identifying potential breakout or breakdown levels. Traders can adjust the time parameters to analyze various market sessions or strategies. It's useful for those focusing on price action within a defined timeframe, simplifying the observation of key price levels.
Cyclical Momentum PivotsCYCLICAL MOMENTUM PIVOTS
Overview
Cyclical Momentum Pivots is a streamlined indicator blending Cyclic Smoothed RSI (cRSI) with dynamic momentum detection to pinpoint high-probability trading pivots across stocks, forex, crypto, and more. Built on an adaptive cycle engine, it tracks market rhythm, delivering clear signals for momentum shifts and cyclic reversals, with an optional Hurst-style pivot forecast projected ahead of time. Powered by Pine Script v6, it uses lazy evaluation for real-time efficiency and precision.
How It Works
Momentum Signals (Green/Red Triangles)
Green Triangles (Below Bars): Trigger on volume spikes (default >2x 10-period SMA) with price surges (default ≥1.5%) or volume momentum (>20% over 5 bars).
Red Triangles (Above Bars): Same conditions with price drops.
Dynamic Tuning: Thresholds adjust via volatility (ATR, volume std dev) and cycle strength—stronger signals when cycles deviate far from a dynamic mean.
cRSI Band Crossovers (Turquoise/Purple Diamonds)
Turquoise Diamonds (Below Bars): cRSI crosses up through the low band—potential bullish pivot from oversold.
Purple Diamonds (Above Bars): cRSI crosses down through the high band—bearish pivot from overbought.
cRSI 25% Level Signals (Yellow Markers)
Yellow X (Above Bars): cRSI drops below 25% under the high band with a price decline—early bearish momentum cue.
Yellow O (Below Bars): cRSI rises above 25% over the low band with a price increase—early bullish momentum hint.
Cycle Momentum Signals (Green/Red Circles)
Green Circles (Below Bars): Cycle crosses above its dynamic mean—potential bullish acceleration.
Red Circles (Above Bars): Cycle dips below the mean—potential bearish slowdown.
Why Shorter Cycles Are Bearish, Longer Bullish: Shorter cycles (below mean) signal rapid swings—often bearish, reflecting seller-driven volatility. Longer cycles (above mean) indicate sustained trends—typically bullish, driven by buyer confidence.
Dynamic Cycle Length & Pivot Forecast
Calculation: Detects peaks/troughs over an adaptive window (scaled by smoothed cycle and sensitivity), averages distances, and smooths with an EMA (default 5). Clamped 10–40 bars. Dynamic mean adjusts to cycle length (default 2x multiplier).
Display: White number (e.g., "18") on cycle changes—off by default, toggle on via settings. Optional gray label (e.g., "P+10") forecasts bars until the next pivot, based on Hurst cycle analysis—off by default, toggle on via settings.
Hurst Pivot Forecast: Uses the average pivot period (full cycle, e.g., peak-to-peak or trough-to-trough) to predict the next pivot from the last cycle shift. Half-cycle (e.g., avgPivotPeriod / 2) marks potential midpoints, full cycle (default) targets the next major pivot, and 2x cycle (e.g., avgPivotPeriod * 2) forecasts longer-term turns—adjustable via sensitivity and multiplier settings for custom timing.
Key Features
Adaptive Cycle Engine: Peak/trough distances, smoothed with an EMA, scaled by sensitivity (default 1.0)—locks onto market rhythm.
Cycle Strength: Signals amplify with deviation from a dynamic mean—tighter thresholds in long cycles, looser in short ones.
Pivot Forecast: Optional Hurst-inspired prediction shows bars until the next pivot—enhances planning without clutter.
User Controls: Tune smoothing period (default 5), window sensitivity (0.5–2.0), and mean multiplier (1.0–5.0) for your market.
v6 Efficiency: Lazy evaluation optimizes conditions (e.g., momentumSignal and currentPriceChange > 0) for real-time precision.
Usage Tips
Timeframes: Scales from 5M to 1D—tweak settings for speed or stability.
Assets: Universal—adjust thresholds for volatility (e.g., 2.5 for crypto, 1.5 for forex).
Confirmation: Pair with support/resistance—e.g., green triangle + green circle = strong bullish pivot; red diamond + red circle = bearish pivot. Watch forecast (e.g., "P+5") for timing entries/exits.
Backtesting: Test historically—cycle strength and forecast boost accuracy in trending vs. ranging markets.
Settings
Use Auto Dominant Cycle Length: Enable (default) for adaptive cycles; disable for fixed (default 20).
Example: Enable for crypto’s wild swings; disable and set 30 for stable stocks—locks cycle to asset pace.
Base Volume Threshold: Default 2.0—raise for stricter signals, lower for more.
Example: 2.5 cuts noise in BTC/USD, 1.5 catches more in SPY—tunes signal frequency.
Base Price Change % Threshold: Default 1.5%—adjust for asset volatility.
Example: 2% for high-beta stocks, 1% for forex—matches price action scale.
Volume Momentum Lookback: Default 5—shorten for sensitivity, lengthen for stability.
Example: 3 for 5M scalping, 10 for 1D swings—sharpens momentum detection.
Show Cycle Labels: Disable (default)—enable to see cycle length changes.
Example: Enable on 1H for cycle tracking, disable on 5M for cleaner charts—reduces visual noise.
Show Pivot Forecast: Disable (default)—enable for Hurst-style next-pivot countdown.
Example: Enable on 4H for swing planning (e.g., "P+20"), disable on 15M for focus—adds timing insight.
Cycle Smoothing EMA Period: Default 5—faster (3) for volatility, slower (10) for trends.
Example: 3 smooths fast XRP cycles, 10 steadies SPX trends—reduces erratic signals.
Window Sensitivity: Default 1.0—lower (0.5) for tighter detection, higher (1.5) for broader cycles.
Example: 0.8 narrows for ETH’s chop, 1.2 widens for gold’s slow waves—tunes peak/trough precision.
Mean Multiplier: Default 2.0—shorter (1.5) for responsiveness, longer (3.0) for broader context.
Example: 1.5 tightens signals in 15M forex, 3.0 broadens for 1D indices—shifts momentum circle and forecast timing.
Show cRSI Band Crossovers: Enable (default) for cRSI signals; disable for simplicity.
Example: Enable for reversal plays, disable for momentum focus—cuts clutter.
Why It Stands Out
Cyclical Momentum Pivots’ auto-adaptive cycle—smoothed, strength-weighted, and dynamically averaged—tracks market shifts, delivering clear, actionable pivot signals with optional Hurst-style forecasting ahead of time. v6’s lazy evaluation ensures every trigger is computed efficiently, making it a go-to for traders seeking precision in momentum and reversals.
LBM - Advanced StrategiesGeneral Operation
This indicator combines 5 configurable moving averages with up to 5 customizable trading strategies. The moving averages are plotted on the chart and the strategies generate buy and sell signals based on user-defined conditions.
Buy Strategy Configuration (and Automatic Inverse Sell)
For each strategy (1 to 5), you can configure:
Enable/Disable : Activates or deactivates the strategy
Source A : Selects the first element for comparison (can be one of the MAs, High, Low, Close or Open)
Operator : Chooses the comparison condition (>; >=; =; <=; <; Crossover; Crossunder)
Source B: Selects the second element for comparison
Connector : Defines how the strategy connects with previous ones (AND, OR, etc.)
Important about sells: Sell conditions are automatically the opposite of buy conditions. For example:
If buy is triggered when MA1 > MA2, sell will be when MA1 < MA2
If buy uses a "Crossover", sell will use a "Crossunder" (and vice versa)
Practical Example
If you configure:
Strategy 1: Source A = Close, Operator = ">", Source B = MA1
This means:
BUY signal when closing price is ABOVE MA1
SELL signal when closing price is BELOW MA1 (automatic opposite)
Visualization
Green downward triangles indicate buy signals
Red upward triangles indicate sell signals
Moving averages are plotted with different colors for easy identification
The indicator allows combining multiple strategies with complex conditional logic (AND/OR) to create customized trading systems.
EMAs Table: Price, 22 Cross, 50 Cross, and SlopesA basic EMA indicator that does a few checks:
1) Checks if the price is above the 22 EMA.
2) Checks if the 22 EMA is above the 50 EMA
3) Checks if the 50 EMA is above the 200 EMA.
4) Checks if the slopes for the EMA's are positive.
PDH/PDL ZonesPDH/PDL Zones
Overview
The PDH/PDL Zones indicator highlights the price range between the previous day’s high (PDH) and low (PDL) during regular market hours (9:30 AM to 4:00 PM EST). It draws a semi-transparent zone across the chart, making it easy to visualize key support and resistance levels from the prior trading session. This indicator is designed for intraday traders who want to focus on regular market activity, excluding premarket and after-hours data.
Big 7 NASDAQ📊 Big 7 NASDAQ % Change Heatmap with Trend Arrows
This indicator displays a real-time performance table for the "Big 7" NASDAQ stocks:
Apple (AAPL), Microsoft (MSFT), Amazon (AMZN), Google (GOOGL), Meta (META), Tesla (TSLA), and Nvidia (NVDA).
🔎 Features:
Live Daily % Change: Calculates the percentage change between today’s open and the current price.
Color Gradient: Background color intensity reflects the strength of the move (from mild to strong bullish/bearish).
Trend Arrows: Visual arrows 🔺 (up) and 🔻 (down) represent the direction of movement.
Position Mode Selector:
"Buy" – highlights with green tones
"Sell" – highlights with red tones
"Neutral" – uses dynamic coloring based on individual stock moves
📍 Placement:
The table is positioned in the top-right corner of the chart for easy reference without cluttering your main view.
D3m4h GIFVGFinds GIFVGs, and contains a marker in bottom left to indicate if gifvg was take out after 6 minute candles or not to help find entries with a strategy
ZRK 30m This TradingView indicator draws alternating 30-minute boxes aligned precisely to real clock times (e.g., 10:00, 10:30, 11:00), helping traders visually segment intraday price action. It highlights every other 30-minute block with customizable colors, line styles, and opacity, allowing users to clearly differentiate between trading intervals. The boxes automatically adjust based on the chart’s timeframe, maintaining accuracy on 1-minute to 60-minute charts. Optional time labels can also be displayed for additional context. This tool is useful for identifying patterns, measuring volatility, or applying breakout strategies based on defined, consistent time windows across global trading sessions.
Investing is Ultimately Done AloneHello,
This indicator consolidates multiple indicators that I use for scalping and short-term trading.
I analyze the trend in the following order: monthly, weekly, daily, and 4-hour charts. After identifying the trend, I determine entry points on 1-minute, 5-minute, and 15-minute charts.
For a long position, I first check if the RSI drops below 30. If it does and a bullish candlestick closes, I enter a long position on the next candle.
For the Stochastic RSI, I only check for values at 0 or 100. Even if the RSI is not below 30, I enter a long position when the Stochastic RSI closes at 0, and the next candle is bullish. In this case, I enter the long position on the following candle.
I use 100x leverage, but I only allocate 5-10% of my capital per trade. Since I trade exclusively with Bitcoin, the overall risk remains relatively low.
My target profit is 15%, which, when using 100x leverage, results in very short trade durations. This makes the indicator highly effective for scalping and short-term trading.
AI Engulfing DetectorJust for testing. Personal use only. There is many bugs. If you know how to use engulfing strategy, this indicator may be bonus for you. But i will update this features so that more accurate
ML Deep Regression Pro (TechnoBlooms)ML Deep Regression Pro is a machine-learning-inspired trading indicator that integrates Polynomial Regression, Linear Regression and Statistical Deviation models to provide a powerful, data-driven approach to market trend analysis.
Designed for traders, quantitative analysts and developers, this tool transforms raw market data into predictive trend insights, allowing for better decision-making and trend validation.
By leveraging statistical regression techniques, ML Deep Regression Pro eliminates market noise and identifies key trend shifts, making it a valuable addition to both manual and algorithmic trading strategies.
REGRESSION ANALYSIS
Regression is a statistical modeling technique used in machine learning and data science to identify patterns and relationships between variables. In trading, it helps detect price trends, reversals and volatility changes by fitting price data into a predictive model.
1. Linear Regression -
The most widely used regression model in trading, providing a best-fit plotted line to track price trends.
2. Polynomial Regression -
A more advanced form of regression that fits curved price structures, capturing complex market cycles and improving trend forecasting accuracy.
3. Standard Deviation Bands -
Based on regression calculations, these bands measure price dispersion and identify overbought/ oversold conditions, similar to Bollinger Bands. By default, these lines are hidden and user can make it visible through Settings.
KEY FEATURES :-
✅ Hybrid Regression Engine – Combines Linear and Polynomial Regression to detect market trends with greater accuracy.
✅ Dynamic Trend Bias Analysis – Identifies bullish & bearish market conditions using real-time regression models.
✅ Standard Deviation Bands – Measures price volatility and potential reversals with an advanced deviation model.
✅ Adaptive EMA Crossover Signals – Generates buy/sell signals when price momentum shifts relative to the regression trend.
RedK VADER - Volume-Accelerated Directional Energy RatioRedK VADER - Volume-Accelerated Directional Energy Ratio
Overview
RedK VADER is an indicator that analyzes market trends by calculating the energy ratio based on price movement and volume. It utilizes Zero Lag EMA smoothing to provide faster and more responsive signals.
Features
✅ Considers both price action and volume: Calculates the energy ratio of upward and downward movements to assess market strength.
✅ Zero Lag Smoothing: Uses EMA-based smoothing to minimize lag and improve responsiveness.
✅ Histogram Display: Helps visualize trend strength and potential reversals.
✅ Simple yet effective: Uses short-term and long-term energy differences to generate intuitive trade signals.
How to Use
📌 Blue Line (RedK VADER): Indicates trend direction and strength.
📌 Orange Line (Signal Line): A smoothed version of VADER; crossovers provide trade signals.
📌 Histogram (Green Bars): Represents the difference between VADER and the signal line. When crossing the zero line, it may indicate a trend reversal.
Trade Signals
🔵 Buy Signal: When RedK VADER crosses above the signal line.
🔴 Sell Signal: When RedK VADER crosses below the signal line.
⚡ Trend Strength: The larger the histogram bars, the stronger the trend.
Use this indicator to gain deeper market insights and enhance your trading decisions! 🚀
IU Smart Flow SystemDESCRIPTION
The IU Smart Flow System is a powerful and dynamic order flow-based strategy designed to capture high-probability trades by analyzing bullish and bearish imbalances, trend direction, and RSI strength. It identifies trading opportunities by aligning order flow conditions with the prevailing trend and momentum, making it suitable for trend-following and momentum-based trading.
This system utilizes a unique combination of:
- Order flow score to gauge market imbalance
- Trend filter using SMA and ATR to confirm market direction
- RSI to ensure entry only during strong momentum
USER INPUTS:
- Imbalance Length: Defines the lookback period for calculating bullish and bearish imbalances. (Default: 10)
- Trend Length: Determines the length of the SMA to evaluate the trend direction. (Default: 50)
- RSI Length: Specifies the RSI period to assess momentum strength. (Default: 14)
LONG CONDITIONS:
Long entries are triggered when:
- Order flow score is positive, indicating bullish imbalance
- Price is above the bullish trend level (SMA + ATR), confirming an uptrend
- RSI is above 50, indicating bullish momentum
- No active short position is currently open
SHORT CONDITIONS:
Short entries are triggered when:
- Order flow score is negative, indicating bearish imbalance
- Price is below the bearish trend level (SMA - ATR), confirming a downtrend
- RSI is below 50, indicating bearish momentum
- No active long position is currently open
WHY IT IS UNIQUE:
- Imbalance-Based Approach: Unlike traditional strategies that rely solely on price action, this system evaluates bullish and bearish imbalances to anticipate order flow direction.
- Adaptive Trend Filter: The combination of SMA and ATR dynamically adjusts to market volatility, providing a reliable trend confirmation mechanism.
- Momentum Validation with RSI: Ensures that entries are taken only in the direction of strong momentum, reducing false signals.
HOW USERS CAN BENEFIT FROM IT:
- Enhanced Trade Accuracy: Aligning order flow, trend, and momentum reduces false signals and improves trade success rates.
- Versatile Application: Suitable for various markets and timeframes, making it adaptable to different trading styles.
- Clear Trade Signals: Provides clear entry labels and alerts, ensuring traders never miss a potential opportunity.
- Visual Clarity: The filled region between bullish and bearish trends highlights trend direction, enhancing decision-making.
Price - VWMA (Custom Filter, Separate Panel)Heloo Friends, This indicator showing Difference between Current market price and VWMA price. When price go far from VWMA there are chances that it will reverse. Please give you views and Suggestion. Thanks. This does not provide any buy Sell or Hold signal. This for educational purposes
Glitch In The Market]Glitch In the Matrix is inspired by SMC silver bullet filosofi :
one time. one setup. one pair.
The script is a time indicator where user can wait for rejection pattern or continuation pattern in that hapenned everyday.
User can wait in :
1. Silver Bullet TIme 1 ( rejection to 5pm 4h candle )
2. Silver Bullet Time 2 ( rejection to 9pm 4h candle )
Price - 20 VWMA (Custom Filter)Heloo Friends, This indicator showing Difference between Current market price and VWMA price. When price go far from VWMA there are chances that it will reverse. Please give you views and Suggestion. Thanks. This does not provide any buy Sell or Hold signal. This for educational purposes.
[COG]Adaptive Volatility Bands# Adaptive Volatility Bands (AVB) Indicator Guide for Traders
## Special Acknowledgment 🙌
This script is inspired by and builds upon the foundational work of **DonovanWall**, a respected contributor to the trading community. His innovative approach to adaptive indicators has been instrumental in developing this advanced trading tool.
## What is the Adaptive Volatility Bands Indicator?
The Adaptive Volatility Bands (AVB) is a sophisticated technical analysis tool designed to help traders understand market dynamics by creating dynamic, responsive price channels that adapt to changing market conditions. Unlike traditional static indicators, this script uses advanced mathematical techniques to create flexible bands that adjust to market volatility in real-time.
## Key Features and Inputs
### 1. Price and Filtering Options
- **Price Source**: Determines the base price used for calculations (default is HLC3 - Average of High, Low, and Close)
- **Filter Poles**: Controls the smoothness of the indicator (1-9 poles)
- Lower values: More responsive, more noise
- Higher values: Smoother, but slower to react
### 2. Volatility and Band Settings
- **Sample Length**: Determines how many bars are used to calculate volatility (default 144)
- **Volatility Multiplier**: Adjusts the width of the main bands (default 1.414)
- **Outer Band Multiplier**: Controls the width of the outer bands (default 2.5)
- **Inner Band Ratio**: Positions the inner bands between the center and outer bands (default 0.25)
### 3. Advanced Processing Options
- **Lag Reduction Mode**: Helps reduce indicator delay
- **Fast Response Mode**: Makes the indicator more responsive to recent price changes
### 4. Signal and Visualization Options
- **Show Entry Signals**: Displays buy and sell signals
- **Signal Display Style**: Choose between labels or shapes
- **Range Filter**: Adds an additional filter for signal validation
## How the Indicator Works
The Adaptive Volatility Bands create a dynamic price channel with three key components:
1. **Center Line**: Represents the core trend direction
2. **Inner Bands**: Closer to the center line
3. **Outer Bands**: Wider bands that show broader price potential
### Color Dynamics
- The indicator uses a smart color gradient system
- Colors change based on price position within the bands
- Helps visualize bullish (green/blue) and bearish (red) market conditions
## Trading Strategies for Beginners
### Basic Entry Signals
- **Buy Signal**:
- Price touches the center line from below
- Candle is bullish (closes higher than it opens)
- Price is above the center line
- Trend is upward
- **Sell Signal**:
- Price touches the center line from above
- Candle is bearish (closes lower than it opens)
- Price is below the center line
- Trend is downward
### Risk Management Tips
1. Use the bands to identify:
- Potential trend changes
- Volatility levels
- Support and resistance areas
2. Combine with other indicators for confirmation
3. Always use stop-loss orders
4. Adjust parameters to match your trading style and asset
## When to Use This Indicator
Best suited for:
- Trending markets
- Swing trading
- Identifying potential entry and exit points
- Understanding market volatility
### Recommended Markets
- Stocks
- Forex
- Cryptocurrencies
- Futures
## Customization
The script offers extensive customization:
- Adjust smoothness
- Change band multipliers
- Modify color schemes
- Enable/disable features like lag reduction
## Important Considerations for Beginners
🚨 **Disclaimer**:
- No indicator guarantees profits
- Always practice with a demo account first
- Learn and understand the indicator before live trading
- Market conditions change, so continually adapt your strategy
## Getting Started
1. Add the script to your TradingView chart
2. Experiment with different settings
3. Backtest on historical data
4. Start with small positions
5. Continuously learn and improve
Happy Trading! 📈🔍
AI Trend Momentum SniperThe AI Trend Momentum Sniper is a powerful technical analysis tool designed for day trading. This strategy combines multiple momentum and trend indicators to identify high-probability entry and exit points. The indicator utilizes a combination of Supertrend, MACD, RSI, ATR (Average True Range), and On-Balance Volume (OBV) to generate real-time signals for buy and sell opportunities.
Key Features:
Supertrend for detecting market direction (bullish or bearish).
MACD for momentum confirmation, highlighting changes in market momentum.
RSI to filter out overbought/oversold conditions and ensure high-quality trades.
ATR as a volatility filter to adjust for changing market conditions.
OBV (On-Balance Volume) to confirm volume strength and trend validity.
Dynamic Stop-Loss & Take-Profit based on ATR to manage risk and lock profits.
This indicator is tailored for intraday traders looking for quick market moves, especially in volatile and high liquidity assets like Bitcoin (BTC) and Ethereum (ETH). It helps traders capture short-term trends with efficient risk management tools.
How to Apply:
Set Your Chart: Apply the AI Trend Momentum Sniper to a 5-minute (M5) or 15-minute (M15) chart for optimal performance.
Buy Signal: When the indicator generates a green arrow below the bar, it indicates a buy signal based on positive trend and momentum alignment.
Sell Signal: A red arrow above the bar signals a sell condition when the trend and momentum shift bearish.
Stop-Loss and Take-Profit: The indicator automatically calculates dynamic stop-loss and take-profit levels based on the ATR value for each trade, ensuring proper risk management.
Alerts: Set up custom alerts for buy or sell signals, and get notified instantly when opportunities arise.
Best Markets for Use:
BTC/USDT, ETH/USDT – High liquidity and volatility.
Major altcoins with sufficient volume.
Avoid using it on low-liquidity assets where price action may become erratic.
Timeframes:
This indicator is best suited for lower timeframes (5-minute to 15-minute charts) to capture quick price movements in trending markets.
Dow Theory Trend StrategyDow Theory Trend Strategy (Pine Script)
Overview
This Pine Script implements a trading strategy based on the core principles of Dow Theory. It visually identifies trends (uptrend, downtrend) by analyzing pivot highs and lows and executes trades when the trend direction changes. This script is an improved version that features refined trend determination logic and strategy implementation.
Core Concept: Dow Theory
The script uses a fundamental Dow Theory concept for trend identification:
Uptrend: Characterized by a series of Higher Highs (HH) and Higher Lows (HL).
Downtrend: Characterized by a series of Lower Highs (LH) and Lower Lows (LL).
How it Works
Pivot Point Detection:
It uses the built-in ta.pivothigh() and ta.pivotlow() functions to identify significant swing points (potential highs and lows) in the price action.
The pivotLookback input determines the number of bars to the left and right required to confirm a pivot. Note that this introduces a natural lag (equal to pivotLookback bars) before a pivot is confirmed.
Improved Trend Determination:
The script stores the last two confirmed pivot highs and the last two confirmed pivot lows.
An Uptrend (trendDirection = 1) is confirmed only when the latest pivot high is higher than the previous one (HH) AND the latest pivot low is higher than the previous one (HL).
A Downtrend (trendDirection = -1) is confirmed only when the latest pivot high is lower than the previous one (LH) AND the latest pivot low is lower than the previous one (LL).
Key Improvement: If neither a clear uptrend nor a clear downtrend is confirmed based on the latest pivots, the script maintains the previous trend state (trendDirection := trendDirection ). This differs from simpler implementations that might switch to a neutral/range state (e.g., trendDirection = 0) more frequently. This approach aims for smoother trend following, acknowledging that trends often persist through periods without immediate new HH/HL or LH/LL confirmations.
Trend Change Detection:
The script monitors changes in the trendDirection variable.
changedToUp becomes true when the trend shifts to an Uptrend (from Downtrend or initial state).
changedToDown becomes true when the trend shifts to a Downtrend (from Uptrend or initial state).
Visualizations
Background Color: The chart background is colored to reflect the currently identified trend:
Blue: Uptrend (trendDirection == 1)
Red: Downtrend (trendDirection == -1)
Gray: Initial state or undetermined (trendDirection == 0)
Pivot Points (Optional): Small triangles (shape.triangledown/shape.triangleup) can be displayed above pivot highs and below pivot lows if showPivotPoints is enabled.
Trend Change Signals (Optional): Labels ("▲ UP" / "▼ DOWN") can be displayed when a trend change is confirmed (changedToUp / changedToDown) if showTrendChange is enabled. These visually mark the potential entry points for the strategy.
Strategy Logic
Entry Conditions:
Enters a long position (strategy.long) using strategy.entry("L", ...) when changedToUp becomes true.
Enters a short position (strategy.short) using strategy.entry("S", ...) when changedToDown becomes true.
Position Management: The script uses strategy.entry(), which automatically handles position reversal. If the strategy is long and a short signal occurs, strategy.entry() will close the long position and open a new short one (and vice-versa).
Inputs
pivotLookback: The number of bars on each side to confirm a pivot high/low. Higher values mean pivots are confirmed later but may be more significant.
showPivotPoints: Toggle visibility of pivot point markers.
showTrendChange: Toggle visibility of the trend change labels ("▲ UP" / "▼ DOWN").
Key Improvements from Original
Smoother Trend Logic: The trend state persists unless a confirmed reversal pattern (opposite HH/HL or LH/LL) occurs, reducing potential whipsaws in choppy markets compared to logic that frequently resets to neutral.
Strategy Implementation: Converted from a pure indicator to a strategy capable of executing backtests and potentially live trades based on the Dow Theory trend changes.
Disclaimer
Dow Theory signals are inherently lagging due to the nature of pivot confirmation.
The effectiveness of the strategy depends heavily on the market conditions and the chosen pivotLookback setting.
This script serves as a basic template. Always perform thorough backtesting and implement proper risk management (e.g., stop-loss, take-profit, position sizing) before considering any live trading.
Granular MA Ribbon🎗️ The Granular MA Ribbon provides a structured view of price action on lower timeframes by incorporating both price-based and volume-weighted moving averages, offering a more nuanced view of market trends and momentum shifts. Furthermore, by using 15-minute intervals for its calculations, it ensures that intraday traders receive a smooth and responsive representation of higher timeframe trends.
⚠️ Note that this indicator is specifically optimized for the 15-minute and 1-hour charts; applying it to longer or shorter periods will distort its calculations and reduce its effectiveness. Adjust visibility settings accordingly.
🧰 Unlike traditional moving averages that may lag or fail to reflect real-time shifts in price dynamics, the Granular MA Ribbon includes a one-day exponential moving average (1D EMA), a one-day volume-weighted moving average (1D VWMA), and a one-week exponential moving average (1W EMA). Together, these elements allow traders to stay aligned with the broader market while making precise intraday trading decisions.
🤷🏻 Why Two Daily Moving Averages?
🔊 Instead of relying on a single moving average, this indicator uses both an EMA and a VWMA to provide a clearer picture of price movement. The EMA reacts quickly to price changes, making it a useful tool for identifying short-term momentum shifts. The VWMA, meanwhile, accounts for volume, ensuring that price movements supported by higher trading activity carry greater weight in the trend calculation.
💪🏻 When the EMA and VWMA diverge significantly, it signals strong momentum. If they begin to converge, it suggests that momentum is weakening or that price may be entering consolidation. The space between these two moving averages is filled with a ribbon, making it easier to see shifts in trend strength. A wide ribbon typically indicates strong momentum, while a narrowing ribbon suggests the trend may be losing steam.
🧮 Calculation Rationale
🔎 The 1D EMA and 1D VWMA are constructed using 15-minute blocks to maintain accuracy on lower timeframes. A full trading day consists of 96 fifteen-minute intervals. Instead of relying on daily candle data, which would reduce the granularity of the moving averages, this method allows the indicator to reflect intra-day trends more accurately. By breaking the day into smaller increments, the moving averages adapt more smoothly to changes in price and volume, making them more reliable for traders working on shorter timeframes.
🔍 The weekly EMA follows the same logic, adjusting based on the selected five-day or seven-day setting. If the market follows a standard five-day trading week, the one-week EMA is calculated using 480 fifteen-minute bars. If the market trades seven days a week, such as in crypto, the weekly EMA is adjusted accordingly to reflect 672 fifteen-minute bars. This setting ensures that traders using the indicator across different asset classes receive accurate trend information.
🫤 Sideways Markets
🔄 When the broader market is in a range-bound state, with no clear trend on the one-day or one-week chart, this indicator helps traders make sense of the short-term price structure. In these conditions, the ribbon will often appear flat, with the 1D EMA and 1D VWMA frequently crossing each other. This suggests that momentum is weak and that price action lacks a strong directional bias.
⚠️ A narrowing ribbon in a sideways market indicates reduced volatility and a potential breakout. If the EMA crosses above the VWMA during consolidation, it may signal a short-term upward move, especially if volume begins to increase. Conversely, if the EMA moves below the VWMA, it could indicate that selling pressure is increasing. However, in choppy conditions, crossovers alone are not enough to confirm a trade. Traders should wait for additional confirmation, such as a breakout from a defined range or a shift in volume.
♭ If the weekly EMA remains flat while the daily ribbon fluctuates, it confirms that the market lacks a strong trend. In such cases, traders may consider fading moves near the top and bottom of a range rather than expecting sustained breakouts.
💹 Trending Markets
🏗️ When the market is in a strong uptrend or downtrend, the ribbon takes on a more structured shape. A widening ribbon that slopes upward signals strong bullish momentum, with price consistently respecting the 1D EMA and VWMA as support. In a downtrend, the ribbon slopes downward, acting as dynamic resistance.
📈 In trending conditions, traders can use the ribbon to time pullback entries. In an uptrend, price often retraces to the VWMA before resuming its upward move. If price holds above both the EMA and VWMA, the trend remains strong. If price begins to close below the VWMA but remains above the EMA, it suggests weakening momentum but not necessarily a reversal. A clean break below both moving averages indicates a shift in trend structure.
📊 The one-week EMA serves as a higher timeframe guide. When price remains above the weekly EMA, it confirms that the broader trend is intact. If price pulls back to the weekly EMA and bounces, it can provide a high-confidence trade entry. Conversely, if price breaks below the weekly EMA and fails to reclaim it, it suggests that the trend may be reversing.
⏳ 5-Day and 7-Day Week Variants
🎚️ The setting for a five-day or seven-day trading week adjusts the calculation of the one-week EMA. This ensures that the indicator remains accurate across different asset classes.
5️⃣ A five-day trading week is appropriate for stocks, futures, and forex markets, where trading pauses on weekends. Using a seven-day week for these markets would create artificial distortions by including non-trading days. 7️⃣ In contrast, the seven-day week setting is ideal for crypto markets, which trade continuously. Without this adjustment, the weekly EMA would fail to reflect weekend price action, leading to misleading trend signals.
🧐 This indicator is expressly designed to complement its higher timeframe counterpart, the Triple Differential Moving Average Braid, optimized for the 1-Day chart.