EMA50/200 — Nth Close After Break (Up/Down/Both)This indicator tracks EMA-based momentum confirmation using a customizable N-bar rule.
🧠 Logic:
- You can choose whether to track EMA 50 or EMA 200.
- When the price breaks above (or below) the selected EMA, the indicator starts counting.
- If the price stays on that side of the EMA for N consecutive closes, a single signal is triggered on the Nth bar.
- After signaling, the counter resets — the next signal appears only after a new EMA break.
⚙️ Parameters:
- Target EMA: Choose which EMA (50 or 200) the logic is based on.
- N: Number of consecutive bars required after a break.
- Direction: Up / Down / Both.
- Optional trend filters: Require EMA50 > EMA200 for Up signals, or EMA50 < EMA200 for Down signals.
- Blue ▲ = Bullish signal (Nth close after breaking above EMA)
- Red ▼ = Bearish signal (Nth close after breaking below EMA)
✅ Ideal for identifying strong trend confirmations and filtering out false EMA breakouts.
Indicatori e strategie
Sharpshooter 30 – EMA DistanceSharpshooter 30 – EMA Distance Pullback Detector
This indicator is designed for disciplined traders who prefer to wait for deep pullbacks
after a clear trend shift. Following a 7/200 EMA death cross, the script “arms” and waits
for the Fast EMA to move a configurable USD distance below the Slow EMA.
When this distance threshold is reached and confirmed by a closed bar,
the script plots a single BUY signal — signaling a potential rebound entry point.
Recommended timeframe: 5-minute chart (XAU/USD works best)
Key features:
• Adjustable EMA lengths
• Adjustable USD distance threshold
• One-time signal logic to avoid overplotting
Philosophy:
"Always wait" — patience defines precision. The method aims to catch
the first high-probability retracement after trend exhaustion.
日本語説明:
Sharpshooter 30は、トレンド転換後の押し目を狙うトレーダー向けのインジケーターです。
7/200 EMAのデッドクロス後、Fast EMAがSlow EMAより一定金額(例:30ドル)下回った確定足でBUYを1度だけ点灯します。
ルールを守り、焦らず待つことを目的としています。
推奨時間軸:5分足(特にXAU/USDで効果的)
MA期間や乖離幅は調整可能。
Multi-Timeframe FVG Detector v2 STEWNewest FVG with alerts and ability to show current TimeFrame Viewed
SMC Structures and Multi-Timeframe FVG PYSMC Structures and Multi-Timeframe FVG Indicator
Tip: For optimal performance, adjust the number of FVGs displayed per timeframe in the settings. On high-performance devices, up to 8 FVGs per timeframe can be used without issues. If you experience slowdowns, reduce to 3 or 4 FVGs per timeframe. If the chart flashes, disable indicators one by one to identify conflicts, or try using the TradingView Mobile or Windows App for a smoother experience.
Overview
This Pine Script indicator enhances market analysis by integrating Smart Money Concepts (SMC) with Fair Value Gaps (FVG) across multiple timeframes. It identifies trend continuations (Break of Structure, BOS) and trend reversals (Change of Character, CHoCH) while highlighting liquidity zones through FVG detection. The indicator includes eight customizable Moving Average (MA) curve templates, disabled by default, to complement SMC and FVG analysis. Its originality lies in combining multi-timeframe FVG detection with SMC structure analysis, providing traders with a cohesive tool to visualize price action patterns and liquidity zones efficiently.
Features and Functionality
1. Fair Value Gaps (FVG)
The indicator detects and displays bullish, bearish, and mitigated FVGs, representing liquidity zones where price inefficiencies occur. These gaps are dynamically updated based on price action:
Bullish FVG: Displayed in green when unmitigated, indicating potential upward liquidity zones.
Bearish FVG: Displayed in red when unmitigated, signaling potential downward liquidity zones.
Mitigated FVG: Shown in gray once the gap is partially filled by price action.
Fully Mitigated FVG: Automatically removed from the chart when the gap is fully filled, reducing visual clutter.
Users can customize the number of historical FVGs displayed via the settings, allowing focus on recent liquidity zones for targeted analysis.
2. SMC Structures
The indicator identifies key SMC price action patterns:
Break of Structure (BOS): Marked with gray lines, indicating trend continuation when price breaks a significant high or low.
Change of Character (CHoCH): Highlighted with yellow lines, signaling potential trend reversals when price fails to maintain the current structure.
High/Low Values: Blue lines denote the highest high and lowest low of the current structure, providing reference points for market context.
3. Multi-Timeframe FVG Analysis
A standout feature is the ability to analyze FVGs across multiple timeframes simultaneously. This allows traders to align higher-timeframe liquidity zones with lower-timeframe entries, improving trade precision. The indicator fetches FVG data from user-selected timeframes, displaying them cohesively on the chart.
4. Moving Average (MA) Templates
The indicator includes eight customizable MA curve templates in the Settings > Template section, disabled by default. These templates allow users to overlay MAs (e.g., SMA, EMA, WMA) to complement SMC and FVG analysis. Each template is pre-configured with different periods and types, enabling quick adaptation to various trading strategies, such as trend confirmation or dynamic support/resistance.
How It Works
The script processes price action to detect FVGs by analyzing three-candle patterns where a gap forms between the high/low of the first and third candles. Multi-timeframe data is retrieved using Pine Script’s request.security() function, ensuring accurate FVG plotting across user-defined timeframes. BOS and CHoCH are identified by tracking swing highs and lows, with logic to differentiate trend continuation from reversals. The MA templates are computed using standard Pine Script TA functions, with user inputs controlling visibility and parameters.
How to Use
Add to Chart: Apply the indicator to any TradingView chart.
Configure Settings:
FVG Settings: Adjust the number of historical FVGs to display (default: 10). Enable/disable specific FVG types (bullish, bearish, mitigated).
Timeframe Selection: Choose up to three timeframes for FVG analysis (e.g., 1H, 4H, 1D) to align with your trading strategy.
Structure Settings: Toggle BOS (gray lines) and CHoCH (yellow lines) visibility. Adjust sensitivity for structure detection if needed.
MA Templates: Enable MA curves via the Template section. Select from eight pre-configured MA types and periods to suit your analysis.
Interpret Signals:
Use green/red FVGs for potential entry points targeting liquidity zones.
Monitor gray lines (BOS) for trend continuation and yellow lines (CHoCH) for reversal signals.
Align multi-timeframe FVGs with BOS/CHoCH for high-probability setups.
Optionally, use MA curves for trend confirmation or dynamic levels.
Clean Chart Usage: The indicator is designed to work standalone. Ensure no conflicting scripts are applied unless explicitly needed for your strategy.
Why This Indicator Is Unique
Unlike standalone FVG or SMC indicators, this script combines both concepts with multi-timeframe analysis, offering a comprehensive view of market structure and liquidity. The addition of customizable MA templates enhances flexibility, while the dynamic removal of mitigated FVGs keeps the chart clean. This mashup is purposeful, as it integrates complementary tools to streamline decision-making for traders using SMC strategies.
Credits
This indicator builds on foundational SMC and FVG concepts from the TradingView community. Some open-source code was reused, and do performance enhancement as you guys can read the code. This type of indicators has inspiration was drawn from public domain SMC methodologies. All code is partly original with manual work on performance optimization in Pine Script.
Notes
Ensure your chart is clean (no unnecessary drawings or indicators) to maximize clarity.
The indicator is open-source, and traders are encouraged to review the code for deeper understanding.
For optimal use, test the indicator on a demo account to familiarize yourself with its signals.
Key Session Levels | Highs, Lows, OpensOverview
Designed for scalping and intraday trading on ES, NQ, and other futures markets that trade around the clock, this indicator automatically plots key support/resistance levels:
Session opens
Session highs
Session lows
Overnight highs
Overnight lows
Session Definitions (America/New_York Time)
Session (18:00 - 16:59 ET)
Tracks complete trading cycle
Plots: High, Low
Represents true daily extremes of each session
Overnight Session (18:00 - 9:30 ET)
Captures Asian and European session price action
Plots: Open, High, Low
These levels can act as support/resistance during the NY session
NY Session (9:30 - 16:59 ET)
Optional background highlight for regular trading hours
Helps visually distinguish active NY session from overnight action
Key Features
Flexible Extension Modes
Same Day: Lines end at session close
Next Day: Lines extend through the following session
Full Chart: Lines extend indefinitely to the right
Smart Line Management
Optional extension of overnight levels through NY session
Control how many historical sessions to display (1-250)
Automatic cleanup of old lines
Full Customization
Individual color control for each level
Line style options (solid, dotted, dashed)
Line width adjustment (1px-4px)
Show/hide any level independently
Common Use Cases
Support/Resistance
Breakout/Break & Retest
Strategy
Wait for price to reach a key level
Use Level 2 data to determine who's in control at the level (e.g. aggressive buyers vs. passive sellers) *this requires third-party software and a live data feed
Enter long/short WITH institutional players, identified via Level 2 data
Target areas/levels where the market may reverse
Best Timeframes
Works on any intraday timeframe, optimized for: 1m, 5m, 15m, 30m, 1H
Notes
All times are in America/New_York (Eastern Time)
Requires intraday timeframe to detect specific session times
Lines are semi-transparent by default for better chart visibility
Optimum EMAs x3Function Review
Optimum EMAs x3 scores EMA-price reactions via bullish/bearish percentages. Plots test (purple), bull/bear fast/medium/slow EMAs with toggles/individual colors, three adjustable gradient fills, and reaction table for multi-band analysis.
Usage Write-Up
Set fast (5-15), medium (10-20), slow (15-30) ranges per strategy. Test values via Test EMA for peak scores. Input optima to bull/bear fast/medium/slow for reactive three-band envelope (bullish supports, bearish resistances), refining signals in varied trends.
Market Structure Signals (HH/HL/LH/LL) - PreciseShows higher highs, higher lows, lower highs and lower lows for an easier visual understanding of price structure
Parabolic SAR MTF LinesThe indicator shows the Parabolic SAR sign (price above or below the indicator) for several timeframes at once. You can see at a glance how the price is trending across higher and lower timeframes.
Note that, for lower timeframes, the line becomes yellow to the left because history is limited and there are not enough bars to calculate.
Other features (can be enabled in settings):
* each line can be enabled or disabled individually, so that unused ones can be hidden.
* simple trend detection based on the number of bullish and bearish timeframes; threshold can be changed in Settings.
* "Score" output: counting the net number of bullish and bearish timeframes
* "Trend" output: changes to bullish or bearish as the score goes over or under the threshold
* background color (green or red according to trend).
* alert for trend change.
* another alert with a separate threshold score for flexibility.
* score weights for further customization of trend detection and alerts. Input parameters are set in terms of score values instead of number of lines.
* input options to choose alert modes for trend and extra alerts. The options are "once per bar close" (default), "once per bar", "every time".
This indicator was based on MACD MTF Lines where all the logic and features came from.
Volume Quintiles - 10 Trading Days, Time-of-Day Awarethis logging in the last 20 trading days in the same time.
Optimum EMAs x2Function Review
Optimum EMAs assesses EMA-price interactions by scoring reaction percentages for bullish/bearish touches. Creates EMA bands (top: most reactive bearish EMA as resistance; bottom: most reactive bullish EMA as support) with customizable test/bull/bear fast/slow EMAs, toggles, adjustable colors/gradients, and reaction table.
Usage Write-Up
Define fast (e.g., 5-15) and slow (e.g., 15-30) EMA ranges based on strategy. Scan with Test EMA for high reaction scores. Set optima in Bull/Bear Fast/Slow inputs to form reactive EMA bands (bullish top support, bearish bottom resistance), enhancing trend signals in bull/bear markets.
指定周期 MACustom Timeframe Moving Average (MA)
This indicator allows you to display a Moving Average from a higher or custom timeframe directly on your current chart.
📌 Features:
Choose any custom timeframe (e.g. 1H, 4H, 1D)
Supports multiple MA lengths (e.g. 20, 40, 60…)
Helps identify trend direction and key dynamic support/resistance
Ideal for multi-timeframe trading strategies
💡 Usage Example:
View 1H MA on a 5-minute chart for stronger trend confirmation
Use longer period MA as trend filter, shorter MA for entry signals
🚀 A great tool for swing traders, scalpers, and day traders who rely on multi-timeframe confluence.
Liquidity Sweeps 2nd attemptLiquidity Sweeps 2nd attempt
The Liquidity Sweeps indicator detects the presence of liquidity sweeps on the user's chart, while also providing potential areas of support/resistance or entry when Liquidity levels are taken.
In the event of a Liquidity Sweep a Sweep Area is created which may provide further areas of interest.
VWAP Diario (línea negra en precio)It's just the 1D VWAP average line. It's used to determine when you're entering a bullish or bearish daily structure.
ATR% Multiple From MA - Overextensions trackingATR% Multiple From MA - Quantifiable Profit Taking Indicator
This overlay indicator identifies overextended price moves by calculating how many ATR% multiples price is away from a moving average, providing objective profit-taking signals.
Formula:
A = ATR% = (ATR / Price) × 100
B = % Gain from MA = ((Price - MA) / MA) × 100
ATR% Multiple = B / A
Signals:
Yellow circle at 7x: Start scaling out partial profits
Red circle at 10x+: Heavily overextended, aggressive profit taking recommended
Stats table: Real-time ATR% Multiple, % Gain from MA, ATR%, and action status
For very volatile markets I usually go for 10x and 15x extension instead of 7x and 10x.
This method normalizes moves across different volatility environments, eliminating emotional decision-making. Historical examples include PLTR, SOFI, TSLA, NVDA which stalled after exceeding 10x.
Customizable Settings:
ATR Length (default: 14)
MA Length (default: 50)
Profit Zone thresholds (7x, 10x)
Toggle circles and MA display
Squeeze Hour Frequency [CHE]Squeeze Hour Frequency (ATR-PR) — Standalone — Tracks daily squeeze occurrences by hour to reveal time-based volatility patterns
Summary
This indicator identifies periods of unusually low volatility, defined as squeezes, and tallies their frequency across each hour of the day over historical trading sessions. By aggregating counts into a sortable table, it helps users spot hours prone to these conditions, enabling better scheduling of trading activity to avoid or target specific intraday regimes. Signals gain robustness through percentile-based detection that adapts to recent volatility history, differing from fixed-threshold methods by focusing on relative lowness rather than absolute levels, which reduces false positives in varying market environments.
Motivation: Why this design?
Traders often face uneven intraday volatility, with certain hours showing clustered low-activity phases that precede or follow breakouts, leading to mistimed entries or overlooked calm periods. The core idea of hourly squeeze frequency addresses this by binning low-volatility events into 24 hourly slots and counting distinct daily occurrences, providing a historical profile of when squeezes cluster. This reveals time-of-day biases without relying on real-time alerts, allowing proactive adjustments to session focus.
What’s different vs. standard approaches?
- Reference baseline: Classical volatility tools like simple moving average crossovers or fixed ATR thresholds, which flag squeezes uniformly across the day.
- Architecture differences:
- Uses persistent arrays to track one squeeze per hour per day, preventing overcounting within sessions.
- Employs custom sorting on ratio arrays for dynamic table display, prioritizing top or bottom performers.
- Handles timezones explicitly to ensure consistent binning across global assets.
- Practical effect: Charts show a persistent table ranking hours by squeeze share, making intraday patterns immediately visible—such as a top hour capturing over 20 percent of total events—unlike static overlays that ignore temporal distribution, which matters for avoiding low-liquidity traps in crypto or forex.
How it works (technical)
The indicator first computes a rolling volatility measure over a specified lookback period. It then derives a relative ranking of the current value against recent history within a window of bars. A squeeze is flagged when this ranking falls below a user-defined cutoff, indicating the value is among the lowest in the recent sample.
On each bar, the local hour is extracted using the selected timezone. If a squeeze occurs and the bar has price data, the count for that hour increments only if no prior mark exists for the current day, using a persistent array to store the last marked day per hour. This ensures one tally per unique trading day per slot.
At the final bar, arrays compile counts and ratios for all 24 hours, where the ratio represents each hour's share of total squeezes observed. These are sorted ascending or descending based on display mode, and the top or bottom subset populates the table. Background shading highlights live squeezes in red for visual confirmation. Initialization uses zero-filled arrays for counts and negative seeds for day tracking, with state persisting across bars via variable declarations.
No higher timeframe data is pulled, so there is no repaint risk from external fetches; all logic runs on confirmed bars.
Parameter Guide
ATR Length — Controls the lookback for the volatility measure, influencing sensitivity to short-term fluctuations; shorter values increase responsiveness but add noise, longer ones smooth for stability — Default: 14 — Trade-offs/Tips: Use 10-20 for intraday charts to balance quick detection with fewer false squeezes; test on historical data to avoid over-smoothing in trending markets.
Percentile Window (bars) — Sets the history depth for ranking the current volatility value, affecting how "low" is defined relative to past; wider windows emphasize long-term norms — Default: 252 — Trade-offs/Tips: 100-300 bars suit daily cycles; narrower for fast assets like crypto to catch recent regimes, but risks instability in sparse data.
Squeeze threshold (PR < x) — Defines the cutoff for flagging low relative volatility, where values below this mark a squeeze; lower thresholds tighten detection for rarer events — Default: 10.0 — Trade-offs/Tips: 5-15 percent for conservative signals reducing false positives; raise to 20 for more frequent highlights in high-vol environments, monitoring for increased noise.
Timezone — Specifies the reference for hourly binning, ensuring alignment with market sessions — Default: Exchange — Trade-offs/Tips: Set to "America/New_York" for US assets; mismatches can skew counts, so verify against chart timezone.
Show Table — Toggles the results display, essential for reviewing frequencies — Default: true — Trade-offs/Tips: Disable on mobile for performance; pair with position tweaks for clean overlays.
Pos — Places the table on the chart pane — Default: Top Right — Trade-offs/Tips: Bottom Left avoids candle occlusion on volatile charts.
Font — Adjusts text readability in the table — Default: normal — Trade-offs/Tips: Tiny for dense views, large for emphasis on key hours.
Dark — Applies high-contrast colors for visibility — Default: true — Trade-offs/Tips: Toggle false in light themes to prevent washout.
Display — Filters table rows to focus on extremes or full list — Default: All — Trade-offs/Tips: Top 3 for quick scans of risky hours; Bottom 3 highlights safe low-squeeze periods.
Reading & Interpretation
Red background shading appears on bars meeting the squeeze condition, signaling current low relative volatility. The table lists hours as "H0" to "H23", with columns for daily squeeze counts, percentage share of total squeezes (summing to 100 percent across hours), and an arrow marker on the top hour. A summary row above details the peak count, its share, and the leading hour. A label at the last bar recaps total days observed, data-valid days, and top hour stats. Rising shares indicate clustering, suggesting regime persistence in that slot.
Practical Workflows & Combinations
- Trend following: Scan for hours with low squeeze shares to enter during stable regimes; confirm with higher highs or lower lows on the 15-minute chart, avoiding top-share hours post-news like tariff announcements.
- Exits/Stops: Tighten stops in high-share hours to guard against sudden vol spikes; use the table to shift to conservative sizing outside peak squeeze times.
- Multi-asset/Multi-TF: Defaults work across crypto pairs on 5-60 minute timeframes; for stocks, widen percentile window to 500 bars. Combine with volume oscillators—enter only if squeeze count is below average for the asset.
Behavior, Constraints & Performance
Logic executes on closed bars, with live bars updating counts provisionally but finalizing on confirmation; table refreshes only at the last bar, avoiding intrabar flicker. No security calls or higher timeframes, so no repaint from external data. Resources include a 5000-bar history limit, loops up to 24 iterations for sorting and totals, and arrays sized to 24 elements; labels and table are capped at 500 each for efficiency. Known limits: Skips hours without bars (e.g., weekends), assumes uniform data availability, and may undercount in sparse sessions; timezone shifts can alter profiles without warning.
Sensible Defaults & Quick Tuning
Start with ATR Length at 14, Percentile Window at 252, and threshold at 10.0 for broad crypto use. If too many squeezes flag (noisy table), raise threshold to 15.0 and narrow window to 100 for stricter relative lowness. For sluggish detection in calm markets, drop ATR Length to 10 and threshold to 5.0 to capture subtler dips. In high-vol assets, widen window to 500 and threshold to 20.0 for stability.
What this indicator is—and isn’t
This is a historical frequency tracker and visualization layer for intraday volatility patterns, best as a filter in multi-tool setups. It is not a standalone signal generator, predictive model, or risk manager—pair it with price action, news filters, and position sizing rules.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Thanks to Duyck
for the ma sorter
HammerThis indicator automatically detects powerful candlestick formations such as Hammer, Inverted Hammer, Bullish Engulfing, Hanging Man, Shooting Star, and Bearish Engulfing.
It visually marks potential reversal zones on the chart and provides instant Long / Short alerts.
By combining pattern recognition with swing levels, it helps you identify possible trend reversals more clearly.
A simple, fast, and price-action-focused tool for smarter trading decisions.
💡 Yellow dotted lines indicate possible reaction zones around swing points.
Volume Exponential Moving Averages (EMA)
Description:
This script is a simple script that plots a desired exponential moving average of buy and sell volume as a line chart with a tunable smoothing factor. There is a highlight on the plot area of either green or red to denote if the EMA of buy volume or sell volume is of a higher value. This indicator uses basic math of exponential averages and calculates volume using the formulas: "buy volume" = the product of total volume and the "closing price" minus the "low price" divided by "high price" minus the "low price" for a specific candle. Conversely, "sell volume" = the product of "total volume" and the "high price" minus the "close price" divided by "high price" minus the "low price" for a specific candle.
Utility:
This indicator is an effective way to gauge the acceleration/ deceleration of buyers and sellers in the market and can be used in combination with market structure and important levels to understand if buyers or sellers are taking over at any given time.
How to use this indicator:
There are two settings for this indicator:
1. The Length of the EMA: The length of the EMA can be adjusted based on your preference for a running number of candles' data. If you are interested to know short term changes in volume (e.g. over the past few candles at a major level) you can adjust this setting lower (~3-9 length). Conversely, if you are interested in volume trends over a greater number of candles you can increase this to your liking.
Personal preference : Because I am a short term daytrader/ scalper, I keep this setting at 6 length to see immediate changes in the acceleration or deceleration of buyers/ sellers.
2. The Smoothing Factor: The smoothing factor can be adjusted to further tune the size of trend you are interested in with 1 = No smoothing of the EMA line. Smoothing of the EMA line increases as the value for smoothing increases, resulting in a less volatile, more smooth EMA line. However, the more smooth the line, the less sensitive the EMA will be to immediate changes in volume pace. The less smoothing factor is applied, the more volatile data will be, resulting in quicker observation of shorter term trends. Again the same rules apply as the EMA length as these are similar in function: If you are interested to know short term changes in volume (e.g. over the past few candles at a major level) you can adjust this setting lower (~2-6). Conversely, if you are interested in volume trends over a greater number of candles you can increase this to your liking.
Personal preference : Because I am a short term daytrader/ scalper, I keep this setting at 2-4 smoothing factor to see immediate changes in the acceleration or deceleration of buyers/ sellers.
You should, of course, play with these settings to your exact preferences based on your trading style.
Tips for using this indicator:
General Use:
When the buy volume EMA is moving up, buyers are increasing the pace of buying and when the buy volume EMA is moving down, buyers are decreasing the pace of buying. Conversely, when the sell volume EMA is moving up, sellers are increasing the pace of selling and when the sell volume EMA is moving down, sellers are decreasing the pace of selling. The overall movement of the stock is relative to the combination of these rates. e.g. If both buyers and sellers are increasing at the same rate (EMAs slopes are roughly equal) there will be not a large change in price. If the slope of the buy volume EMA is greater than the slope of sell volume EMA, the price should move up. Conversely, if the slope of the sell volume EMA is greater than the slope of buy volume EMA, the price should move down.
Predicting pullbacks, reversals, and continuations:
This indicator allows you to see if buyers or sellers are increasing their pace, even if the stock price is in consolidation. This allows you to predict if out of the consolidation buyers or sellers are likely to win based on the momentum of the volume in consolidation. e.g. If price is in consolidation after an uptrend and the buy volume EMA starts to decrease, this could be a sign that buyers are running out of steam at this price level. Another example, If at a major support the buy volume EMA begins to trend up then buyers are accelerating the pace of buying at this level.
EMA crosses: There is something to be said about the point at which the buy volume EMA and sell volume EMA cross. This signifies that at this moment there is a shift in which the acceleration of one party outpaces that of the other and can result in increased speed of the movement of the stock price.
Considerations
Because volume changes constantly, this indicator is best to identify short term changes in volume that could impact price movements. It is not guaranteed to continue just because buyers or sellers have had a change in pace. Therefore it is advised to use this indicator in combination with significant price levels such as pivot points, or price levels from volume profile tools to identify the price zones where significant volume changes are likely to impact price movements. It is also advised to continue to monitor the changes in pace in buyers and sellers using this volume EMA indicator to determine if a change in pace is short lived or if it will continue for a longer duration.
Examples of use:
Bullish Reversal:
Bearish Continuation:
Bearish EMA Crossover: (Settings: Length 6, Smoothing factor 3)
Bullish EMA Crossover: (Settings: Length 6, Smoothing factor 4)
KCP FRAMA Trend [Dr.K.C.PRAKASH]KCP FRAMA Trend
An adaptive trend indicator based on the Fractal Adaptive Moving Average (FRAMA).
It identifies breakout zones with clear BUY (green) and SELL (red) signals, colors candles by trend direction, and includes real-time alert conditions for precise trade entries and exits.
PDH/PDL + PMH/PML Breakout Table + Alerts + 🔔PDH/PDL now come exclusively from the previous day's RTH (9:30–4:00 PM ET) — they no longer include premarket. This avoids the confusion we encountered.
PMH/PML are calculated only during the premarket period (4:00–9:30 AM ET) of the current day.
Employment emojis: 🟢 (upward breakout for PDH/PMH), 🔴 (downward breakout for PDL/PML), ⚪ (no breakout).
The table displays three columns: Level | Status | Price. If you'd like the table to have a different size/position/color, just adjust it quickly.
Doble Keltner ChannelTwo Keltner channels with different configurations. This will allow you to visualize volatility confluences and potential reversal zones.
Configuration
Ema period 1 = 50
Ema period 2 = 50
Multiplier 1 = 2.75
Multiplier 2 = 3.75
Michal D. Lagless Moving Average | MisinkoMasterThe 𝕸𝖎𝖈𝖍𝖆𝖑 𝕯. 𝕷𝖆𝖌𝖑𝖊𝖘𝖘 𝕸𝖔𝖛𝖎𝖓𝖌 𝕬𝖛𝖊𝖗𝖆𝖌𝖊 is my latest creation of a trend following tool, which is a bit different from the rest. By trying to de-lag the classical moving average, it gives you fast signals on changes in trend as fast as possible, keeping traders & investors always in check for potential risks they might want to avoid.
How does it work?
First we need to calculate lengths. The lengths are calcuted using a user defined input called the "Length Multiplier" and we of course need as well the length input too.
The indicator uses 10 lengths, 5 for an average price, 5 for median price.
The length for the average is the following:
length_2_avg = length_1_avg * length_multiplier
length_3_avg = length_2_avg * length_multiplier
...
and for the median lengths:
length_1_median = length_2_avg
length_2_median = length_3_avg
Here applies this rule
length_x_median < length_x_avg
This is intentional, and it is because the average is a little more reactive, while the median is a bit slower. To make up for the "slowness" of the median, we simple reduce the length of it a bit more than the average.
Now that we have our length we are ready to calculate averages and medians over their respective period. This is the a normal average from elementary school, nothing too fancy.
Now that we have all of them we match the pairs using another user defined input called "Median Weight" like so:
(Average_x * (2-median_weight) + Median_x * median_weight)/2
This gives more weight to the average (also due to the max value limit set to avoid breaking the fundational logic behind it).
After doing it to all the pairs we now average those pairs using another input called "Exponential Weight Multiplier".
The Exponential Weight Multiplier is used for weights which I will cover soon:
weight1 = weight
weight2 = weight * weight
weight3 = weight * weight * weight....
This is done until we have all the weights calculated
This gives exponentially more weight to the less lagging indicators, which is how we delag the indicator.
Then we sum all the pairs like so:
sum = pair1 * weight1 + pair2 * weight2 + pair3 * weight3 + pair4 * weight4 + pair5 * weight5
Then the sum is divided by the sum of weights, this results in us getting the final value.
Methodology & What is the actual point & how was it made?
I want to cover this one a bit deeper:
The methodology behind this was creating an indicator that would not be lagging, and would be able to avoid lag while not producing signals too often.
In many attempts in the first part, I tried using EMA, RMA, DEMA, TEMA, HMA, SMA and so on, but they were too noisy (except for SMA & RMA, but those had their flaws), so I tried the classical average taught in elementary school. This one worked better, but the noise was too high still after all this time. This made me include the median, which helped the noise, but made it far too lagging.
Here came the idea of making the median length lower and adding weights to counter the lag of the median, but it was still too lagging. This made me make the weights for lengths more exponential, while previously they were calculated using a little bit amplified sums that were alright, but nowhere near my desired result.
Using the new weights I got further, and after a bit of testing I was sattisfied with the results.
The logic for the trend was a big part in my development part, there were many I could think of, but not enough time to try them, so I stuck to the usual one, and I leave it up to YOU to beat my trend logic and get even better results.
Use Cases:
- Price/MA Crossovers
Simple, effective, useful
- Source for other indicators
This I tried myself, and it worked in a cool way, making the signals of for example RSI much smoother, so definitely try it out if you know how to code, or just simply put it in the source of the RSI.
- ROC
This trend logic stuck with me, I think you could find a way to make it good, but mainly for the people that can code in pine, trying out to combine the trend logic with ROC could work very well, do not sleep on it!
- Education
This concept is not really that complex, so for people looking for new ideas, inspiration, or just watching how trend following tools behave in general this is something that could benefit anyone, as the concept can be applied to ANYTHING, even the classical RSI, MACD, you could try even the Parabolic SAR, maybe STC or VZO, there is no limit to imagination.
- Strategy creation
Filtering this indicator with "and" conditions, or maybe even "or" or anything really could be very useful in a strategy that desires fast signals.
- Price Distance from bands
I noticed this while looking at past performance:
The stronger the trend the higher the distance from the Moving Average.
Final Notes
Watch out for mean reverting markets, as this is trend following you could get easily screwed in them.
Play around with this if it fits your desired outcome, you might find something I did not.
Hope you find it useful,
See you next time!