Investing is Ultimately Done AloneHello,
This indicator consolidates multiple indicators that I use for scalping and short-term trading.
I analyze the trend in the following order: monthly, weekly, daily, and 4-hour charts. After identifying the trend, I determine entry points on 1-minute, 5-minute, and 15-minute charts.
For a long position, I first check if the RSI drops below 30. If it does and a bullish candlestick closes, I enter a long position on the next candle.
For the Stochastic RSI, I only check for values at 0 or 100. Even if the RSI is not below 30, I enter a long position when the Stochastic RSI closes at 0, and the next candle is bullish. In this case, I enter the long position on the following candle.
I use 100x leverage, but I only allocate 5-10% of my capital per trade. Since I trade exclusively with Bitcoin, the overall risk remains relatively low.
My target profit is 15%, which, when using 100x leverage, results in very short trade durations. This makes the indicator highly effective for scalping and short-term trading.
Moving Averages
Granular MA Ribbon🎗️ The Granular MA Ribbon provides a structured view of price action on lower timeframes by incorporating both price-based and volume-weighted moving averages, offering a more nuanced view of market trends and momentum shifts. Furthermore, by using 15-minute intervals for its calculations, it ensures that intraday traders receive a smooth and responsive representation of higher timeframe trends.
⚠️ Note that this indicator is specifically optimized for the 15-minute and 1-hour charts; applying it to longer or shorter periods will distort its calculations and reduce its effectiveness. Adjust visibility settings accordingly.
🧰 Unlike traditional moving averages that may lag or fail to reflect real-time shifts in price dynamics, the Granular MA Ribbon includes a one-day exponential moving average (1D EMA), a one-day volume-weighted moving average (1D VWMA), and a one-week exponential moving average (1W EMA). Together, these elements allow traders to stay aligned with the broader market while making precise intraday trading decisions.
🤷🏻 Why Two Daily Moving Averages?
🔊 Instead of relying on a single moving average, this indicator uses both an EMA and a VWMA to provide a clearer picture of price movement. The EMA reacts quickly to price changes, making it a useful tool for identifying short-term momentum shifts. The VWMA, meanwhile, accounts for volume, ensuring that price movements supported by higher trading activity carry greater weight in the trend calculation.
💪🏻 When the EMA and VWMA diverge significantly, it signals strong momentum. If they begin to converge, it suggests that momentum is weakening or that price may be entering consolidation. The space between these two moving averages is filled with a ribbon, making it easier to see shifts in trend strength. A wide ribbon typically indicates strong momentum, while a narrowing ribbon suggests the trend may be losing steam.
🧮 Calculation Rationale
🔎 The 1D EMA and 1D VWMA are constructed using 15-minute blocks to maintain accuracy on lower timeframes. A full trading day consists of 96 fifteen-minute intervals. Instead of relying on daily candle data, which would reduce the granularity of the moving averages, this method allows the indicator to reflect intra-day trends more accurately. By breaking the day into smaller increments, the moving averages adapt more smoothly to changes in price and volume, making them more reliable for traders working on shorter timeframes.
🔍 The weekly EMA follows the same logic, adjusting based on the selected five-day or seven-day setting. If the market follows a standard five-day trading week, the one-week EMA is calculated using 480 fifteen-minute bars. If the market trades seven days a week, such as in crypto, the weekly EMA is adjusted accordingly to reflect 672 fifteen-minute bars. This setting ensures that traders using the indicator across different asset classes receive accurate trend information.
🫤 Sideways Markets
🔄 When the broader market is in a range-bound state, with no clear trend on the one-day or one-week chart, this indicator helps traders make sense of the short-term price structure. In these conditions, the ribbon will often appear flat, with the 1D EMA and 1D VWMA frequently crossing each other. This suggests that momentum is weak and that price action lacks a strong directional bias.
⚠️ A narrowing ribbon in a sideways market indicates reduced volatility and a potential breakout. If the EMA crosses above the VWMA during consolidation, it may signal a short-term upward move, especially if volume begins to increase. Conversely, if the EMA moves below the VWMA, it could indicate that selling pressure is increasing. However, in choppy conditions, crossovers alone are not enough to confirm a trade. Traders should wait for additional confirmation, such as a breakout from a defined range or a shift in volume.
♭ If the weekly EMA remains flat while the daily ribbon fluctuates, it confirms that the market lacks a strong trend. In such cases, traders may consider fading moves near the top and bottom of a range rather than expecting sustained breakouts.
💹 Trending Markets
🏗️ When the market is in a strong uptrend or downtrend, the ribbon takes on a more structured shape. A widening ribbon that slopes upward signals strong bullish momentum, with price consistently respecting the 1D EMA and VWMA as support. In a downtrend, the ribbon slopes downward, acting as dynamic resistance.
📈 In trending conditions, traders can use the ribbon to time pullback entries. In an uptrend, price often retraces to the VWMA before resuming its upward move. If price holds above both the EMA and VWMA, the trend remains strong. If price begins to close below the VWMA but remains above the EMA, it suggests weakening momentum but not necessarily a reversal. A clean break below both moving averages indicates a shift in trend structure.
📊 The one-week EMA serves as a higher timeframe guide. When price remains above the weekly EMA, it confirms that the broader trend is intact. If price pulls back to the weekly EMA and bounces, it can provide a high-confidence trade entry. Conversely, if price breaks below the weekly EMA and fails to reclaim it, it suggests that the trend may be reversing.
⏳ 5-Day and 7-Day Week Variants
🎚️ The setting for a five-day or seven-day trading week adjusts the calculation of the one-week EMA. This ensures that the indicator remains accurate across different asset classes.
5️⃣ A five-day trading week is appropriate for stocks, futures, and forex markets, where trading pauses on weekends. Using a seven-day week for these markets would create artificial distortions by including non-trading days. 7️⃣ In contrast, the seven-day week setting is ideal for crypto markets, which trade continuously. Without this adjustment, the weekly EMA would fail to reflect weekend price action, leading to misleading trend signals.
🧐 This indicator is expressly designed to complement its higher timeframe counterpart, the Triple Differential Moving Average Braid, optimized for the 1-Day chart.
US30 1-min Strategy with TP/SL, Grades, Alerts🟢 Grade A (Strongest)
• Candle is very large (body is 2x the 20-bar average)
• Volume rising
• RSI strongly confirms direction (RSI > 55 or < 45)
🟠 Grade B (Moderate)
• Candle is large
• Volume rising
• RSI confirms trend (but not as strong as A)
🟡 Grade C (Weak)
• Candle is large
• Volume rising or RSI confirms (not both)
You can select which grades to trade (A, B, C) from the strategy settings.
💰 Risk Management
• Take Profit: Default = 0.5%
• Stop Loss: Default = 0.3%
TP and SL are applied as percentage of entry price. You can adjust both in the strategy settings.
Trade Alerts & Visuals
• Labels appear on the chart when a trade is triggered (green for longs, red for shorts, with grade label)
• Alerts are sent using the alert() function, which you can link to popups, emails, or mobile notifications via TradingView
🧭 Strategy Use Case
This strategy is ideal for:
• Scalping US30 during high-volume sessions
• Traders who prefer rules-based setups with clear grading and confirmation
• Running backtests in TradingView with risk controls and performance analysis
Moving Average HighlightUsing 2 moving average
CDC zone for confirm the trend
and using RSI , STOCH oversold Highlight as confirmation when pull the trigger
Zero-Lag MA Trend Levels [jineet]hello this indicator can be used for crypto and forex both works well.....
EMA Stacking Indicator with VWAP, MACD and ConfirmationEMA Stacking Indicator with VWAP & MACD Confirmation
This indicator combines EMA stacking, VWAP positioning, and MACD crossovers to help identify potential trend continuation and reversal points.
Features:
✅ EMA Stacking Strategy – Uses 10, 20, and 50 EMA to detect bullish and bearish trends.
✅ VWAP Confirmation – Ensures price is above VWAP for bullish signals and below for bearish signals.
✅ MACD Crossovers – Highlights bullish and bearish MACD crossovers with arrows for extra confirmation.
✅ Custom Colors & Signals – Clearly plotted moving averages and buy/sell markers to improve chart visibility.
How It Works:
A bullish trend is detected when the 10 EMA > 20 EMA > 50 EMA, and price is above VWAP.
A bearish trend is detected when the 10 EMA < 20 EMA < 50 EMA, and price is below VWAP.
MACD Bullish Crossovers (green arrows) indicate potential uptrend momentum.
MACD Bearish Crossovers (red arrows) suggest possible downtrend shifts.
This tool is perfect for traders looking to combine moving averages with volume-weighted confirmation and MACD momentum shifts for stronger trade setups.
🔹 Let me know your thoughts and feedback! 🚀
Pairs Trading Pétrole-OrPair between gold and oil. When the blue line passes below the lowest green line, oil becomes undervalued relative to gold and a long on oil would become interesting until the blue line goes back over the orange line. The logic is the same for the opposite.
EMA Crossover with MACD and RSI Bar ColoringEMA Crossover with MACD and RSI Bar Coloring
This Pine Script (v5) indicator combines Exponential Moving Averages (EMAs), MACD, and RSI to analyze price trends and visualize them through bar coloring on TradingView charts. It features:
EMA Crossovers: Uses 5 and 8-period EMAs (always calculated) to detect uptrends (5 > 8) and downtrends (5 < 8), with optional visibility via a toggle. A 50-period EMA is included with a separate toggle for both calculation and display, preventing scale distortion when disabled.
Volume Surge: Signals EMA crossovers (triangles) only when volume exceeds a user-defined threshold relative to a lookback period.
MACD and RSI Conditions: Enhances trend strength by integrating MACD (fast/slow/signal lengths customizable) and RSI (with MA or threshold modes), both optional via toggles.
Bar Coloring: Colors bars based on trend strength:
Uptrends: Purple (very strong: EMA+MACD+RSI), Blue (strong: EMA+MACD or RSI), Green (basic: EMA only).
Downtrends: Red (very strong), Pink (strong), Orange (basic), with bearish coloring optional.
Neutral (gray) when conditions aren’t met.
Convergence/Divergence: Detects and labels Conv/Div for EMA, MACD, and RSI, indicating trend strengthening (Div) or weakening (Conv).
Visuals:
A top-right table shows EMA, MACD, and RSI trend direction, strength, Conv/Div, and bullish/bearish state.
A middle-right legend explains bar colors.
A trend label (toggleable) appears above the current bar, positioned high for clarity.
Customization: Inputs allow tweaking lengths, thresholds, and toggles for all components.
This indicator is designed for traders to quickly assess trend direction and strength while maintaining chart clarity through flexible display options.
EMA & RSI Signal IndicatorThis TradingView Pine Script creates a signal indicator based on Exponential Moving Averages (EMA) and Relative Strength Index (RSI).
1. User Inputs (Customizable)
Three EMAs (Default: 10, 50, 200 periods)
RSI period (Default: 14)
Checkboxes to enable/disable Buy or Sell signals
2. Indicator Calculations
EMA 10, EMA 50, and EMA 200 are calculated.
RSI (Relative Strength Index) is calculated.
3. Signal Conditions
Buy Signal:
EMA 10 is above EMA 50
RSI is below 20 (oversold condition)
Plots a green upward arrow (below the bar)
Sell Signal:
EMA 10 is below EMA 50
RSI is above 20
Plots a red downward arrow (above the bar)
4. Customization
Users can toggle Buy and Sell signals using checkboxes.
This indicator helps traders spot potential trend continuation or reversal points based on EMA & RSI conditions. 🚀
3min Breakout StrategyBreakout Strategy - Publication Notes
Overview
A Pine Script v5 strategy using multi-timeframe analysis to trade breakouts. Identifies peaks and dips on the 3-minute chart and enters trades on the 1-minute chart with momentum confirmation.
Key Features
Multi-Timeframe: Combines 3-minute trend analysis with 1-minute entries.
EMA-Based: Uses a 60-period EMA (3-min) for trend and key levels.
Peak/Dip Logic: Detects swing highs (peaks) and lows (dips).
Momentum: Confirms entries with RSI and EMA signals.
Stop Loss: Exits at the dip level.
How It Works
3-Minute: Tracks peaks above the EMA and dips below it (3+ bearish candles).
1-Minute: Enters long on a breakout above the peak with rising EMA and RSI; exits below the dip.
Dynamic Trend Indicator (DTI) - VWAP FilterThe Dynamic Trend Indicator (DTI) with VWAP Filter is a trend-following indicator.
It aims to identify and follow market trends while minimizing false signals in choppy or ranging markets.
The DTI combines a dynamically adjusted Exponential Moving Average (EMA) with a daily Volume Weighted Average Price (VWAP) confirmation filter and a cooldown mechanism to enhance signal reliability. This indicator is particularly useful for traders on intraday timeframes (e.g., 4-hour charts) who want to align their trades with the broader daily trend while avoiding whipsaws.
Key Features:
Dynamic Trend Line:
The core of the DTI is a trend line calculated using a custom EMA that adjusts its period dynamically based on market conditions.
The period of the EMA is determined by a combination of volatility (measured via ATR) and trend strength (measured via price momentum). In strong trends, the period shortens for faster responsiveness; in weak or ranging markets, it lengthens to reduce noise.
An optional smoothing EMA can be applied to the dynamic trend line to further reduce noise, with a user-defined smoothing length.
Daily VWAP Confirmation Filter:
A daily VWAP is calculated to provide a higher-timeframe trend bias. VWAP represents the average price paid for an asset during the day, weighted by volume, and is often used as a benchmark by institutional traders.
Buy signals are only generated when the price is above the daily VWAP (indicating a bullish daily bias), and sell signals are only generated when the price is below the VWAP (indicating a bearish daily bias).
The VWAP resets at the start of each day, ensuring it reflects the current day’s trading activity.
Cooldown Mechanism:
To prevent rapid signal reversals (whipsaws), the indicator includes a cooldown period between signals. After a buy or sell signal is generated, no new signals can be generated for a user-defined number of bars (default: 5 bars).
This helps filter out noise in choppy markets, ensuring signals are spaced out and more likely to align with significant trend changes.
Visual Elements:
Trend Line: Plotted on the chart, colored green when the price is above (uptrend) and red when below (downtrend). A gray color indicates a neutral trend.
Buy/Sell Signals: Displayed as green triangles below the bar for buy signals and red triangles above the bar for sell signals.
Background Coloring: The chart background is shaded green during uptrends and red during downtrends, providing a quick visual cue of the trend direction.
Daily VWAP Line: Optionally plotted as a purple step line, allowing traders to see the VWAP level and its relationship to the price.
Alerts:
The indicator includes built-in alerts for buy and sell signals, triggered when the price crosses the trend line and satisfies the VWAP filter and cooldown conditions.
Alert messages specify whether the signal is a buy or sell and confirm that the VWAP condition was met (e.g., "DTI Buy Signal: Price crossed above trend line and VWAP").
Input Parameters
Base Length (default: 14): The base period for calculating volatility and trend strength, used to adjust the dynamic EMA period.
Volatility Multiplier (default: 1.5): Adjusts the sensitivity of the dynamic period to market volatility (via ATR).
Trend Threshold (default: 0.5): Controls the sensitivity of the dynamic period to trend strength (via price momentum).
Use Smoothing (default: true): Enables/disables smoothing of the trend line with an additional EMA.
Smoothing Length (default: 3): The period for the smoothing EMA, if enabled.
Cooldown Bars (default: 5): The minimum number of bars between consecutive signals, reducing signal frequency in choppy markets.
Show Daily VWAP (default: true): Toggles the display of the daily VWAP line on the chart.
How It Works
Dynamic Trend Line Calculation:
Volatility is measured using the Average True Range (ATR) over the base length, scaled by the volatility multiplier.
Trend strength is calculated as the absolute price momentum (change in price over the base length) divided by the volatility factor.
The dynamic EMA period is adjusted based on the trend strength: stronger trends result in a shorter period (faster response), while weaker trends result in a longer period (more stability). The period is constrained between 5 and 50 to avoid extreme values.
A custom EMA function is used to handle the dynamic period, as Pine Script’s built-in ta.ema() requires a fixed length. The trend line is optionally smoothed with a secondary EMA.
Signal Generation:
A buy signal is generated when the price crosses above the trend line, the price is above the daily VWAP, and the cooldown period has elapsed.
A sell signal is generated when the price crosses below the trend line, the price is below the daily VWAP, and the cooldown period has elapsed.
The cooldown mechanism ensures that signals are not generated too frequently, reducing false signals in ranging markets.
Daily VWAP Calculation:
The VWAP is calculated by accumulating the price-volume product (close * volume) and total volume for the day, resetting at the start of each new day.
The VWAP is then computed as the cumulative price-volume divided by the cumulative volume, providing a volume-weighted average price for the day.
Usage
Timeframe: Best suited for intraday timeframes (e.g., 1-hour, 4-hour) where the daily VWAP provides a higher-timeframe trend bias. It can also be used on daily charts with adjustments to the cooldown period.
Markets: Works well in trending markets (e.g., forex, crypto, stocks) where the dynamic trend line can capture sustained price movements. The VWAP filter helps align signals with the daily trend, making it effective for assets with clear daily biases.
Trading Strategy:
Buy: Enter a long position when a green triangle (buy signal) appears, indicating the price has crossed above the trend line and is above the daily VWAP.
Sell: Enter a short position (or exit a long) when a red triangle (sell signal) appears, indicating the price has crossed below the trend line and is below the daily VWAP.
Use the trend line and VWAP as dynamic support/resistance levels to set stop-losses or take-profit targets.
Backtesting: Use TradingView’s strategy tester to evaluate the indicator’s performance on your chosen market and timeframe, adjusting parameters like cooldown_bars and volatility_mult to optimize for profitability.
Example
On a 4-hour SOLUSDT chart, the DTI with VWAP Filter might show:
An uptrend with the price above the green trend line and above the daily VWAP, generating buy signals as the price continues to rise.
A downtrend where the price falls below the red trend line and the daily VWAP, generating sell signals that align with the bearish daily bias.
During choppy periods, the cooldown mechanism and VWAP filter reduce false signals, ensuring trades are taken only when the price aligns with the daily trend.
Limitations
Lagging Nature: Like all trend-following indicators, the DTI may lag during sharp price reversals, as the dynamic EMA needs time to adjust.
Ranging Markets: While the VWAP filter and cooldown mechanism reduce whipsaws, the indicator may still generate some false signals in strongly ranging markets. Combining it with a trend strength filter (e.g., ADX) can help.
VWAP Dependency: The effectiveness of the VWAP filter depends on the market’s respect for the daily VWAP as a support/resistance level. In markets with low volume or erratic price action, the VWAP may be less reliable.
Potential Improvements
VWAP Buffer: Add a percentage buffer around the VWAP (e.g., require the price to be 1% above/below) to further reduce noise.
Multi-Timeframe VWAP: Incorporate a weekly VWAP for additional trend confirmation on longer timeframes.
Trend Strength Filter: Add an ADX filter to ensure signals are generated only during strong trends (e.g., ADX > 25).
Enhanced Fuzzy SMA Analyzer (Multi-Output Proxy) [FibonacciFlux]EFzSMA: Decode Trend Quality, Conviction & Risk Beyond Simple Averages
Stop Relying on Lagging Averages Alone. Gain a Multi-Dimensional Edge.
The Challenge: Simple Moving Averages (SMAs) tell you where the price was , but they fail to capture the true quality, conviction, and sustainability of a trend. Relying solely on price crossing an average often leads to chasing weak moves, getting caught in choppy markets, or missing critical signs of trend exhaustion. Advanced traders need a more sophisticated lens to navigate complex market dynamics.
The Solution: Enhanced Fuzzy SMA Analyzer (EFzSMA)
EFzSMA is engineered to address these limitations head-on. It moves beyond simple price-average comparisons by employing a sophisticated Fuzzy Inference System (FIS) that intelligently integrates multiple critical market factors:
Price deviation from the SMA ( adaptively normalized for market volatility)
Momentum (Rate of Change - ROC)
Market Sentiment/Overheat (Relative Strength Index - RSI)
Market Volatility Context (Average True Range - ATR, optional)
Volume Dynamics (Volume relative to its MA, optional)
Instead of just a line on a chart, EFzSMA delivers a multi-dimensional assessment designed to give you deeper insights and a quantifiable edge.
Why EFzSMA? Gain Deeper Market Insights
EFzSMA empowers you to make more informed decisions by providing insights that simple averages cannot:
Assess True Trend Quality, Not Just Location: Is the price above the SMA simply because of a temporary spike, or is it supported by strong momentum, confirming volume, and stable volatility? EFzSMA's core fuzzyTrendScore (-1 to +1) evaluates the health of the trend, helping you distinguish robust moves from noise.
Quantify Signal Conviction: How reliable is the current trend signal? The Conviction Proxy (0 to 1) measures the internal consistency among the different market factors analyzed by the FIS. High conviction suggests factors are aligned, boosting confidence in the trend signal. Low conviction warns of conflicting signals, uncertainty, or potential consolidation – acting as a powerful filter against chasing weak moves.
// Simplified Concept: Conviction reflects agreement vs. conflict among fuzzy inputs
bullStrength = strength_SB + strength_WB
bearStrength = strength_SBe + strength_WBe
dominantStrength = max(bullStrength, bearStrength)
conflictingStrength = min(bullStrength, bearStrength) + strength_N
convictionProxy := (dominantStrength - conflictingStrength) / (dominantStrength + conflictingStrength + 1e-10)
// Modifiers (Volatility/Volume) applied...
Anticipate Potential Reversals: Trends don't last forever. The Reversal Risk Proxy (0 to 1) synthesizes multiple warning signs – like extreme RSI readings, surging volatility, or diverging volume – into a single, actionable metric. High reversal risk flags conditions often associated with trend exhaustion, providing early warnings to protect profits or consider counter-trend opportunities.
Adapt to Changing Market Regimes: Markets shift between high and low volatility. EFzSMA's unique Adaptive Deviation Normalization adjusts how it perceives price deviations based on recent market behavior (percentile rank). This ensures more consistent analysis whether the market is quiet or chaotic.
// Core Idea: Normalize deviation by recent volatility (percentile)
diff_abs_percentile = ta.percentile_linear_interpolation(abs(raw_diff), normLookback, percRank) + 1e-10
normalized_diff := raw_diff / diff_abs_percentile
// Fuzzy sets for 'normalized_diff' are thus adaptive to volatility
Integrate Complexity, Output Clarity: EFzSMA distills complex, multi-factor analysis into clear, interpretable outputs, helping you cut through market noise and focus on what truly matters for your decision-making process.
Interpreting the Multi-Dimensional Output
The true power of EFzSMA lies in analyzing its outputs together:
A high Trend Score (+0.8) is significant, but its reliability is amplified by high Conviction (0.9) and low Reversal Risk (0.2) . This indicates a strong, well-supported trend.
Conversely, the same high Trend Score (+0.8) coupled with low Conviction (0.3) and high Reversal Risk (0.7) signals caution – the trend might look strong superficially, but internal factors suggest weakness or impending exhaustion.
Use these combined insights to:
Filter Entry Signals: Require minimum Trend Score and Conviction levels.
Manage Risk: Consider reducing exposure or tightening stops when Reversal Risk climbs significantly, especially if Conviction drops.
Time Exits: Use rising Reversal Risk and falling Conviction as potential signals to take profits.
Identify Regime Shifts: Monitor how the relationship between the outputs changes over time.
Core Technology (Briefly)
EFzSMA leverages a Mamdani-style Fuzzy Inference System. Crisp inputs (normalized deviation, ROC, RSI, ATR%, Vol Ratio) are mapped to linguistic fuzzy sets ("Low", "High", "Positive", etc.). A rules engine evaluates combinations (e.g., "IF Deviation is LargePositive AND Momentum is StrongPositive THEN Trend is StrongBullish"). Modifiers based on Volatility and Volume context adjust rule strengths. Finally, the system aggregates these and defuzzifies them into the Trend Score, Conviction Proxy, and Reversal Risk Proxy. The key is the system's ability to handle ambiguity and combine multiple, potentially conflicting factors in a nuanced way, much like human expert reasoning.
Customization
While designed with robust defaults, EFzSMA offers granular control:
Adjust SMA, ROC, RSI, ATR, Volume MA lengths.
Fine-tune Normalization parameters (lookback, percentile). Note: Fuzzy set definitions for deviation are tuned for the normalized range.
Configure Volatility and Volume thresholds for fuzzy sets. Tuning these is crucial for specific assets/timeframes.
Toggle visual elements (Proxies, BG Color, Risk Shapes, Volatility-based Transparency).
Recommended Use & Caveats
EFzSMA is a sophisticated analytical tool, not a standalone "buy/sell" signal generator.
Use it to complement your existing strategy and analysis.
Always validate signals with price action, market structure, and other confirming factors.
Thorough backtesting and forward testing are essential to understand its behavior and tune parameters for your specific instruments and timeframes.
Fuzzy logic parameters (membership functions, rules) are based on general heuristics and may require optimization for specific market niches.
Disclaimer
Trading involves substantial risk. EFzSMA is provided for informational and analytical purposes only and does not constitute financial advice. No guarantee of profit is made or implied. Past performance is not indicative of future results. Use rigorous risk management practices.
Spot - Fut spread v2"Spot - Fut Spread v2"
indicator is designed to track the difference between spot and futures prices on various exchanges. It automatically identifies the corresponding instrument (spot or futures) based on the current symbol and calculates the spread between the prices. This tool is useful for analyzing the delta between spot and futures markets, helping traders assess arbitrage opportunities and market sentiment.
Key Features:
- Automatic detection of spot and futures assets based on the current chart symbol.
- Flexible asset selection: the ability to manually choose the second asset if automatic selection is disabled.
- Spread calculation between futures and spot prices.
- Moving average of the spread for smoothing data and trend analysis.
Flexible visualization:
- Color indication of positive and negative spread.
- Adjustable background transparency.
- Text label displaying the current spread and moving average values.
- Error alerts in case of invalid data.
How the Indicator Works:
- Determines whether the current symbol is a futures contract.
- Based on this, selects the corresponding spot or futures symbol.
- Retrieves price data and calculates the spread between them.
- Displays the spread value and its moving average.
- The chart background color changes based on the spread value (positive or negative).
- In case of an error, the indicator provides an alert with an explanation.
Customization Parameters:
-Exchange selection: the ability to specify a particular exchange from the list.
- Automatic pair selection: enable or disable automatic selection of the second asset.
- Moving average period: user-defined.
- Colors for positive and negative spread values.
- Moving average color.
- Background transparency.
- Background coloring source (based on spread or its moving average).
Application:
The indicator is suitable for traders who analyze the difference between spot and futures prices, look for arbitrage opportunities, and assess the premium or discount of futures relative to the spot market.
OneTrend Lite EMAOneTrend Lite EMA uses exponential moving averages (EMA) to define market trend direction and employs a dynamic ATR-based threshold adjusted by a custom ADX calculation to generate bullish (blue) and bearish (pink) zones.
It enters long positions when the fast EMA exceeds the threshold (blue zone) and exits when it falls below the threshold (pink zone), providing clear, rule-based signals for trend-following trades.
Pros include adaptive thresholding that reflects market volatility and trend strength, while cons are potential lag in sideways or choppy markets as EMAs are inherently lagging by nature.
Fibonacci Trend with Adaptive ChannelsFibonacci Trend with Adaptive Channels
The "Fibonacci Trend with Adaptive Channels" indicator is a powerful technical analysis tool that blends dynamic Fibonacci retracement levels with adaptive trend channels and exponential moving averages (EMAs). Designed for traders seeking a comprehensive view of market trends and key price levels, this script combines the precision of ChartPrime's Fibonacci Trend with Julien Eche's Adaptive Trend Finder, enhanced with customizable EMAs. Whether you're a swing trader, day trader, or long-term investor, this indicator offers a versatile approach to identifying support, resistance, and trend direction.
Fibonacci Levels
At its core, the indicator dynamically plots Fibonacci retracement levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) based on the Supertrend indicator's direction. When a trend shift occurs, the script identifies the highest high and lowest low within the trend, extending these levels forward by a user-defined number of bars. Traders can customize the Fibonacci line color and fill color between levels, making it easy to spot potential reversal zones or continuation patterns in any market condition.
Exponential Moving Averages (EMAs)
To complement the Fibonacci analysis, the indicator overlays three EMAs with periods of 10, 55, and 200. These moving averages provide additional context for trend strength and momentum. The short-term EMA (10) tracks rapid price movements, the medium-term EMA (55) offers a balanced view, and the long-term EMA (200) highlights the broader market direction. Each EMA's color is fully customizable, allowing users to tailor the visual experience to their preferences.
Adaptive Trend Channels
The Adaptive Trend Finder component introduces logarithmic regression-based channels that automatically adjust to the strongest historical trend. Users can toggle between short-term (20-200 bars) and long-term (300-1200 bars) channel modes, with customizable deviation multipliers, line styles, and colors for both the midline and outer channels. This adaptive approach ensures that the channels reflect the most statistically significant trend, providing a robust framework for price action analysis.
Statistical Insights
A standout feature is the integrated table, which displays key metrics about the detected trend. Traders can choose to show the auto-selected period (the length with the highest correlation), trend strength (via a descriptive label or Pearson's R value), and the annualized return (CAGR) for daily or weekly timeframes. The table's position and text size are adjustable, offering flexibility to keep your chart clean while accessing critical data at a glance.
Customization and Flexibility
This indicator is built with customization in mind. Beyond color options for Fibonacci levels, EMAs, and channels, users can adjust the Supertrend period, Fibonacci extension length, channel deviation, and table settings. Whether you prefer a minimalist setup with just the essentials or a detailed display with all features enabled, the script adapts to your trading style. Load it twice to view short-term and long-term channels simultaneously for a multi-timeframe perspective.
Usage and Licensing
Ideal for stocks, forex, cryptocurrencies, and more, this indicator is published under a dual-license framework: MPL-2.0 for the Fibonacci Trend component (© ChartPrime) and GPL-3.0 for the Adaptive Trend Finder component (© Julien Eche). For optimal performance, ensure sufficient historical data is loaded, especially in long-term channel mode. Scroll back on your chart if channels aren't visible, and experiment with settings to fine-tune the tool to your market and timeframe of choice.
SemaforThis is the 4 Level Semafor indicator with Daily Open Line and Average Session Range. Also on the chart is the EMA Ribbon indicator.
Credit to:
Devlucem for the Semafor indicator
Quantvue for the Average Session Range
Shusterivi for the Daily Open Line
MYNAMEISBRANDON for the EMA Ribbon
The Semafors are based on the ZigZag indicator and show higher highs/lower lows of a specified period, determined by the user and applied in settings.
The default periods I use are:
10 period (hidden on this chart)
50 period-blue dots
250 period-white dots
615 period-black dots
Just as the ZigZag indicator will recalculate so to will the semafors, as additional candles are built. The semafor indicator is never to be used as a stand alone signal. It must be combined with other indicators to be used effectively. What we look for are the semafor patterns of a large white dot followed by a 1st blue dot opposite of the white. Then a 2nd blue dot in agreement with the white dot. In theory, the 2nd blue dot is seen as confirmation of the establishment of the white semafor..
When combined with Daily Open Line, ADR (Average Sessions Range), EMA cross and VWAP anchored to your 250 semafors, your odds are greatly increased. Add to that the knowledge of basic market structure and the wisdom that comes from patience and you have a very powerful weapon.
The Daily Open...I trade the M1 chart and also draw a H4 Open Line on my chart for the smaller time frames. Price will tend to trade away from the Daily Open Line. In many cases until it reaches certain levels...Fib, Gann, ADR, etc., then runs through a pullback cycle. I like the ADR levels. The ADR can give clues when entering a consolidation phase, ie trading between the buy side and sell side 15% levels. Trading away from the Daily Open(or H4 open) along with breaking the 15% level, while in agreement with a semafor pattern is a good sign.
Add to that confluence the agreement of your MA cross and the 250 semafor Anchored VWAP and you have a solid signal to help determine your actions. This trend following layout will work on any time frame. I just really like the M1 for its precision, not for crazy back and forth all day. With the exception of some strong pull back signals, I don't enter any more trades on the M1 than on M5, 15 or 30.
This is based on and follows the teachings of Xard and his trading strategy. Just as I don't want to take anyone's credit for these indicators, I won't take credit for what I have been taught either.
The trader can obviously use their favorite MA cross indicator. But this one is visually beautiful AND displays the current time frame and 1 time frame higher on the chart...awesome!
Of note, I do run into trouble at times with the 615 period semafor. I have been told it is because TradingView has trouble with extended period indicators. As a matter of fact, I would like a much higher period for my biggest semafor. I would like it set at 1250, but that seems to be a no starter. If anyone has a solution, that would be welcomed news.
Multi Moving Averages & McGinley DynamicThis code enables investors to view the Exponential Moving Average (EMA) and Simple Moving Average (SMA) for a given equity across various time intervals, such as 10, 20, 50, 100, and 200 days. This allows investors to gain a clearer understanding of the equity’s behavior. As is well known, the EMA gives more weight to recent prices, while the SMA treats all prices equally. The EMA is more sensitive to recent data, making it suitable for short-term traders, while the SMA is preferred by long-term traders. Additionally, the McGinley Dynamic Average indicator has been integrated into this oscillator. The McGinley Dynamic indicator is a type of moving average designed to track the market more effectively than traditional moving averages. It automatically adjusts to the pace of the financial markets, addressing the issue of improperly applied moving averages and minimizing price separation. All in one! I hope this oscillator proves useful to investors.
Reversal & Breakout Strategy with ORB### Reversal & Breakout Strategy with ORB
This strategy combines three distinct trading approaches—reversals, trend breakouts, and opening range breakouts (ORB)—into a single, cohesive system. The goal is to capture high-probability setups across different market conditions, leveraging a mashup of technical indicators for confirmation and risk management. Below, I’ll explain why this combination works, how the components interact, and how to use it effectively.
#### Why the Mashup?
- **Reversals**: Identifies overextended moves using RSI (overbought/oversold) and SMA50 crosses, filtered by VWAP and SMA200 trend direction. This targets mean-reversion opportunities in trending markets.
- **Breakouts**: Uses EMA9/EMA20 crossovers with VWAP and SMA200 confirmation to catch momentum-driven trend continuations.
- **Opening Range Breakout (ORB)**: Detects early momentum by breaking the high/low of a user-defined opening range (default: 15 bars) with volume confirmation. This adds a time-based edge, ideal for intraday trading.
The synergy comes from blending these methods: reversals catch pullbacks, breakouts ride trends, and ORB exploits early volatility—all filtered by trend (SMA200) and anchored by VWAP for context.
#### How It Works
1. **Indicators**:
- **EMA9/EMA20**: Fast-moving averages for breakout signals.
- **SMA50**: Medium-term trend filter for reversals.
- **SMA200**: Long-term trend direction to align trades.
- **RSI (14)**: Measures overbought (>70) or oversold (<30) conditions.
- **VWAP**: Acts as a dynamic support/resistance level.
- **ATR (14)**: Sets stop-loss distance (default: 1.5x ATR).
- **Volume**: Confirms ORB breakouts (1.5x average volume of opening range).
2. **Entry Conditions**:
- **Long**: Triggers on reversal (SMA50 cross + RSI < 30 + below VWAP + uptrend), breakout (EMA9 > EMA20 + above VWAP + uptrend), or ORB (break above opening range high + volume).
- **Short**: Triggers on reversal (SMA50 cross + RSI > 70 + above VWAP + downtrend), breakout (EMA9 < EMA20 + below VWAP + downtrend), or ORB (break below opening range low + volume).
3. **Risk Management**:
- Risks 5% of equity per trade (based on the initial capital set in the strategy tester).
- Stop-loss: Based on lowest low/highest high over 7 bars ± 1.5x ATR.
- Targets: Two exits at 1:1 and 1:2 risk:reward (50% of position at each).
- Break-even: Stop moves to entry price after the first target is hit.
4. **Backtesting Settings**:
- Commission: Hardcoded at 0.1% per trade (realistic for most brokers).
- Slippage: Hardcoded at 2 ticks (realistic for most markets).
- Tested on datasets yielding 100+ trades (e.g., 2-min or 5-min charts over months).
#### How to Use It
- **Timeframe**: Works best on intraday (2-min, 5-min) or daily charts. Adjust `Opening Range Bars` (e.g., 15 bars = 30 min on 2-min chart) for your timeframe.
- **Settings**:
- Set your initial equity in the TradingView strategy tester’s "Properties" tab under "Initial Capital" (e.g., $10,000). The script automatically risks 5% of this equity per trade.
- Adjust `Stop Loss ATR Multiplier` or `Risk:Reward Targets` based on your risk tolerance.
- Note that commission (0.1%) and slippage (2 ticks) are fixed in the script for backtesting consistency.
- **Execution**: Enter on signal, monitor plotted stop (red) and targets (green/blue). The strategy supports pyramiding (up to 2 positions) for scaling into trends.
#### Backtesting Notes
Results are realistic with commission (0.1%) and slippage (2 ticks) included. For a sufficient sample, test on volatile instruments (e.g., stocks, forex) over 3-6 months on lower timeframes. The default 1.5x ATR stop may seem wide, but it’s justified to avoid premature exits in volatile markets—feel free to tweak it with justification. The script assumes an initial capital of $10,000 in the strategy tester for the 5% risk calculation (e.g., $500 risk per trade); adjust this in the "Properties" tab as needed.
This mashup isn’t just a random mix; it’s a deliberate fusion of complementary strategies, offering traders flexibility across market phases. Questions? Let me know!
Momentum Based RSIThe Momentum Based RSI is an enhancement to the RSI. it incorporates 2 sections:
MA Ratio (Fast/Slow)
RSI
at the end both of those are multiplied to create a more responsive RSI which reacts fast to market moves while still providing a whip ressistant tool.
Momentum Calculation
The "MA Ratio" as i like to call it results from comparing 2 MAs (both can be set to whatever type you like) against eachother, which, in the end, provides a Ratio that visualizes the difference. It is simple yet effective
RSI
An Old yet popular tool which dates back to 1978. In and out of itself it is a great tool, however it still can be enhanced.
The Combination
The RSI and the MARatio are multiplied together, which results in an RSI that is ampliefied by the speed of the market movements.
This proves highly effective, since the MA Ratio is hovering around at the same level. However during trends, it picks up speed in either of both directions which marginally increases the RSI's response the said movement.
Why its Creative, New and Good
While it is a super simple concept, it still holds a lot of power relative to its sophistication. Traders may use it like they used the Vanilla RSI (e.g Trend following, Mean-reversion or other).
Unlike RSI with momentum overlays, this indicator actively uses an MA Ratio multiplier for simplicity and responsiveness.
At last, Its primary goal is to detect trends faster while not creating more noise & false signals.
What not to do
if youre using this indicator, please do NOT change the Fast MA to be slower than to Slow MA or vice versa, since you'll be getting broken & noise induced signals which may not align with your goals.
Great inventions require great Care
As with anything, you should not use this tool without any other confluence. As great as the backtests may be, you dont know what the future holds, be careful!
This indicator is not a guaranteed predicition tool. If youre going to use it for investment decisions, please use it in coherence with other tools.
Thank you for reading!
Multi-SMA Levels**Indicator Name:** Triple SMA Trend Analyzer
**Version:6
**Type:** Moving Average Trend Analysis Tool
### 📊 **Indicator Functionality**
This indicator plots three Simple Moving Averages (100, 150, and 200 periods) to:
1. Identify the market's primary trend direction
2. Highlight dynamic support/resistance levels
3. Detect potential trend reversals through SMA crossovers
### 🎯 **Key Features**
- **SMA 100 (Blue):** Short-term trend filter
- **SMA 150 (Orange):** Intermediate trend confirmation
- **SMA 200 (Red):** Long-term market bias (bullish/bearish)
- Customizable periods and colors
- Clear visual presentation on all timeframes
### 💡 **How to Trade With This Indicator**
**🔷 Trend Identification:**
- **Bullish Market:** Price above all three SMAs (stacked in order: 100 > 150 > 200)
- **Bearish Market:** Price below all three SMAs (stacked in order: 100 < 150 < 200)
**🔶 Trading Signals:**
1. **Bounce Plays:**
- Look for price to bounce off SMAs in trending markets
- Example: In uptrend, buy when price pulls back to SMA 100/150
2. **Breakout Trading:**
- Watch for price closing above/below all three SMAs
- Confirm with increased volume
3. **Crossover Signals:**
- SMA 100 crossing above 150/200 = Potential bullish momentum
- SMA 100 crossing below 150/200 = Potential bearish reversal
**⚙️ Optimal Settings:**
- Works best on daily/4h charts for swing trading
- Combine with RSI (14 period) for overbought/oversold confirmation
### 📝 **Pro Tips**
- The SMA 200 is widely watched by institutions - major reactions often occur here
- During strong trends, the SMA 100 often acts as dynamic support/resistance
- For day trading, apply to 15m/1h charts with adjusted periods (e.g., 50/100/200)
This multi-timeframe tool helps traders:
✓ Filter trade direction
✓ Identify key levels
✓ Spot high-probability entries
✓ Manage risk effectively
SMA7 Tail Reversal📌 Description:
The SMA7 Tail Reversal indicator is designed to identify potential counter-trend trading opportunities by checking if candle wicks (tails) respect a key moving average level (SMA7).
This indicator highlights price action where candles are clearly separated from the moving average, suggesting a possible reversal or temporary correction.
📌 How It Works:
Moving Average Calculation:
Calculates a simple moving average (SMA) of length 7 to act as the primary trend filter.
Candle Classification:
Bullish Candle: A candle where the closing price is higher than the opening price, with a short upper wick.
Bearish Candle: A candle where the closing price is lower than the opening price, with a short lower wick.
Conditions for Coloring Candles:
Long Condition (Green Candle):
High & Low are both below the SMA7 line.
Volume is above the 20-period average.
A bullish candle is detected.
Short Condition (Red Candle):
High & Low are both above the SMA7 line.
Volume is above the 20-period average.
A bearish candle is detected.
📌 Visual Representation:
Green Candles: Potential long signals when price action stays below the SMA7 line.
Red Candles: Potential short signals when price action stays above the SMA7 line.
Yellow Line: SMA7, used as the dynamic threshold for signal generation.
📌 Usage:
Best applied to volatile markets with clear trends.
Effective in detecting counter-trend opportunities where price diverges from the SMA7 line.
Works well with additional confirmation tools for better accuracy.
Configurable MA Cross (MA-X) StrategyThis is a simple crossover strategy with configurable moving averages for entry and exits. You can also select the type of moving average you want to use. Support moving averages are SMA, EMA, WMA and HMA.
Why?
Trend following using crossovers is a very common strategy though people use different combinations of moving averages and types. I was also experimenting the same and decided to create this instead of changing the code every time I wanted to try a different period or moving averages.
With a right combination, you can make this work for nearly any sufficiently liquid instrument. The default combination of 21 (Fast) and 55 (Slow) EMA along with 34 EMA for exit works well on COINBASE:BTCUSD (4H/1D) and NSE:NIFTY (1D) though it needs to be tested more. TBH I haven't tried it on any other instrument so far but that's easy to do with simple and flexible options.
Enjoy!