OPEN-SOURCE SCRIPT
מעודכן Adaptive Dual MA Trend Filter

Adaptive Dual MA Trend Filter is a versatile Pine Script™ indicator that delivers clear, reliable trend signals using customizable moving averages:
Ideal for swing traders and intraday scalpers alike, Multi‑Source Double‑Filter Trend offers both “set‑and‑forget” simplicity and deep customization for power users.
Usage
Enjoy clearer trend identification and smoother trade signals!
Disclaimer
This script is for educational and informational purposes only. Not financial advice. Use at your own risk.
- Dual‑Stage Filtering – Apply any traditional MA (SMA, EMA, VWMA, HMA, RMA, TEMA, DEMA, FRAMA, TRIMA) or advanced smoothing (ALMA, T3) as your “main” and “filter” MAs. The filter MA is double‑smoothed for noise suppression, then converted into a robust “double‑filtered” baseline.
- Flexible Inputs – Select lengths, sources (close, high, low, hl2), offsets, sigma, and volume factors to tailor the responsiveness and smoothness to your favorite timeframe or asset class.
- Intuitive Signals – The script detects confirmed bullish (green) and bearish (red) trend shifts as:
- Circle marker on the MA line
- Triangle arrows below/above bars
- Full candles and MA line colored by current trend
- Clean Overlay – Works directly on your price chart, with optional semi‑transparent fills for extra visual clarity.
- Theme Support – Choose from Vibrant, Pastel, Neon, Classic, Monochrome, Solarized, or Material palettes for seamless chart styling.
Ideal for swing traders and intraday scalpers alike, Multi‑Source Double‑Filter Trend offers both “set‑and‑forget” simplicity and deep customization for power users.
Usage
- Add to chart → Inputs → tweak MA types/lengths
- Watch for color changes and markers
- Combine with volume or momentum filters for entry confirmation
Enjoy clearer trend identification and smoother trade signals!
Disclaimer
This script is for educational and informational purposes only. Not financial advice. Use at your own risk.
הערות שחרור
fixed grouping name errorהערות שחרור
updated default valuesהערות שחרור
updated chart and plottingסקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.