Momentum Trail Oscillator [AlgoAlpha]🟠 OVERVIEW
This script builds a Momentum Trail Oscillator designed to measure directional momentum strength and dynamically track shifts in trend bias using a combination of smoothed price change calculations and adaptive trailing bands. The oscillator aims to help traders visualize when momentum is expanding or contracting and to identify transitions between bullish and bearish conditions.
🟠 CONCEPTS
The core idea combines two methods. First, the script calculates a normalized momentum measure by smoothing price changes relative to their absolute values, which creates a bounded oscillator that highlights whether moves are directional or choppy. Second, it uses a trailing band mechanism inspired by volatility stops, where bands adapt to the oscillator’s volatility, adjusting the thresholds that define a shift in directional bias. This dual approach seeks to address both the magnitude and persistence of momentum, reducing false signals in ranging markets.
🟠 FEATURES
The momentum calculation applies Hull Moving Averages and double EMA smoothing to price changes, producing a smooth, responsive oscillator.
The trailing bands are derived by offsetting a weighted moving average of the oscillator by a multiple of recent momentum volatility. A directional state variable tracks whether the oscillator is above or below the bands, updating when the momentum crosses these dynamic thresholds.
Overbought and oversold zones are visually marked between fixed levels (+30/+40 and -30/-40), with color fills to highlight when momentum is in extreme areas. The script plots signals on both the oscillator pane and optionally overlays markers on the main price chart for clarity.
🟠 USAGE
To use the indicator, apply it to any symbol and timeframe. The “Oscillator Length” controls how sensitive the momentum line is to recent price changes—lower values react faster, higher values smooth out noise. The “Trail Multiplier” sets how far the adaptive bands sit from the oscillator mid-line, which affects how often trend state changes occur. When the momentum line rises into the upper filled area and then crosses back below +40, it signals potential overbought exhaustion. The opposite applies for the oversold zone below -40. The plotted trailing bands switch visibility depending on the current directional state: when momentum is trending up, the lower band acts as the active trailing stop, and when trending down, the upper band becomes active. Trend changes are marked with circular symbols when the direction variable flips, and optional overlay arrows appear on the price chart to highlight overbought or oversold reversals. Traders can combine these signals with their own price action or volume analysis to confirm entries or exits.
Penunjuk dan strategi
Fair Value GapsFair Value Gaps Indicator
The Fair Value Gaps (FVG) Indicator is a sleek, lightweight tool designed to identify and display unfilled fair value price gaps on any chart and timeframe. It dynamically updates as price moves into gaps, shrinking the displayed area to show only the remaining unfilled portion until the gap is fully closed. With a user-friendly settings panel, traders can customize visuals to suit their style, including a minimalist version.
Features
When a valid FVG is detected through a three-candle pattern, a box appears, highlighting the precise gap range. As price enters the gap, the box adjusts to reflect the remaining unfilled area, and when fully filled, the gap is deleted, allowing new gaps to appear. The settings panel offers robust customization for a tailored experience.
Preset Styles :
Custom : Define your own color and zone extension settings. (Default)
Blue Boxes : Blue gaps with 85% transparency and zones extended to the right.
Minimalist Yellow : Yellow gaps with 75% transparency, confined to the original gap area on the candlestick.
Color : Change the gap color and transparency.
Extend FVG Zone : Enable or disable zone extension to the right.
Show Borders : Toggle subtle borders on or off for enhanced visibility.
Maximum FVGs Displayed : Change the number of gaps displayed on the chart.
Thank you for your interest in my work. I use these fair value gaps as part of my trade trigger for many of my trade entries almost every day. If you have any comments, bugs, or suggestions, please leave them here, or you can find me on Twitter or Discord.
@ ContrarianIRL
Open-source developer for over 25 years
StratNinjaTableStratNinjaTable – Multi-Timeframe The Strat Candle Pattern Table
This Pine Script indicator provides traders with a dynamic table overlay on the chart that displays The Strat candle patterns across multiple selectable timeframes. The table includes:
The candle pattern according to The Strat method (1, 2UP, 2DOWN, 3) for each chosen timeframe
Direction arrows showing bullish (▲), bearish (▼), or neutral (■) candle direction
Real-time countdown timer showing remaining time until the current candle closes, adapting automatically to daily, weekly, monthly, and longer timeframes
User inputs for selecting which timeframes to display and positioning of the table on the chart
The current ticker symbol and chart timeframe displayed prominently
The script is developed using Pine Script version 6 and is inspired by the work of shayy110, who contributed foundational code for The Strat methodology in TradingView.
RATE OF CHANGE ROLLING INTEGRALAdded an integral balance to the ROC subchart.
just tracks the balance of area back to the ROC length.
9 EMA & 15 EMA Crossover Arrows//@version=5
indicator("9 EMA & 15 EMA Crossover Arrows", overlay=true)
// EMA calculations
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
// Detect crossovers (on previous candle)
bullishCross = ta.crossover(ema9 , ema15 )
bearishCross = ta.crossunder(ema9 , ema15 )
// Plot arrows on previous candle
plotshape(bullishCross, title="Bullish Cross", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small, offset=-1)
plotshape(bearishCross, title="Bearish Cross", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small, offset=-1)
// Plot EMAs (optional for visual)
plot(ema9, color=color.green, title="9 EMA")
plot(ema15, color=color.orange, title="15 EMA")
MACD GAPS PivotLabels MAIt provides with dots where the MACD is either highest or lowest. Identify the gaps in the chart. Pivot labels are to read the numeric value of the candle high or low and an option to select moving averages
Dynamic Volatility Channel (DVC) - Smooth
The indicator's adaptability comes from a unique blend of well-known concepts:
The Adaptive Engine (ADX): The indicator uses the Average Directional Index (ADX) in the background to analyze the strength of the trend. This acts as the "brain", telling the channel whether the market is trending strongly or moving sideways.
Hybrid Volatility: This is the core of the indicator. The width of the channel is determined by a weighted mix of two volatility measures:
In trending markets (high ADX), the channel gives more weight to the Average True Range (ATR).
In ranging markets (low ADX), the channel gives more weight to Standard Deviation.
Smooth Centerline (HMA): The channel is centered around a Hull Moving Average (HMA), which is known for its smoothness and reduced lag compared to other moving averages.
Advanced Smoothing Layers: This version includes dedicated smoothing for both the volatility components (ATR and StDev) and the logic that switches between regimes. This ensures the channel expands, contracts, and adapts in a very fluid manner, eliminating sudden jumps and reducing market noise.
Mean Reversion: In ranging markets (indicated by a flatter channel), the outer bands can act as dynamic support and resistance levels. Look for opportunities to sell near the upper band and buy near the lower band, always waiting for price action confirmation like reversal candles.
Trend Following: In strong trends (indicated by a steeply sloped channel), the centerline (HMA) often serves as a dynamic level of support (in an uptrend) or resistance (in a downtrend). Pullbacks to the centerline can present opportunities to join the trend. A "band ride," where price action consistently pushes against the upper or lower band, signals a very strong trend.
Volatility Analysis: A "squeeze," where the bands come very close together, indicates low volatility and can foreshadow a significant price breakout. A sudden expansion of the bands signals an increase in volatility and the potential start of a new, powerful move.
All core parameters are fully customizable to suit your trading style and preferred assets:
You can adjust the lengths for the HMA, ATR, StDev, and the ADX filter.
You can change the multipliers for the ATR and Standard Deviation components.
Crucially, you can control the Volatility Smoothing Length and Logic Smoothing Length to find the perfect balance between responsiveness and smoothness.
Disclaimer: This indicator is provided for educational and analytical purposes only. It is not financial advice, and past performance is not indicative of future results. Always conduct your own research and backtesting before risking capital in a live market.
Volatility & Momentum Nexus (VMN)Volatility & Momentum Nexus (VMN)
This indicator was designed to solve a common trader's problem: chart clutter from dozens of indicators that often contradict each other. The Volatility & Momentum Nexus ( VMN ) is not just another indicator; it's a complete analysis system that synthesizes four essential market pillars into a single, clean, and intuitive visual signal.
The goal of VMN is to identify high-probability moments where a period of accumulation (low volatility) is about to erupt into an explosive move, confirmed by trend, momentum, and volume.
VMN analyzes the real-time confluence of four critical elements:
The Trend (The Main Filter): A 100-period Exponential Moving Average (EMA) sets the overall context. The indicator will only look for buy signals above this line (in an uptrend) and sell signals below it (in a downtrend). The line's color changes for quick visualization.
Volatility (Energy Accumulation): Using Bollinger Bands Width (BBW), the indicator identifies "Squeeze" periods—when the price contracts and builds up energy. These zones are marked with a yellow background on the chart, signaling that a major move is imminent.
Momentum (The Trigger): An RSI (Relative Strength Index) acts as the trigger. A signal is only validated if momentum confirms the direction of the breakout (e.g., RSI > 55 for a buy), ensuring we enter the market with force.
Volume (The Final Confirmation): No breakout move is credible without volume. VMN checks if the volume at the time of the signal is significantly higher than its recent average, adding a vital layer of confirmation.
Green Arrow (Buy Signal): Appears ONLY when ALL the following conditions are met simultaneously:
Price is above the 100 EMA (Bullish Trend).
The chart is exiting a Squeeze zone (yellow background on the previous bar).
Price breaks above the upper Bollinger Band.
RSI is above the buy threshold (default 55).
Volume is above average.
Red Arrow (Sell Signal): Appears ONLY when all the opposite conditions are met.
Do not treat signals as blind commands to trade. They are high-probability confirmations.
Look for signals near key Support/Resistance levels for an even higher success rate.
Always set a Stop Loss (e.g., below the low of the signal candle or below the lower Bollinger Band for a buy).
All parameters (EMA, RSI, Bollinger Bands lengths, thresholds, etc.) can be customized from the settings menu to adapt the indicator to any financial asset or timeframe.
Disclaimer: This indicator is a tool for educational and analytical purposes. It does not constitute and should not be interpreted as financial advice. Trading involves significant risk. Always perform your own analysis and backtesting before risking real capital.
Golden/Death Cross🔔 Indicator: **Golden/Death Cross**
This indicator visually tracks the **Golden Cross** and **Death Cross** using exponential moving averages:
* **EMA 50** (short-term trend)
* **EMA 200** (long-term trend)
📈 How it works:
* When **EMA 50 crosses above EMA 200**, it's a **Golden Cross** (potential bullish signal) — the line turns **green**.
* When **EMA 50 crosses below EMA 200**, it's a **Death Cross** (potential bearish signal) — the line turns **red**.
* The line retains its color until the next crossover, helping traders stay visually aligned with trend shifts.
This is a minimal and clean tool designed to highlight long-term trend changes clearly and effectively.
⚠️ Disclaimer:
This script is for **educational and informational purposes only**. It does **not constitute financial advice** or a recommendation to buy or sell any financial instruments. Always do your own research and consult a licensed financial advisor before making trading decisions.
Future is hereOverview
"Future is Here" is an original, multi-faceted Pine Script indicator designed to provide traders with a comprehensive toolset for identifying high-probability trading opportunities. By integrating volatility-based entry zones, trend-based price targets, momentum confirmation, dynamic support/resistance levels, and risk-reward ratio (RRR) calculations, this indicator offers a cohesive and actionable trading framework. Each feature is carefully designed to complement the others, ensuring a synergistic approach that enhances decision-making across various market conditions. This script is unique in its ability to combine these elements into a single, streamlined interface with clear visual cues and customizable alerts, making it suitable for both novice and experienced traders.
Key Features and How They Work Together
Volatility-Based Entry Zones
Purpose: Identifies overbought and oversold conditions using a volatility-adjusted moving average, helping traders spot potential reversal zones.
Mechanism: Utilizes a user-defined volatility length and multiplier to calculate dynamic overbought/oversold thresholds based on the standard deviation of price. Crossovers and crossunders of these levels trigger "Buy Zone" or "Sell Zone" labels.
Synergy: These zones act as the foundation for entry signals, which are later confirmed by momentum and trend filters to reduce false signals.
Trend-Based Price Targets
Purpose: Projects potential price targets based on the prevailing trend, giving traders clear objectives for profit-taking.
Mechanism: Combines a fast and slow moving average to determine trend direction, then calculates target prices using a multiplier of the price deviation from the slow MA. Labels display bullish or bearish targets when the fast MA crosses the slow MA.
Synergy: Works in tandem with entry zones and momentum signals to align targets with market conditions, ensuring traders aim for realistic price levels supported by trend strength.
Momentum Confirmation
Purpose: Validates entry signals by assessing momentum strength, filtering out weak setups.
Mechanism: Uses the momentum indicator to detect bullish or bearish momentum crossovers, labeling them as "Strong" or "Weak" based on a comparison with a smoothed momentum average.
Synergy: Enhances the reliability of buy/sell signals by ensuring momentum aligns with volatility zones and trend direction, reducing the risk of premature entries.
Dynamic Support/Resistance Levels
Purpose: Highlights key price levels where the market is likely to react, aiding in trade planning and risk management.
Mechanism: Detects pivot highs and lows over a user-defined lookback period, drawing horizontal lines for the most recent support and resistance levels (limited to two each for clarity). Labels mark these levels with price values.
Synergy: Complements entry zones and price targets by providing context for potential reversal or continuation points, helping traders set logical stop-losses or take-profits.
Buy/Sell Signals with Risk-Reward Ratios
Purpose: Generates precise buy/sell signals with integrated take-profit (TP), stop-loss (SL), and RRR calculations for disciplined trading.
Mechanism: Combines volatility zone crossovers, trend confirmation, and positive momentum to trigger signals. ATR-based TP and SL levels are calculated, and the RRR is displayed in labels for quick assessment.
Synergy: This feature ties together all previous components, ensuring signals are only generated when volatility, trend, and momentum align, while providing clear risk-reward metrics for trade evaluation.
Customizable Alerts
Purpose: Enables traders to stay informed of trading opportunities without constant chart monitoring.
Mechanism: Alert conditions are set for buy and sell signals, delivering notifications with the entry price for seamless integration into trading workflows.
Synergy: Enhances usability by allowing traders to act on high-probability setups identified by the indicator’s combined logic.
Originality
"Future is Here" is an original creation that distinguishes itself through its holistic approach to technical analysis. Unlike single-purpose indicators, it integrates volatility, trend, momentum, and support/resistance into a unified system, reducing the need for multiple scripts. The inclusion of RRR calculations directly in signal labels is a unique feature that empowers traders to evaluate trade quality instantly. The script’s design emphasizes clarity and efficiency, with cooldowns to prevent label clutter and a limit on support/resistance lines to maintain chart readability. This combination of features, along with its customizable parameters, makes it a versatile and novel tool for traders seeking a robust, all-in-one solution.
How to Use
Setup: Add the indicator to your TradingView chart and adjust input parameters (e.g., Volatility Length, Trend Length, TP/SL Multipliers) to suit your trading style and timeframe.
Interpretation:
Look for "Buy Zone" or "Sell Zone" labels to identify potential entry points.
Confirm entries with "Bull Mom" or "Bear Mom" labels and trend direction (Bull/Bear Target labels).
Use Support/Resistance lines to set logical TP/SL levels or anticipate reversals.
Evaluate Buy/Sell signals with TP, SL, and RRR for high-probability trades.
Alerts: Set up alerts for Buy/Sell signals to receive real-time notifications.
Customization: Fine-tune multipliers and lengths to adapt the indicator to different markets (e.g., stocks, forex, crypto) or timeframes.
terils indicatorsVWAP
Yesterday’s High and Low
Today’s High and Low
EMAs (20, 50, 100, 200)
VWAP
Yesterday’s High and Low
Today’s High and Low
EMAs (20, 50, 100, 200)
VWAP + HL + EMAsVWAP
Yesterday’s High and Low
Today’s High and Low
EMAs (20, 50, 100, 200)
VWAP
Yesterday’s High and Low
Today’s High and Low
EMAs (20, 50, 100, 200)
EMA 8/21 Cross Band8 21 EMA cross
The 8 ema being above the 21 represents a power trend (bullish)
below means the power trend has been lost
Customizable Engulfing, Pin Bar, Inside Bar Colorengulfing,pin,inside bar candle which helps to identify these candles for better visualization and understanding
US Stocks SPDRsSelect Sector SPDR ETFs - These are unique Exchange Traded Funds (ETFs) that divide the S&P 500 into eleven index funds that trade all day on NYSE Arca.
SMA 5/10/30 close🧊
SMA 5/10/30 close
SMA 5/10/30 close
SMA 5/10/30 close
SMA 5/10/30 close
SMA 5/10/30 close
Market Strength Dashboard🚀 What It Does:
The indicator gives you a real-time dashboard showing three things:
✅ Trend Direction
Uses EMA 50 vs EMA 200.
Bullish: EMA 50 is above EMA 200 → Price favors upside swing.
Bearish: EMA 50 is below EMA 200 → Price favors downside swing.
Neutral: EMAs are equal → No clear trend.
✅ Momentum Strength
Uses RSI (Relative Strength Index).
Strong Bullish: RSI > 55 → Buyers in control.
Strong Bearish: RSI < 45 → Sellers in control.
Neutral: RSI between 45–55 → No strong momentum, usually sideways or uncertain.
✅ Volatility State (Expansion/Consolidation)
Uses Bollinger Band Width.
Measures if price is:
Expanding: BB Width increasing → Market opening up, volatility rising, often precedes large moves or breakouts.
Contracting: BB Width shrinking → Market compressing, often leads to tight ranges or consolidation.
Stable: No change in BB Width → Range behavior or calm trend.
🔥 How It Works Behind the Scenes:
EMA Cross Check:
→ Looks at whether the faster EMA (50) is above or below the slower EMA (200).
RSI Scan:
→ Reads current RSI level to determine momentum strength.
Bollinger Band Width Scan:
→ Calculates the distance between the upper and lower Bollinger Bands to detect if price is expanding or compressing.
Dashboard Output:
→ Combines all this into a floating label on the chart like:
“Trend: Bullish | Momentum: Strong Bullish | Volatility: Expanding”
🏆 How to Use It — Simple Rules for Swing or Day Trading:
🔥 Ideal Swing Trade Setup:
→ ✅ Trend: Bullish
→ ✅ Momentum: Strong Bullish
→ ✅ Volatility: Expanding
→ → Take long setups → pullbacks to EMA50 or previous highs → ride the trend.
→ ❌ If Trend is Neutral or Volatility is Contracting, skip the trade — market is chopping.
🔥 Ideal Day Trade Setup:
Look for Volatility Expanding → confirms active session/move.
Pair it with either Trend Bullish + Momentum Bullish for longs
→ Or Trend Bearish + Momentum Bearish for shorts.
🔥 When Not to Trade:
Trend Neutral + Momentum Neutral + Contracting Volatility → Sideways chop → No trade zone.
🔥 Breakout Watch Strategy:
When volatility shifts from Contracting → Expanding, expect a breakout.
→ Look for the first candle that pushes away from the Bollinger squeeze.
📊 How To Combine With Other Setups:
→ ✅ Add this dashboard to any chart to instantly know:
Should I be thinking up, down, or neither?
Is this market about to move big or stay stuck?
Pair it with:
Your price action entries.
Support/resistance levels.
Candle patterns.
Trendline or liquidity breaks.
🧠 Bottom Line:
→ This is a market condition scanner, not a signal generator.
→ It tells you: “Should I trade? What’s the direction? Is the market moving or stuck?”
→ You still choose the entry — this tool tells you when conditions are ideal or not.
Doji Candlestick w/ Volatility & Uninterrupted CyclesTracks Doji formation and provides a rating score of Low Medium and High for stocks.
SMA Crossover Candle Body SizeThis indicator allows you to filter the candle body size of a SMA crossover. This helps to eliminate times when price is consolidating and constantly crossing above or below. By adjusting the candle body size to say something like 15, you'll only receive alerts when significant size candles cross and hold above or below your desired SMA.
EMAs y señales🧠 What does the script do?
It draws the 9-period SMA (blue) and the 21-period SMA (orange).
It generates labels:
✅ “Buy” when the 9 SMA crosses above the 21 SMA.
❌ “Sell” when the 9 SMA crosses below the 21 SMA.
It triggers configurable alerts whenever a crossover occurs.
Multi-Timeframe Market Regime (Ehlers)This Pine Script indicator provides an Ehlers-inspired multi-timeframe market regime analysis directly on your TradingView chart. It aims to identify whether the market is currently "Trending Up" (green), "Trending Down" (red), or "Ranging" (yellow) across Weekly, Daily, 4-Hour, and 1-Hour timeframes.
It uses custom implementations of:
Ehlers' Fisher Transform to highlight market extremes and potential turning points.
An Adaptive Moving Average (inspired by MAMA/FAMA) that adjusts its speed based on volatility to reduce lag in trends and provide stability in ranges.
The indicator displays a dashboard as a label on your chart, showing the detected regime for each of these timeframes, and optionally colors the background of your current chart timeframe to reflect its dominant regime.
Previous Day O H L C Calculation By Md//@version=6
indicator("Previous Day O H L C Calculation By Md", overlay=true)
// Check if the previous daily candle is green (bullish) or red (bearish)
previousCandleBullish = close > open
previousCandleBearish = close < open
// Calculate the difference for bullish candles: previous day's high minus previous day's open
bullishCalculation = high - open
// Calculate the difference for bearish candles: previous day's low minus previous day's close
bearishCalculation = low - close
// Show the result at the top of the current daily candle if the previous candle was bullish
if previousCandleBullish
label.new(bar_index, high, "Bullish Calc: " + str.tostring(bullishCalculation), color=color.green, textcolor=color.white, style=label.style_label_left, size=size.small)
// Show the result at the bottom of the current daily candle if the previous candle was bearish
if previousCandleBearish
label.new(bar_index, low, "Bearish Calc: " + str.tostring(bearishCalculation), color=color.red, textcolor=color.white, style=label.style_label_left, size=size.small)