DEMA 50 + MACD ColorDEMA 50, which automatically changes color from green to red depending on momentum, measured with MACD.Chỉ báo Pine Script®của philip_collette1
2x Universelle Linien [LionTrader]This is a Universal Line cross Strategy where you have a lot of Line types. Chiến lược Pine Script®của LionTrader_Cập nhật 520
Fading EMAs - 10 Lines with color fill//@version=5 indicator(title="2 EMA Fill Pairs (1-2 & 3-4)", shorttitle="EMA Fills 2x", overlay=true) // ── Inputs for EMA 1 & 2 ───────────────────────────────────── len1 = input.int(9, title="EMA 1 Length", minval=1, group="EMA Pair 1-2") len2 = input.int(21, title="EMA 2 Length", minval=1, group="EMA Pair 1-2") src1 = input.source(close, "Source EMA 1-2", group="EMA Pair 1-2") // ── Inputs for EMA 3 & 4 ───────────────────────────────────── len3 = input.int(50, title="EMA 3 Length", minval=1, group="EMA Pair 3-4") len4 = input.int(200,title="EMA 4 Length", minval=1, group="EMA Pair 3-4") src2 = input.source(close, "Source EMA 3-4", group="EMA Pair 3-4") // ── Colors ─────────────────────────────────────────────────── color1 = input.color(color.red, "EMA 1 Color", group="Colors") color2 = input.color(color.blue, "EMA 2 Color", group="Colors") color3 = input.color(color.orange, "EMA 3 Color", group="Colors") color4 = input.color(color.purple, "EMA 4 Color", group="Colors") // ── Calculate EMAs ─────────────────────────────────────────── ema1 = ta.ema(src1, len1) ema2 = ta.ema(src1, len2) ema3 = ta.ema(src2, len3) ema4 = ta.ema(src2, len4) // ── Plot the EMAs ──────────────────────────────────────────── p1 = plot(ema1, title="EMA 1", color=color1, linewidth=2) p2 = plot(ema2, title="EMA 2", color=color2, linewidth=2) p3 = plot(ema3, title="EMA 3", color=color3, linewidth=2) p4 = plot(ema4, title="EMA 4", color=color4, linewidth=2) // ── Fill 1: Between EMA 1 and EMA 2 ───────────────────────── fillColor12 = ema1 > ema2 ? color.new(color.green, 80) : color.new(color.red, 80) fill(p1, p2, color=fillColor12, title="Fill EMA 1-2") // ── Fill 2: Between EMA 3 and EMA 4 ───────────────────────── fillColor34 = ema3 > ema4 ? color.new(color.green, 80) : color.new(color.red, 80) fill(p3, p4, color=fillColor34, title="Fill EMA 3-4") // Optional: Show crossover labels (can be disabled) showCross = input.bool(true, "Show Crossover Labels", group="Labels") if showCross plotshape(ta.crossover(ema1, ema2), title="EMA1 > EMA2", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small) plotshape(ta.crossunder(ema1, ema2), title="EMA1 < EMA2", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)Chỉ báo Pine Script®của advisor_futures1
SuperTrend + Dynamic Filter Alarm(DEMA Counter)This script uses SuperTrend along with DMI(DI+>DI- & ADX over 20) with price movement above DEMA200. Upon set up, it also raises alarm when all these conditions are met. Also, there is a counter that counts the candles closed above DEMA200 before the signal is generated. Paying attention to all price movements is utmost critical. Main driving indicator is SuperTrend which is very misleading during choppy price movements.Chỉ báo Pine Script®của umuryalcin9
EMA xPair [crlmx]EMA indicator pair with smooth gradient fill. Timeframe adjustable to fixed value or follow the chats. Key Features - Two configurable EMAs (default 8 / 24 on day TF) - 15 reference timeframes from 1min to Monthly - Gradient fill between EMAs - colour tracks the dominant line - Midline between the two EMAs - acts as a dynamic centre reference - Streamlined inputs / UI brought to you by crlmx Trading Applications - Use as trend filter, not entry trigger - Gradient fill enhances visual read on trend bias - Midline acts as support/resistance between the two EMAs - Daily 8/24 works across all instruments and timeframes - Daily 30/50 gives a very solid HTF trend signal across assets for swing / position trading - Recommended Settings Scalping (fast): EMA1: 8 | EMA2: 24 | TF: 1min | Chart: 1m–5m Scalping: EMA1: 8 | EMA2: 24 | TF: 3–5min | Chart: 1m–5m Day Trading: EMA1: 8 | EMA2: 24 | TF: Day | Chart: 15m–1H Swing Trading: EMA1: 30 | EMA2: 50 | TF: Day | Chart: 4H–1D Version History v1.21 (Latest - 23 Feb 2026) - Gradient fill between EMAs with transparency control - 15 reference timeframes (1min to Monthly) - Midline defaults to off Chỉ báo Pine Script®của crlmx10
High Volatility EMA Extension Bands An EMA-based trend indicator with extension bands and statistical tracking for higher-volatility assets. What it shows: 8 EMA (yellow) and 34 EMA (white) lines Three extension bands at 10%, 25%, and 35% above and below the 34 EMA Color-coded zones: green (10%), amber (25%), red (35%) Extension statistics table showing current %, price difference, min/max/median values for EMA 34, 50-week SMA, and 200-week SMA Settings: Adjustable EMA lengths (default: 8 and 34) Customizable extension percentages (default: 10%, 25%, 35%) Toggle extension bands on/off Toggle statistics table on/off Chỉ báo Pine Script®của Sam_mcmahon0
Low Volatility EMA Extension Bands An EMA-based trend indicator with tight extension bands and statistical tracking for lower-volatility assets. What it shows: 8 EMA (yellow) and 34 EMA (white) lines Three extension bands at 10%, 15%, and 20% above and below the 34 EMA Color-coded zones: green (10%), amber (15%), red (20%) Extension statistics table showing current %, price difference, min/max/median values for EMA 34, 50-week SMA, and 200-week SMA Settings: Adjustable EMA lengths (default: 8 and 34) Customizable extension percentages (default: 10%, 15%, 20%) Toggle extension bands on/off Toggle statistics table on/off Chỉ báo Pine Script®của Sam_mcmahon2
DEMATR StrategyThe DEMATR Guard is a sophisticated trend-following strategy built to capture momentum while shielding you from high-volatility traps. It leverages the speed of Double EMAs, the structural context of the Ichimoku Cloud, and an adaptive volatility engine. Core Logic The Engine: Dual DEMA cross (8/21) for rapid signal detection with less lag than traditional moving averages. The Trend Shield: Ichimoku Cloud filter ensuring entries only occur in bullish territory (above Span A and B). Volatility Guard: Automatic ATR-based filtering that rejects signals when the market is overextended or hyper-volatile. The Safety Floor: A 50 EMA baseline used as a structural exit to preserve capital during trend reversals. What the DEMATR Guard Handles Automatically The script takes care of the mechanical heavy lifting: DEMA crossovers, Ichimoku Cloud positioning, EMA 50 floor exits, and the rejection of excessive volatility (ATR Filter). Your Essential Checklist (Human Discretion) While the script handles the math, your value as a trader comes from analyzing what a backtest cannot see. When you see a BUY triangle, check these points: Volume: Is there a noticeable volume spike on the signal candle? VRVP: Is there a heavy "volume wall" (resistance) right above you? If the path is clear, it's a higher-quality trade. Space to Run: Ensure there is at least 2-3% of room before the next major horizontal resistance. Future Cloud: Look to the right—is the Ichimoku cloud green for the future period? ADX: Is the trend strength above 15? Avoid taking signals in dead or sideways markets. Interpreting "ATR!" Markers The orange "ATR!" cross signals a rejected entry. This means the trend was valid, but the price move was too violent or overextended. These markers are designed to protect you from "buying the peak" of an exhausted rally.Chiến lược Pine Script®của jrrmcalcioCập nhật 28
Multi Timeframe Moving AveragesThat moving averages shows multiple timeframes at one period.Chỉ báo Pine Script®của edocan689911
DEMA Volatility SuperTrend | RakoQuantDEMA Volatility SuperTrend is a clean trend-regime indicator built for volatile markets such as crypto. It combines a Double Exponential Moving Average (DEMA) baseline with a standard deviation volatility envelope, then applies classic SuperTrend trailing logic to produce persistent bullish and bearish regimes. This tool is designed for traders who want a smooth but responsive trend structure without relying on ATR alone. Core Concept This indicator answers one simple question: Are we currently in a bullish trend regime or a bearish trend regime? It does this by building a dynamic volatility corridor around a DEMA baseline and flipping only when price breaks beyond the active band. How It Works 1. DEMA Baseline (fast + low lag) A DEMA is used instead of a normal EMA to reduce lag while maintaining smooth trend behavior. 2. Volatility Engine (Standard Deviation) Volatility bands are created using: Raw Source Volatility Classic standard deviation behavior Residual vs Baseline Volatility Measures deviations from the DEMA baseline for cleaner regime detection Band formula: Upper Band = baseline + multiplier × stdev Lower Band = baseline − multiplier × stdev 3. SuperTrend Trailing Regime Logic Instead of flipping every touch, the bands trail using SuperTrend persistence rules: Bull regime → active lower band acts as support Bear regime → active upper band acts as resistance Flips occur only when price breaks beyond the trailing band. Visual System Bull regime: Ice-Blue active band Bear regime: Violet active band Optional faint inactive bands provide structure Optional fill highlights the active regime corridor Optional candle painting matches the regime state instantly Alerts Included Bull Flip Alert → regime turns bullish Bear Flip Alert → regime turns bearish Perfect for automation or regime-based filtering. How to Use ✅ Trend filter for swing trading ✅ Regime confirmation layer for systems ✅ Works best on higher timeframes (4H / 1D) ✅ Combine with momentum or breakout triggers for entries Inputs Summary DEMA Length → baseline responsiveness Volatility Length + Multiplier → band width + sensitivity Volatility Mode → raw vs residual volatility Flip Source → Close or HL2 for regime switching Visual toggles → fill, candles, inactive rails Screenshot Placement 📸 Example chart / screenshot: Tip: show one bullish flip + one bearish flip with candle painting enabled.Chỉ báo Pine Script®của RakoQuantCập nhật 11356
Big Trend Catcher: Dual-Gate EMA & ATR Trailing Swing TraderThe Big Trend Catcher: Long-Only Progressive Swing System OVERVIEW The Big Trend Catcher is a high-conviction, long-only swing trading strategy designed to identify and ride sustained market moves. Unlike traditional trend-following systems that often get "chopped out" during sideways consolidation, this strategy utilizes a Dual-Gate Filter to ensure you only enter when short-term momentum and the long-term trend are in total alignment. It is specifically tuned for high-growth stocks and ETFs where capturing the lion’s share of a multi-week or multi-month move is the primary objective. CORE LOGIC: THE DUAL-GATE SYSTEM To maintain a high quality of entries, the strategy requires a "confirmed launch" through two distinct filters: The Momentum Gate (20 EMA): Identifies immediate price acceleration and volume-backed impulse. The Long-Term Gate (100 EMA): Acts as the ultimate trend filter. The script utilizes a "Signal Memory" logic—if an impulse happens while price is still below the 100 EMA, the trade is held in a "Pending" state. The entry only triggers once the price closes firmly above the 100 EMA. Goal: This prevents "bottom fishing" in established downtrends and keeps you in cash during sideways "death loops" when the long-term direction is unclear. KEY FEATURES 1. Progressive Pyramiding (Scale-In) The biggest profits in swing trading are often made by adding to winners. This system features two automated scale-in triggers: Velocity Adds (VOLC): Adds to the position if the stock is up >10% and moving with rising momentum, allowing you to build a larger position as the trend proves its strength. Pullback Adds: Adds to the position when the price tests the 20 EMA and holds, allowing you to buy the "dip" within a healthy uptrend. 2. The Phoenix Re-Entry This logic is designed to catch "V-shaped" recoveries. If the strategy exits on a trend break but the price aggressively reclaims the 20 EMA on massive volume shortly after, it re-enters the trade. This ensures you aren't left behind during the second leg of a major run after a temporary shakeout. 3. Iron-Floor ATR Exit We use a 3.5x ATR Trailing Stop combined with the 100 EMA. This wider-than-average "breathing room" is designed to keep you in for significant gains while ignoring the minor daily volatility that often shakes out traders with tighter stops. HOW TO USE Best Timeframes: Daily (D) is recommended for identifying major cycles, but it can be applied to the 4-Hour (4H) for more active swing trading. Settings: * 20 EMA: Your short-term momentum guide. * 100 EMA: Your long-term trend guide. * ATR Multiplier: Set to 3.5 for maximum "trend hugging." SUMMARY OF VISUALS Blue Line (100 EMA): The Long-Term Trend. Yellow Line (20 EMA): The Short-Term Momentum. Red Stepped Line: Your ATR Trailing Floor (The "Iron Floor"). Lime Triangle: Initial Trade Entry. Blue/Orange Shapes: Progressive Scale-in points.Chiến lược Pine Script®của LegalxSeagull66
HaP MACDHaP MACD - Advanced DEMA Assisted Signal Indicator Overview The HaP MACD is an evolution of the classic MACD, designed for traders who demand faster response times and clearer trend visualisations. By integrating DEMA (Double Exponential Moving Average) logic into the standard MACD framework, this indicator filters out noise and highlights momentum shifts with a unique color-coded dot system. How It Works The indicator calculates two types of MACD: a standard one for the main lines and a DEMA-based one for signal generation. This dual approach ensures you stay in the trend while being alerted the moment the momentum starts to fade. Visual Guide & Color Logic The signal dots are placed directly on the MACD line to guide your decisions: 🔵 Blue Dot: The Entry Signal. Appears when DEMA conditions first align for a bullish move. 🟢 Green Dot: Strong Momentum. The trend is active and the MACD value is increasing. 🟠 Orange Dot: Warning Signal. The bullish trend is still active, but the momentum is slowing down (MACD is lower than the previous bar). 🔴 Red Dot: Exit Signal. The bullish condition has ended. It’s time to consider closing the position or tightening stops. Key Features Reduced Lag: DEMA integration provides earlier signals than standard EMA-based MACDs. Trend Monitoring: Easily distinguish between a healthy trend (Green) and a tiring trend (Orange). Customizable: Choose between EMA and SMA for both the oscillator and signal calculations. Crossover Markers: Optional triangle markers for classic MACD crossovers (can be enabled in settings).Chỉ báo Pine Script®của agahakanaga2424 2.5 K
Aydan ScalperBy when EMA 8 cross EMA 21 from Below to Abouve and SELL when EMA 21 cross EMA 8 from Abouve to BeloveChỉ báo Pine Script®của Aydanman17
Robust Scaled Dema | OquantOverview The Robust Scaled DEMA indicator is a tool designed for traders seeking to identify potential trend directions in financial markets. It combines the smoothing capabilities of a Double Exponential Moving Average (DEMA) with a robust scaling mechanism to normalize the data, making it more resilient to outliers and extreme price movements. This scaling helps in generating long and short signals based on predefined thresholds, visualized through color-coded plots and bars. The indicator aims to provide a balanced view of market momentum, reducing the impact of noise while highlighting significant shifts in price behavior. Key Factors/Components DEMA (Double Exponential Moving Average): Serves as the core smoothing component, reducing lag compared to simple averages by emphasizing recent price action more effectively. Robust Scaling Mechanism: Utilizes statistical measures like median and interquartile range to normalize the DEMA values, ensuring the indicator is less sensitive to extreme values or price spikes. Thresholds: User-defined upper and lower levels that trigger long or short signals when the scaled DEMA crosses them. Visual Elements: Includes plotted lines for the scaled DEMA and thresholds, plus color-coded candlestick bars for intuitive interpretation. Alerts: Built-in conditions for notifying users of potential entry points for long or short positions. How It Works The indicator starts by applying a DEMA to the chosen price source to create a smoothed representation of the market's direction. This smoothed value is then scaled using a robust statistical approach that accounts for the distribution of recent DEMA values, centering it around a median and adjusting for variability to minimize the influence of outliers. The resulting scaled metric is compared against user-set upper and lower thresholds: crossing above the upper suggests a bullish momentum (long signal), while dipping below the lower indicates bearish conditions (short signal). A state variable tracks these conditions to color the chart accordingly, helping traders visualize regime changes. Optional alerts fire on transitions. For Who Is Best/Recommended Use Cases This indicator is ideal for traders who employ trend-following or momentum-based strategies and need tools that perform well in non-normal market conditions, such as during high volatility or in assets prone to spikes. Use cases include identifying entry/exit points in trending environments, confirming breakouts, or integrating into multi-indicator systems for added confirmation. Quantitative traders or those backtesting strategies will appreciate its customizable parameters for optimization. Settings and Default Settings Source: The price data input for calculations, such as close, open, high, or low. Default: close. DEMA Length: Controls the period for the DEMA smoothing; shorter values increase responsiveness but may add noise, longer ones provide more lag but smoother signals. Default: 25. Robust Scaling Length: Defines the lookback period for the scaling statistics; affects how adaptive the normalization is to recent data distributions. Default: 40. Upper Threshold: The level above which a long signal is triggered; higher values make signals rarer but potentially more reliable. Default: 0.5. Lower Threshold: The level below which a short signal is triggered; lower values allow for more aggressive bearish detection. Default: 0. Conclusion The Robust Scaled DEMA offers an outlier-resistant alternative to traditional moving average indicators, empowering traders to navigate volatile markets. By blending exponential smoothing with statistical robustness, it provides actionable insights into trend shifts while minimizing false positives from extreme events.. ⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.Chỉ báo Pine Script®của oquant22368
Better DEMAThe Better DEMA is a new tool designed to recreate the classical moving average DEMA, into a smoother, more reliable tool. Combining many methodologies, this script offers users a unique insight into market behavior. How does it work? First, to get a smoother signal, we need to calculate the Gaussian filter. A Gaussian filter is a smoothing filter that reduces noise and detail by averaging data with weights following a Gaussian (bell-shaped) curve. Now that we have the source, we will calculate the following: n2 = n/2 (half of the user defined length) a = 2/(1+n) ns Now that we have that out of the way, it is time to get into the core. Now we calculate 2 EMAs: slow EMA => EMA over n fast EMA => EMA over n2 period Rather then now doing this: DEMA = fast EMA * 2 - slow EMA I found this to be better: DEMA = slow EMA * (1-a) + fast EMA * a As a last touch I took a little something from the HMA, and used a EMA with period of √n to smooth the entire the thing. The Trend condition at base is the following (but feel free to FAFO with it): Long = dema > dema yesterday and dema < src Short = dema < dema yesterday and dema > src Methodology While the DEMA is an amazing tool used in many great indicators, it can be far too noisy. This made me test out many filters, out of which the Gaussian performed best. Then I tried out the non subtractive approach and that worked too, as it made it smoother. Compacting on all I learned and smoothing it bit by bit, I think I can say this is worth looking into :). Use cases: Following Trends => classic, effective :) Smoothing sources for other indicators => if done well enough, could be useful :) Easy trend visualization => Added extra options for that. Strategy development => Yes Another good thing is it does not a high lookback period, so it should be better and less overfit. That is all for today Gs, Have fun and enjoy! Chỉ báo Pine Script®của MisinkoMaster51
RED RICHI EMA 34&55This indicator displays two exponential moving averages (EMA 34 & EMA 55) to identify mid-term trend direction. It also marks crossover points with green and red circles for bullish and bearish trend shifts. Chỉ báo Pine Script®của Omri430
Script_Algo - High Low Range MA Crossover Strategy🎯 Core Concept This strategy uses modified moving averages crossover, built on maximum and minimum prices, to determine entry and exit points in the market. A key advantage of this strategy is that it avoids most false signals in trendless conditions, which is characteristic of traditional moving average crossover strategies. This makes it possible to improve the risk/reward ratio and, consequently, the strategy's profitability. 📊 How the Strategy Works Main Mechanism The strategy builds 4 moving averages: Two senior MAs (on high and low) with a longer period Two junior MAs (on high and low) with a shorter period Buy signal 🟢: when the junior MA of lows crosses above the senior MA of highs Sell signal 🔴: when the junior MA of highs crosses below the senior MA of lows As seen on the chart, it was potentially possible to make 9X on the WIFUSDT cryptocurrency pair in just a year and a half. However, be careful—such results may not necessarily be repeated in the future. Special Feature Position closing priority ❗: if an opposite signal arrives while a position is open, the strategy first closes the current position and only then opens a new one ⚙️ Indicator Settings Available Moving Average Types EMA - Exponential MA SMA - Simple MA SSMA - Smoothed MA WMA - Weighted MA VWMA - Volume Weighted MA RMA - Adaptive MA DEMA - Double EMA TEMA - Triple EMA Adjustable Parameters Senior MA Length - period for long-term moving averages Junior MA Length - period for short-term moving averages ✅ Advantages of the Strategy 🛡️ False Signal Protection - using two pairs of modified MAs reduces the number of false entries 🔄 Configuration Flexibility - ability to choose MA type and calculation periods ⚡ Automatic Switching - the strategy automatically closes the current position when receiving an opposite signal 📈 Visual Clarity - all MAs are displayed on the chart in different colors ⚠️ Disadvantages and Risks 📉 Signal Lag - like all MA-based strategies, it may provide delayed signals during sharp movements 🔁 Frequent Switching - in sideways markets, it may lead to multiple consecutive position openings/closings 📊 Requires Optimization - optimal parameters need to be selected for different instruments and timeframes 💡 Usage Recommendations Backtest - test the strategy's performance on historical data Optimize Parameters - select MA periods suitable for the specific trading instrument Use Filters - add additional filters to confirm signals Manage Risks - always use stop-loss and take-profit orders. You can safely connect to the exchange via webhook and enjoy trading. Good luck and profits to everyone!!Chiến lược Pine Script®của Script_Algo11124
Volume Weighted EMAsIt's a script to calculate the volume weighted moving averages using exponential moving averages such as EMA, DEMA and TEMA instead of the pre-existing VWMA which uses SMA to calculate it. Note: works only with charts that have volume data present, obviously !!!Chỉ báo Pine Script®của p1n3apple_xpr35512
Blended EMA (50 & 100)Plots EMA 50, EMA 100, and a blended EMA (average of the two) Option to hide/show the original EMAs Clean and lightweight — great for trend filtering on 1hr/4hrChỉ báo Pine Script®của Az_Tinks8
Ultimate Scalping Strategy v2Strategy Overview This is a versatile scalping strategy designed primarily for low timeframes (like 1-min, 3-min, or 5-min charts). Its core logic is based on a classic EMA (Exponential Moving Average) crossover system, which is then filtered by the VWAP (Volume-Weighted Average Price) to confirm the trade's direction in alignment with the market's current intraday sentiment. The strategy is highly customizable, allowing traders to add layers of confirmation, control trade direction, and manage exits with precision. Core Strategy Logic The strategy's entry signals are generated when two primary conditions are met simultaneously: Momentum Shift (EMA Crossover): It looks for a crossover between a fast EMA (default length 9) and a slow EMA (default length 21). Buy Signal: The fast EMA crosses above the slow EMA, indicating a potential shift to bullish momentum. Sell Signal: The fast EMA crosses below the slow EMA, indicating a potential shift to bearish momentum. Trend/Sentiment Filter (VWAP): The crossover signal is only considered valid if the price is on the "correct" side of the VWAP. For a Buy Signal: The price must be trading above the VWAP. This confirms that, on average, buyers are in control for the day. For a Sell Signal: The price must be trading below the VWAP. This confirms that sellers are generally in control. Confirmation Filters (Optional) To increase the reliability of the signals and reduce false entries, the strategy includes two optional confirmation filters: Price Action Filter (Engulfing Candle): If enabled (Use Price Action), the entry signal is only valid if the crossover candle is also an "engulfing" candle. A Bullish Engulfing candle is a large green candle that completely "engulfs" the body of the previous smaller red candle, signaling strong buying pressure. A Bearish Engulfing candle is a large red candle that engulfs the previous smaller green candle, signaling strong selling pressure. Volume Filter (Volume Spike): If enabled (Use Volume Confirmation), the entry signal must be accompanied by a surge in volume. This is confirmed if the volume of the entry candle is greater than its recent moving average (default 20 periods). This ensures the move has strong participation behind it. Exit Strategy A position can be closed in one of three ways, creating a comprehensive exit plan: Stop Loss (SL): A fixed stop loss is set at a level determined by a multiple of the Average True Range (ATR). For example, a 1.5 multiplier places the stop 1.5 times the current ATR value away from the entry price. This makes the stop dynamic, adapting to market volatility. Take Profit (TP): A fixed take profit is also set using an ATR multiplier. By setting the TP multiplier higher than the SL multiplier (e.g., 2.0 for TP vs. 1.5 for SL), the strategy aims for a positive risk-to-reward ratio on each trade. Exit on Opposite Signal (Reversal): If enabled, an open position will be closed automatically if a valid entry signal in the opposite direction appears. For example, if you are in a long trade and a valid short signal occurs, the strategy will exit the long position immediately. This feature turns the strategy into more of a reversal system. Key Features & Customization Trade Direction Control: You can enable or disable long and short trades independently using the Allow Longs and Allow Shorts toggles. This is useful for trading in harmony with a higher-timeframe trend (e.g., only allowing longs in a bull market). Visual Plots: The strategy plots the Fast EMA, Slow EMA, and VWAP on the chart for easy visualization of the setup. It also plots up/down arrows to mark where valid buy and sell signals occurred. Dynamic SL/TP Line Plotting: A standout feature is that the strategy automatically draws the exact Stop Loss and Take Profit price lines on the chart for every active trade. These lines appear when a trade is entered and disappear as soon as it is closed, providing a clear visual of your risk and reward targets. Alerts: The script includes built-in alertcondition calls. This allows you to create alerts in TradingView that can notify you on your phone or execute trades automatically via a webhook when a long or short signal is generated. Chiến lược Pine Script®của sebamarghellaCập nhật 88498
DEMACROSSOVA BY FLACODouble EMAs for entry signals ATR Bands for stoploss Fibonacci bollinger bands for early exit confirmationChỉ báo Pine Script®của SAMMYGOTTHESAUCECập nhật 9
VWAP + EMA Retracement Indicator SwiftEdgeVWAP + EMA Retracement Indicator Overview The VWAP + EMA Retracement Indicator is a powerful and visually engaging tool designed to help traders identify high-probability buy and sell opportunities in trending markets. By combining the Volume Weighted Average Price (VWAP) with two Exponential Moving Averages (EMAs) and a unique retracement-based signal logic, this indicator pinpoints moments when the price pulls back to a key zone before resuming its trend. Its modern, AI-inspired visuals and customizable features make it both intuitive and adaptable for traders of all levels. What It Does This indicator generates buy and sell signals based on a sophisticated yet straightforward strategy: Buy Signals: Triggered when the price is above VWAP, has recently retraced to the zone between two EMAs (default 12 and 21 periods), and a strong bullish candle closes above both EMAs. Sell Signals: Triggered when the price is below VWAP, has retraced to the EMA zone, and a strong bearish candle closes below both EMAs. Signal Filtering: A customizable cooldown period ensures that only the first signal in a sequence is shown, reducing noise while preserving opportunities for new trends. Confidence Scores: Each signal includes an AI-inspired confidence score (0-100%), calculated from candle strength and price distance to VWAP, helping traders gauge signal reliability. The indicator’s visuals enhance decision-making with dynamic gradient lines, a highlighted retracement zone, and clear signal labels, all customizable to suit your preferences. How It Works The indicator integrates several components that work together to create a cohesive trading tool: VWAP: Acts as a dynamic support/resistance level, reflecting the average price weighted by volume. It filters signals to ensure buys occur in uptrends (price above VWAP) and sells in downtrends (price below VWAP). Dual EMAs: Two EMAs (default 12 and 21 periods) define a retracement zone where the price is likely to consolidate before continuing its trend. Signals are generated only after the price exits this zone with conviction. Retracement Logic: The indicator looks for price pullbacks to the EMA zone within a user-defined lookback window (default 5 candles), ensuring signals align with trend continuation patterns. Candle Strength: Signals require strong candles (bullish for buys, bearish for sells) with a minimum body size based on the Average True Range (ATR), filtering out weak or indecisive moves. Cooldown Mechanism: A unique feature that prevents signal clutter by allowing only the first signal within a user-defined period (default 3 candles), balancing responsiveness with clarity. Confidence Score: Combines candle body size and price distance to VWAP to assign a score, giving traders an at-a-glance measure of signal strength without needing external analysis. These components are carefully combined to capture high-probability setups while minimizing false signals, making the indicator suitable for both short-term and swing trading. How to Use It Add to Chart: Apply the indicator to a 15-minute chart (recommended) or your preferred timeframe. Customize Settings: VWAP Source: Choose the price source (default: hlc3). EMA Periods: Adjust the fast and slow EMA periods (default: 12 and 21). Retracement Window: Set how many candles to look back for retracement (default: 5). ATR Period & Body Size: Define candle strength requirements (default: 14 ATR period, 0.3 multiplier). Cooldown Period: Control the minimum candles between signals (default: 3; set to 0 to disable). Candle Requirements: Toggle whether signals require bullish/bearish candles or entire candle above/below EMAs. Visuals: Enable/disable gradient colors, retracement zone, confidence scores, and choose a color scheme (Neon, Light, or Dark). Interpret Signals: Buy: A green "Buy" label with a confidence score appears below the candle when conditions are met. Sell: A red "Sell" label with a confidence score appears above the candle. Use the confidence score to prioritize higher-probability signals (e.g., above 80%). Trade Management: Combine signals with your risk management strategy, such as setting stop-loss below the retracement zone and targeting a 1:2 risk-reward ratio. Why It’s Unique The VWAP + EMA Retracement Indicator stands out due to its thoughtful integration of classic indicators with modern enhancements: Balanced Signal Filtering: The cooldown mechanism ensures clarity without missing key opportunities, unlike many indicators that overwhelm with frequent signals. AI-Inspired Confidence: The confidence score simplifies decision-making by quantifying signal strength, mimicking advanced analytical tools in an accessible way. Elegant Visuals: Dynamic gradients, a highlighted retracement zone, and customizable color schemes (Neon, Light, Dark) create a sleek, futuristic interface that’s both functional and visually appealing. Flexibility: Extensive customization options let traders tailor the indicator to their style, from conservative swing trading to aggressive scalping.Chỉ báo Pine Script®của SwiftEdge44 2.4 K