Dskyz (DAFE) Aurora Divergence – Quant Master Dskyz (DAFE) Aurora Divergence – Quant Master
Introducing the Dskyz (DAFE) Aurora Divergence – Quant Master , a strategy that’s your secret weapon for mastering futures markets like MNQ, NQ, MES, and ES. Born from the legendary Aurora Divergence indicator, this fully automated system transforms raw divergence signals into a quant-grade trading machine, blending precision, risk management, and cyberpunk DAFE visuals that make your charts glow like a neon skyline. Crafted with care and driven by community passion, this strategy stands out in a sea of generic scripts, offering traders a unique edge to outsmart institutional traps and navigate volatile markets.
The Aurora Divergence indicator was a cult favorite for spotting price-OBV divergences with its aqua and fuchsia orbs, but traders craved a system to act on those signals with discipline and automation. This strategy delivers, layering advanced filters (z-score, ATR, multi-timeframe, session), dynamic risk controls (kill switches, adaptive stops/TPs), and a real-time dashboard to turn insights into profits. Whether you’re a newbie dipping into futures or a pro hunting reversals, this strat’s got your back with a beginner guide, alerts, and visuals that make trading feel like a sci-fi mission. Let’s dive into every detail and see why this original DAFE creation is a must-have.
Why Traders Need This Strategy
Futures markets are a battlefield—fast-paced, volatile, and riddled with institutional games that can wipe out undisciplined traders. From the April 28, 2025 NQ 1k-point drop to sneaky ES slippage, the stakes are high. Meanwhile, platforms are flooded with unoriginal, low-effort scripts that promise the moon but deliver noise. The Aurora Divergence – Quant Master rises above, offering:
Unmatched Originality: A bespoke system built from the ground up, with custom divergence logic, DAFE visuals, and quant filters that set it apart from copycat clutter.
Automation with Precision: Executes trades on divergence signals, eliminating emotional slip-ups and ensuring consistency, even in chaotic sessions.
Quant-Grade Filters: Z-score, ATR, multi-timeframe, and session checks filter out noise, targeting high-probability reversals.
Robust Risk Management: Daily loss and rolling drawdown kill switches, plus ATR-based stops/TPs, protect your capital like a fortress.
Stunning DAFE Visuals: Aqua/fuchsia orbs, aurora bands, and a glowing dashboard make signals intuitive and charts a work of art.
Community-Driven: Evolved from trader feedback, this strat’s a labor of love, not a recycled knockoff.
Traders need this because it’s a complete, original system that blends accessibility, sophistication, and style. It’s your edge to trade smarter, not harder, in a market full of traps and imitators.
1. Divergence Detection (Core Signal Logic)
The strategy’s core is its ability to detect bullish and bearish divergences between price and On-Balance Volume (OBV), pinpointing reversals with surgical accuracy.
How It Works:
Price Slope: Uses linear regression over a lookback (default: 9 bars) to measure price momentum (priceSlope).
OBV Slope: OBV tracks volume flow (+volume if price rises, -volume if falls), with its slope calculated similarly (obvSlope).
Bullish Divergence: Price slope negative (falling), OBV slope positive (rising), and price above 50-bar SMA (trend_ma).
Bearish Divergence: Price slope positive (rising), OBV slope negative (falling), and price below 50-bar SMA.
Smoothing: Requires two consecutive divergence bars (bullDiv2, bearDiv2) to confirm signals, reducing false positives.
Strength: Divergence intensity (divStrength = |priceSlope * obvSlope| * sensitivity) is normalized (0–1, divStrengthNorm) for visuals.
Why It’s Brilliant:
- Divergences catch hidden momentum shifts, often exploited by institutions, giving you an edge on reversals.
- The 50-bar SMA filter aligns signals with the broader trend, avoiding choppy markets.
- Adjustable lookback (min: 3) and sensitivity (default: 1.0) let you tune for different instruments or timeframes.
2. Filters for Precision
Four advanced filters ensure signals are high-probability and market-aligned, cutting through the noise of volatile futures.
Z-Score Filter:
Logic: Calculates z-score ((close - SMA) / stdev) over a lookback (default: 50 bars). Blocks entries if |z-score| > threshold (default: 1.5) unless disabled (useZFilter = false).
Impact: Avoids trades during extreme price moves (e.g., blow-off tops), keeping you in statistically safe zones.
ATR Percentile Volatility Filter:
Logic: Tracks 14-bar ATR in a 100-bar window (default). Requires current ATR > 80th percentile (percATR) to trade (tradeOk).
Impact: Ensures sufficient volatility for meaningful moves, filtering out low-volume chop.
Multi-Timeframe (HTF) Trend Filter:
Logic: Uses a 50-bar SMA on a higher timeframe (default: 60min). Longs require price > HTF MA (bullTrendOK), shorts < HTF MA (bearTrendOK).
Impact: Aligns trades with the bigger trend, reducing counter-trend losses.
US Session Filter:
Logic: Restricts trading to 9:30am–4:00pm ET (default: enabled, useSession = true) using America/New_York timezone.
Impact: Focuses on high-liquidity hours, avoiding overnight spreads and erratic moves.
Evolution:
- These filters create a robust signal pipeline, ensuring trades are timed for optimal conditions.
- Customizable inputs (e.g., zThreshold, atrPercentile) let traders adapt to their style without compromising quality.
3. Risk Management
The strategy’s risk controls are a masterclass in balancing aggression and safety, protecting capital in volatile markets.
Daily Loss Kill Switch:
Logic: Tracks daily loss (dayStartEquity - strategy.equity). Halts trading if loss ≥ $300 (default) and enabled (killSwitch = true, killSwitchActive).
Impact: Caps daily downside, crucial during events like April 27, 2025 ES slippage.
Rolling Drawdown Kill Switch:
Logic: Monitors drawdown (rollingPeak - strategy.equity) over 100 bars (default). Stops trading if > $1000 (rollingKill).
Impact: Prevents prolonged losing streaks, preserving capital for better setups.
Dynamic Stop-Loss and Take-Profit:
Logic: Stops = entry ± ATR * multiplier (default: 1.0x, stopDist). TPs = entry ± ATR * 1.5x (profitDist). Longs: stop below, TP above; shorts: vice versa.
Impact: Adapts to volatility, keeping stops tight but realistic, with TPs targeting 1.5:1 reward/risk.
Max Bars in Trade:
Logic: Closes trades after 8 bars (default) if not already exited.
Impact: Frees capital from stagnant trades, maintaining efficiency.
Kill Switch Buffer Dashboard:
Logic: Shows smallest buffer ($300 - daily loss or $1000 - rolling DD). Displays 0 (red) if kill switch active, else buffer (green).
Impact: Real-time risk visibility, letting traders adjust dynamically.
Why It’s Brilliant:
- Kill switches and ATR-based exits create a safety net, rare in generic scripts.
- Customizable risk inputs (maxDailyLoss, dynamicStopMult) suit different account sizes.
- Buffer metric empowers disciplined trading, a DAFE signature.
4. Trade Entry and Exit Logic
The entry/exit rules are precise, filtered, and adaptive, ensuring trades are deliberate and profitable.
Entry Conditions:
Long Entry: bullDiv2, cooldown passed (canSignal), ATR filter passed (tradeOk), in US session (inSession), no kill switches (not killSwitchActive, not rollingKill), z-score OK (zOk), HTF trend bullish (bullTrendOK), no existing long (lastDirection != 1, position_size <= 0). Closes shorts first.
Short Entry: Same, but for bearDiv2, bearTrendOK, no long (lastDirection != -1, position_size >= 0). Closes longs first.
Adaptive Cooldown: Default 2 bars (cooldownBars). Doubles (up to 10) after a losing trade, resets after wins (dynamicCooldown).
Exit Conditions:
Stop-Loss/Take-Profit: Set per trade (ATR-based). Exits on stop/TP hits.
Other Exits: Closes if maxBarsInTrade reached, ATR filter fails, or kill switch activates.
Position Management: Ensures no conflicting positions, closing opposites before new entries.
Built To Be Reliable and Consistent:
- Multi-filtered entries minimize false signals, a stark contrast to basic scripts.
- Adaptive cooldown prevents overtrading, especially after losses.
- Clean position handling ensures smooth execution, even in fast markets.
5. DAFE Visuals
The visuals are a DAFE hallmark, blending function with clean flair to make signals intuitive and charts stunning.
Aurora Bands:
Display: Bands around price during divergences (bullish: below low, bearish: above high), sized by ATR * bandwidth (default: 0.5).
Colors: Aqua (bullish), fuchsia (bearish), with transparency tied to divStrengthNorm.
Purpose: Highlights divergence zones with a glowing, futuristic vibe.
Divergence Orbs:
Display: Large/small circles (aqua below for bullish, fuchsia above for bearish) when bullDiv2/bearDiv2 and canSignal. Labels show strength (0–1).
Purpose: Pinpoints entries with eye-catching clarity.
Gradient Background:
Display: Green (bullish), red (bearish), or gray (neutral), 90–95% transparent.
Purpose: Sets the market mood without clutter.
Strategy Plots:
- Stop/TP Lines: Red (stops), green (TPs) for active trades.
- HTF MA: Yellow line for trend context.
- Z-Score: Blue step-line (if enabled).
- Kill Switch Warning: Red background flash when active.
What Makes This Next-Level?:
- Visuals make complex signals (divergences, filters) instantly clear, even for beginners.
- DAFE’s unique aesthetic (orbs, bands) sets it apart from generic scripts, reinforcing originality.
- Functional plots (stops, TPs) enhance trade management.
6. Metrics Dashboard
The top-right dashboard (2x8 table) is your command center, delivering real-time insights.
Metrics:
Daily Loss ($): Current loss vs. day’s start, red if > $300.
Rolling DD ($): Drawdown vs. 100-bar peak, red if > $1000.
ATR Threshold: Current percATR, green if ATR exceeds, red if not.
Z-Score: Current value, green if within threshold, red if not.
Signal: “Bullish Div” (aqua), “Bearish Div” (fuchsia), or “None” (gray).
Action: “Consider Buying”/“Consider Selling” (signal color) or “Wait” (gray).
Kill Switch Buffer ($): Smallest buffer to kill switch, green if > 0, red if 0.
Why This Is Important?:
- Consolidates critical data, making decisions effortless.
- Color-coded metrics guide beginners (e.g., green action = go).
- Buffer metric adds transparency, rare in off-the-shelf scripts.
7. Beginner Guide
Beginner Guide: Middle-right table (shown once on chart load), explains aqua orbs (bullish, buy) and fuchsia orbs (bearish, sell).
Key Features:
Futures-Optimized: Tailored for MNQ, NQ, MES, ES with point-value adjustments.
Highly Customizable: Inputs for lookback, sensitivity, filters, and risk settings.
Real-Time Insights: Dashboard and visuals update every bar.
Backtest-Ready: Fixed qty and tick calc for accurate historical testing.
User-Friendly: Guide, visuals, and dashboard make it accessible yet powerful.
Original Design: DAFE’s unique logic and visuals stand out from generic scripts.
How to Use
Add to Chart: Load on a 5min MNQ/ES chart in TradingView.
Configure Inputs: Adjust instrument, filters, or risk (defaults optimized for MNQ).
Monitor Dashboard: Watch signals, actions, and risk metrics (top-right).
Backtest: Run in strategy tester to evaluate performance.
Live Trade: Connect to a broker (e.g., Tradovate) for automation. Watch for slippage (e.g., April 27, 2025 ES issues).
Replay Test: Use bar replay (e.g., April 28, 2025 NQ drop) to test volatility handling.
Disclaimer
Trading futures involves significant risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Backtest results may not reflect live trading due to slippage, fees, or market conditions. Use this strategy at your own risk, and consult a financial advisor before trading. Dskyz (DAFE) Trading Systems is not responsible for any losses incurred.
Backtesting:
Frame: 2023-09-20 - 2025-04-29
Fee Typical Range (per side, per contract)
CME Exchange $1.14 – $1.20
Clearing $0.10 – $0.30
NFA Regulatory $0.02
Firm/Broker Commis. $0.25 – $0.80 (retail prop)
TOTAL $1.60 – $2.30 per side
Round Turn: (enter+exit) = $3.20 – $4.60 per contract
Final Notes
The Dskyz (DAFE) Aurora Divergence – Quant Master isn’t just a strategy—it’s a movement. Crafted with originality and driven by community passion, it rises above the flood of generic scripts to deliver a system that’s as powerful as it is beautiful. With its quant-grade logic, DAFE visuals, and robust risk controls, it empowers traders to tackle futures with confidence and style. Join the DAFE crew, light up your charts, and let’s outsmart the markets together!
(This publishing will most likely be taken down do to some miscellaneous rule about properly displaying charting symbols, or whatever. Once I've identified what part of the publishing they want to pick on, I'll adjust and repost.)
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
Created by Dskyz, powered by DAFE Trading Systems. Trade fast, trade bold.
Indicadores e estratégias
GLB Breakout IndicatorWhat is a Green Line Breakout (GLB)?
A GLB happens when a stock breaks above its previous all-time high that was standing for at least 3 months (or more).
A Green Line is drawn at that previous high price.
When the stock closes above that Green Line, it's called a breakout.
For the breakout to be successful, the stock should stay above that green line (the breakout price) in the following days/weeks.
How to Understand It in Your Charts:
ADMA:
The Green Line was at 23.64 (previous high).
Now it has closed above it at 24.51.
It must stay above 23.64 to confirm that it’s a successful breakout.
TTWO:
TTWO had a Green Line at around 214.91.
It broke above it and is now (29 Apr 2025) at 225.55, holding well above the Green Line.
This is a positive sign — buyers are supporting it after the breakout.
sabydee20b เส้นแนวนอน 4 เส้น บนล่าง ปรับได้This script allows you to draw customizable horizontal lines above and below a base price.
You can adjust the offset values, enable or disable each line, and independently configure the color, width, and line style (solid, dashed, dotted) for the base, upper, and lower levels.
Ideal for marking support/resistance zones or profit/loss targets.
Mother Fish
Danny_Stone SnR Enhanced [by Danny Shih]This technical indicator shows the accuracy of the support and pressure positions. The accuracy of the technical indicators will continue to be improved in the future. Please continue to pay attention to my updates. If you feel it is good to use or have any questions, you can ask me. Thank you!
這個技術指標是提供支撐與壓力位置的精確顯示,之後還會繼續完善技術指標的準確性,請繼續關注我的更新,若覺得不錯使用或有什麽問題都可以提出詢問,感謝!
Nexus Trade BotThe Nexus Trade Bot is a sophisticated TradingView Pine Script™ v6 strategy designed for automated trading across forex, futures, stocks, and crypto. It combines trend analysis (using ROC and SMA), Squeeze Momentum, and EMA signals to identify high-probability trade entries and exits. Key features include customizable higher timeframe (HTF) trend confirmation (default 30-min), ATR-based trailing or fixed stop-loss, and robust session management with UTC-based trading hours. JSON alerts integrate seamlessly with webhooks for external apps, providing detailed trade and session data. Ideal for traders seeking a reliable, adaptable automation tool. Defaults and data are tested only for MNQ1! on the 5M timeframe.
SuperTrade ST1 StrategyThis strategy leverages the Supertrend indicator to identify trend direction and capture key entry and exit points in the market. By utilizing ATR (Average True Range) for dynamic stop-loss and take-profit levels, this script adapts to varying market conditions for improved risk management.
Key Features
Supertrend Indicator: Defines the trend direction and generates buy/sell signals based on trend reversal points.
ATR-based Exits: Take Profit and Stop Loss are dynamically calculated using ATR multipliers to accommodate market volatility.
Customizable Inputs: Fine-tune the ATR Length, Supertrend Factor, and ATR multipliers for take-profit and stop-loss according to your strategy preferences.
Visual Indicators: Buy and Sell signals are clearly marked with labels on the chart, and the Supertrend line is color-coded for easy trend identification.
Background Trend Highlighting: The chart background changes color based on the prevailing trend to make it easier to follow the market direction.
This strategy is perfect for traders looking to ride trends while managing risk with smart, automated exits.
John's Sig PROJohn's Sig PRO is a powerful Wyckoff-style trade detection tool that identifies potential long and short setups based on pivot formations, trading range analysis, and optional confluence filters.
🔹 Core Features:
Pivot-Based Springs and Upthrusts (customizable "Loose" or "Strict" setups)
Dynamic Risk Management:
Static % Risk OR ATR-based stops
2 Risk/Reward Targets (Target 1 and Target 2)
Volume Confirmation (optional)
Dynamic Range Monitoring: Highest high/Lowest low over user-defined periods
🔹 Optional Setup Filters (for higher probability entries):
✅ EMA Filter (Price above/below EMA)
✅ RSI Oversold/Overbought Confirmation
✅ MACD Cross Confirmation
✅ VWAP Filter (Price above/below VWAP)
✅ SuperTrend Direction Confirmation
🔹 Visual Highlights:
Entry, Stoploss, Target 1, Target 2 auto-plotted with lines
Setup labels colored based on strength (Loose/Strict)
Real-time alert generation (LONG/SHORT)
🔹 How to Use:
Enable Loose Springs for more aggressive setups or keep strict validation.
Customize risk settings: ATR-based dynamic stops or static pivot % risk.
Turn on optional filters to tighten your entry criteria.
Watch for plotted signals and set alerts!
⚡ Ideal For:
Intraday Traders
Swing Traders
Wyckoff Enthusiasts
Traders wanting automated pivot-based signals + multi-filter confluence
Created with ❤️ by John.
Trade smart, not hard!
SMA 8-18 Angle Measurement - Color, Size, and Alerts//@version=5
indicator("SMA 8-18 Angle Measurement - Color, Size, and Alerts", overlay=true)
// --- Calculate short-term (SMA 8) and mid-term (SMA 18) simple moving averages ---
// These two SMAs will be used to detect trend crossovers.
sma8 = ta.sma(close, 8)
sma18 = ta.sma(close, 18)
// --- Plot SMA 8 and SMA 18 on the chart for visual trend analysis ---
plot(sma8, title="SMA 8", color=color.blue)
plot(sma18, title="SMA 18", color=color.orange)
// --- Calculate the slope (momentum) of each SMA ---
// Measures how steeply each moving average is moving.
slope_sma8 = sma8 - sma8
slope_sma18 = sma18 - sma18
// --- Find the difference between the slopes of SMA 8 and SMA 18 ---
// This helps to measure the relative speed of trend changes between short and mid-term averages.
slope_difference = slope_sma8 - slope_sma18
// --- Convert slope difference into an angle in degrees ---
// Using arctangent to calculate the angle of divergence between the two SMAs.
angle_rad = math.atan(slope_difference)
angle_deg = angle_rad * (180 / math.pi)
// --- User settings for customization ---
// Allow users to enable color change and size change of labels based on angle behavior.
change_color = input.bool(true, title="Change Label Color Based on Angle Direction")
change_size = input.bool(true, title="Change Label Size Based on Angle Magnitude")
// --- Dynamic label color based on angle direction ---
// Positive angles = blue (bullish slope), Negative angles = red (bearish slope).
label_color = color.white
if change_color
label_color := angle_deg >= 0 ? color.blue : color.red
// --- Dynamic label size based on angle strength ---
// Small angles = smaller label, stronger angles = larger label.
label_size = size.normal
if change_size
if math.abs(angle_deg) < 10
label_size := size.small
else if math.abs(angle_deg) < 30
label_size := size.normal
else
label_size := size.large
// --- Detect crossover events between SMA 8 and SMA 18 ---
// Bullish crossover: SMA 8 crosses above SMA 18
// Bearish crossunder: SMA 8 crosses below SMA 18
bull_cross = ta.crossover(sma8, sma18)
bear_cross = ta.crossunder(sma8, sma18)
// --- Display only the latest crossover angle as a label on the chart ---
// Old labels are deleted to keep the chart clean and focused on the last event.
var label last_cross_label = na
if (bull_cross or bear_cross)
if not na(last_cross_label)
label.delete(last_cross_label)
last_cross_label := label.new(bar_index, high + 10, "Angle: " + str.tostring(angle_deg, format.mintick) + "°", color=color.new(color.purple, 0), style=label.style_label_down, textcolor=label_color, size=label_size)
// --- Define movement strength conditions for alerts ---
// Different alert triggers based on angle magnitude (weak, strong, very strong crossover).
strong_movement = (angle_deg > 30) or (angle_deg < -30)
weak_movement = (math.abs(angle_deg) < 5)
very_strong_movement = (math.abs(angle_deg) > 45)
// --- Set up alert conditions ---
// These alerts help traders react to strong or weak trend changes.
alertcondition(strong_movement, title="Strong Cross", message="SMA 8-18 Strong Angle Cross Detected!")
alertcondition(weak_movement, title="Weak Cross", message="SMA 8-18 Weak Angle Cross Detected!")
alertcondition(very_strong_movement, title="Very Strong Cross", message="SMA 8-18 Very Strong Angle Cross Detected!")
ZLSMACE StrategyZLSMACE Strategy
This is a trend-following strategy that combines:
-Zero-Lag LSMA (ZLSMA): A smoothed, low-lag moving average used to confirm trend direction.
-Chandelier Exit (CE): A volatility-based trailing stop used to detect reversals and shift trade direction.
🟢 Entry Conditions:
Long: CE direction turns bullish and price is above ZLSMA
Short: CE direction turns bearish and price is below ZLSMA
The strategy exits any opposite position before opening a new one, ensuring clean direction switching.
🕒 Best Timeframe
Optimized for 15-minute charts (15m)
Good balance between signal speed and trend filtering
SK System Buy/Sell Signals with TargetsCreated by Gamal Asela
will help you to find the buy and sell signals with targets .
Sk system have two alerts for buy and sell notifications
Market Volume Highlighter - Last 20 BarsTotal volume of market movers. Included AAPL, NVDA, GOOG, etc.
ETH Aggregated Spot Volume ProfileThis script creates a volume profile indicator using aggregated ETH spot volume across major crypto exchanges. It visualizes where trading activity is concentrated in a given price range, highlights the Point of Control (POC), and defines the Value Area, helping traders identify key support and resistance zones.
1. Exchange Aggregation: Pulls ETH spot volume from 9 major exchanges:
Binance, Coinbase, Kraken, Bitfinex, Bitstamp, KuCoin, Gate.io, OKX, Huobi.
2. Customizable Inputs:
Number of Bars: Historical bars to analyze (default: 150).
Row Size: Number of price bins (volume profile rows).
Value Area Volume %: Percentage of total volume to include in the Value Area (default: 70%).
Styling options for volume bars and the POC line.
Ideal for traders who want to:
See where the most ETH spot trading volume occurred in a given range.
Identify high-interest price zones.
Use volume-at-price analysis for smarter entries/exits.
M.u.l.t.i Indicator [fikri production]"This indicator is designed to help traders identify short-term and long-term trends by using exponential moving averages (EMA). It works best on the 1-hour and 4-hour timeframes, providing clear confirmation of the market's direction.
Users can customize the EMA periods to fit different trading strategies, whether for scalping, swing trading, or longer-term analysis. The indicator is ideal for those who prefer a clean and simple trend-following system without unnecessary noise.
Recommended settings and usage tips are included to help you maximize the performance of this tool."
working stratthis bot enters on an inverted fair value gap being formed while the 20 trama is crossed, with a take profit at the 200T, and a SL at the local lows or highs, and only entering when the 200T is relatively flat
siam RSI Crossอินดิเคเตอร์ "Siam RSI Cross" ช่วยระบุจุดตัดระหว่าง RSI และ SMA ในโซน overbought (เหนือ 70) และ oversold (ใต้ 30)
- เส้นปะสีเหลืองและจุดสีแดง: RSI ตัดขึ้นใต้ระดับ 30 (โซน oversold)
- เส้นปะสีขาวและจุดสีเขียว: RSI ตัดลงเหนือระดับ 70 (โซน overbought)
- ปรับแต่งได้: ความยาว RSI (MA 1) และ SMA (MA 2)
- รองรับการแจ้งเตือนสำหรับสัญญาณซื้อ/ขาย
สรุปการทำงานของสคริปต์:
1. วัตถุประสงค์หลัก:
อินดิเคเตอร์นี้ใช้ RSI (Relative Strength Index) และ SMA (Simple Moving Average) ของ RSI เพื่อระบุจุดตัด (crossover และ crossunder) ในโซน overbought (เหนือ 70) และ oversold (ใต้ 30)
แสดงสัญญาณด้วย:
เส้นปะแนวตั้ง: เพื่อระบุจุดตัดในโซนที่กำหนด
จุดสี: เพื่อเน้นจุดตัดให้ชัดเจนยิ่งขึ้น
การแจ้งเตือน: เพื่อให้ผู้ใช้ตั้งค่าแจ้งเตือนใน TradingView ได้
2. องค์ประกอบของอินดิเคเตอร์:
เส้น RSI: คำนวณจาก ta.rsi(close, len1) โดย len1 (ค่าเริ่มต้น 34) เป็นความยาวที่ผู้ใช้กำหนดได้ แสดงเป็นเส้นสีน้ำเงิน
เส้น SMA ของ RSI: คำนวณจาก ta.sma(sh, len2) โดย len2 (ค่าเริ่มต้น 68) เป็นความยาวที่ผู้ใช้กำหนดได้ แสดงเป็นเส้นสีเขียว
เส้นแนวนอน: ที่ระดับ 30 (Oversold) และ 70 (Overbought) เป็นเส้นสีเทาแบบปะ
การเติมสีระหว่างเส้น 30 และ 70: ใช้สีน้ำเงินโปร่งใส (opacity 80)
การเติมสีระหว่าง RSI และ SMA:
สีเขียวอ่อน (lime) เมื่อ RSI > SMA
สีแดงเมื่อ RSI < SMA
3. เงื่อนไขและการแสดงสัญญาณ:
RSI ตัดขึ้น (Crossover) ใต้เส้น 30:
เงื่อนไข: RSI ตัดขึ้นผ่าน SMA (ta.crossover(sh, ln)) และ RSI < 30 (sh < 30)
เส้นปะแนวตั้งสีเหลือง: วาดจากระดับ 0 ถึง 100 ในหน้าต่าง RSI ด้วย line.new
จุดสีแดง: วาดที่ระดับ RSI (sh) ตรงจุดตัด ด้วย plotshape (รูปวงกลม, ขนาดเล็ก)
RSI ตัดลง (Crossunder) เหนือเส้น 70:
เงื่อนไข: RSI ตัดลงผ่าน SMA (ta.crossunder(sh, ln)) และ RSI > 70 (sh > 70 and sh > 70)
เส้นปะแนวตั้งสีขาว: วาดจากระดับ 0 ถึง 100 ในหน้าต่าง RSI ด้วย line.new
จุดสีเขียว: วาดที่ระดับ RSI (sh) ตรงจุดตัด ด้วย plotshape (รูปวงกลม, ขนาดเล็ก)
หมายเหตุ: เงื่อนไข sh > 70 and sh > 70 ช่วยให้แน่ใจว่าการตัดลงเกิดในโซน overbought และป้องกันการตรวจจับที่ผิดพลาด
4. การแจ้งเตือน (Alert Conditions):
สัญญาณซื้อทั่วไป: เมื่อ RSI ตัดขึ้นผ่าน SMA (ta.crossover(sh, ln)) ชื่อ: "Buy", ข้อความ: "RSI Cross. Buy Signal"
สัญญาณขายทั่วไป: เมื่อ RSI ตัดลงผ่าน SMA (ta.crossunder(sh, ln)) ชื่อ: "Sell", ข้อความ: "RSI Cross. Sell Signal"
สัญญาณตัดขึ้นใต้ 30: ชื่อ: "Buy Cross Below 30", ข้อความ: "RSI Cross Up Below 30"
สัญญาณตัดลงเหนือ 70: ชื่อ: "Sell Cross Above 70", ข้อความ: "RSI Cross Down Above 70"
ผู้ใช้สามารถตั้งค่าการแจ้งเตือนใน TradingView โดยเลือกเงื่อนไขเหล่านี้
5. การตั้งค่าที่ผู้ใช้ปรับได้:
len1: ความยาวของ RSI (ค่าเริ่มต้น: 34) ปรับได้ผ่านอินพุต "MA 1"
len2: ความยาวของ SMA (ค่าเริ่มต้น: 68) ปรับได้ผ่านอินพุต "MA 2"
6. การแสดงผล:
อินดิเคเตอร์แสดงในหน้าต่างแยก (ไม่ทับบนชาร์ตราคา) เนื่องจาก overlay=false
เส้นแนวตั้งและจุดสีทั้งหมดปรากฏในหน้าต่าง RSI โดย:
เส้นปะแนวตั้งครอบคลุมช่วง 0 ถึง 100
จุดสีแดงและสีเขียวอยู่ที่ระดับ RSI ตรงจุดตัด
Summary of the Script's Functionality:
1. Main Objective:
The indicator uses the Relative Strength Index (RSI) and a Simple Moving Average (SMA) of the RSI to identify crossover and crossunder points in the overbought (above 70) and oversold (below 30) zones.
It displays signals using:
Dashed vertical lines: To mark crossover/crossunder points in the specified zones.
Colored dots: To highlight the crossover/crossunder points more clearly.
Alerts: To allow users to set up notifications in TradingView.
2. Components of the Indicator:
RSI Line: Calculated using ta.rsi(close, len1), where len1 (default: 34) is a user-defined length, displayed as a blue line.
SMA of RSI: Calculated using ta.sma(sh, len2), where len2 (default: 68) is a user-defined length, displayed as a green line.
Horizontal Lines: At levels 30 (Oversold) and 70 (Overbought), shown as dashed gray lines.
Fill Between 30 and 70: Filled with a translucent blue color (opacity 80).
Fill Between RSI and SMA:
Light green (lime) when RSI > SMA.
Red when RSI < SMA.
3. Conditions and Signal Display:
RSI Crossover Below 30:
Condition: RSI crosses above SMA (ta.crossover(sh, ln)) and RSI < 30 (sh < 30).
Yellow Dashed Vertical Line: Drawn from level 0 to 100 in the RSI window using line.new.
Red Dot: Plotted at the RSI level (sh) at the crossover point using plotshape (circle shape, small size).
RSI Crossunder Above 70:
Condition: RSI crosses below SMA (ta.crossunder(sh, ln)) and RSI > 70 (sh > 70 and sh > 70).
White Dashed Vertical Line: Drawn from level 0 to 100 in the RSI window using line.new.
Green Dot: Plotted at the RSI level (sh) at the crossunder point using plotshape (circle shape, small size).
Note: The condition sh > 70 and sh > 70 ensures that the crossunder occurs in the overbought zone and prevents false detections.
4. Alert Conditions:
General Buy Signal: When RSI crosses above SMA (ta.crossover(sh, ln)), Name: "Buy", Message: "RSI Cross. Buy Signal".
General Sell Signal: When RSI crosses below SMA (ta.crossunder(sh, ln)), Name: "Sell", Message: "RSI Cross. Sell Signal".
Crossover Below 30 Signal: Name: "Buy Cross Below 30", Message: "RSI Cross Up Below 30".
Crossunder Above 70 Signal: Name: "Sell Cross Above 70", Message: "RSI Cross Down Above 70".
Users can set up alerts in TradingView by selecting these conditions.
5. User-Adjustable Settings:
len1: RSI length (default: 34), adjustable via the "MA 1" input.
len2: SMA length (default: 68), adjustable via the "MA 2" input.
6. Display:
The indicator is displayed in a separate window (not overlaid on the price chart) due to overlay=false.
All vertical lines and colored dots appear in the RSI window:
Dashed vertical lines span from 0 to 100.
Red and green dots are placed at the RSI level at the crossover/crossunder points.
My-Indicator - Global Liquidity & Money Supply M2 + Time OffsetThis script is designed to visualize a global liquidity and money supply index by combining data from various regions and, optionally, central bank activity. Visualizing this data on a chart allows you to see how central banks are intervening in the financial system and how the total amount of money in the economy is changing. Let’s take a look at how it works:
Central Bank Liquidity
Shows the actions of central banks (e.g. FED, ECB) providing short-term cash to commercial banks. If you see spikes or a steady increase in these indicators, it may suggest that liquidity is being increased through intervention, which often stimulates the market.
Money Supply
M2 money supply is a monetary aggregate that includes M1 (cash and current deposits) plus savings deposits, small term deposits, and other financial instruments that, while not as liquid as M1, can be quickly converted into cash. As a result, M2 provides a broader picture of the available money in the economy, which is useful for analyzing market conditions and potential economic trends.
How does it help investors?
It allows you to quickly see when central banks are injecting additional liquidity, which could signal higher prices.
It allows you to see trends in the money supply, which informs potential changes in inflation and the economic cycle.
Combining both sets of data provides a more complete picture – both in the short and long term – which makes it easier to predict upcoming price movements.
This allows investors to better respond to changes in central bank policy and broader monetary trends, increasing their chances of making better investment decisions.
Data Collection
The script retrieves money supply data for key markets such as the USA (USM2), Europe (EUM2), China (CNM2), and Japan (JPM2). It also offers additional money supply series for other markets—like Canada (CAM2), Great Britain (GBM2), Russia (RUM2), Brazil (BRM2), Mexico (MXM2), and New Zealand (NZM2)—with extra options (e.g., Australia, India, Korea, Indonesia, Malaysia, Sweden) disabled by default. Moreover, you can enable data for central bank liquidity (such as FED, RRP, TGA, ECB, PBC, BOJ, and other central banks), which are also disabled by default.
Index Calculation
The indicator calculates the index by adding together all the enabled money supply series (and the central bank data if activated) and then scales the sum by dividing it by 1,000,000,000,000 (one trillion). This scaling makes the resulting values more manageable and easier to read on the chart.
Time Offset Feature
A key feature of the script is the time offset. With the input parameter "Time Offset (days)", the user can shift the plotted index line by a specific number of days. The script converts the given offset in days into a number of bars based on the current chart's timeframe. This allows you to adjust for the delay between liquidity changes and their effect on asset prices.
Overall, the indicator plots a line on your chart representing the global liquidity and money supply index, allowing you to visually monitor trends and better understand how liquidity and central bank actions may influence market movements.
What makes this script different from others?
Every supported market—both major regions (USA, Eurozone, China, Japan, etc.) and additional ones—is available. You can toggle each series on or off, so you can view only Money Supply data, only Central Bank Liquidity, or any custom combination.
Separated Data Groups. Inputs are organized into clear groups (“Money Supply”, “Other Money Supply”, “Central Bank Liquidity”), making it easy to focus on just the data you need without clutter.
True Day‑Based Offset. This script converts your chosen “Time Offset (days)” into actual days regardless of timeframe. Whether you’re on a 5‑minute or daily chart, the index is always shifted by exactly the number of days you specify.
Zweig Breadth ThrustZweig Breadth Thrust Detector
This indicator tracks one of the rarest and most powerful bullish signals in market history: the Zweig Breadth Thrust.
It calculates the 10-day moving average of NYSE advancing stocks divided by the sum of advancing and declining stocks. When the breadth reading surges from deeply oversold (<0.40) to explosively bullish (>0.615) within just 10 trading days, it signals a momentum reset so intense that it often marks the start of major new bull runs.
Zweig Thrusts are extremely rare — but when they occur, historical odds favor significant market gains over the next 6 to 12 months.
This tool doesn't just chase price — it measures raw internal strength across the entire market.
When the masses panic, and the army of stocks surges together — that's when legends are made.
RSI SR OB Breakouts Strategy PRO (coffeshopcrypto)This was originally an indicator that I took from coffeshopcrypto, all credit to them. I simply turned it into a strategy. Only additions are TP/SL Levels based off of ticks and an optional EMA Filter
Original Script:
Color Changing MAs📌 Indicator: Color Changing Moving Averages
This script plots up to four customizable moving averages, each with dynamic color changes based on price positioning and optional RSI filtering.
🧩 Key Features:
✅ 4 independent moving averages (SMA or EMA)
✅ Custom inputs for:
Length
Source (e.g. close, OHLC4, etc.)
Offset
Bullish/Bearish color
✅ Toggle visibility for each MA
✅ Global RSI filter to enhance trend signals:
User-defined RSI length
Adjustable Bullish/Bearish thresholds
Universal neutral color for flat/unclear momentum
✅ Global timeframe control — all MAs and RSI are calculated on a single timeframe of your choice (e.g. D, W, M)
🎯 Color Logic:
Bullish color = MA is below both open and close, and RSI is above threshold
Bearish color = MA is above both open and close, and RSI is below threshold
Neutral gray = MA is trending but RSI contradicts the move (filtered out)
🛠️ Use Cases:
Spot trend changes with visual clarity
Identify pullbacks within strong RSI-confirmed trends
Apply higher-timeframe signals while on lower-timeframe charts
⚠️ Notes:
This version uses request.security() to support global timeframe selection — higher timeframes on lower TF charts will display step-like behavior (as per TradingView architecture).
No smoothing/interpolation is applied to preserve raw signal accuracy.
Schaff Trend Cycle (STC) - t0rdn3Schaff Trend Cycle (STC)
By t0rdn3 (original STC by , now with more descriptive naming)
Description
The Schaff Trend Cycle (STC) is a momentum-based oscillator that combines the speed of a fast EMA crossover with cyclical normalization. Developed by Doug Schaff, it identifies market turning points more responsively than MACD or RSI.
How It Works
1. EMA Difference : Calculates the difference between two EMAs of the source series (default: close).
2. Cycle Percentage : Normalizes that difference to a 0–100 range over the cycle period.
3. Smoothing : Applies exponential smoothing twice—first to the cycle percentage, then to its normalized cycles—to reduce noise.
4. Final STC Line : Produces a smoothed oscillator oscillating between 0 and 100.
Alerts
- "STC turned down above 75" : Fires once when STC makes a local peak above the upper threshold ( 75 ).
- "STC turned up below 25" : Fires once when STC makes a local trough below the lower threshold ( 25 ).
Inputs
Cycle Period : 12 — Lookback in bars for normalization
Fast EMA Length : 26 — Period of the fast EMA
Slow EMA Length : 50 — Period of the slow EMA
Smoothing Factor : 0.5 — Exponential smoothing coefficient (0–1)
Usage
Readings above 75 indicate an overbought cycle; readings below 25 indicate an oversold cycle. Crossings of the 50 midline can confirm trend direction:
- STC rising through 50 → bullish shift
- STC falling through 50 → bearish shift
Combine STC with price action or other trend filters to improve signal quality. You can adjust the cycle period and EMA lengths to match different timeframes or instruments.
3+ Consecutive Higher or Lower Closes (Full Highlight)This indicator identifies 3 or more sequential bars of higher/lower candle closes and highlights them on the chart.
Candle colour is adjustable.
This is the first edition and has a small issue where it only starts highlighting from the 3rd bar in the sequence.
I'll continue working on this to try to debug
ian_Trado v15 Trend Entry Filter# 📈 ian_Trado v15 Trend Entry Filter (Pine Script v6)
The **ian_Trado v15** is a multi-factor **trend confirmation filter** for NASDAQ (NAS100), Dow Jones (DJ30), Gold (XAU), DAX, and USDJPY.
It combines **EMA structure**, **Donchian channel breakout**, **MACD histogram momentum**, **Volume confirmation**, and a **Range Compression Filter** to avoid entering during choppy or sideways markets.
✅ Designed for **bot deployment** (e.g., grid bots, long/short breakout bots) or **manual trading**.
---
## 🔍 How This Filter Works:
1. **EMA Trend Confirmation**
- Long Trend: EMA(1) > EMA(5) > EMA(60)
- Short Trend: EMA(1) < EMA(5) < EMA(60)
2. **Donchian Channel Width Expansion**
- Only allows trades when the **breakout width** exceeds a minimum threshold.
3. **MACD Histogram Slope Filter (Optional)**
- Confirms momentum building in the direction of the trend.
- Strict Mode: MACD histogram must consistently rise or fall over 3 bars.
4. **Volume Filter (Optional)**
- Ensures volume supports the move (filters out weak conditions).
5. **Range Compression Filter (Optional)**
- Avoids entries during sideways chop.
6. **Cooldown Control**
- Limits overtrading by requiring spacing between entries.
7. **Exit Conditions**
- Gray dot appears when trending conditions are no longer valid.
---
## ⚙️ Settings Explained:
| Setting | Description |
|:--------|:------------|
| **Cooldown Bars** | Minimum bars between consecutive entries |
| **Profit Target (%)** | Visual profit marker for exit tracking |
| **Donchian Channel Length** | Lookback period for detecting breakout width |
| **Minimum Donchian Width** | Threshold to confirm meaningful breakouts |
| **Volume Lookback Period** | Average volume validation window |
| **Box Range (Range Compression)** | Max allowed price range over lookback bars |
| **Range Compression Bars** | Number of bars to check for range compression |
| **Strict MACD Filter** | Use stricter MACD slope checks |
---
## 📊 Recommended Settings by Instrument (1H Chart):
| Asset | Min Donchian Width | Range Compression | Profit Target |
|:------|:-------------------|:------------------|:--------------|
| **NAS100** (Nasdaq) | 300–450 pts | 400 pts / 40 bars | 1.5% |
| **DJ30** (Dow Jones) | 400–600 pts | 500 pts / 40 bars | 1.0–1.5% |
| **XAU/USD** (Gold) | 10–15 pts | 8 pts / 30 bars | 0.8–1.2% |
| **DAX40** (Germany) | 200–300 pts | 250 pts / 40 bars | 1.0% |
| **USD/JPY** (Forex) | 0.5–0.8 pts | 0.4 pts / 40 bars | 0.5–0.8% |
---
## 🔔 Alerts Available:
- Long Entry
- Short Entry
- Exit Zone
> **Note:** Volume filter may be disabled if volume is unreliable (e.g., some forex pairs).
---
## 📅 Version:
- **ian_Trado v15** — April 2025
- Built with **Pine Script v6** for maximum stability
- Clean toggling and plotting logic (no `na` errors)
Rally Sweep RS w/ Optional BB or Bias + SwingUse Bollinger Band Filter? - This looks for Rally and Sweeps that occur at the upper or lower bollinger band.
Also Use Basis (Bias) Filter? - This is the mid line of the Bollinger Band - often times a great level for price to pullback to and setup for a continuation trade. This turns its filter on or off.
Require Swing Break? - This is creating and using swing points. It has to be beyond the most recent swing levels for a signal to.... signal. The value of the swing level is an adjustable field at the top of the indicator settings.
USE on 1M and 5M charts. Created originally for futures NQ/ES but does appear to be valid on other markets.
USE THIS AT KEY LEVELS FOR REVERSAL - Prior day value area high/low, overnight high low, prior days highs/lows, etc etc.
Use this for continuation when it rallies into a 5M FVG and instantly signals the indicator.
WAIT for the close of the candle to enter.
View my youtube for more information
www.youtube.com