Moving Averages
Gold Scalping Strategy (5min EMA, RSI, MACD, VPVR)//@version=5
indicator("Gold Scalping Strategy (5min EMA, RSI, MACD, VPVR)", overlay=true)
// 🔹 1. EMA 50 & EMA 200 sur un timeframe supérieur (15 min)
ema50 = ta.ema(request.security(syminfo.tickerid, "15", close), 50)
ema200 = ta.ema(request.security(syminfo.tickerid, "15", close), 200)
// Détection des croisements (Golden Cross & Death Cross)
goldenCross = ta.crossover(ema50, ema200)
deathCross = ta.crossunder(ema50, ema200)
plot(ema50, title="EMA 50 (15m)", color=color.blue, linewidth=2)
plot(ema200, title="EMA 200 (15m)", color=color.red, linewidth=2)
// 🔹 2. RSI (Relative Strength Index) sur 5 min
rsi = ta.rsi(close, 14)
rsiOverbought = 70
rsiOversold = 30
hline(rsiOverbought, "Surachat (70)", color=color.red)
hline(rsiOversold, "Survente (30)", color=color.green)
// Détection des signaux RSI
rsiBuySignal = ta.crossover(rsi, rsiOversold)
rsiSellSignal = ta.crossunder(rsi, rsiOverbought)
// 🔹 3. MACD (12,26,9) sur 5 min
= ta.macd(close, 12, 26, 9)
macdBuy = ta.crossover(macdLine, signalLine)
macdSell = ta.crossunder(macdLine, signalLine)
plot(macdLine, title="MACD Line", color=color.blue)
plot(signalLine, title="Signal Line", color=color.red)
// 🔹 4. Volume Profile basé sur 1H pour détecter les zones clés
vp = request.security(syminfo.tickerid, "60", ta.highest(close, 50))
plot(vp, title="Zone de volume", color=color.gray, style=plot.style_circles)
// ✅ Alertes automatiques adaptées au 5 min
alertcondition(goldenCross, title="Golden Cross (Achat)", message="EMA 50 a croisé EMA 200 à la hausse!")
alertcondition(deathCross, title="Death Cross (Vente)", message="EMA 50 a croisé EMA 200 à la baisse!")
alertcondition(rsiBuySignal, title="RSI Achat", message="RSI est en zone de survente (<30)!")
alertcondition(rsiSellSignal, title="RSI Vente", message="RSI est en zone de surachat (>70)!")
alertcondition(macdBuy, title="MACD Achat", message="MACD croise au-dessus du signal!")
alertcondition(macdSell, title="MACD Vente", message="MACD croise en dessous du signal!")
// Affichage des signaux sur le graphique
bgcolor(goldenCross ? color.green : na, transp=80)
bgcolor(deathCross ? color.red : na, transp=80)
SaravanasMoving Average Testing The moving average crossover is a strategy that makes use of two or more moving averages to identify trading opportunities, trends, and trend reversals. The strategy involves taking two moving averages of different periods and identifying buy or sell signals when one moving average crosses over another.
DEMA 21, DEMA 50 e DEMA 80 - Filtro de AlertasAlerta de Long e Short, baseado no cruzamento de DEMA21 e DEMA50.
RSI Long/Short Signals// Estratégia de Sinais Long e Short baseada apenas no RSI
//@version=6
indicator('RSI Long/Short Signals', overlay = true)
// Definição do RSI
rsi = ta.rsi(close, 14)
// Condições para LONG
long_condition = rsi < 25
// Condições para SHORT
short_condition = rsi > 75
// Plotando Sinais
plotshape(long_condition, location = location.belowbar, color = color.green, style = shape.labelup, title = 'LONG Signal')
plotshape(short_condition, location = location.abovebar, color = color.red, style = shape.labeldown, title = 'SHORT Signal')
// Alertas
if long_condition
alert('Sinal de LONG: RSI < 30 (Sobrevendido)', alert.freq_once_per_bar_close)
if short_condition
alert('Sinal de SHORT: RSI > 70 (Sobrecomprado)', alert.freq_once_per_bar_close)
Bollinger Bands con AlertasBollinger Bands con Alertas actualizado ahora la alerta sonará cada vez que haya un cruce del precio con una de las bandas
EMA MACD Long Scalper5 EMA & 20 EMA Cross-Up with MACD Histogram – Bullish Scalping Strategy
This scalping strategy leverages the 5 EMA (Exponential Moving Average) crossing above the 20 EMA as the primary signal for a bullish trade. The MACD histogram serves as a confirmation indicator to increase the probability of success by ensuring momentum aligns with the trade direction.
________________________________________
Timeframe & Market Selection
• Best suited for lower timeframes (3-minute, 5-minute, or 15-minute charts) to capture quick intraday moves.
• Works well in highly liquid assets such as large-cap stocks, or crypto with high volatility (e.g., BTC/USDT, NASDAQ 100, SPY).
• Ideal during high-volume trading hours.
________________________________________
Indicators Setup
1. 5 EMA (Fast Moving Average) – Short-term trend filter.
2. 20 EMA (Slow Moving Average) – Medium-term trend filter.
3. MACD (12, 26, 9) Histogram Only – Measures momentum strength.________________________________________
Entry Criteria (Bullish Confluence for a Long Trade)
1. 5 EMA Crosses Above the 20 EMA
o The fast EMA moving above the slow EMA signals a potential short-term uptrend.
o The EMAs should not be flat; rather, they should be sloping upwards to indicate a trend forming.
2. MACD Histogram Goes from Negative to Positive
o This confirms increasing bullish momentum.
o Ideally, the first positive histogram bar appears after a series of negative bars.
o The MACD line should also be crossing above the signal line or showing signs of strength.
3. Price Pullback into EMAs and Bounces Off Support
o Avoid chasing the initial breakout; instead, wait for a minor pullback where price holds above the EMAs.
o A bullish candle (e.g., hammer, engulfing, or strong close) confirms continuation.
4. Increased Volume on the Breakout Candle
o A spike in volume supports a strong move.
o If volume is low, the move might lack follow-through.
________________________________________
Entry Execution
• Entry Trigger: Once price pulls back and holds above the 5 EMA after the cross-up, enter on the next bullish candle close.
• Order Type: Market order for instant execution or a limit order near the EMAs.
• Confirmation: Ensure the MACD histogram remains positive before entering.
________________________________________
Stop Loss & Risk Management
• Stop-Loss Placement:
o Conservative: Below the most recent swing low.
o Aggressive: Below the 20 EMA if structure is strong.
• Risk-Reward Ratio (RRR):
o Aim for at least 1.5:1 or 2:1 RRR to ensure profitability over multiple trades.
________________________________________
Exit Strategy (Take Profit & Trade Management)
1. First Take Profit (Partial Exit):
o At 1:1 RRR, close 50% of the position to secure profit and move stop-loss to breakeven.
2. Final Take Profit:
o When price shows exhaustion, such as multiple small candles or bearish divergence on MACD.
o Strong resistance levels or psychological price points.
3. Trailing Stop Option:
o Move the stop loss below the 5 EMA as long as price trends upwards.
o If price closes below 5 EMA, consider closing the trade.
________________________________________
Example Trade Execution
• Timeframe: 3-minute chart
• Stock: SPY
• Price Action: Price consolidates, then 5 EMA crosses above 20 EMA.
• MACD Confirmation: Histogram flips positive after being negative.
• Volume Spike: Breakout candle closes above EMAs with increasing volume.
• Entry: Market order at $455.00
• Stop Loss: Below 20 EMA at $454.50 (-$0.50 risk)
• Take Profit 1: $455.75 (1:1 RRR, close 50%)
• Take Profit 2: $456.50 (Final exit)
________________________________________
Additional Considerations
✅ Best Market Conditions: Trending markets or breakouts after consolidation.
❌ Avoid Choppy Markets: If price repeatedly crosses EMAs without direction, stay out.
🔁 Backtesting & Optimization: Test on historical data to refine entry/exit rules.
________________________________________
Conclusion
This strategy combines moving average crossovers with MACD momentum to identify high-probability scalping opportunities. By waiting for a pullback and confirming with volume, traders can improve their win rate and risk management.
Simple Moving Averages MTFSimple Moving Averages MTF
This indicator plots Simple Moving Averages (SMAs) from multiple timeframes—intraday, daily, weekly, and monthly—right on your chart. It’s built for traders who want a clear, adaptable way to spot trends, whether trading short-term or holding long-term positions.
Key Features:
- Multi-Timeframe SMAs: View intraday, daily, weekly, and monthly SMAs in one place.
- Fully Customizable: Set lengths and colors for each SMA.
- Toggle On/Off: Show or hide SMAs to keep your chart clean.
- Quick Setup: Adjust settings inline with ease.
How to Use:
Add the indicator to your chart.
Open settings and pick a timeframe group (e.g., "Intraday Timeframes").
Enable/disable SMAs, tweak lengths and colors.
Hit "OK" to see it in action.
Interpretation:
- Support/Resistance: SMAs serve as dynamic levels for price reactions.
- Trend Signals: Rising SMAs indicate bullish momentum; falling SMAs suggest bearish.
- Crossovers: Short SMA crossing above a long SMA may signal a buy; below, a sell.
- Divergence: Price diverging from SMAs can hint at reversals.
Why Use It?
"Simple Moving Averages MTF" is a versatile, no-fuss tool for trend analysis. Use it solo or pair it with other indicators to match your trading style. Get multi-timeframe insights, simplified.
EMA BY CS v3It works by indicating the crossing of the trend, both bullish and bearish, and indicating the market trend.
*Green indicates bullish movement
*Red indicates downward movement
*Blue indicates the market trend
Works with any section and any market.
I hope it helps you a lot and you enjoy it.
TVC:DXY OANDA:EURUSD FX:US30 OANDA:XAUUSD BITSTAMP:BTCUSD
[GYTS] Ultimate Smoother (3-poles + 2 poles)Ultimate Smoother (3-pole)
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- INTRODUCTION --------- 🌸
💮 Release of 3-Pole Ultimate Smoother
This indicator presents a new 3-pole version of John Ehlers' Ultimate Smoother (2024) . This results in an unconventional filter that exhibits effectively zero lag in practical trading applications, regardless of the set period. By using a 2-pole high-pass filter in its design, it responds to price direction changes on the same bar, while still allowing the user to control smoothness.
💮 What is the Ultimate Smoother?
The original Ultimate Smoother is a revolutionary filter designed by John Ehlers (2024) that smooths price data with virtually zero lag in the pass band. While conventional filters always introduce lag when removing market noise, the Ultimate Smoother maintains phase alignment at low frequencies while still providing excellent noise reduction.
💮 Mathematical Foundation
The Ultimate Smoother achieves its remarkable properties through a clever mathematical approach:
1. Instead of directly designing a low-pass filter (like traditional moving averages), it subtracts a high-pass filter from an all-pass filter (the original input data).
2. At very low frequencies, the high-pass filter contributes almost nothing, so the output closely matches the input in both amplitude and phase.
3. At higher frequencies, the high-pass filter's response increasingly matches the input data, resulting in cancellation through subtraction.
The 3-pole version extends this principle by using a higher-order high-pass filter, requiring additional coefficients and handling more terms in the numerator of the transfer function.
🌸 --------- USAGE GUIDE --------- 🌸
💮 Period Parameter Behaviour
The period parameter in the 3-pole Ultimate Smoother works somewhat counterintuitively:
- Longer periods: Result in less smooth, but more responsive following of the price. The filter output more closely tracks the input data.
- Shorter periods: Produce smoother output but may exhibit overshooting (extrapolating price movement) for larger movements.
This is different from most filters where longer periods typically produce smoother outputs with more lag.
💮 When to Choose 3-Pole vs. 2-Pole
- Choose the 3-pole version when you need zero-lag but want to control the smoothness
- Choose the 2-pole version when you are okay with some lag with the benefit of more smoothness.
🌸 --------- ACKNOWLEDGEMENTS --------- 🌸
This indicator builds upon the pioneering work of John Ehlers, particularly from his article April 2024 edition of TASC's Traders' Tips . The original version is published on TradingView by @PineCodersTASC .
This 3-pole extension was developed by @GoemonYae . Feedback is highly appreciated!
5XMA-BandA useful 5-tier SMA/EMA lines.
You can set the MA periods and indicate "EMA" or "SMA" for each.
Morphine Moving AveragesMorphine Moving Averages (MMA) is a comprehensive technical analysis tool designed to give traders a clear, visual representation of key market trends. Combining several essential indicators into one, MMA includes:
Bollinger Bands (20 SMA, 2 standard deviation): Provides a dynamic range to identify volatility and potential reversals.
VWAP (Volume Weighted Average Price): Offers an average price weighted by volume, helping you assess market trends and potential entry points.
8 SMA: A simple moving average that helps identify short-term trends.
20 EMA: A faster-moving average that responds to recent price changes, ideal for spotting shorter-term momentum.
50 EMA: Represents a medium-term trend, smoothing out price action for better market clarity.
200 EMA: A long-term moving average, widely followed to understand the broader trend and potential support/resistance zones.
Each line is color-coded for quick identification, making it an ideal tool for both short-term and long-term traders who want a comprehensive view of the market's key levels. Use the Morphine Moving Averages indicator to spot trends, reversals, and key support/resistance levels all in one glance!
Make sure you have it pinned to price scale right.
If you have any questions or bugs, feel free to reach out to me on X. x.com
Multi-Filter Momentum OscillatorMulti-Filter Momentum Oscillator
Description
The Multi-Filter Momentum Oscillator is an advanced technical indicator that leverages multiple moving average filters to identify trend strength, momentum shifts, and potential reversal points in price action. This indicator combines a cluster-based approach with momentum analysis to provide traders with a comprehensive view of market conditions.
Key Components
Filter Cluster Analysis: The indicator creates an array of moving averages with different periods using your choice of filter (PhiSmoother, EMA, DEMA, TEMA, WMA, or SMA). These filters form a cluster that helps identify the underlying trend direction.
Composite Score: The relative positions of these filters are analyzed to generate a net score, which represents the overall trend strength and direction.
Signal Line: A smoothed version of the composite score that helps identify momentum shifts.
Four-Color Histogram: Visualizes the relationship between the score and signal line with four distinct colors:
Bright Green (Bullish Rising): Positive momentum that is accelerating
Olive Green (Bullish Falling): Positive momentum that is decelerating
Dark Red (Bearish Rising): Negative momentum that is improving
Bright Red (Bearish Falling): Negative momentum that is worsening
LazyLine Overlay: An additional triple-smoothed WMA that can be displayed on the price chart to visualize the dominant trend.
Trading Applications
Trend Direction: The oscillator's position above or below zero indicates the prevailing trend direction.
Momentum Shifts: The histogram's color changes signal momentum shifts before they become apparent in price.
Divergence Detection: Compare oscillator peaks/troughs with price action to identify potential divergences.
Overbought/Oversold Conditions: Extreme readings near the upper and lower threshold levels can indicate potential reversal zones.
Trend Confirmation: The LazyLine overlay confirms the broader trend direction on the price chart.
Customization Options
The indicator offers extensive customization through multiple parameters:
Filter type selection (PhiSmoother, EMA, DEMA, TEMA, WMA, SMA)
Cluster dispersion and trim settings
Post-smoothing options
Signal line parameters
Threshold levels
Color preferences for various elements
Histogram width and visibility
Optional swing signals with customizable placement
Modes
Trend Strength Mode: Focuses on the directional movement of the filter cluster.
Volatility Mode: Weights the score based on the bandwidth of the filter cluster, making it more responsive during volatile periods.
This versatile oscillator combines elements of trend following, momentum analysis, and volatility assessment to provide traders with actionable signals across different market conditions. The four-color histogram adds another dimension to traditional oscillator analysis by visually representing both the direction and strength of momentum shifts.
200 Day SMA HighlighterHighlights area under chart for 200 day moving average (adjustable).
Shows color coding for when price is above or below the sma.
TA Trading Signal Bot//@version=5
indicator(title="TA Trading Signal Bot", overlay=true)
// Input settings
lengthEMA = input(20, title="EMA Length")
lengthRSI = input(14, title="RSI Length")
overbought = input(70, title="RSI Overbought Level")
oversold = input(30, title="RSI Oversold Level")
// Indicators
ema = ta.ema(close, lengthEMA)
rsi = ta.rsi(close, lengthRSI)
macdline = ta.ema(close, 12) - ta.ema(close, 26)
signalline = ta.ema(macdline, 9)
// Buy/Sell Conditions
crossoverRSI = ta.crossover(rsi, oversold)
crossoverMACD = ta.crossover(macdline, signalline)
buySignal = crossoverRSI and close > ema and crossoverMACD
// Plot Buy Signal
plotshape(series=buySignal, location=location.belowbar, color=color.green, style=shape.labelup, title="BUY Signal")
Bullish Strategy SignalOverview
This TradingView Pine Script is a bullish strategy signal based on a combination of several technical indicators. It identifies potential buy signals when multiple conditions are met, ensuring higher probability trades by reducing false signals. The strategy combines trend-following , momentum , volume , and breakout indicators.
Features
- Configurable Inputs : All key parameters, such as moving average lengths, MACD settings, RSI thresholds, Bollinger Bands settings, and volume averages, can be adjusted by the user. The default values are pre-set based on typical configurations for a bullish strategy.
- Bullish Signal Generation : A buy signal is triggered when the following conditions are met:
1. Trend Confirmation : Price is above the 200-period moving average (indicating an uptrend).
2. Momentum Confirmation : The MACD line crosses above the signal line, indicating bullish momentum.
3. Strength Confirmation : RSI crosses above a user-defined threshold (default is 50), indicating upward momentum.
4. Breakout Confirmation : Price breaks above the middle Bollinger Band, signaling potential continuation of the trend.
5. Volume Confirmation : The trading volume is above its 20-period average, suggesting strong market participation.
Technical Indicators Used
- 50/200 Moving Averages : To determine the long-term and short-term trend.
- MACD (Moving Average Convergence Divergence) : Used for identifying momentum shifts.
- RSI (Relative Strength Index) : To evaluate if the stock is in an overbought or oversold condition.
- Bollinger Bands : Used to track price volatility and confirm breakouts.
- Volume : To ensure that the price movement is supported by significant trading activity.
How It Works
The script will generate green "BUY" labels below bars when all the following conditions are true:
1. The 50-day moving average is above the 200-day moving average, confirming a bullish trend.
2. A MACD crossover occurs, signaling increasing momentum.
3. The RSI crosses above the user-defined threshold, confirming strength.
4. The price breaks above the middle Bollinger Band, indicating the start of a potential breakout.
5. The trading volume exceeds its 20-period average, ensuring that the breakout is supported by sufficient buying interest.
User Configuration
- Moving Average Periods : Length for the short-term (50) and long-term (200) moving averages.
- MACD Settings : Fast length (12), slow length (26), and signal length (9).
- RSI Settings : Length (14) and threshold (default 50).
- Bollinger Bands Settings : Length (20) and standard deviation (2).
- Volume Settings : Length (20) for the volume moving average.
How to Use
1. Open TradingView and navigate to the Pine Editor .
2. Copy and paste the provided script into the editor.
3. Click on Add to Chart to display the strategy on your chart.
4. Adjust the input parameters as needed to fit your trading style or time frame.
5. Look for green “BUY” labels below the price bars, which indicate a bullish signal.
Conclusion
This script combines multiple technical indicators to ensure that each buy signal is supported by trend, momentum, volume, and breakout confirmations. By configuring key settings, traders can fine-tune the strategy to match their trading preferences and time frames.
Avi - Trendlines EnhancedDeveloped from open-source code by © pikusov (Diagonal Supports and Resistances), this indicator provides traders with a robust and visually intuitive method to identify and monitor key support and resistance levels. Its ability to check for multiple test touches, combined with dynamic updates, customizable visuals, and integrated alert systems, makes it an effective tool for comprehensive technical market analysis.
This advanced TradingView Pine Script indicator dynamically detects and draws support and resistance trendlines based on historical pivot points while also checking for multiple test touches. Here’s a detailed summary of its functionality:
Customizable Trendline Detection:
Historical Analysis: Users specify the number of historical bars to examine for identifying pivot points, enabling a deep scan for reliable support and resistance levels.
Pivot Lookback Settings: The primary pivot lookback period (x1) is user-defined, with a secondary period (x2) calculated as half of x1, allowing the indicator to capture both local lows and highs accurately.
Dynamic Trendline Construction and Multiple Test Validation:
Iterative Pivot Pairing: The script uses nested loops to identify pairs of pivot points (lows for support, highs for resistance) and calculates an interpolated price along the line connecting these pivots.
Testing and Updating Trendlines:
The indicator continuously checks whether the price respects the drawn trendlines.
It verifies if the trendlines have been tested multiple times by iterating through historical bars, ensuring that the level holds up under repeated tests.
When a level is retested, the trendline is updated and a test counter is incremented, thereby reinforcing the significance of the support or resistance level.
Visual Customization Options:
Line Appearance: Users can tailor the trendlines with customizable thickness, dash patterns (solid, dotted, or dashed), and specific colors for support and resistance lines.
Label Settings: Labels display the precise price levels (and optionally the number of tests), with configurable sizes and styles, offering clear visual cues on the chart.
Alerting and Confirmation Mechanisms:
Breakout Alerts: The script triggers alerts when the price action breaches a trendline. It differentiates between standard alerts and those that are volume-confirmed—where the volume exceeds a set multiple of the average—thus minimizing false signals.
RSI-Based Bar Coloring: When enabled, the Relative Strength Index (RSI) is computed, and bars at trendline test points are color-coded (dark red for overbought and dark green for oversold conditions), providing immediate visual feedback on market momentum.
Supporting Analytical Tools:
Pivot Labels: The indicator can display pivot labels using built-in functions, marking key pivot highs and lows with their corresponding price values.
Moving Averages: Two customizable moving averages (fast and slow) can be plotted (using either SMA or EMA), helping to contextualize the trendlines within the broader market trend.
Efficient Object Management:
Array-Based Storage and Cleanup: Arrays are used to store drawn objects (lines and labels), and a cleanup routine ensures that outdated objects are removed with every new bar, keeping the chart clutter-free.
Helper Functions: Utility functions such as price_at for interpolating prices along the trendline and round_to_tick for rounding values enhance the script’s precision and usability.
Avi - TablesThe "Avi - Tables" indicator is a comprehensive tool designed to display a wealth of technical information directly on your TradingView chart using dynamic tables and visual elements. It combines multiple analysis techniques and multi-timeframe metrics into an easy-to-read layout. Key features include:
Moving Averages & VWMA:
The indicator calculates up to six user-configurable moving averages (with options for both SMA and EMA) and a 20-period Volume-Weighted Moving Average (VWMA). It plots these averages on the chart and computes the percentage difference between the current price and each moving average. It also checks if the price has touched these levels.
ATR and Volatility:
A 14-period Average True Range (ATR) is calculated and expressed as a percentage of the close price, providing a measure of market volatility.
Volume Analysis:
Using daily volume data and a user-defined volume period, the indicator computes the relative volume (RVOL) as a multiple compared to the average volume. It estimates the full-day volume based on the elapsed trading day and compares it with the previous day’s volume, applying conditional formatting based on these comparisons.
Pressure Metrics:
The script calculates buyer and seller pressure based on price movement and volume, determining the dominant pressure (BP or SP) and displaying the result with corresponding color cues.
Multi-Timeframe Analysis Table:
Users can select various timeframes (15-min, 1-hour, 4-hour, daily, weekly, and monthly) for additional indicators such as MACD, ADX, CCI, and RSI. Each timeframe’s data is displayed in a dedicated table cell, with colors and text dynamically indicating bullish, bearish, or neutral conditions.
Customizable Tables & Layout:
The indicator provides several inputs for table positioning, text size, and layout options—including an option to flip the table rows and columns—allowing you to customize the display to best suit your chart and analysis needs.
Pivot Points & Gap Analysis:
Beyond the tables, the script includes functionality for detecting pivot highs and lows as well as identifying chart gaps. It draws labels for pivot points and, in an optional section, detects and manages gaps (with partial or full closures) and triggers alerts when new gaps appear or are closed.
Overall, "Avi - Tables" is designed to deliver a multi-layered view of the market —from moving averages and volatility to volume dynamics and multi-timeframe indicator signals—all organized neatly into customizable tables. This makes it a powerful resource for traders seeking an integrated and visually intuitive technical analysis tool.
Avi - 8 MAMoving Averages (MA) Section
User Inputs:
The script lets you enable/disable and configure eight different moving averages. For each MA, you can choose:
The type: Simple Moving Average (SMA) or Exponential Moving Average (EMA)
The period (length)
The color used for plotting
Calculation:
A custom function (maFunc) calculates the MA value based on the selected type and length. Each moving average (from MA 1 to MA 8) is computed accordingly and then plotted on the chart.
2. EMA Cloud
Inputs:
There are inputs for a "Fast EMA" (default 8) and a "Slow EMA" (default 21).
Calculation & Plotting:
The script calculates the 8-period and 21-period EMAs. Although these EMAs are not directly plotted (they’re set with display.none), they are used to determine the market condition:
If the fast EMA is above the slow EMA, the area between them is filled with a greenish color.
If the fast EMA is below the slow EMA, the fill color turns reddish.
3. Buyer/Seller Pressure & ATR Calculations
Price Difference:
The script computes the difference between the close and open prices (as well as the percentage difference), which can be used as a measure of buyer vs. seller pressure.
ATR (Average True Range):
A 14-period ATR is calculated and then expressed as a percentage of the current close price. This gives a sense of volatility relative to the price level.
4. Volume Metrics & Relative Volume
Daily Volume & Averages:
The script retrieves daily volume data and computes a moving average for volume over a configurable length (default 20).
Relative Volume:
It calculates:
The average volume for the current period.
A relative volume multiplier comparing current volume to its moving average.
An estimated full-day volume based on the elapsed trading time, and checks if it will exceed the previous day’s volume.
The values are then formatted (e.g., converting to millions) for easier reading.
Conditional Formatting:
A background color is set based on whether the estimated relative volume is above or below a threshold.
5. Table Display
Purpose:
A table is created (position is configurable) to display key metrics:
14-day ATR percentage
Relative volume information (as a multiple and whether it exceeds the previous day)
Price difference (absolute and percentage change)
Style:
The table cells include conditional background and text colors to highlight different market conditions.
6. Pivot Points & Labels
Pivot Calculation:
The script calculates pivot highs and lows using user-defined left/right bar lengths.
Label Drawing:
When a pivot point is detected, a label is drawn on the chart to display its value. The style and colors for these labels are also configurable by the user.
Summary
This indicator script is quite comprehensive. It not only provides multiple moving averages and an EMA cloud to help visualize trend conditions but also includes features to assess market volatility, volume dynamics, and pivot levels—all of which are displayed neatly on the chart through plots and a customizable table. The commented-out gap detection code suggests that further features could be integrated if gap analysis is required.
If you have any specific questions or need further modifications, feel free to ask!
2 days ago
Release Notes
1. Moving Averages (MA) Section
User Inputs:
The script lets you enable/disable and configure eight different moving averages. For each MA, you can choose:
The type: Simple Moving Average (SMA) or Exponential Moving Average (EMA)
The period (length)
The color used for plotting
Calculation:
A custom function (maFunc) calculates the MA value based on the selected type and length. Each moving average (from MA 1 to MA 8) is computed accordingly and then plotted on the chart.
2. EMA Cloud
Inputs:
There are inputs for a "Fast EMA" (default 8) and a "Slow EMA" (default 21).
Calculation & Plotting:
The script calculates the 8-period and 21-period EMAs. Although these EMAs are not directly plotted (they’re set with display.none), they are used to determine the market condition:
If the fast EMA is above the slow EMA, the area between them is filled with a greenish color.
If the fast EMA is below the slow EMA, the fill color turns reddish.
3. Buyer/Seller Pressure & ATR Calculations
Price Difference:
The script computes the difference between the close and open prices (as well as the percentage difference), which can be used as a measure of buyer vs. seller pressure.
ATR (Average True Range):
A 14-period ATR is calculated and then expressed as a percentage of the current close price. This gives a sense of volatility relative to the price level.
4. Volume Metrics & Relative Volume
Daily Volume & Averages:
The script retrieves daily volume data and computes a moving average for volume over a configurable length (default 20).
Relative Volume:
It calculates:
The average volume for the current period.
A relative volume multiplier comparing current volume to its moving average.
An estimated full-day volume based on the elapsed trading time, and checks if it will exceed the previous day’s volume.
The values are then formatted (e.g., converting to millions) for easier reading.
Conditional Formatting:
A background color is set based on whether the estimated relative volume is above or below a threshold.
5. Table Display
Purpose:
A table is created (position is configurable) to display key metrics:
14-day ATR percentage
Relative volume information (as a multiple and whether it exceeds the previous day)
Price difference (absolute and percentage change)
Style:
The table cells include conditional background and text colors to highlight different market conditions.
6. Pivot Points & Labels
Pivot Calculation:
The script calculates pivot highs and lows using user-defined left/right bar lengths.
Label Drawing:
When a pivot point is detected, a label is drawn on the chart to display its value. The style and colors for these labels are also configurable by the user.
Summary
This indicator script is quite comprehensive. It not only provides multiple moving averages and an EMA cloud to help visualize trend conditions but also includes features to assess market volatility, volume dynamics, and pivot levels—all of which are displayed neatly on the chart through plots and a customizable table. The commented-out gap detection code suggests that further features could be integrated if gap analysis is required.
If you have any specific questions or need further modifications, feel free to ask.
Avi - Live 20 ChecklistThis indicator, called "Live 20 Checklist", is a comprehensive TradingView tool that consolidates multiple technical analysis metrics into one dynamic display. It’s designed to help traders quickly assess market conditions by providing a real-time checklist of key indicators.
Key Features:
Moving Averages & Reversion Signals:
It calculates a primary moving average (with a customizable length and type, either SMA or EMA) and measures the percentage difference between the current price and this average. By comparing this difference over a lookback period, the script generates bullish or bearish reversion signals when the price deviates significantly from the average.
Trend Analysis:
The indicator uses linear regression over user-defined short-term and long-term periods to determine the overall price trend direction. This helps in identifying whether the market is in a bullish or bearish phase over different timeframes.
CCI (Commodity Channel Index):
It computes the CCI to gauge momentum and potential overbought/oversold conditions, with color-coded outputs reflecting the strength of the current momentum.
Volume Metrics:
Volume trends are analyzed by comparing current volume to both short-term and long-term moving averages. It also estimates the full-day volume based on the elapsed time in the trading session and compares it to the previous day’s volume, presenting this as a relative volume (RVOL) multiple.
Gap Detection:
The script scans historical bars to detect bullish and bearish gaps, drawing lines on the chart to visually highlight these gaps. It further identifies the “closest gap” relative to the current price.
Candlestick Pattern Recognition:
A variety of candlestick patterns (such as bullish/bearish engulfing, doji, hammers, marubozu, and more) are detected, with the current pattern highlighted in the table and background color adjusted accordingly.
Dynamic Table Display:
All these metrics are neatly organized in a customizable table on the chart. Traders can choose which rows to display (moving average info, trends, CCI, volume trends, gap details, candlestick patterns, ATR, RVOL, and open-close difference) and adjust the table’s position, text size, and color theme.
Additional Visual Tools:
Besides the main moving average, an extra moving average can be plotted for additional perspective. Pivot high/low labels are also available to mark key price levels, with colors that adjust based on the selected theme.
Overall, the Live 20 Checklist is a robust indicator that merges several analytical tools into one visual dashboard, enabling traders to quickly evaluate market conditions and make informed decisions.
1 hour ago
Release Notes
This indicator, called "Live 20 Checklist", is a comprehensive TradingView tool that consolidates multiple technical analysis metrics into one dynamic display. It’s designed to help traders quickly assess market conditions by providing a real-time checklist of key indicators.
Key Features:
Moving Averages & Reversion Signals:
It calculates a primary moving average (with a customizable length and type, either SMA or EMA) and measures the percentage difference between the current price and this average. By comparing this difference over a lookback period, the script generates bullish or bearish reversion signals when the price deviates significantly from the average.
Trend Analysis:
The indicator uses linear regression over user-defined short-term and long-term periods to determine the overall price trend direction. This helps in identifying whether the market is in a bullish or bearish phase over different timeframes.
CCI (Commodity Channel Index):
It computes the CCI to gauge momentum and potential overbought/oversold conditions, with color-coded outputs reflecting the strength of the current momentum.
Volume Metrics:
Volume trends are analyzed by comparing current volume to both short-term and long-term moving averages. It also estimates the full-day volume based on the elapsed time in the trading session and compares it to the previous day’s volume, presenting this as a relative volume (RVOL) multiple.
Gap Detection:
The script scans historical bars to detect bullish and bearish gaps, drawing lines on the chart to visually highlight these gaps. It further identifies the “closest gap” relative to the current price.
Candlestick Pattern Recognition:
A variety of candlestick patterns (such as bullish/bearish engulfing, doji, hammers, marubozu, and more) are detected, with the current pattern highlighted in the table and background color adjusted accordingly.
Dynamic Table Display:
All these metrics are neatly organized in a customizable table on the chart. Traders can choose which rows to display (moving average info, trends, CCI, volume trends, gap details, candlestick patterns, ATR, RVOL, and open-close difference) and adjust the table’s position, text size, and color theme.
Additional Visual Tools:
Besides the main moving average, an extra moving average can be plotted for additional perspective. Pivot high/low labels are also available to mark key price levels, with colors that adjust based on the selected theme.
Overall, the Live 20 Checklist is a robust indicator that merges several analytical tools into one visual dashboard, enabling traders to quickly evaluate market conditions and make informed decisions.
1 hour ago
Release Notes
This indicator, called "Live 20 Checklist", is a comprehensive TradingView tool that consolidates multiple technical analysis metrics into one dynamic display. It’s designed to help traders quickly assess market conditions by providing a real-time checklist of key indicators.
Key Features:
Moving Averages & Reversion Signals:
It calculates a primary moving average (with a customizable length and type, either SMA or EMA) and measures the percentage difference between the current price and this average. By comparing this difference over a lookback period, the script generates bullish or bearish reversion signals when the price deviates significantly from the average.
Trend Analysis:
The indicator uses linear regression over user-defined short-term and long-term periods to determine the overall price trend direction. This helps in identifying whether the market is in a bullish or bearish phase over different timeframes.
CCI (Commodity Channel Index):
It computes the CCI to gauge momentum and potential overbought/oversold conditions, with color-coded outputs reflecting the strength of the current momentum.
Volume Metrics:
Volume trends are analyzed by comparing current volume to both short-term and long-term moving averages. It also estimates the full-day volume based on the elapsed time in the trading session and compares it to the previous day’s volume, presenting this as a relative volume (RVOL) multiple.
Gap Detection:
The script scans historical bars to detect bullish and bearish gaps, drawing lines on the chart to visually highlight these gaps. It further identifies the “closest gap” relative to the current price.
Candlestick Pattern Recognition:
A variety of candlestick patterns (such as bullish/bearish engulfing, doji, hammers, marubozu, and more) are detected, with the current pattern highlighted in the table and background color adjusted accordingly.
Dynamic Table Display:
All these metrics are neatly organized in a customizable table on the chart. Traders can choose which rows to display (moving average info, trends, CCI, volume trends, gap details, candlestick patterns, ATR, RVOL, and open-close difference) and adjust the table’s position, text size, and color theme.
Additional Visual Tools:
Besides the main moving average, an extra moving average can be plotted for additional perspective. Pivot high/low labels are also available to mark key price levels, with colors that adjust based on the selected theme.
Overall, the Live 20 Checklist is a robust indicator that merges several analytical tools into one visual dashboard, enabling traders to quickly evaluate market conditions and make informed decisions.
7 minutes ago
Release Notes
This indicator, called "Live 20 Checklist", is a comprehensive TradingView tool that consolidates multiple technical analysis metrics into one dynamic display. It’s designed to help traders quickly assess market conditions by providing a real-time checklist of key indicators.
Key Features:
Moving Averages & Reversion Signals:
It calculates a primary moving average (with a customizable length and type, either SMA or EMA) and measures the percentage difference between the current price and this average. By comparing this difference over a lookback period, the script generates bullish or bearish reversion signals when the price deviates significantly from the average.
Trend Analysis:
The indicator uses linear regression over user-defined short-term and long-term periods to determine the overall price trend direction. This helps in identifying whether the market is in a bullish or bearish phase over different timeframes.
CCI (Commodity Channel Index):
It computes the CCI to gauge momentum and potential overbought/oversold conditions, with color-coded outputs reflecting the strength of the current momentum.
Volume Metrics:
Volume trends are analyzed by comparing current volume to both short-term and long-term moving averages. It also estimates the full-day volume based on the elapsed time in the trading session and compares it to the previous day’s volume, presenting this as a relative volume (RVOL) multiple.
Gap Detection:
The script scans historical bars to detect bullish and bearish gaps, drawing lines on the chart to visually highlight these gaps. It further identifies the “closest gap” relative to the current price.
Candlestick Pattern Recognition:
A variety of candlestick patterns (such as bullish/bearish engulfing, doji, hammers, marubozu, and more) are detected, with the current pattern highlighted in the table and background color adjusted accordingly.
Dynamic Table Display:
All these metrics are neatly organized in a customizable table on the chart. Traders can choose which rows to display (moving average info, trends, CCI, volume trends, gap details, candlestick patterns, ATR, RVOL, and open-close difference) and adjust the table’s position, text size, and color theme.
Additional Visual Tools:
Besides the main moving average, an extra moving average can be plotted for additional perspective. Pivot high/low labels are also available to mark key price levels, with colors that adjust based on the selected theme.
Overall, the Live 20 Checklist is a robust indicator that merges several analytical tools into one visual dashboard, enabling traders to quickly evaluate market conditions and make informed decisions.
Consolidation Zones [ActiveQuants]The Consolidation Zones indicator is an innovative tool designed to help traders pinpoint periods of low volatility and market balance . By dynamically plotting zones where price action remains confined within an ATR-defined range around a simple moving average (SMA), this indicator highlights periods of consolidation that often precede breakouts or reversals .
█ KEY FEATURES
Dynamic Zone Detection : Automatically identifies consolidation zones when the price remains within a tight range defined by the SMA and ATR over a specified number of bars, signaling balanced market conditions.
Customizable Parameters : Adjust key inputs such as Minimum Zone Length , ATR Length , the number of bars to display, and zone color, enabling you to tailor the indicator to various market conditions and trading styles.
Automated Zone Management : Efficiently plots consolidation zones and cleans up older ones to maintain a clear and focused chart, ensuring you always have an up-to-date view of recent market behavior.
Enhanced Market Analysis : By visualizing areas of price stability, the indicator aids in spotting potential breakout or reversal points, which can be critical for fine-tuning entry and exit strategies.
█ CONCLUSION
The Consolidation Zones indicator is an essential tool for traders who value volatility analysis and precision timing. By marking key periods of price consolidation, it enhances your market analysis, helping you anticipate potential moves and refine your trading strategy.
█ IMPORTANT
⚠ Consolidation signals should be used alongside other technical indicators or analysis techniques such as trend lines, support/resistance levels, or volume to confirm trading decisions.
⚠ Adjust the indicator’s settings based on your preferred timeframe and asset class to achieve the best results.
█ RISK DISCLAIMER
Trading involves significant risk, and you may lose capital. Past performance is not indicative of future results. This tool provides informational signals only and does not constitute financial advice. Use it at your own risk and consult a qualified financial professional before making trading decisions.
Incorporate this indicator into your trading workflow to improve market timing and optimize your entry and exit strategies.
📈 Happy trading! 🚀
MTF Fast Trend Information v.9.1pMulti Time Frame Fast Trend Information (MTF FTI).
The indicator uses Super Trend and Moving Averages to display trend information.
In addition, it shows information based on standard TradingView indicators - RSI, MFI, CCI, OBV, and TSI (The Trend Strength Index indicator measures the tendency of a symbol to either trend steadily or to revert to its mean. The core idea behind TSI is that the more momentum a symbol has relative to its volatility, the more likely it is to follow a trend and the less likely it is to revert to its mean. It analyzes price momentum using the Pearson correlation coefficient, a normalized measure of the linear relationship between time series. Its output shows the correlation between the chart's closing prices and bar index values over a defined number of bars).
Also it shows Chop Zone and ER.
Efficiency Ratio (ER) - It measures the efficiency of price movements. It quantifies how much the price has moved in a given direction relative to its overall volatility. A high ER indicates a strong trend, while a low ER suggests choppy, sideways movement.
ER values scale: H (high), M (medium), L (low).
For more information above ER google KAMA (Kaufman's Adaptive Moving Average).
The Chop Zone indicator allows one to determine whether a market is choppy, showcasing a sideways trend, or not choppy, showcasing a directional trend.
CZ values scale - Red (high values) for the choppy market and Green (low values) for the dominant trend.
CZ can be displayed above or below candles or at the top or bottom of the screen (or turned off). It acts like the standard Chop Zone indicator.
Trend values scale: Up, Down, UP+, Down+. Plus means stronger movement.
TSI values scale: SU (strong up), UP, WU (week up), N+ (above neutral), N (neutral), N- (below neutral), WD (weak down), DN (down), SD (strong down).
CCI, RSI, MFI values scale: OB (over bought), NB (near overbought), WB(weak overbought), N+ (above neutral), N (neutral), N- (below neutral), WO (weak oversold), NO (near oversold), OS (over sold).
VW shows whether the price is above (A) or below (B) VWAP (VWAP is irrelevant for daily or higher time frames).
OBV values scale: BEAR for bearish, BULL for bullish, and NTRL for neutral.
OBV divergence valies scale: HBL (hidden bullish), HBR (hidden bearish), NTR (neutral), RBR/RBL (regular bearich/bullish)
The indicator supports up to seven Time Frames. The more Time Frames it uses, the lower the response time. Five enabled Time Frames are more than enough. You can turn on and off any Time Frame you define.
You can switch between Super Trend and Moving Averages for trend direction detection.
If you encounter a loading problem, refresh the browser and use less enabled Time Frames.
BarbellFX 2 in 1 ORB + Super Trend with signalsThis “BarbellFX 2 in 1 ORB + Super Trend with signals” indicator merges two powerful trading approaches into a single, customizable script:
1. Multi-Session Open Range Breakout (ORB)
• Automatically detects and plots the London and New York session ranges.
• Optionally displays session highs/lows with colored lines, highlights each session’s background, and plots an EMA for extra trend context.
• Detects and alerts on breakouts above/below session ranges.
• Provides an on-chart table showing session range size and breakout activity.
2. Barbell FX Super Trend System
• Utilizes multi-timeframe (4H, Daily, Weekly) EMA crossovers alongside an RSI and ATR-based volatility filter.
• Shows a simple dash of higher-timeframe trends (Bullish/Bearish) to confirm the overall market direction.
• Alerts and plots buy/sell signals on the chart based on 4H EMA crossovers, RSI conditions, and user-defined volatility thresholds.
• Option to filter signals further by requiring all three higher timeframes (4H, Daily, Weekly) to align.
Fully Customizable Toggles
• Global On/Off: Toggle each main component (ORB or Super Trend) individually.
• Session Lines, Backgrounds, EMA, Table: Enable or disable each visual element in the ORB section.
• Super Trend Settings: Show/hide 4H EMAs, signals, and the multi-timeframe trend dashboard.
• Alerts: Toggle breakout alerts for the ORB sessions and 4H buy/sell alerts for the Super Trend system.
This combination helps traders quickly spot intraday session breakouts that align with higher-timeframe momentum, all while keeping the chart clean via on/off switches for each feature.