5-Min ORB (1m) — Asia, London, NY — v6.6Awesome—here’s a ready-to-use Pine Script v5 indicator for a 5-Minute Opening Range Breakout (ORB) across Asia, London, and New York, designed to be applied on the 1-minute chart. It:
Marks the first 5 minutes of each session
Draws the ORB box (high/low)
Infers bias from that 5-minute candle (close vs. open)
Triggers buy/sell signals only in the bias direction when price breaks the ORB
Includes alerts, per-session enable toggles, custom timezones & session windows
Chỉ báo và chiến lược
Volume Pressure Oscillator (VPO)🔹 Core Logic
VPO Calculation:
The indicator measures price momentum weighted by volume, smoothed by EMA, and normalized within a dynamic range to highlight relative pressure extremes.
Signal Line:
A secondary EMA of VPO acts as a signal baseline for crossovers and trend confirmation.
Entry Triggers:
Zero-line Crossovers: Momentum shifts from bearish to bullish (or vice versa).
Signal Crossovers: Confirmation of sustained directional momentum.
Filters:
Volume Filter: Only trades when volume is above the moving average.
VWAP Slope Filter: Ensures trades align with intraday institutional flow.
Higher Timeframe VWAP: Confirms multi-timeframe directional bias.
RSI Filter: Avoids overextended entries.
Optional Divergence Confirmation: Adds precision in reversal environments.
Crypto Cycle Radar (TOTAL / TOTAL2 / TOTAL3 / BTC.D / USDT.D)Crypto Cycle Radar (TOTAL / TOTAL2 / TOTAL3 / BTC.D / USDT.D)
TASC 2025.11 The Points and Line Chart█ OVERVIEW
This script implements the Points and Line Chart described by Mohamed Ashraf Mahfouz and Mohamed Meregy in the November 2025 edition of the TASC Traders' Tips , "Efficient Display of Irregular Time Series”. This novel chart type interprets regular time series chart data to create an irregular time series chart.
█ CONCEPTS
When formatting data for display on a price chart, there are two main categorizations of chart types: regular time series (RTS) and irregular time series (ITS).
RTS charts, such as a typical candlestick chart, collect data over a specified amount of time and display it at one point. A one-minute candle, for example, represents the entirety of price movements within the minute that it represents.
ITS charts display data only after certain conditions are met. Since they do not plot at a consistent time period, they are called “irregular”.
Typically, ITS charts, such as Point and Figure (P&F) and Renko charts, focus on price change, plotting only when a certain threshold of change occurs.
The Points and Line (P&L) chart operates similarly to a P&F chart, using price change to determine when to plot points. However, instead of plotting the price in points, the P&L chart (by default) plots the closing price from RTS data. In other words, the P&L chart plots its points at the actual RTS close, as opposed to (price) intervals based on point size. This approach creates an ITS while still maintaining a reference to the RTS data, allowing us to gain a better understanding of time while consolidating the chart into an ITS format.
█ USAGE
Because the P&L chart forms bars based on price action instead of time, it displays displays significantly more history than a typical RTS chart. With this view, we are able to more easily spot support and resistance levels, which we could use when looking to place trades.
In the chart below, we can see over 13 years of data consolidated into one single view.
To view specific chart details, hover over each point of the chart to see a list of information.
In addition to providing a compact view of price movement over larger periods, this new chart type helps make classic chart patterns easier to interpret. When considering breakouts, the closing price provides a clearer representation of the actual breakout, as opposed to point size plots which are limited.
Because P&L is a new charting type, this script still requires a standard RTS chart for proper calculations. However, the main price chart is not intended for interpretation alongside the P&L chart; users can hide the main price series to keep the chart clean.
█ DISPLAYS
This indicator creates two displays: the "Price Display" and the "Data Display".
With the "Price display" setting, users can choose between showing a line or OHLC candles for the P&L drawing. The line display shows the close price of the P&L chart. In the candle display, the close price remains the same, while the open, high, and low values depend on the price action between points.
With the "Data display" setting, users can enable the display of a histogram that shows either the total volume or days/bars between the points in the P&L chart. For example, a reading of 12 days would indicate that the time since the last point was 12 days.
Note: The "Days" setting actually shows the number of chart bars elapsed between P&L points. The displayed value represents days only if the chart uses the "1D" timeframe.
The "Overlay P&L on chart" input controls whether the P&L line or candles appear on the main chart pane or in a separate pane.
Users can deactivate either display by selecting "None" from the corresponding input.
Technical Note: Due to drawing limitations, this indicator has the following display limits:
The line display can show data to 10,000 P&L points.
The candle display and tooltips show data for up to 500 points.
The histograms show data for up to 3,333 points.
█ INPUTS
Reversal Amount: The number of points/steps required to determine a reversal.
Scale size Method: The method used to filter price movements. By default, the P&L chart uses the same scaling method as the P&F chart. Optionally, this scaling method can be changed to use ATR or Percent.
P&L Method: The prices to plot and use for filtering:
“Close” plots the closing price and uses it to determine movements.
“High/Low” uses the high price on upside moves and low price on downside moves.
"Point Size" uses the closing price for filtration, but locks the price to plot at point size intervals.
Institutional Rolling VWAPs • 3 lines + editable σ bands3 rolling vwaps, time stamped, same on htf and lft for high level execution
Jensen Alpha RS🧠 Jensen Alpha RS (J-Alpha RS)
Jensen Alpha RS is a quantitative performance evaluation tool designed to compare multiple assets against a benchmark using Jensen’s Alpha — a classic risk-adjusted return metric from modern portfolio theory.
It helps identify which assets have outperformed their benchmark on a risk-adjusted basis and ranks them in real time, with optional gating and visual tools. 📊
✨ Key Features
• 🧩 Multi-Asset Comparison: Evaluate up to four assets simultaneously.
• 🔀 Adaptive Benchmarking: TOTALES mode uses CRYPTOCAP:TOTALES (total crypto market cap ex-stablecoins). Dynamic mode automatically selects the strongest benchmark among BTC, ETH, and TOTALES based on rolling momentum.
• 📐 Jensen’s Alpha Calculation: Uses rolling covariance, variance, and beta to estimate α, showing how much each asset outperformed its benchmark.
• 📈 Z-Score & Consistency Metrics: Z-Score highlights statistical deviations in alpha; Consistency % shows how often α has been positive over a chosen window.
• 🚦 Trend & Zero Gates: Optional filters that require assets to be above EMA (trend) and/or have α > 0 for confirmation.
• 🏆 Leaders Board Table: Displays α, Z, Rank, Consistency %, and Gate ✓/✗ for all assets in a clear visual layout.
• 🔔 Dynamic Alerts: Get notified whenever the top alpha leader changes on confirmed (non-repainting) data.
• 🎨 Visual Enhancements: Smooth α with an SMA or color bars by the current top-performing asset.
🧭 Typical Use Cases
• 🔄 Portfolio Rotation & Relative Strength: Identify which assets consistently outperform their benchmark to optimize capital allocation.
• 🧮 Alpha Persistence Analysis: Gauge whether a trend’s performance advantage is statistically sustainable.
• 🌐 Market Regime Insight: Observe how asset leadership rotates as benchmarks shift across market cycles.
⚙️ Inputs Overview
• 📝 Assets (1–4): Select up to four tickers for evaluation.
• 🧭 Benchmark Mode: Choose between static TOTALES or Dynamic auto-selection.
• 📏 Alpha Settings: Adjustable lookback, smoothing, and consistency windows.
• 🚦 Gates: Optional trend and alpha filters to refine results.
• 🖥️ Display: Enable/disable table and customize colors.
• 🔔 Alerts: Toggle notifications on leadership changes.
🔎 Formula Basis
Jensen’s Alpha (α) is estimated as:
α = E − β × E
where β = Cov(Ra, Rb) / Var(Rb), and Ra/Rb represent asset and benchmark returns, respectively.
A positive α indicates outperformance relative to the risk-adjusted benchmark expectation. ✅
⚠️ Disclaimer
This script is for educational and analytical purposes only.
It is NOT a signal. 🚫📉
It does not constitute financial advice, trading signals, or investment recommendations. 💬
The author is not responsible for any financial losses or trading decisions made based on this indicator. 🙏
Always perform your own analysis and use proper risk management. 🛡️
byquan AlphaTrend + Supertrend Combo🔍 Overview
The AlphaTrend + SuperTrend Combo is a smart confirmation-based trading indicator that blends two powerful trend-following systems — AlphaTrend and SuperTrend — into one unified tool.
Its main purpose is to filter out false breakouts and improve entry accuracy by waiting for both indicators to confirm a signal within a specified number of candles.
This combination gives traders high-confidence BUY and SELL signals, clearly marked on the chart, with optional alert notifications.
⚙️ How It Works
🧠 1. AlphaTrend Logic
The AlphaTrend component calculates dynamic support and resistance bands based on Average True Range (ATR) and Money Flow Index (MFI) or RSI (if no volume data).
It identifies momentum shifts using:
upT = Lower ATR band
downT = Upper ATR band
Depending on whether the MFI (or RSI) is above or below 50, AlphaTrend adapts to bullish or bearish conditions.
Signals:
✅ Buy Signal → When AlphaTrend crosses above its past level (momentum turning up).
❌ Sell Signal → When AlphaTrend crosses below its past level (momentum turning down).
📈 2. SuperTrend Logic
The SuperTrend indicator uses ATR to track trend direction based on price and volatility.
A green SuperTrend implies a bullish trend.
A red SuperTrend implies a bearish trend.
It triggers signals when trend direction changes:
✅ SuperTrend Buy → Price breaks above the SuperTrend line.
❌ SuperTrend Sell → Price drops below the SuperTrend line.
Users can choose whether to use the standard ATR or a smoothed ATR version for calculation (changeATR option).
🔄 3. Combo Confirmation Logic
The indicator’s core strength is signal confirmation.
When one indicator (AlphaTrend or SuperTrend) gives a signal, it waits for the other to confirm within a certain number of candles — defined by the “Wait Bars” input.
Example:
AlphaTrend gives a Buy → within the next 3 candles, if SuperTrend also turns bullish → confirmed BUY.
SuperTrend gives a Sell → within the next 3 candles, if AlphaTrend confirms → confirmed SELL.
This filtering greatly reduces false signals caused by volatility or short-term noise.
🧭 Inputs & Settings
Parameter Description
Wait Bars Number of candles to wait for confirmation from the other indicator.
Show Labels Toggle visibility of BUY/SELL labels on chart.
AlphaTrend Multiplier / Period / Source Adjusts AlphaTrend’s sensitivity.
Use RSI (no volume) If true, replaces MFI with RSI for instruments without volume data (e.g., crypto indexes).
SuperTrend ATR Period / Multiplier Controls SuperTrend sensitivity and reactivity.
Use Standard ATR? If disabled, uses smoothed ATR instead.
SuperTrend Source Usually hl2, but can be customized.
📊 Signals & Visualization
🟢 BUY Label: Both indicators confirm an uptrend.
🔴 SELL Label: Both indicators confirm a downtrend.
Labels appear directly on the chart (abovebar for SELL, belowbar for BUY).
Alerts are automatically triggered for both confirmed directions.
🔔 Alerts
Two alert conditions are built in:
"Combo BUY: AlphaTrend + SuperTrend confirmed!"
"Combo SELL: AlphaTrend + SuperTrend confirmed!"
You can use these in TradingView’s alert system to receive push notifications or email alerts.
💡 Trading Tips
✅ Works best on trending markets (crypto, forex, stocks).
✅ Use on 15m–4h timeframes for optimal balance between speed and reliability.
✅ Combine with volume or higher timeframe trend filters for stronger entries.
✅ Adjust Wait Bars (2–5) depending on volatility.
⚖️ Summary
The AlphaTrend + SuperTrend Combo helps traders trade confidently by requiring dual confirmation before signaling a trade.
Key Features:
Combines two proven trend systems.
Reduces false entries through confirmation logic.
Visual BUY/SELL markers.
Built-in alerts for both signals.
Customizable sensitivity and timeframe adaptability.
🎯 Trade only when AlphaTrend and SuperTrend agree — let the market confirm your direction.
Live Volume TickerGives current real-time volume of tick movements denoted in the timeframe of the current candle.
EMA 8/50/200I set it up so that three EMAs are displayed within a single indicator window.
このスクリプトでは、3本のEMA(8間・50期間・200期間)を1つのインジケータ枠で表示しています。
SMA Background + Crossovers (20, 50, 200)This Pine Script plots three Simple Moving Averages (SMA 20, 50, and 200) and visually highlights market conditions using both background colors and crossover signals. The background changes based on where the price is relative to the SMAs — light yellow when below the 20-day, dark yellow when below the 50-day, and red when below the 200-day — providing an instant visual cue of short-, medium-, and long-term weakness.
In addition, the script identifies and marks bullish and bearish crossovers among the SMAs (20/50, 50/200, and 20/200), using upward and downward triangles to signal momentum shifts. Each crossover can also trigger TradingView alerts, allowing the user to automate notifications for trend reversals. Overall, the code combines trend visualization, momentum detection, and alert functionality into one compact indicator.
Indicateur d'executionThis indicator is based on a 50-period RSI and a 50-period SMA. It allows you to visualize the rebounds between the different curves. These rebounds have proven to be relevant for execution.
Le vrai parmi les trois
Turtle Soup Multi Timeframe (D + 30m)
This indicator indicates when there is a turtle soup with a 30-minute timeframe aligned with a one-day timeframe.
CM_Donchian Channels V5NOTE: this indicator was created by @ChrisMoody. I found it really useful, so I upgraded it from v3 to v5
This Indicator replicates the Donchian Channels, but with Alerts Capability
You can set up an alert for when the price breaks above the upper band or when the price breaks below the lower band
It will display respectively a green upward arrow or a red downward arrow
It is possible to change the length of the Indicator
Original Post:
ICT PDA - Gold & BTC (QuickScalp Bias/FVG/OB/OTE + Alerts)What this script does
This indicator implements a complete ICT Price Delivery Algorithm (PDA) workflow tailored for XAUUSD and BTCUSD. It combines HTF bias, OTE zones, Fair Value Gaps, Order Blocks, micro-BOS confirmation, and liquidity references into a single, cohesive tool with early and final alerts. The script is not a mashup for cosmetic plotting; each component feeds the next decision step.
Why this is original/useful
Symbol-aware impulse filter: A dynamic displacement threshold kTune adapts to Gold/BTC volatility (body/ATR vs. per-symbol factor), reducing noise on fast markets without hiding signals.
Scalping preset: “Quick Clean” mode limits drawings to the most recent bars and keeps only the latest FVG/OB zones for a clear chart.
Three display modes: Full, Clean, and Signals-Only to match analysis vs. execution.
Actionable alerts: Early heads-up when price enters OTE in the HTF bias direction, and Final alerts once mitigation + micro-break confirm the setup.
How it works (high-level logic)
HTF Bias: Uses request.security() on a user-selected timeframe (e.g., 240m) and EMA filter. Bias = close above/below HTF EMA.
Dealing Range & OTE: Recent swing high/low (pivot length configurable) define the range; OTE (62–79%) boxes are drawn contextually for up/down ranges.
Displacement: A candle’s body/ATR must exceed kTune and break short-term structure (displacement up/down).
FVG: 3-bar imbalance (bull: low > high ; bear: high < low ). Latest gaps are tracked and extended.
Order Blocks: Last opposite candle prior to a qualifying displacement that breaks recent highs/lows; zones are drawn and extended.
Entry & Alerts:
Long: Bullish bias + price inside buy-OTE + mitigation of a bullish FVG or OB + micro BOS up → “PDA Long (Final)”.
Short: Bearish bias + price inside sell-OTE + mitigation of a bearish FVG or OB + micro BOS down → “PDA Short (Final)”.
Early Alerts: Trigger as soon as price enters OTE in the direction of the active bias.
Inputs & controls (key ones)
Bias (HTF): timeframe minutes, EMA length.
Structure: ATR length, Impulse Threshold (Body/ATR), swing pivot length, OB look-back.
OTE/FVG/OB/LP toggles: show/hide components.
Auto-Tune: per-symbol factors for Gold/BTC + manual tweak.
Display/Performance: View Mode, keep-N latest FVG/OB, limit drawings to last N bars.
Recommended usage (scalping)
Timeframes: Execute on M1–M5 with HTF bias from 120–240m.
Defaults (starting point): ATR=14, Impulse Threshold≈1.6; Gold factor≈1.05, BTC factor≈0.90; Keep FVG/OB=2; last 200–300 bars; View Mode=Clean.
Workflow: Wait for OTE in bias direction → see mitigation (FVG/OB) → confirm with micro BOS → manage risk to nearest liquidity (prev-day H/L or recent swing).
Alerts available
“PDA Early Long/Short”
“PDA Long (Final)” / “PDA Short (Final)”
Attach alerts on “Any alert() function call” or the listed conditions.
Chart & screenshots
Please include symbol and timeframe on screenshots. The on-chart HUD shows the script name and state to help reviewers understand context.
Limitations / notes
This is a discretionary framework. Signals can cluster during news or extreme volatility; use your own risk management. No guarantee of profitability.
Changelog (brief)
v1.2 QuickScalp: added Quick Clean preset, safer array handling, symbol-aware impulse tuning, display modes.
------------------------------
ملخص عربي:
المؤشر يطبق تسلسل PDA عملي للذهب والبتكوين: تحيز من فريم أعلى، مناطق OTE، فجوات FVG، بلوكات أوامر OB، وتأكيد micro-BOS، مع تنبيهات مبكرة ونهائية. تمت إضافة وضع “Quick Clean” لتقليل العناصر على الشارت وحساسية إزاحة تتكيّف مع الأصل. للاستخدام كسكالب: نفّذ على M1–M5 مع تحيز 120–240 دقيقة، وابدأ من الإعدادات المقترحة بالأعلى. هذا إطار سلوكي وليس توصية مالية.
EMA Trend RecognitionEMA Trend Recognition — “Double-Vision Trend Glasses” 👓⚡
In short:
Your chart gets two voices — the Major trend (EMA50 vs EMA200) for the big picture, and the Minor trend (EMA9 vs EMA20) for the short-term mood.
When both sing the same tune, you get a STRONG signal.
When they argue, it’s a WEAK one. Simple. Clean. Effective.
🧭 What this indicator does
Major Trend (Long-Term):
EMA50 above EMA200 → Bullish.
EMA50 below EMA200 → Bearish.
This tells you where the market really wants to go.
Minor Trend (Short-Term):
EMA9 above EMA20 → Bullish.
EMA9 below EMA20 → Bearish.
This shows you what the market feels like right now.
Trend Combinations (The Magic):
🟢 STRONG BUY: Major ↑ + Minor ↑ → full alignment, go with the flow.
🔴 STRONG SELL: Major ↓ + Minor ↓ → both down, no mercy.
🟡 WEAK BUY: Major ↑, Minor ↓ → pullback zone? early dip? maybe.
🟠 WEAK SELL: Major ↓, Minor ↑ → short-term bounce inside a downtrend.
🎨 Background Colors & Info Panel
Bright Green: STRONG BUY
Bright Red: STRONG SELL
Faded Green/Red: WEAK signals (trend disagreement)
Bottom Info Table:
Major Trend: “BULLISH ↑” or “BEARISH ↓”
Minor Trend: same logic, faster tempo
Signal: shows STRONG/WEAK/NEUTRAL status
Price: latest close price (because yes, we all check that)
🔔 Alerts (so you don’t stare all day)
MAJOR TREND CHANGE: “Now Bullish!” or “Now Bearish!”
MINOR TREND CHANGE: quicker reversals
STRONG BUY/SELL: when both trends line up perfectly
(Alerts trigger only on bar close — no disco flicker alerts.)
🧠 Visuals — Simple but Smart
EMA 200 & 50: thick lines = your market highway
EMA 20 & 9: thin lines = your turn signals
Muted colors, so your eyes survive long trading sessions
🚀 Why it’s useful
Trend Trading: Filter out noise, ride the momentum.
Pullback Entries: WEAK signals often mark “turning back in” moments.
System Building: Use “STRONG” as a market bias filter, “MINOR” flips as entry triggers.
⚙️ Pro Tips
Timeframes: EMAs are fixed, but meaning scales with TF.
On 1H or 4H, they often reflect daily/weekly momentum.
Context: Combine with structure (HH/HL/LH/LL), zones (OB/FVG), or volume.
Risk Management: Signal ≠ free money. Always define SL/TP and RR.
⚠️ Disclaimer
No financial advice, no crystal ball.
This indicator helps you see — but you still decide when to act.
Backtest and paper-trade before going live.
Short Pitch (for the top “Summary” line on TradingView):
“Two EMA pairs, one clear trend compass — Major shows direction, Minor sets the rhythm. When both agree, it’s STRONG. When they argue, it’s WEAK. Clean, fast, and easy to read.” ✅
Feel free to commend and if u have inspirations to add something, let me know, cheers :D
Equinox Wolf - ICT MacrosEquinox Wolf – ICT Macros plots the key ICT session macro windows on your chart so you can focus on how price behaves inside each time range. The script anchors every session to America/New_York time, updates live or in backtesting, and only keeps the current trading day on screen, avoiding clutter from prior sessions. Each window can be toggled individually, the box fill, borders, and high/low/equilibrium levels share global color and style controls, and the levels extend forward until the next macro begins. Use it to highlight the ICT LND, NYAM, lunch, afternoon, and final-hour ranges and monitor how price reacts around their highs, lows, and midpoints.
VIX SPY FOREX Commodities BitcoinCompilation of market data as of 10/18 showing correlations between corresponding sectors.
Multi-Timeframe Stochastic (4x Konfiguracja + Schodki)Skrypt stoch z wielu TF można sobie ustawiać pod siebie.
HA Reversal + Doji 🔥 Heikin Ashi Reversal + Stochastic Filter (Precision Entry System)
This indicator is designed to detect high–quality reversal entries using a Heikin Ashi candle pattern (Doji + 2 no–wick confirmation) combined with a strict Stochastic filter that uses memory of extreme touches to control trade direction.
✅ Entry Logic
🔹 Bullish BUY Signal
A BUY is triggered only when:
A valid reversal pattern is detected:
Doji candle (pivot) 3 bars back
Followed by 2 bullish candles with no lower wicks
Stochastic touched Oversold (≤ 20) at least once before the signal
Pattern + Stoch alignment = BUY
🔹 Bearish SELL Signal
A SELL is triggered only when:
Valid bearish reversal pattern:
Doji candle (pivot) 3 bars back
Followed by 2 bearish candles with no upper wicks
Stochastic touched Overbought (≥ 80) before the signal
Pattern + Stoch alignment = SELL
🧠 Stochastic “Memory” Filter
This is not a basic OB/OS filter — it uses event memory:
If Stochastic touches Oversold, the system becomes ready for BUY
If it touches Overbought, it becomes ready for SELL
Both directions can be armed at once
Once a BUY or SELL actually triggers, memory resets to neutral
Prevents “signal spam” during chop and keeps direction meaningful
🎯 Why This Works
✔ Filters out random countertrend noise
✔ Only trades after momentum exhaustion
✔ Uses strict Heikin Ashi reversal structure
✔ Works great across crypto, forex, indices, metals
✔ Designed for precision entries and swing continuation traps
⚙️ Customizable Options
Doji detection mode (body % / ticks / hybrid)
Wick tolerance
Heikin Ashi source (chart or calculated)
Stochastic source (raw or smoothed)
Option to avoid duplicate same-direction signals
Visual aids: pattern markers, blocked signals, doji debugging
📌 Best Use Cases
Reversal scalping on 5m/15m
Swing entries on 1H/4H
Trend exhaustion confirmation
Smart Money Concepts entry refinement
Entry timing after liquidity sweeps
🚨 Important
This is not a repainting system. Signals are generated at bar close only. Always combine with proper risk management and market context.
Let me know if you want:
✅ A shorter description
✅ An SEO optimized TradingView title
✅ A strategy version with backtesting
✅ Alerts version for automation
Scalping m15 indicator RovTradingScalping Indicator Combining UT Bot and Linear Regression Candles.
UT Bot uses ATR Trailing Stop to identify entry points.
Linear Regression Candles smooth price action and provide trend signals.
The indicator is suitable for scalping trading on the M15 timeframe.
ANF Bottom Watch + Retail Sector Alert (v6) Detect when ANF crosses above its 50-day moving average (technical recovery signal).
Show visual + alert when RSI recovers above 40 (momentum bottom confirmation).
Track peer strength (URBN, LULU, TPR, GPS) — if 3+ peers are trading above their own 50-day MA, the script flags a sector rotation (bullish context).
Give a “Bottom Watch Active” label when all three signals align.
VWAP&EMA 10/20/60/120his script is a clean and straightforward technical analysis tool designed to provide traders with a clear view of market trends and key price levels by overlaying five essential moving averages onto your chart:
Volume Weighted Average Price (VWAP)
Four (4) Exponential Moving Averages (EMAs) at lengths 10, 20, 60, and 120.
By combining these indicators, traders can quickly assess short-term momentum, medium-term trends, and long-term direction, all while referencing the volume-weighted average price as a key benchmark for institutional activity.
Features & Components
This indicator plots five distinct lines on your chart, each color-coded for easy identification:
VWAP (Volume Weighted Average Price)
Plot: Plotted as a bright blue line.
Purpose: The VWAP represents the true average price of an asset for the day (or session), weighted by volume. It is a critical level for many day traders and institutions.
Prices above VWAP are often considered bullish.
Prices below VWAP are often considered bearish.
It frequently acts as a dynamic level of support or resistance.
EMA 10 (Short-Term Momentum)
Plot: Plotted as a green line.
Purpose: This is the fastest-moving average, reflecting the most recent price action and short-term momentum.
EMA 20 (Short-Term Trend)
Plot: Plotted as a red line.
Purpose: Often used in conjunction with the EMA 10, this average helps confirm the immediate trend. Crossovers between the 10 and 20 EMAs can signal potential entry or exit points.
EMA 60 (Medium-Term Trend)
Plot: Plotted as an orange line.
Purpose: This average provides a clearer picture of the medium-term trend, filtering out much of the short-term noise. It often serves as a significant dynamic support or resistance level.
EMA 120 (Long-Term Trend)
Plot: Plotted as a purple line.
Purpose: This is the slowest-moving average in the script, defining the major underlying trend. As long as the price remains above the EMA 120, the long-term bias is generally considered bullish, and vice-versa.
How to Use This Indicator
This indicator is versatile and can be adapted to various trading strategies:
Trend Confirmation: Use the alignment of the EMAs to determine the trend.
Strong Bullish Trend: Price > EMA 10 > EMA 20 > EMA 60 > EMA 120.
Strong Bearish Trend: Price < EMA 10 < EMA 20 < EMA 60 < EMA 120.
Dynamic Support & Resistance: Watch how the price reacts to each of the five lines. In an uptrend, the EMAs and VWAP will often act as "bounces" or support levels for pullbacks. In a downtrend, they will act as resistance.
Entry & Exit Signals (Crossovers):
A bullish crossover (e.g., EMA 10 crossing above EMA 20) can signal buying interest.
A bearish crossover (e.g., EMA 10 crossing below EMA 20) can signal selling pressure.
VWAP Confluence: Pay special attention to areas where an EMA (like the 20 or 60) crosses or travels close to the VWAP. This "confluence" can create a very strong and significant price level. For example, if the price pulls back to the VWAP and also finds support at the EMA 60, it can be a high-probability trade setup.
Moving Average Trend Strategy V4.1 — Revised Version (Selectable✅ **Version Notes (V4.0)**
| Feature | Description |
| --------------------------------------- | -------------------------------------------------------- |
| 🧠 **Moving Average Type Options** | Choose from EMA / SMA / HMA / WMA |
| 🧱 **Take-Profit / Stop-Loss Switches** | Can be enabled or disabled independently |
| ⚙️ **Add Position Function** | Can be enabled or disabled independently |
| 🔁 **Add Position Signal Source** | Selectable between MA Crossover / MACD / RCI / RSI |
| 💹 **Adjustable Parameters** | All periods and percentages are customizable in settings |
---
✅ **Update Summary:**
| Function | Description |
| -------------------------------------- | --------------------------------------------------------------------- |
| **MA Type Selection** | Choose EMA / SMA / HMA / WMA in chart settings |
| **Take-Profit / Stop-Loss Percentage** | Configurable in the “Take-Profit & Stop-Loss” group |
| **Add / Reduce Position Percentage** | Adjustable separately in the “Add/Reduce Position” group |
| **MA Periods** | Customizable in the “Moving Average Parameters” section |
| **Code Structure** | Logic unchanged — only parameterization and selection functions added |
---
### **Strategy Recommendations:**
* **Trending Market:** Prefer EMA trend tracking or SAR indicators
* **Range-Bound Market:** Use ATR-based volatility stop-loss
* **Before Major Events:** Consider option hedging
* **Algorithmic Trading:** Recommend ATR + partial take-profit combination strategy
---
### **Key Parameter Optimization Logic:**
* Backtest different **ATR multipliers** (2–3× ATR)
* Test **EMA periods** (10–50 periods)
* Optimize **partial take-profit ratios**
* Adjust **maximum drawdown tolerance** (typically 30–50% of profit)
---
### **Risk Control Tips:**
* Avoid overly tight stop-losses that trigger too frequently
* During strong trends, consider widening take-profit targets
* Confirm trend continuation with **volume analysis**
* Adjust parameters based on **timeframe** (e.g., Daily vs Hourly)
---
### **Practical Example (Forex: EUR/USD):**
* **Entry:** Go long on breakout above 1.1200
* **Initial Stop-Loss:** 1.1150 (50 pips)
* **When profit reaches 1.1300:**
* Close 50% of position
* Move stop-loss to 1.1250 (lock in 50 pips profit)
* **When price rises to 1.1350:**
* Move stop-loss to 1.1300 (lock in 100 pips profit)
* **Final Outcome:**
* Price retraces to 1.1300, triggering take-profit
This method secured over **80% of trend profits** during the 2023 EUR rebound, capturing **23% more profit** compared to fixed take-profit strategies (based on backtest results).