MTF EMA Trend Table (custom)Multi Time frame EMA Trend Table (custom) then the shorter EMA cross the higher EMA in table you can see Long or short int the several time frames
Média Móvel Exponencial Dupla (DEMA)
Brahmastra Basic1. Core Purpose and Strategy
This is a multi-timeframe (MTF) indicator designed to identify high-probability entry points for a specific trend-following options selling strategy. It works by confirming a trend on higher timeframes (Daily and Hourly) before waiting for a precise entry trigger on a lower timeframe (15-Minute).
The core principle is confluence: ensuring that the Daily trend bias and the Hourly trend momentum are aligned before looking for a trade. This filters out many false signals that can occur when trading on a single timeframe.
IMPORTANT: This indicator MUST be applied to a 15-minute chart to function correctly.
2. How to Read the Visual Signals on Your Chart
The indicator provides several visual cues to guide you through the trading setup from start to finish.
A. Candle Colors: The "Setup is Ready" Signal
The primary signal to start paying attention is the change in candle color.
Aqua Candles: The market is in a Bullish Alignment. This means both the Daily and Hourly trends are bullish. You should now be preparing for a Put Sell entry. The very first aqua candle in a sequence is your "alert candle."
Yellow Candles: The market is in a Bearish Alignment. This means both the Daily and Hourly trends are bearish. You should now be preparing for a Call Sell entry. The very first yellow candle in a sequence is your "alert candle."
B. Entry Signals: The "Execute Trade" Signal
These signals appear only after the alert candle's level has been breached.
Green "PUT SELL" Label (below candle): This is your signal to enter a Put Sell (or a long position). It appears on the close of the 15-minute candle that breaks above the high of the first aqua alert candle.
Red "CALL SELL" Label (above candle): This is your signal to enter a Call Sell (or a short position). It appears on the close of the 15-minute candle that breaks below the low of the first yellow alert candle.
C. Exit Signals: The "Close Position" Signal
Red 'X' (above candle): This is the signal to close your Put Sell position. It appears when the primary daily trend has reversed to bearish.
Green 'X' (below candle): This is the signal to close your Call Sell position. It appears when the primary daily trend has reversed to bullish.
D. Background & EMA Lines: The "Context"
EMA Lines: The indicator plots two key EMAs from the higher timeframes onto your 15-minute chart so you can see the context.
Orange Line: Daily 5 EMA
Blue Line: Hourly 51 EMA
Faint Background Color: After an entry signal appears, the background will remain faintly colored (green for a bullish trade, red for a bearish trade) to remind you that you are in a hypothetical position.
3. The Step-by-Step Strategy Logic
Here is the precise set of rules the indicator follows to generate its signals:
For a PUT Sell (Bullish Trade):
Alignment Check: The indicator first confirms that:
The Daily Close is above the Daily 5 EMA.
AND the Hourly Close is above the Hourly 51 EMA.
Alert Phase: As soon as this alignment is true, the 15-minute candles turn aqua. The indicator internally notes the high of the very first aqua candle.
Entry Trigger: The indicator waits for a 15-minute candle to close above the high of that first alert candle. When this happens, the green "PUT SELL" label is plotted.
Exit Condition: The position is held until the Daily Close crosses back below the Daily 5 EMA. When this happens, the red 'X' exit signal is plotted.
For a CALL Sell (Bearish Trade):
Alignment Check: The indicator first confirms that:
The Daily Close is below the Daily 5 EMA.
AND the Hourly Close is below the Hourly 51 EMA.
Alert Phase: As soon as this alignment is true, the 15-minute candles turn yellow. The indicator internally notes the low of the very first yellow candle.
Entry Trigger: The indicator waits for a 15-minute candle to close below the low of that first alert candle. When this happens, the red "CALL SELL" label is plotted.
Exit Condition: The position is held until the Daily Close crosses back above the Daily 5 EMA. When this happens, the green 'X' exit signal is plotted.
DEMA Percentile Standard DeviationDouble Exponential Moving Average (DEMA) for smooth trend identification, percentiles to gauge price position relative to its past, and Standard Deviation (SD) for volatility, creating statistically defined bands to signal potential reversals or entries when price moves far from its DEMA-based mean within these dynamic zones, acting as a sophisticated way to find statistically extreme & reversion opportunities in markets. It uses the DEMA to create a centerline, calculates percentiles on this DEMA, and then uses SD to define upper/lower boundaries for trading signals, showing where price deviates significantly from its recent smoothed path.
Aydan Scalper v2This indicator, called the Aydan Scalper, combines an 8-period EMA (plotted in green) and a 20-period EMA (plotted in red) to identify buy and sell signals based on their crossovers. When the green 8 EMA crosses above the red 20 EMA from below, it signals a buy opportunity. Conversely, when the green 8 EMA crosses below the red 20 EMA from above, it signals a sell opportunity. Additionally, an ATR (Average True Range) indicator is included to gauge market volatility. This combination helps scalpers make informed trading decisions on a one-minute chart.”
Aydan Scalper 2This indicator, called the Aydan Scalper, combines an 8-period EMA (plotted in green) and a 20-period EMA (plotted in red) to identify buy and sell signals based on their crossovers. When the green 8 EMA crosses above the red 20 EMA from below, it signals a buy opportunity. Conversely, when the green 8 EMA crosses below the red 20 EMA from above, it signals a sell opportunity. Additionally, an ATR (Average True Range) indicator is included to gauge market volatility. This combination helps scalpers make informed trading decisions on a one-minute chart.”
Aydan ScalperBy when EMA 8 cross EMA 21 from Below to Abouve and SELL when EMA 21 cross EMA 8 from Abouve to Belove
Dynamic Momentum OscillatorDescription:
The Dynamic Momentum Oscillator is a statistically-driven momentum tool that goes beyond traditional oscillators. Instead of using raw price, it analyzes the momentum of a DEMA (Double Exponential Moving Average) itself, creating a smoother, more refined signal. Its innovative approach incorporates volatility-weighted z-scoring, allowing the indicator to automatically adjust its sensitivity based on market conditions, helping to identify both the strength and sustainability of momentum shifts.
🔍 How It Works:
DEMA Momentum Core: The indicator first calculates a DEMA of the price. It then analyzes the momentum of this DEMA, effectively creating a "momentum of momentum" measure that filters out market noise.
Volatility-Adaptive Z-Score: The core signal is a statistical z-score, which measures how many standard deviations the DEMA is from its mean. This tells you not just the direction, but the statistical significance of the move.
Dynamic Volatility Weighting: The unique addition is a normalized standard deviation component that weights the z-score. In high volatility periods, this amplifies the signal, making strong trends more pronounced. In low volatility, it provides a more muted, conservative output.
🎯 Interpreting the Oscillator:
Zero Line: The baseline. Momentum is considered neutral here.
Orange Histogram (Above Zero): Indicates bullish momentum. The further the bar extends above zero, the stronger and more statistically significant the bullish momentum.
Purple Histogram (Below Zero): Indicates bearish momentum. The further the bar extends below zero, the stronger and more statistically significant the bearish momentum.
Signal Strength: The height of the histogram bars reflects the combined momentum and volatility, giving you a direct visual gauge of momentum strength.
⚙️ Input Parameters (Group: Core Settings):
DEMA Length: The period for the primary Double Exponential Moving Average.
Standard Deviation Length: The lookback period for calculating volatility and the z-score.
StDev Weight: Controls the influence of volatility on the final signal (0.1 = minimal, 1.0 = maximum). Adjust this to fine-tune the indicator's responsiveness.
By focusing on the statistical properties of price momentum, the Dynamic Momentum Oscillator offers a unique lens for pinpointing high-probability trend continuations and reversals. It's a powerful tool for traders who appreciate quantitative methods.
Trendz EMA VersionSupertrend + double EMA Indicator that calls out high quality trade ideas. This is the Logic:
✅ Buy only when SuperTrend turns bullish and 21 EMA > 50 EMA.
✅ Sell only when SuperTrend turns bearish and 21 EMA < 50 EMA.
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.
Malama's MTF MA Alignment ScannerMalama's Multi-Timeframe Moving Average Alignment Scanner (MTF MA Scanner) is an overlay indicator designed to simplify trend analysis by evaluating the alignment of multiple moving averages (MAs) across user-defined timeframes. It scans for bullish (MAs stacked ascending), bearish (descending), or mixed/neutral configurations, incorporating a VWAP (Volume Weighted Average Price) filter to contextualize price position relative to volume-based equilibrium. The result is a compact dashboard table summarizing signals from up to three timeframes, helping traders spot confluence for entries or reversals without manually switching charts. This tool draws from classic MA ribbon concepts but adds flexible MA types, dynamic sorting, and an overall trend score for quicker multi-TF insights.
Core Mechanics
The indicator processes data in layers to detect alignment and bias:
Moving Average Calculation: Supports five customizable MAs per timeframe, with types including Simple (SMA), Exponential (EMA), Double Exponential (DEMA for reduced lag), Smoothed (SMMA), or Butterworth 2-Pole filter (a low-lag recursive smoother approximating Ehlers' design for cleaner signals). Defaults use EMAs at lengths 6, 9, 21, 56, and 200—shorter for fast trends, longer for structure. Users enable/disable each independently.
Alignment Detection: For enabled MAs, it dynamically sorts them by length (shortest first) and checks their relative order: All ascending (shortest MA > longest) signals "Bullish" (uptrend strength); all descending signals "Bearish" (downtrend); otherwise "Mixed" or "Neutral" (if <2 MAs). This avoids bias from unsorted plots.
VWAP Integration: Computes session-anchored VWAP (daily/weekly/monthly) as a volume-weighted mean, classifying price as "Above" (bullish bias) or "Below" (bearish) to filter alignments—e.g., bullish MA stack above VWAP strengthens longs.
Multi-Timeframe Aggregation: Pulls MA and VWAP data from up to three timeframes (e.g., current, 5m, 15m) using secure requests without lookahead bias. It consolidates into a table: Per-TF rows show alignment status (with icons: ✅ Bullish, ❌ Bearish, ⚠️ Mixed, ➖ Neutral), VWAP icon/status (📈 Above, 📉 Below), current price, and optional MA values (e.g., "9 EMA: 1.2345").
Overall Summary: Counts bullish/bearish TFs for a net score (e.g., 2/3 bullish = "Weak Bullish"), highlighting confluence in the final row.
This setup emphasizes regime detection: Aligned short-term MAs confirm momentum, while longer ones validate structure, all filtered by VWAP for volume context.
Why This Adds Value & Originality
Standard MA crossovers or ribbons often clutter charts or require manual TF switches, leading to analysis fatigue. Here, the mashup of diverse MA types (e.g., lag-reduced DEMA with smooth Butterworth) into a sortable alignment check creates a "trend thermometer" that's adaptable—e.g., EMAs for responsiveness in forex, SMAs for stocks. The VWAP layer adds a fair-value anchor absent in pure MA tools, while the dashboard condenses MTF data into one glanceable view with a net score, reducing cognitive load. It's not a simple merge: Dynamic UDT-based sorting ensures consistent evaluation regardless of user tweaks, and optional value display aids precise level targeting. This makes it uniquely practical for confluence trading, evolving basic alignment into a scannable system without repainting risks.
How to Use
Setup: Add to your chart (overlay=true). In inputs: Enable TFs (e.g., 1H for structure, 15m/5m for entries); customize MAs (e.g., switch to DEMA for volatile crypto); set VWAP anchor (Daily for intraday). Toggle table position/size and chart plots.
Interpret the Dashboard (top-right default):
Per-TF Rows: Green cells for Bullish (long bias); red for Bearish (short); orange for Mixed (caution); gray for Neutral/low data. Check VWAP for confirmation—e.g., Bullish + Above = strong buy setup.
MA Values Column (if enabled): Lists current levels (e.g., "21 EMA: 4500.50") for support/resistance pulls.
Overall Row: "Strong Bullish" (all green) for aggressive longs; "Weak" variants for scaled entries. Score like "2/3" shows TF agreement.
Trading Application: On a 1H chart, look for 3/3 Bullish with price above VWAP for longs—enter on pullback to shortest MA. Use alerts (e.g., "All Timeframes Bullish") for notifications. Best on liquid assets (e.g., EURUSD, SPX) across 15m-4H. Combine with price action for edges.
Customization Tips: Disable unused MAs to declutter; test Butterworth on noisy data for smoother aligns.
Limitations & Disclaimer
Alignments lag by MA lengths and TF resolutions, so they're directional filters—not precise entries (pair with candlesticks). VWAP resets on anchors, potentially skewing mid-session. In sideways markets, "Mixed" dominates—avoid forcing trades. No built-in risk management; backtest on your symbols (e.g., via Strategy Tester) to validate. Results use historical data without guarantees—markets evolve. Not financial advice; trade at your own risk. For feedback, comment publicly.1.1s
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!
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.
DEMARED with ATR StopLoss & Dynamic Risk (v5)DEMARED with ATR StopLoss & Dynamic Risk
This strategy combines Double Exponential Moving Averages (DEMA) with EMA and Donchian midline filters to capture trend-following signals. A long entry is triggered when both DEMA pairs are aligned bullishly, price is above EMA, and above the Donchian midpoint. Exits occur on opposite signals or when the ATR-based stop loss is hit.
Key features:
ATR Stop Loss: dynamic stop based on ATR with user-defined multiplier.
Dynamic Risk Management: position size is automatically calculated based on account equity and risk percentage.
Visualization: plots stop loss, EMA, Donchian midline, and optional bar coloring.
Flexible Display: toggle all indicator visuals on/off with a single input.
The goal is to provide a trend-following system with controlled risk and adaptability across different markets and timeframes.
[DEM] Double Hull Moving Average (DHMA) Double Hull Moving Average (DHMA) is designed to create an ultra-smooth and responsive trend-following indicator by applying the Hull Moving Average calculation twice to reduce lag while maintaining smoothness. The indicator first calculates a Hull Moving Average of the source price over the specified length (default 233), then applies another Hull Moving Average to the result, and finally uses the standard Hull formula (2 * HMA1 - HMA2) to create the Double Hull Moving Average. The resulting line changes color dynamically from green when trending upward to red when trending downward, with matching bar colors to provide clear visual confirmation of trend direction, offering traders a highly refined moving average that responds quickly to price changes while filtering out most market noise.
Multi Triple EMA Crossover [Salamun]Multi EMA Crossover Indicator Function:
1. Identifying Trends:
Short EMA (7, 10, 20) for short term trend
Intermediate EMA (30, 60, 100) for intermediate trends
Long EMA (200) for long term trend
The shorter the EMA period, the more sensitive it is to price changes.
2. Providing Entry/Exit Signals:
Green Arrow (BUY) : When fast EMA crosses above slow EMA = bullish momentum
Red Arrow (SELL) : When the fast EMA crosses below the slow EMA = bearish momentum
How to Read Indicators:
✅ Bullish Condition:
Price is above the majority of EMA
The short EMA is above the long EMA
Light green background
A green arrow appears.
❌ Bearish Condition:
Price is below the majority of EMA
The short EMA is below the long EMA
Pink background
A red arrow appears
📊 Tips Trading:
Trend confirmation : Make sure the EMAs are in sequence (EMA7 > EMA10 > EMA20 for uptrend)
Support/Resistance : EMA can function as dynamic support/resistance
Signal filter : Use higher timeframe for confirmation
Risk management : Do not trade against the 200 EMA trend.
The table on the top right displays the real-time values of all EMAs and the current trend status for easy quick analysis.
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!!
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 !!!
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/4hr
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.
DEMACROSSOVA BY FLACODouble EMAs for entry signals
ATR Bands for stoploss
Fibonacci bollinger bands for early exit confirmation
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.






















