EMA Trend Confirmation with Alerts此脚本是基于EMA 200周期 50周期 20周期加以合并并进行改进的一个脚本指标,主要作用是用于观察趋势走向,其中有上升下降和震荡趋势,经过多数测试,此指标适用于短线交易,推荐周期为20或15,大周期和长线交易详见RSI+EMA结合指标
This script is an improved script indicator based on the EMA 200 period, 50 period, and 20 period. Its main function is to observe the trend direction, including up, down, and oscillating trends. After many tests, this indicator is suitable for short-term trading, and the recommended period is 20 or 15. For large-cycle and long-term trading, please refer to the RSI+EMA combination indicator.
Indicators and strategies
Zen HA BackgroundThis script colors the chart background based on Heikin Ashi candle direction.
It filters out noise by waiting for 2 confirmed candles in the same direction with real body size.
Clean, simple, and easy on the eyes.
Great for scalpers and trend traders who want visual confirmation without clutter.
FEDFUNDS Rate Divergence Oscillator [BackQuant]FEDFUNDS Rate Divergence Oscillator
1. Concept and Rationale
The United States Federal Funds Rate is the anchor around which global dollar liquidity and risk-free yield expectations revolve. When the Fed hikes, borrowing costs rise, liquidity tightens and most risk assets encounter head-winds. When it cuts, liquidity expands, speculative appetite often recovers. Bitcoin, a 24-hour permissionless asset sometimes described as “digital gold with venture-capital-like convexity,” is particularly sensitive to macro-liquidity swings.
The FED Divergence Oscillator quantifies the behavioural gap between short-term monetary policy (proxied by the effective Fed Funds Rate) and Bitcoin’s own percentage price change. By converting each series into identical rate-of-change units, subtracting them, then optionally smoothing the result, the script produces a single bounded-yet-dynamic line that tells you, at a glance, whether Bitcoin is outperforming or underperforming the policy backdrop—and by how much.
2. Data Pipeline
• Fed Funds Rate – Pulled directly from the FRED database via the ticker “FRED:FEDFUNDS,” sampled at daily frequency to synchronise with crypto closes.
• Bitcoin Price – By default the script forces a daily timeframe so that both series share time alignment, although you can disable that and plot the oscillator on intraday charts if you prefer.
• User Source Flexibility – The BTC series is not hard-wired; you can select any exchange-specific symbol or even swap BTC for another crypto or risk asset whose interaction with the Fed rate you wish to study.
3. Math under the Hood
(1) Rate of Change (ROC) – Both the Fed rate and BTC close are converted to percent return over a user-chosen lookback (default 30 bars). This means a cut from 5.25 percent to 5.00 percent feeds in as –4.76 percent, while a climb from 25 000 to 30 000 USD in BTC over the same window converts to +20 percent.
(2) Divergence Construction – The script subtracts the Fed ROC from the BTC ROC. Positive values show BTC appreciating faster than policy is tightening (or falling slower than the rate is cutting); negative values show the opposite.
(3) Optional Smoothing – Macro series are noisy. Toggle “Apply Smoothing” to calm the line with your preferred moving-average flavour: SMA, EMA, DEMA, TEMA, RMA, WMA or Hull. The default EMA-25 removes day-to-day whips while keeping turning points alive.
(4) Dynamic Colour Mapping – Rather than using a single hue, the oscillator line employs a gradient where deep greens represent strong bullish divergence and dark reds flag sharp bearish divergence. This heat-map approach lets you gauge intensity without squinting at numbers.
(5) Threshold Grid – Five horizontal guides create a structured regime map:
• Lower Extreme (–50 pct) and Upper Extreme (+50 pct) identify panic capitulations and euphoria blow-offs.
• Oversold (–20 pct) and Overbought (+20 pct) act as early warning alarms.
• Zero Line demarcates neutral alignment.
4. Chart Furniture and User Interface
• Oscillator fill with a secondary DEMA-30 “shader” offers depth perception: fat ribbons often precede high-volatility macro shifts.
• Optional bar-colouring paints candles green when the oscillator is above zero and red below, handy for visual correlation.
• Background tints when the line breaches extreme zones, making macro inflection weeks pop out in the replay bar.
• Everything—line width, thresholds, colours—can be customised so the indicator blends into any template.
5. Interpretation Guide
Macro Liquidity Pulse
• When the oscillator spends weeks above +20 while the Fed is still raising rates, Bitcoin is signalling liquidity tolerance or an anticipatory pivot view. That condition often marks the embryonic phase of major bull cycles (e.g., March 2020 rebound).
• Sustained prints below –20 while the Fed is already dovish indicate risk aversion or idiosyncratic crypto stress—think exchange scandals or broad flight to safety.
Regime Transition Signals
• Bullish cross through zero after a long sub-zero stint shows Bitcoin regaining upward escape velocity versus policy.
• Bearish cross under zero during a hiking cycle tells you monetary tightening has finally started to bite.
Momentum Exhaustion and Mean-Reversion
• Touches of +50 (or –50) come rarely; they are statistically stretched events. Fade strategies either taking profits or hedging have historically enjoyed positive expectancy.
• Inside-bar candlestick patterns or lower-timeframe bearish engulfings simultaneously with an extreme overbought print make high-probability short scalp setups, especially near weekly resistance. The same logic mirrors for oversold.
Pair Trading / Relative Value
• Combine the oscillator with spreads like BTC versus Nasdaq 100. When both the FED Divergence oscillator and the BTC–NDQ relative-strength line roll south together, the cross-asset confirmation amplifies conviction in a mean-reversion short.
• Swap BTC for miners, altcoins or high-beta equities to test who is the divergence leader.
Event-Driven Tactics
• FOMC days: plot the oscillator on an hourly chart (disable ‘Force Daily TF’). Watch for micro-structural spikes that resolve in the first hour after the statement; rapid flips across zero can front-run post-FOMC swings.
• CPI and NFP prints: extremes reached into the release often mean positioning is one-sided. A reversion toward neutral in the first 24 hours is common.
6. Alerts Suite
Pre-bundled conditions let you automate workflows:
• Bullish / Bearish zero crosses – queue spot or futures entries.
• Standard OB / OS – notify for first contact with actionable zones.
• Extreme OB / OS – prime time to review hedges, take profits or build contrarian swing positions.
7. Parameter Playground
• Shorten ROC Lookback to 14 for tactical traders; lengthen to 90 for macro investors.
• Raise extreme thresholds (for example ±80) when plotting on altcoins that exhibit higher volatility than BTC.
• Try HMA smoothing for responsive yet smooth curves on intraday charts.
• Colour-blind users can easily swap bull and bear palette selections for preferred contrasts.
8. Limitations and Best Practices
• The Fed Funds series is step-wise; it only changes on meeting days. Rapid BTC oscillations in between may dominate the calculation. Keep that perspective when interpreting very high-frequency signals.
• Divergence does not equal causation. Crypto-native catalysts (ETF approvals, hack headlines) can overwhelm macro links temporarily.
• Use in conjunction with classical confirmation tools—order-flow footprints, market-profile ledges, or simple price action to avoid “pure-indicator” traps.
9. Final Thoughts
The FEDFUNDS Rate Divergence Oscillator distills an entire macro narrative monetary policy versus risk sentiment into a single colourful heartbeat. It will not magically predict every pivot, yet it excels at framing market context, spotting stretches and timing regime changes. Treat it as a strategic compass rather than a tactical sniper scope, combine it with sound risk management and multi-factor confirmation, and you will possess a robust edge anchored in the world’s most influential interest-rate benchmark.
Trade consciously, stay adaptive, and let the policy-price tension guide your roadmap.
Night Session Highlight (Valehson)Highlights time range from 21:00 to 09:00 with a gray background with 90% transparency.
TFPS_EngineLibrary "TFPS_Engine"
f_calculate_lead_lag(series1, series2, length, max_lag)
Parameters:
series1 (float)
series2 (float)
length (int)
max_lag (int)
f_calculate_pressure_score(spx_ticker, vix_ticker, dxy_ticker, us10y_ticker, benchmark_source, trend_lookback, score_smoothing, use_dynamic_weights, corr_lookback, w_spx, w_vix, w_dxy, w_us10y, zscore_lookback, max_lag)
Parameters:
spx_ticker (string)
vix_ticker (string)
dxy_ticker (string)
us10y_ticker (string)
benchmark_source (float)
trend_lookback (int)
score_smoothing (simple int)
use_dynamic_weights (bool)
corr_lookback (int)
w_spx (float)
w_vix (float)
w_dxy (float)
w_us10y (float)
zscore_lookback (int)
max_lag (int)
LeadLagOutput
Fields:
best_lag (series int)
max_corr (series float)
TFPS_Output
Fields:
historical_score (series float)
smoothed_score (series float)
z_score (series float)
regime_signal (series int)
lead_lag_bars (series int)
lead_lag_corr (series float)
weight_spx (series float)
weight_vix (series float)
weight_dxy (series float)
weight_us10y (series float)
Time CyclesUses Zeussy's time and price cycles. This shows the Asia and London sessions, and has the PM session broken into 90 minute cycles with the option of toggling 30m cycles within them.
Momentum Oscillator ModifiedThis indicator is a custom momentum oscillator enhanced with True Range-adjusted price logic and dynamic Bollinger Bands, offering a refined way to track price strength, momentum shifts, and overbought/oversold extremes with reduced noise.
Key Features:
Dynamic Price Oscillator:
Measures momentum using both price change and a volatility-adjusted price for greater accuracy.
Smoothing factor lets you fine-tune the balance between responsiveness and noise filtering.
True Range-Based Volatility Adjustment:
Integrates true range calculations to adapt to current volatility, making signals more robust during different market conditions.
Adaptive Bollinger Bands:
Two sets of custom Bollinger Bands (standard and expanded) are drawn around the oscillator, adapting over time.
These bands help identify when momentum is exceptionally strong or weak relative to recent history.
Special fills dynamically highlight when the oscillator breaks above/below the bands, signaling potential trend extremes.
Customization:
Easily adjust lookback length and smoothing factor to fit your personal trading style (e.g., scalping or swing trading).
How to Use:
Watch for the oscillator crossing above the green Bollinger Bands or below the red bands for potential overbought/oversold or breakout scenarios.
Expanded bands provide a "super extreme" zone which may hint at exhaustion or trend climax.
The dynamic mean (black line) gives a visual reference for the normalized momentum level.
Range Filter Strategy [Arabic Real Backtest]استراتيجية مرشح النطاق - اختبار واقعي
نظرة عامة
استراتيجية مرشح النطاق المتقدمة مصممة للاختبار الواقعي مع توقيت تنفيذ دقيق وإدارة مخاطر شاملة. تم بناؤها خصيصًا لأسواق العملات الرقمية مع معلمات قابلة للتخصيص لأصول وفترات زمنية مختلفة.
الخوارزمية الأساسية
تقنية مرشح النطاق:
* حساب متوسط النطاق السلس باستخدام فلترة مزدوجة للـ EMA
* فلترة أسعار استنادًا إلى النطاق الديناميكي لتحديد اتجاه الاتجاه
* نظام فلترة ضد الضوضاء لتقليل الإشارات الخاطئة
* تتبع الزخم الاتجاهي مع عدادات للأعلى/للأسفل
الميزات الرئيسية
**التنفيذ الفوري (بدون تأخير)**
* معالجة الأوامر عند كل نقطة: تنفيذ فوري دون انتظار إغلاق الشمعة
* تكامل مكبر الشمعة للحصول على دقة داخل الشمعة
* الحساب في كل نقطة لضمان الاستجابة القصوى
* تجاوز OHLC القياسي لزيادة الدقة
**محاكاة الأسعار الواقعية**
* تسعير الدخول باستخدام HL2 (High+Low)/2 لملء واقعي
* محاكاة للبُعد العازل للسعر القابل للتخصيص
* إنشاء انزلاق عشوائي (من 0 إلى الحد الأقصى للانزلاق)
* التحقق من سيولة السوق قبل الدخول
**فلترة الإشارات المتقدمة**
* فلترة استنادًا إلى الحجم مع نسبة قابلة للتخصيص
* نظام تأكيد الإشارة اختياري (من 1 إلى 3 شموع)
* منطق مضاد للتكرار لمنع الإشارات المكررة
* التحكم في حد التداول اليومي
**إدارة المخاطر**
* نسب ثابتة للمخاطرة: العائد مع حساب دقيق للنقاط
* تنفيذ وقف الخسارة وجني الأرباح تلقائيًا
* إدارة حجم المركز
* تحديد الحد الأقصى للصفقات اليومية
**نظام التنبيهات**
* تنبيهات فورية متزامنة مع تنفيذ الاستراتيجية
* أنواع متعددة من التنبيهات: إعداد، دخول، خروج، حالة
* تخصيص تنسيق الرسائل مع تضمين السعر/الوقت
* تكامل مع لوحة تنبيهات TradingView
المعلمات الافتراضية
محسن لرسوم بيانية لفترة 5 دقائق لبيتكوين:
* فترة العينة: 100
* معامل النطاق: 3.0
* المخاطرة: 50 نقطة
* المكافأة: 100 نقطة (نسبة 1:2)
* بُعد الانتشار: 2.0 نقطة
* الحد الأقصى للانزلاق: 1.0 نقطة
منطق الإشارة
**شروط الدخول الطويل:**
* السعر فوق خط مرشح النطاق
* تأكيد الزخم الصاعد
* تلبية متطلبات الحجم (إذا تم تمكينها)
* اكتمال فترة التأكيد (إذا تم تمكينها)
* لم يتم تجاوز حد الصفقات اليومية
**شروط الدخول القصير:**
* السعر تحت خط مرشح النطاق
* تأكيد الزخم الهابط
* تلبية متطلبات الحجم (إذا تم تمكينها)
* اكتمال فترة التأكيد (إذا تم تمكينها)
* لم يتم تجاوز حد الصفقات اليومية
العناصر البصرية
* خط مرشح النطاق مع تلوين الاتجاه
* الأشرطة العليا والسفلى المستهدفة
* علامات إشارات الدخول
* صناديق نسبة المخاطرة/العائد
* لوحة إعدادات حية
خيارات التخصيص
**التكيف مع السوق:**
* تعديل فترة العينة لبيانات الزمن المختلفة
* تعديل معامل النطاق لمستويات التقلب المختلفة
* تكوين الانتشار/الانزلاق لوسطاء مختلفين
* تحديد النسب المناسبة للمخاطرة/العائد حسب أسلوب التداول
**ضوابط الفلترة:**
* تمكين/تعطيل فلترة الحجم
* تعديل متطلبات التأكيد
* تعيين حدود الصفقات اليومية
* تخصيص تفضيلات التنبيه
الميزات المتعلقة بالأداء
* نتائج اختبار واقعية متوافقة مع التداول المباشر
* القضاء على تحيز المستقبل
* محاكاة تنفيذ الأوامر بشكل صحيح
* إحصائيات تداول شاملة
تكوين التنبيه
**أنواع التنبيهات المتاحة:**
* إشارات الدخول مع معلومات التداول الكاملة
* تنبيهات الإعداد للتحضير المبكر
* إشعارات الخروج لإدارة المراكز
* فلترة التغيرات في الاتجاه لظروف السوق
**تنسيق الرسائل:**
رمز - الإجراء | السعر: XX.XX | الوقف: XX.XX | الهدف: XX.XX | الوقت: HH\:MM
التوصيات لاستخدام الاستراتيجية
**الإعدادات المثلى:**
* بيتكوين/العملات الرقمية الرئيسية: المعلمات الافتراضية
* الفوركس: تقليل فترة العينة إلى 50-70، المعامل إلى 2.0-2.5
* الأسهم: تقليل فترة العينة إلى 30-50، المعامل إلى 1.0-1.8
* الذهب: فترة العينة 60-80، المعامل 1.5-2.0
**تكوين TradingView:**
* إعادة الحساب: "على كل نقطة"
* الأوامر: "استخدام مكبر الشمعة"
* البيانات: يوصى باستخدام التغذية الحية
إخلاء المسؤولية
تم تصميم هذه الاستراتيجية لأغراض تعليمية وتحليلية. الأداء السابق لا يضمن النتائج المستقبلية. يجب دائمًا إجراء اختبارات شاملة على التداول الورقي قبل التنفيذ المباشر. يجب أخذ ظروف السوق، تنفيذ الوسيط، والتحمل الشخصي للمخاطر في الاعتبار عند استخدام أي نظام تداول آلي.
Range Filter Strategy - Real Backtesting
# Overview
Advanced Range Filter strategy designed for realistic backtesting with precise execution timing and comprehensive risk management. Built specifically for cryptocurrency markets with customizable parameters for different assets and timeframes.
Core Algorithm
Range Filter Technology:
- Smooth Average Range calculation using dual EMA filtering
- Dynamic range-based price filtering to identify trend direction
- Anti-noise filtering system to reduce false signals
- Directional momentum tracking with upward/downward counters
Key Features
Real-Time Execution (No Delay)
- Process orders on tick: Immediate execution without waiting for bar close
- Bar magnifier integration for intrabar precision
- Calculate on every tick for maximum responsiveness
- Standard OHLC bypass for enhanced accuracy
Realistic Price Simulation
- HL2 entry pricing (High+Low)/2 for realistic fills
- Configurable spread buffer simulation
- Random slippage generation (0 to max slippage)
- Market liquidity validation before entry
Advanced Signal Filtering
- Volume-based filtering with customizable ratio
- Optional signal confirmation system (1-3 bars)
- Anti-repetition logic to prevent duplicate signals
- Daily trade limit controls
Risk Management
- Fixed Risk:Reward ratios with precise point calculation
- Automatic stop loss and take profit execution
- Position size management
- Maximum daily trades limitation
Alert System
- Real-time alerts synchronized with strategy execution
- Multiple alert types: Setup, Entry, Exit, Status
- Customizable message formatting with price/time inclusion
- TradingView alert panel integration
Default Parameters
Optimized for BTC 5-minute charts:
- Sampling Period: 100
- Range Multiplier: 3.0
- Risk: 50 points
- Reward: 100 points (1:2 R:R)
- Spread Buffer: 2.0 points
- Max Slippage: 1.0 points
Signal Logic
Long Entry Conditions:
- Price above Range Filter line
- Upward momentum confirmed
- Volume requirements met (if enabled)
- Confirmation period completed (if enabled)
- Daily trade limit not exceeded
Short Entry Conditions:
- Price below Range Filter line
- Downward momentum confirmed
- Volume requirements met (if enabled)
- Confirmation period completed (if enabled)
- Daily trade limit not exceeded
Visual Elements
- Range Filter line with directional coloring
- Upper and lower target bands
- Entry signal markers
- Risk/Reward ratio boxes
- Real-time settings dashboard
Customization Options
Market Adaptation:
- Adjust Sampling Period for different timeframes
- Modify Range Multiplier for various volatility levels
- Configure spread/slippage for different brokers
- Set appropriate R:R ratios for trading style
Filtering Controls:
- Enable/disable volume filtering
- Adjust confirmation requirements
- Set daily trade limits
- Customize alert preferences
Performance Features
- Realistic backtesting results aligned with live trading
- Elimination of look-ahead bias
- Proper order execution simulation
- Comprehensive trade statistics
Alert Configuration
Alert Types Available:
- Entry signals with complete trade information
- Setup alerts for early preparation
- Exit notifications for position management
- Filter direction changes for market context
Message Format:
Symbol - Action | Price: XX.XX | Stop: XX.XX | Target: XX.XX | Time: HH:MM
Usage Recommendations
Optimal Settings:
- Bitcoin/Major Crypto: Default parameters
- Forex: Reduce sampling period to 50-70, multiplier to 2.0-2.5
- Stocks: Reduce sampling period to 30-50, multiplier to 1.0-1.8
- Gold: Sampling period 60-80, multiplier 1.5-2.0
TradingView Configuration:
- Recalculate: "On every tick"
- Orders: "Use bar magnifier"
- Data: Real-time feed recommended
Risk Disclaimer
This strategy is designed for educational and analytical purposes. Past performance does not guarantee future results. Always test thoroughly on paper trading before live implementation. Consider market conditions, broker execution, and personal risk tolerance when using any automated trading system.
EMA 20/50/200 - M3EDGE Clean Mode™The M3EDGE Clean Mode™ indicator is designed to spot the cleanest, most aligned market phases.
It filters out market noise and highlights only the high-probability trending zones where the odds are in your favor.
How it works:
• Tracks 3 key EMAs (20, 50, 200)
• Confirms directional alignment across short, medium, and long-term trends
• Colors optimal market phases to identify high-probability setups
• Optional display of the dynamic EMA50/EMA200 zone to visualize the trend’s core
Purpose:
🎯 Avoid choppy, sideways market conditions
🎯 Focus only on smooth, directional price moves
🎯 Reduce false signals and improve chart clarity
Best use cases:
• Ideal for scalping, day trading, and swing trading
• Works on all markets: indices, commodities, forex, crypto
• Perfect when combined with macro analysis and other M3EDGE™ setups
💡 Pro tip: The M3EDGE Clean Mode™ isn’t just another indicator — it’s a quality filter that keeps you out of messy conditions. When it lights up, you know the road ahead is clear.
Circuit Breaker Table (NSE Style)🛡️ NSE Circuit Breaker Table – With Volatility-Based Band Support
This script displays a real-time circuit breaker table for any stock, showing the Upper and Lower circuit limits in a clean 2x2 grid. It’s especially useful for Indian traders monitoring NSE-listed stocks.
✅ Key Features:
📊 Upper & Lower Limits based on the previous day’s close
⚡ Optional ATR-based dynamic volatility band calculation
🎨 Customizable font sizes (Small / Medium / Large)
✅ Table neatly positioned on the top-right corner of your chart
🟢 Upper circuit shown in green, 🔴 lower circuit in red
Works on all NSE stocks and adapts automatically to charted symbols
⚙️ Customization Options:
Use static percentage bands (e.g., 10%)
Or enable ATR mode to reflect dynamic circuit potential based on recent volatility
This tool helps you stay aware of where a stock might get halted — useful for momentum traders, circuit breakout traders, and anyone monitoring volatility limits during intraday sessions.
Dual Session ORB S/R Lines Pro by Yendor_BShort description:
Clean opening-range breakout support/resistance lines for London and US sessions with confirmed breakout labels and alert-ready signals. UTC-based, adjustable start point, customizable styling, minimal clutter.
Detailed description:
What it does:
Captures the Opening Range (default first 15 minutes) for London and New York (US) sessions in UTC, plots the high and low as support/resistance lines, and marks confirmed breakouts when price closes beyond those levels. Lines can begin at either the range end or session start and persist for the configured session length.
Key Features:
ORB defined over the first N minutes after session open (configurable, default 15).
Two sessions: London and US (New York) with separate start times.
High/low support & resistance lines per session:
Selectable start point: Range End or Session Start.
Independently customizable color, width, and style (solid/dashed/dotted) for each high and low.
Confirmed breakout labels: only on the first candle that closes beyond the ORB high or low after the range completes (prior close must be inside).
Alerts and alertconditions for breakout long/short per session, usable in TradingView’s alert dialog.
Fully UTC-based. Works on any timeframe; 1-minute or 5-minute recommended for precision.
Minimal visual clutter; no persistent shaded boxes in this version.
Inputs explained:
ORB Duration (minutes): Length of the opening range used to calculate session high and low.
Session Length (hours): How long the S/R lines remain active (typically full session).
London / US Start (UTC): Session open times in UTC.
Line Start Point: Choose whether the lines begin at the range end or at the session start.
High/Low Styling: Independent color, thickness, and style for each session’s high and low.
Breakout Labels: Toggle one-time confirmed breakout annotations.
Alerts: Enable breakout alert messages.
Example workflows:
Monitor the first 15 minutes of the London session.
After the range, wait for a candle to close beyond the high or low for a confirmed breakout.
Use the label or alert to trigger entry logic (retest, continuation, etc.).
Repeat for the US session; compare overlaps for higher conviction.
Alert setup:
Open the Alerts panel. Choose one of the built-in alertconditions: London Breakout Long, London Breakout Short, US Breakout Long, US Breakout Short. Set frequency to Once Per Bar Close. Customize notification/webhook payload if automating.
Preset suggestions:
Standard London ORB: 15 minute range, lines from range end, green high / lime low.
Standard US ORB: 15 minute range, lines from range end, blue high / aqua low.
Overlap Bias: Both sessions active, lines start from session start, differentiated styles.
Tips & best practices:
Combine with external volume or volatility filters to reduce false breakouts. Use on correlated pairs to observe consistent session structure. Treat broken ORB levels as flipped support/resistance on revisit. Prefer confirmed closes beyond lines rather than wick touches.
Limitations / disclaimer:
Provides structural visualization and breakout signaling; does not guarantee profitability. Always apply proper risk management and confirm with additional context. Backtest settings before live use.
Tags:
#ORB #OpeningRangeBreakout #SessionTrading #LondonSession #NewYorkSession #SupportResistance #Breakout #Intraday #Pinev6 #TradingView #Forex #TrendStructure #Alerts #USD #EURUSD #TradingSignals #UTCBased #PriceAction #MarketStructure #IntradayBreakouts
Near 200 EMA (1H, 2H, 1D) (Aditi Varshney )it will show if the price of script is near 1 h , 2 h , and 1 D or not .
Advanced Liquidity & FVG Detector With Entry/Exit SignalsThe Advanced Liquidity & FVG Detector is more than just an indicator—it's a complete trading system that brings institutional-grade market analysis to individual traders. By combining liquidity detection, fair value gap analysis, sweep/grab pattern recognition, and intelligent risk management, this indicator provides everything needed for sophisticated market analysis and high-probability trading opportunities.
Whether you're a day trader, swing trader, or position trader, this indicator adapts to your style and timeframe, providing the insights needed to make informed trading decisions with confidence. The Pine Script v6 compatibility ensures future-proof performance and seamless integration with the latest TradingView features.
Transform your trading experience with professional-grade market structure analysis—tradable insights delivered in real-time, right on your chart.
FunctionADFLibrary "FunctionADF"
Augmented Dickey-Fuller test (ADF), The ADF test is a statistical method used to assess whether a time series is stationary – meaning its statistical properties (like mean and variance) do not change over time. A time series with a unit root is considered non-stationary and often exhibits non-mean-reverting behavior, which is a key concept in technical analysis.
Reference:
-
- rtmath.net
- en.wikipedia.org
adftest(data, n_lag, conf)
: Augmented Dickey-Fuller test for stationarity.
Parameters:
data (array) : Data series.
n_lag (int) : Maximum lag.
conf (string) : Confidence Probability level used to test for critical value, (`90%`, `95%`, `99%`).
Returns: `adf` The test statistic. \
`crit` Critical value for the test statistic at the 10 % levels. \
`nobs` Number of observations used for the ADF regression and calculation of the critical values.
ALPHA 999This indicator is designed to provide traders with clear and reliable signals by combining essential technical tools into one simplified framework. Whether you’re trading crypto, stocks, or forex, this tool helps identify potential entry and exit points using . It is well-suited for both intraday and swing traders, offering customizable inputs, multi-timeframe compatibility, and real-time alerts. The indicator displays intuitive visual cues directly on the chart, making it easy to interpret market conditions and respond quickly. Ideal for traders who prefer clean charts with actionable signals, this tool enhances decision-making without overwhelming complexity. While powerful on its own, it can be paired with other indicators for greater confirmation and accuracy. Please note: this indicator is for educational purposes only and should be used with proper risk management and backtesting before applying to live trades.
ALPHA 999This script is a custom-built indicator designed to enhance your trading strategy by providing . It is optimized for and suitable for both intraday and swing traders.
MA wiht Logistic [Jsk]This script is published for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Trade at your own risk; the author accepts no liability for any financial loss incurred.
Concept
• Direction is defined by the relationship between price and two moving averages (Fast & Slow).
Long: Close > Fast MA > Slow MA
Short: Close < Fast MA < Slow MA
• Three independent exit modes are available:
1) None – positions are closed only when an opposite signal appears.
2) Percentage – fixed take-profit / stop-loss expressed in % of entry price (default +20 % / –5 %).
3) Logistic – a dynamic take-profit / stop-loss based on a logistic transformation of unrealised P&L.
Key Inputs
• MA Type: EMA, SMA or WMA
• Fast / Slow MA length
• Exit Mode: None | Percentage | Logistic
• Percentage TP / SL values (active when Exit Mode = Percentage)
• Logistic settings: slope k, midpoint, TP / SL probability thresholds (active when Exit Mode = Logistic)
Recommended Use
The script works on any market or timeframe, but MA-based trend filters usually perform better in assets with smooth, directional moves. Always verify results in the Strategy Tester and account for commissions and slippage.
High Volume Reversal CandlesIdentifies candles which display reversal patterns (mainly hammers, inverted hammers, spinning top) on unusually high volume.
This makes the candlestick pattern more likely to fulfil.
Remember to always wait for confirmation; should only be used as an entry locator, not entry trigger.
Dynamic Gap Probability Tool with N-Bar Decay📌 How It Works
1. Moving Average (MA) Reference
o The indicator plots a moving average (SMA, EMA, WMA, etc.) on the chart.
o Price can be above or below this moving average.
2. Probability Tracking
o Every time a bar closes, the script records:
Whether the next candle closed up (green) or down (red).
Whether within the next N bars (e.g., 3 bars ahead) the price moved higher or lower than the current close.
3. N Bar Lookahead
o Instead of only caring about the very next candle, it looks forward several bars to see if the market eventually moves in your favor.
o Example: If N = 3, it answers:
"Within the next 3 bars, what’s the chance price will go higher/lower from here?"
4. Results Table
o At the edge of your chart, the table shows:
✅ Next Green % – Probability next candle is bullish.
❌ Next Red % – Probability next candle is bearish.
📈 N Bar Bull % – Probability that within N bars, price goes higher.
📉 N Bar Bear % – Probability that within N bars, price goes lower.
💡 Why It’s Useful for Traders
• Removes Guesswork – Instead of relying on “gut feeling,” you see historical probabilities for how price reacts when above/below the MA.
• Better Trade Timing – If N Bar Bullish Probability is high, it suggests waiting for confirmation and holding longer than just 1 candle.
• Adapts to Style –
o Scalpers: Use N = 1 to see immediate probabilities.
o Swing Traders: Use N = 3, 5, or 10 to see longer-term reaction probabilities.
• Trend Awareness – Works differently above and below the moving average, giving you a bias toward long or short trades.
• Confidence in Decisions – Probabilities are based on real past data from the chart’s history.
High Probability Buy/Sell with SL & TP High-accuracy Buy/Sell signals with dynamic SL & Target—perfect for scalpers and swing traders,Smart trading signals with built-in risk management. Never miss a move.Auto Buy/Sell entries with real-time SL & TP levels—trade with confidence.Turn signals into strategy. Precision entries, clear exits.Your all-in-one trading assistant: entry, stop loss, and take profit—automated.Built for serious traders: Clean signals, sharp exits, and solid risk-reward.
Fractals [Dova Lazarus]🔹 Fractals — a lightweight and efficient indicator that plots classic Bill Williams-style fractals.
Perfect for identifying local reversal points on the chart.
Simple visualization with triangle markers above and below candles.
1EMA + 1MACD + 1RSI Crypto Strategy AB 092Title: EMA + MACD + RSI Crypto Strategy
Overview:
This is a trend-following and momentum-based crypto trading strategy built for 1H, 4H, and 1D timeframes, combining three proven indicators:
EMA 50 & EMA 200 Crossover – identifies long-term trend direction.
MACD Crossover (12, 26, 9) – confirms momentum shift.
RSI Filter (14) – avoids overbought/oversold traps and refines entries.
Buy Entry Conditions:
EMA 50 > EMA 200 (Golden Cross)
MACD line crosses above signal line
RSI is between 45 and 70
Sell Entry Conditions:
EMA 50 < EMA 200 (Death Cross)
MACD line crosses below signal line
RSI is between 30 and 55
Risk Management:
Configurable Take Profit and Stop Loss percentages via inputs.
Default: 3% TP, 1.5% SL (adjustable based on timeframe and asset volatility).
Best For:
Intraday trades on 1H (BTC, ETH, SOL)
Swing trades on 4H
Position entries on 1D (top 50 altcoins)
This script includes visual Buy/Sell signals, alert conditions, and customizable SL/TP logic — making it a clean, actionable, and reliable strategy for crypto traders.
RSI TrendsColor chart with RSI colors
Simple RSI which colors green candle when RSI above 65, red when below 35 and grey when in between.