Ceres Trader Simple Trend & Momentum SignalsCeres Trader โ Simple Trend & Momentum Signals
Description:
Cut through chart noise with a lightweight, two-factor signal system that combines a classic trend filter (200 EMA) with momentum confirmation (smoothed RSI as a QQE proxy). This indicator plots clean entry arrowsโno background shading, no clutterโso you can trade only in the high-probability regime:
Trend Filter: 200-period exponential moving average
Momentum Filter: RSI(14) smoothed over N bars, offset by 50 to create a zero-line
Long Entry: Price above the 200 EMA and the smoothed RSI crosses up through zero โ green up-arrow below bar
Short Entry: Price below the 200 EMA and the smoothed RSI crosses down through zero โ red down-arrow above bar
Key Features:
Minimalist display: only the 200 EMA and entry arrows
Customizable inputs: EMA length, RSI length, RSI smoothing period
Ultra-low CPU load: suitable for lower timeframes (e.g. 1 min gold futures)
Yellow label text: for optimal visibility on dark or light chart backgrounds
How to Use:
Add the script to your TradingView chart.
Choose your timeframe and adjust inputs as needed.
Take only the long signals when price is above the EMA, and only the short signals when price is below.
Place stops just beyond the EMA; targets can be measured swings or fixed R-multiples.
Notes:
Designed as a regime-based entry filterโno exits or background fills included.
Feel free to combine with your own stop-loss, take-profit, and money-management rules.
Trade smarter, not harderโlet the market tell you only when both trend and momentum align.
Cari dalam skrip untuk "entry"
Timeframe StrategyThis is a multi-timeframe trading strategy inspired by Ross Cameron's style, optimized for scalping and trend-following across various timeframes (1m, 5m, 15m, 1h, and 1D). The strategy integrates a comprehensive set of technical indicators, dynamic risk management, and visual tools.
Core Features
Dynamic Take Profit, Stop Loss & Trailing Stop
> Separate settings per timeframe for:
-TP% (Take Profit)
-SL% (Stop Loss)
-Trailing Stop %
-Cooldown bars
> Configurable via UI inputs.
>Smart Entry Conditions
Bullish entry: EMA9 crossover EMA20 and EMA50 > EMA200
Bearish entry: EMA9 crossunder EMA20 and EMA50 < EMA200
>Additional confirmation filters:
-Volume Filter (enabled/disabled via UI)
-Time Filter (e.g., only between 15:00โ20:00 UTC)
-Spike Filter: rejects high-volatility candles
-RSI Filter: above/below 50 for trend confirmation
-ADX Filter (only applied on 1m, e.g., ADX > 15)
-Micro-Volatility Filter: minimum range percentage (1m only)
-Trend Filter (1m only): price must be above/below EMA200
>Trailing Stop Logic
-Configurable for each timeframe.
- Optional via toggle (use_trailing).
>Trade Cooldown Logic
-Prevents consecutive trades within X bars, configurable per timeframe.
>Technical Indicators Used
-EMA 9 / 20 / 50 / 200
-VWAP
-RSI (14)
-ATR (14) for volatility-based spike filtering
-Custom-calculated ADX (14) (manually implemented)
>Visual Elements
๐ผ/๐ฝ Entry signals (long/short) plotted on the chart.
๐ Table in bottom-left:
Displays current values of EMA/VWAP/volume/ATR/ADX.
> Optional "Tab info" panel in top-right (toggleable):
-Timeframe & strategy settings
-Live status of filters (volume, time, cooldown, spike, RSI, ADX, range, trend)
-Uses emoji (โ
/ โ) for quick diagnostics.
>User Customization
-Inputs per timeframe for all key parameters.
-Toggle switches for:
-Trailing stop
-Volume filter
-Info table visibility
This strategy is designed for active traders seeking a balance between momentum entry, risk control, and adaptability across timeframes. It's ideal for backtesting quick reversals or breakout setups in fast markets, especially at lower timeframes like 1m or 5m.
Dual-Phase Trend Regime Strategy [Zeiierman X PineIndicators]This strategy is based on the Dual-Phase Trend Regime Indicator by Zeiierman.
Full credit for the original concept and logic goes to Zeiierman.
This non-repainting strategy dynamically switches between fast and slow oscillators based on market volatility, providing adaptive entries and exits with high clarity and reliability.
Core Concepts
1. Adaptive Dual Oscillator Logic
The system uses two oscillators:
Fast Oscillator: Activated in high-volatility phases for quick reaction.
Slow Oscillator: Used during low-volatility phases to reduce noise.
The system automatically selects the appropriate oscillator depending on the market's volatility regime.
2. Volatility Regime Detection
Volatility is calculated using the standard deviation of returns. A median-split algorithm clusters volatility into:
Low Volatility Cluster
High Volatility Cluster
The current volatility is then compared to these clusters to determine whether the regime is low or high volatility.
3. Trend Regime Identification
Based on the active oscillator:
Bullish Trend: Oscillator > 0.5
Bearish Trend: Oscillator < 0.5
Neutral Trend: Oscillator = 0.5
The strategy reacts to changes in this trend regime.
4. Signal Source Options
You can choose between:
Regime Shift (Arrows): Trade based on oscillator value changes (from bullish to bearish and vice versa).
Oscillator Cross: Trade based on crossovers between the fast and slow oscillators.
Trade Logic
Trade Direction Options
Long Only
Short Only
Long & Short
Entry Conditions
Long Entry: Triggered on bullish regime shift or fast crossing above slow.
Short Entry: Triggered on bearish regime shift or fast crossing below slow.
Exit Conditions
Long Exit: Triggered on bearish shift or fast crossing below slow.
Short Exit: Triggered on bullish shift or fast crossing above slow.
The strategy closes opposing positions before opening new ones.
Visual Features
Oscillator Bands: Plots fast and slow oscillators, colored by trend.
Background Highlight: Indicates current trend regime.
Signal Markers: Triangle shapes show bullish/bearish shifts.
Dashboard Table: Displays live trend status ("Bullish", "Bearish", "Neutral") in the chartโs corner.
Inputs & Customization
Oscillator Periods โ Fast and slow lengths.
Refit Interval โ How often volatility clusters update.
Volatility Lookback & Smoothing
Color Settings โ Choose your own bullish/bearish colors.
Signal Mode โ Regime shift or oscillator crossover.
Trade Direction Mode
Use Cases
Swing Trading: Take entries based on adaptive regime shifts.
Trend Following: Follow the active trend using filtered oscillator logic.
Volatility-Responsive Systems: Adjust your trade behavior depending on market volatility.
Clean Exit Management: Automatically closes positions on opposite signal.
Conclusion
The Dual-Phase Trend Regime Strategy is a smart, adaptive, non-repainting system that:
Automatically switches between fast and slow trend logic.
Responds dynamically to changes in volatility.
Provides clean and visual entry/exit signals.
Supports both momentum and reversal trading logic.
This strategy is ideal for traders seeking a volatility-aware, trend-sensitive tool across any market or timeframe.
Full credit to Zeiierman.
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.
Dskyz (DAFE) Quantum Sentiment Flux - Beginners Dskyz (DAFE) Quantum Sentiment Flux - Beginners:
Welcome to the Dskyz (DAFE) Quantum Sentiment Flux - Beginners , a strategy and concept thatโs your ultimate wingman for trading futures like MNQ, NQ, MES, and ES. This gem combines lightning-fast momentum signals, market sentiment smarts, and bulletproof risk management into a system so intuitive, even newbies can trade like pros. With clean DAFE visuals, preset modes for every vibe, and a revamped dashboard thatโs basically a market GPS, this strategy makes futures trading feel like a high-octane sci-fi mission.
Built on the Dskyz (DAFE) legacy of Aurora Divergence, the Quantum Sentiment Flux is designed to empower beginners while giving seasoned traders a lean, sentiment-driven edge. It uses fast/slow EMA crossovers for entries, filters trades with VIX, SPX trends, and sector breadth, and keeps your account safe with adaptive stops and cooldowns. Tuned for more action with faster signals and a slick bottom-left dashboard, this updated version is ready to light up your charts and outsmart institutional traps. Letโs dive into why this stratโs a must-have and break down its brilliance.
Why Traders Need This Strategy
Futures markets are a wild rideโfast moves, volatility spikes (like the April 28, 2025 NQ 1k-point drop), and institutional games that can wreck unprepared traders. Beginners often get lost in complex systems or burned by impulsive trades. The Quantum Sentiment Flux is the antidote, offering:
Dead-Simple Setup: Preset modes (Aggressive, Balanced, Conservative) auto-tune signals, risk, and sizing, so you can trade without a quant degree.
Sentiment Superpower: VIX filter, SPX trend, and sector breadth visuals keep you aligned with market health, dodging chop and riding trends.
Ironclad Safety: Tighter ATR-based stops, 2:1 take-profits, and preset cooldowns protect your capital, even in chaotic sessions.
Next-Level Visuals: Green/red entry triangles, vibrant EMAs, a sector breadth background, and a beefed-up dashboard make signals and context pop.
DAFE Swagger: The clean aesthetics, sleek dashboardโties it to Dskyzโs elite brand, making your charts a work of art.
Traders need this because itโs a plug-and-play system that blends beginner-friendly simplicity with pro-level market awareness. Whether youโre just starting or scalping 5min MNQ, this stratโs your key to trading with confidence and style.
Strategy Components
1. Core Signal Logic (High-Speed Momentum)
The strategyโs engine is a momentum-based system using fast and slow Exponential Moving Averages (EMAs), now tuned for faster, more frequent trades.
How It Works:
Fast/Slow EMAs: Fast EMA (Aggressive: 5, Balanced: 7, Conservative: 9 bars) and slow EMA (12/14/18 bars) track short-term vs. longer-term momentum.
Crossover Signals:
Buy: Fast EMA crosses above slow EMA, and trend_dir = 1 (fast EMA > slow EMA + ATR * strength threshold).
Sell: Fast EMA crosses below slow EMA, and trend_dir = -1 (fast EMA < slow EMA - ATR * strength threshold).
Strength Filter: ma_strength = fast EMA - slow EMA must exceed an ATR-scaled threshold (Aggressive: 0.15, Balanced: 0.18, Conservative: 0.25) for robust signals.
Trend Direction: trend_dir confirms momentum, filtering out weak crossovers in choppy markets.
Evolution:
Faster EMAs (down from 7โ10/21โ50) catch short-term trends, perfect for active futures markets.
Lower strength thresholds (0.15โ0.25 vs. 0.3โ0.5) make signals more sensitive, boosting trade frequency without sacrificing quality.
Preset tuning ensures beginners get optimized settings, while pros can tweak via mode selection.
2. Market Sentiment Filters
The strategy leans hard into market sentiment with a VIX filter, SPX trend analysis, and sector breadth visuals, keeping trades aligned with the big picture.
VIX Filter:
Logic: Blocks long entries if VIX > threshold (default: 20, can_long = vix_close < vix_limit). Shorts are always allowed (can_short = true).
Impact: Prevents longs during high-fear markets (e.g., VIX spikes in crashes), while allowing shorts to capitalize on downturns.
SPX Trend Filter:
Logic: Compares S&P 500 (SPX) close to its SMA (Aggressive: 5, Balanced: 8, Conservative: 12 bars). spx_trend = 1 (UP) if close > SMA, -1 (DOWN) if < SMA, 0 (FLAT) if neutral.
Impact: Provides dashboard context, encouraging trades that align with market direction (e.g., longs in UP trend).
Sector Breadth (Visual):
Logic: Tracks 10 sector ETFs (XLK, XLF, XLE, etc.) vs. their SMAs (same lengths as SPX). Each sector scores +1 (bullish), -1 (bearish), or 0 (neutral), summed as breadth (-10 to +10).
Display: Green background if breadth > 4, red if breadth < -4, else neutral. Dashboard shows sector trends (โ/โ/-).
Impact: Faster SMA lengths make breadth more responsive, reflecting sector rotations (e.g., tech surging, energy lagging).
Why Itโs Brilliant:
- VIX filter adds pro-level volatility awareness, saving beginners from panic-driven losses.
- SPX and sector breadth give a 360ยฐ view of market health, boosting signal confidence (e.g., green BG + buy signal = high-probability trade).
- Shorter SMAs make sentiment visuals react faster, perfect for 5min charts.
3. Risk Management
The risk controls are a fortress, now tighter and more dynamic to support frequent trading while keeping accounts safe.
Preset-Based Risk:
Aggressive: Fast EMAs (5/12), tight stops (1.1x ATR), 1-bar cooldown. High trade frequency, higher risk.
Balanced: EMAs (7/14), 1.2x ATR stops, 1-bar cooldown. Versatile for most traders.
Conservative: EMAs (9/18), 1.3x ATR stops, 2-bar cooldown. Safer, fewer trades.
Impact: Auto-scales risk to match style, making it foolproof for beginners.
Adaptive Stops and Take-Profits:
Logic: Stops = entry ยฑ ATR * atr_mult (1.1โ1.3x, down from 1.2โ2.0x). Take-profits = entry ยฑ ATR * take_mult (2x stop distance, 2:1 reward/risk). Longs: stop below entry, TP above; shorts: vice versa.
Impact: Tighter stops increase trade turnover while maintaining solid risk/reward, adapting to volatility.
Trade Cooldown:
Logic: Preset-driven (Aggressive/Balanced: 1 bar, Conservative: 2 bars vs. old user-input 2). Ensures bar_index - last_trade_bar >= cooldown.
Impact: Faster cooldowns (especially Aggressive/Balanced) allow more trades, balanced by VIX and strength filters.
Contract Sizing:
Logic: User sets contracts (default: 1, max: 10), no preset cap (unlike old 7/5/3 suggestion).
Impact: Flexible but risks over-leverage; beginners should stick to low contracts.
Built To Be Reliable and Consistent:
- Tighter stops and faster cooldowns make it a high-octane system without blowing up accounts.
- Preset-driven risk removes guesswork, letting newbies trade confidently.
- 2:1 TPs ensure profitable trades outweigh losses, even in volatile sessions like April 27, 2025 ES slippage.
4. Trade Entry and Exit Logic
The entry/exit rules are simple yet razor-sharp, now with VIX filtering and faster signals:
Entry Conditions:
Long Entry: buy_signal (fast EMA crosses above slow EMA, trend_dir = 1), no position (strategy.position_size = 0), cooldown passed (can_trade), and VIX < 20 (can_long). Enters with user-defined contracts.
Short Entry: sell_signal (fast EMA crosses below slow EMA, trend_dir = -1), no position, cooldown passed, can_short (always true).
Logic: Tracks last_entry_bar for visuals, last_trade_bar for cooldowns.
Exit Conditions:
Stop-Loss/Take-Profit: ATR-based stops (1.1โ1.3x) and TPs (2x stop distance). Longs exit if price hits stop (below) or TP (above); shorts vice versa.
No Other Exits: Keeps it straightforward, relying on stops/TPs.
5. DAFE Visuals
The visuals are pure DAFE magic, blending clean function with informative metrics utilized by professionals, now enhanced by faster signals and a responsive breadth background:
EMA Plots:
Display: Fast EMA (blue, 2px), slow EMA (orange, 2px), using faster lengths (5โ9/12โ18).
Purpose: Highlights momentum shifts, with crossovers signaling entries.
Sector Breadth Background:
Display: Green (90% transparent) if breadth > 4, red (90%) if breadth < -4, else neutral.
Purpose: Faster breadth_sma_len (5โ12 vs. 10โ50) reflects sector shifts in real-time, reinforcing signal strength.
- Visuals are intuitive, turning complex signals into clear buy/sell cues.
- Faster breadth background reacts to market rotations (e.g., tech vs. energy), giving a pro-level edge.
6. Sector Breadth Dashboard
The new bottom-left dashboard is a game-changer, a 3x16 table (black/gray theme) thatโs your market command center:
Metrics:
VIX: Current VIX (red if > 20, gray if not).
SPX: Trend as โUPโ (green), โDOWNโ (red), or โFLATโ (gray).
Trade Longs: โOKโ (green) if VIX < 20, โBLOCKโ (red) if not.
Sector Breadth: 10 sectors (Tech, Financial, etc.) with trend arrows (โ green, โ red, - gray).
Placeholder Row: Empty for future metrics (e.g., ATR, breadth score).
Purpose: Consolidates regime, volatility, market trend, and sector data, making decisions a breeze.
- VIX and SPX metrics add context, helping beginners avoid bad trades (e.g., no longs if โBLOCKโ).
Sector arrows show market health at a glance, like a cheat code for sentiment.
Key Features
Beginner-Ready: Preset modes and clear visuals make futures trading a breeze.
Sentiment-Driven: VIX filter, SPX trend, and sector breadth keep you in sync with the market.
High-Frequency: Faster EMAs, tighter stops, and short cooldowns boost trade volume.
Safe and Smart: Adaptive stops/TPs and cooldowns protect capital while maximizing wins.
Visual Mastery: DAFEโs clean flair, EMAs, dashboardโmakes trading fun and clear.
Backtestable: Lean code and fixed qty ensure accurate historical testing.
How to Use
Add to Chart: Load on a 5min MNQ/ES chart in TradingView.
Pick Preset: Aggressive (scalping), Balanced (versatile), or Conservative (safe). Balanced is default.
Set Contracts: Default 1, max 10. Stick low for safety.
Check Dashboard: Bottom-left shows preset, VIX, SPX, and sectors. โOKโ + green breadth = strong buy.
Backtest: Run in strategy tester to compare modes.
Live Trade: Connect to Tradovate or similar. Watch for slippage (e.g., April 27, 2025 ES issues).
Replay Test: Try April 28, 2025 NQ drop to see VIX filter and stops in action.
Why Itโs Brilliant
The Dskyz (DAFE) Quantum Sentiment Flux - Beginners is a masterpiece of simplicity and power. It takes pro-level toolsโmomentum, VIX, sector breadthโand wraps them in a system anyone can run. Faster signals and tighter stops make it a trading machine, while the VIX filter and dashboard keep you ahead of market chaos. The DAFE visuals and bottom-left command center turn your chart into a futuristic cockpit, guiding you through every trade. For beginners, itโs a safe entry to futures; for pros, itโs a scalping beast with sentiment smarts. This strat doesnโt just tradeโit transforms how you see the market.
Final Notes
This is more than a strategyโitโs your launchpad to mastering futures with Dskyz (DAFE) flair. The Quantum Sentiment Flux blends accessibility, speed, and market savvy to help you outsmart the game. Load it, watch those triangles glow, and letโs make the markets your canvas!
Official Statement from Pine Script Team
(see TradingView help docs and forums):
"This warning may appear when you call functions such as ta.sma inside a request.security in a loop. There is no runtime impact. If you need to loop through a dynamic list of tickers, this cannot be avoided in the present version... Values will still be correct. Ignore this warning in such contexts."
(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.
[blackcat] L2 EMA NexusOVERVIEW
The L2 EMA Nexus is a comprehensive trading indicator that utilizes a three-tiered Exponential Moving Average (EMA) system to identify potential trading opportunities. This script combines technical analysis with robust risk management features to help traders make informed decisions.
KEY FEATURES
โข Triple EMA Analysis:
Customizable source inputs for each EMA
Adjustable length parameters (3, 8, 21 periods)
Dynamic color coding based on trend direction
Real-time price action monitoring
โข Advanced Entry Signals:
High-low price action verification
EMA cross-overs and cross-unders
Multi-timeframe trend confirmation
Dynamic position sizing limits
โข Risk Management:
Configurable Take Profit levels
Flexible Stop Loss settings
Optional TP/SL activation
Clear visual indicators for levels
HOW TO USE
Setup Initial Parameters:
Configure EMA lengths for your timeframe
Set Take Profit percentage (default 25%)
Define Stop Loss percentage (default 2.5%)
Adjust pyramiding limit as needed
Enable/Disable Features:
Toggle TP/SL settings based on strategy
Customize alert conditions
Modify visual labels for clarity
Monitor Trading Signals:
Watch for buy/sell labels
Track TP/SL levels
Monitor position status
TRADE MANAGEMENT
โข Entry Conditions:
Long Entry: Higher high with rising EMA1 and stable EMA3
Short Entry: Lower low with falling EMA1 and stable EMA2
โข Exit Conditions:
Take Profit: Price reaches defined percentage above/below entry
Stop Loss: Price reaches defined percentage below/above entry
โข Position Control:
Limited to specified number of positions
Automatic position tracking
Clear visual indication of current trades
TECHNICAL DETAILS
โข EMA Calculation:
Uses Exponential Moving Average for trend following
Color-coded based on 2-bar trend direction
Multiple timeframe compatibility
โข Label System:
Clear buy/sell markers
Take Profit and Stop Loss indicators
Real-time position status updates
โข Alert Configuration:
Customizable alert messages
Multiple alert conditions
Option to enable/disable specific alerts
LIMITATIONS
โ ๏ธ Important Considerations:
Results may vary across different market conditions
Historical performance does not guarantee future results
Always backtest strategy before live trading
Consider complementing with additional analysis tools
BEST PRACTICES
โข Recommended Timeframes:
Daily charts for long-term strategies
4-hour charts for swing trading
1-hour charts for short-term trading
โข Risk Management Tips:
Start with small position sizes
Always use TP/SL in live trading
Monitor market volatility before entering trades
TROUBLESHOOTING
โข Common Issues:
Ensure proper chart resolution
Verify alert conditions are enabled
Check for conflicting indicators
โข Performance Optimization:
Use appropriate timeframe for your strategy
Adjust indicator parameters based on market conditions
Monitor for potential overfitting
[blackcat] L3 Hull SeekerOVERVIEW
The L3 Hull Seeker is a comprehensive trading indicator that combines Hull Moving Average (HMA) analysis with robust position management and risk control features. This script is designed to help traders identify potential entry and exit points while maintaining strict risk management protocols.
KEY FEATURES
โข Hull MA Analysis:
Advanced Hull Moving Average calculations
Separate Hull MA lines for Close and Open prices
Visual color coding for trend direction
Customizable length parameter for flexibility
โข Position Tracking:
Real-time monitoring of long and short positions
Maximum position limit control
Clear position status indicators on chart
โข Risk Management System:
User-defined Take Profit percentage
User-defined Stop Loss percentage
Optional activation of TP/SL features
Dynamic label markers for important levels
โข Alert System:
Buy/Sell entry alerts
Take Profit/Stop Loss exit alerts
Position status changes
HOW TO USE
Setup Initial Parameters:
Hull MA Length: Adjust based on your trading timeframe
Take Profit Percentage: Set according to your risk tolerance
Stop Loss Percentage: Define your maximum acceptable loss
Enable/Disable Features:
Toggle Take Profit/Stop Loss options as needed
Adjust alert conditions for your trading style
Monitor Trading Signals:
Watch for crossover/crossunder signals
Track position status through labels
Monitor entry and exit alerts
Manage Risk:
Use TP/SL features to control position size
Monitor pyramiding limits
Review position status regularly
TRADE MANAGEMENT
โข Entry Conditions:
Long Entry: HullMA_close crosses above HullMA_open
Short Entry: HullMA_close crosses below HullMA_open
โข Exit Conditions:
Take Profit: Price reaches defined percentage above/below entry
Stop Loss: Price reaches defined percentage below/above entry
โข Position Control:
Limited to one position at a time
Automatic position tracking
Clear visual indication of current trades
TECHNICAL DETAILS
โข Hull MA Calculation:
Uses WMA (Weighted Moving Average) for precise calculations
Optimized for trend-following strategies
Smoothed Hull MA lines for better readability
โข Label System:
Clear buy/sell markers
Take Profit and Stop Loss indicators
Real-time position status updates
โข Alert Configuration:
Customizable alert messages
Multiple alert conditions
Option to enable/disable specific alerts
LIMITATIONS
โ ๏ธ Important Considerations:
Results may vary across different market conditions
Historical performance does not guarantee future results
Always backtest strategy before live trading
Consider complementing with additional analysis tools
BEST PRACTICES
โข Recommended Timeframes:
Daily charts for long-term strategies
4-hour charts for swing trading
1-hour charts for short-term trading
โข Risk Management Tips:
Start with small position sizes
Always use TP/SL in live trading
Monitor market volatility before entering trades
TROUBLESHOOTING
โข Common Issues:
Ensure proper chart resolution
Verify alert conditions are enabled
Check for conflicting indicators
โข Performance Optimization:
Use appropriate timeframe for your strategy
Adjust indicator parameters based on market conditions
Monitor for potential overfitting
TradeTrackerLibrary "TradeTracker"
Simple Library for tracking trades
method track(this)
โโtracks trade when called on every bar
โโNamespace types: Trade
โโParameters:
โโโโ this (Trade) : Trade object
โโReturns: current Trade object
Trade
โโHas the constituents to track trades generated by any method.
โโFields:
โโโโ id (series int)
โโโโ direction (series int) : Trade direction. Positive values for long and negative values for short trades
โโโโ initialEntry (series float) : Initial entry price. This value will not change even if the entry is changed in the lifecycle of the trade
โโโโ entry (series float) : Updated entry price. Allows variations to initial calculated entry. Useful in cases of trailing entry.
โโโโ initialStop (series float) : Initial stop. Similar to initial entry, this is the first calculated stop for the lifecycle of trade.
โโโโ stop (series float) : Trailing Stop. If there is no trailing, the value will be same as that of initial trade
โโโโ targets (array) : array of target values.
โโโโ startBar (series int) : bar index of starting bar. Set by default when object is created. No need to alter this after that.
โโโโ endBar (series int) : bar index of last bar in trade. Set by tracker on each execution
โโโโ startTime (series int) : time of the start bar. Set by default when object is created. No need to alter this after that.
โโโโ endTime (series int) : time of the ending bar. Updated by tracking method.
โโโโ status (series int) : Integer parameter to track the status of the trade
โโโโ retest (series bool) : Boolean parameter to notify if there was retest of the entry price
HL2 Moving Average with BandsThis indicator is designed to assist traders in identifying potential trade entries and exits for S&P 500 (ES) and Nasdaq-100 (NQ) futures. It calculates a Simple Moving Average (SMA) based on the HL2 value (average of high and low prices) of the current candle over a user-defined lookback period (default: 200 periods). The indicator plots this SMA as a blue line, providing a smoothed reference for price trends.
Additionally, it includes upper and lower bands calculated as a percentage (default: 0.5%) above and below the SMA, plotted as green and red lines, respectively. These bands act as dynamic thresholds to identify overbought or oversold conditions. The indicator generates trade signals based on price action relative to these bands:
Long Entry: A green upward triangle is plotted below the candle when the close crosses above the upper band, signaling a potential buy.
Close Long: A red square is plotted above the candle when the close crosses back below the upper band, indicating an exit for the long position.
Short Entry: A red downward triangle is plotted above the candle when the close crosses below the lower band, signaling a potential sell.
Close Short: A green square is plotted below the candle when the close crosses back above the lower band, indicating an exit for the short position.
The script is customizable, allowing users to adjust the SMA length and band percentage to suit their trading style or market conditions. It is plotted as an overlay on the price chart for easy integration with other technical analysis tools.
Recommended Time Frame and Settings for Trading S&P 500 and Nasdaq-100 Futures
Based on research and market dynamics for S&P 500 (ES) and Nasdaq-100 (NQ) futures, the 5-minute chart is recommended as the optimal time frame for day trading with this indicator. This time frame strikes a balance between capturing intraday trends and filtering out excessive noise, which is critical for futures trading due to their high volatility and leverage. The 5-minute chart aligns well with periods of high liquidity and volatility, such as the U.S. market open (9:30 AMโ11:00 AM EST) and the afternoon session (2:00 PMโ4:00 PM EST), when institutional traders are most active.
Why 5-minute? It allows traders to react to short-term price movements while avoiding the rapid fluctuations of 1-minute charts, which can be prone to false signals in choppy markets. It also provides enough data points to make the SMA and bands meaningful without the lag associated with longer time frames like 15-minute or hourly charts.
Recommended Settings
SMA Length: Set to 200 periods. This longer lookback period smooths the HL2 data, reducing noise and providing a reliable trend reference for the 5-minute chart. A 200-period SMA helps identify significant trend shifts without being overly sensitive to minor price fluctuations.
Band Percentage: 0.5% is more suitable for the volatility of ES and NQ futures on a 5-minute chart, as it generates fewer but higher-probability signals. Wider bands (e.g., 1%) may miss short-term opportunities, while narrower bands (e.g., 0.1%) may produce excessive false signals.
Trading Session Recommendations
Futures markets for ES and NQ are open nearly 24 hours (Sunday 6:00 PM EST to Friday 5:00 PM EST, with a daily break from 4:00 PMโ5:00 PM EST), but not all hours are equally optimal due to varying liquidity and volatility. The best times to trade with this indicator are:
U.S. Market Open (9:30 AMโ11:00 AM EST): This period is characterized by high volume and volatility, driven by the opening of U.S. equity markets and economic data releases (e.g., 8:30 AM EST reports like CPI or GDP). The indicatorโs signals are more reliable during this window due to strong order flow and price momentum.
Afternoon Session (2:00 PMโ4:00 PM EST): After the lunchtime lull, volume picks up as institutional traders return, and news or FOMC announcements often drive price action. The indicator can capture breakout moves as prices test the upper or lower bands.
Pre-Market (7:30 AMโ9:30 AM EST): For traders comfortable with lower liquidity, this period can offer opportunities, especially around 8:30 AM EST economic releases. However, use tighter risk management due to wider spreads and potential volatility spikes.
Additional Tips
Avoid Low-Volume Periods: Steer clear of trading during low-liquidity hours, such as the overnight session (11:00 PMโ3:00 AM EST), when spreads widen and price movements can be erratic, leading to false signals from the indicator.
Combine with Other Tools: Enhance the indicatorโs effectiveness by pairing it with support/resistance levels, Fibonacci retracements, or volume analysis to confirm signals. For example, a long entry signal above the upper band is stronger if it coincides with a breakout above a key resistance level.
Risk Management: Given the leverage in futures (e.g., Micro E-mini contracts require ~$1,200 margin for ES), use tight stop-losses (e.g., below the lower band for longs or above the upper band for shorts) to manage risk. Aim for a risk-reward ratio of at least 1:2.
Test Settings: Backtest the indicator on a demo account to optimize the SMA length and band percentage for your specific trading style and risk tolerance. Micro E-mini contracts (MES for S&P 500, MNQ for Nasdaq-100) are ideal for testing due to their lower capital requirements.
Why These Settings and Time Frame?
The 5-minute chart with a 200-period SMA and 0.5% bands is tailored for the volatility and liquidity of ES and NQ futures during peak trading hours. The longer SMA period ensures the indicator captures meaningful trends, while the 0.5% bands are tight enough to signal actionable breakouts but wide enough to avoid excessive whipsaws. Trading during high-volume sessions maximizes the likelihood of valid signals, as institutional participation drives clearer price action.
By focusing on these settings and time frames, traders can leverage the indicator to capitalize on the dynamic price movements of S&P 500 and Nasdaq-100 futures while managing the inherent risks of these markets.
DEMA Trend Oscillator Strategy๐ Overview
The DEMA Trend Oscillator Strategy is a dynamic trend-following approach based on the Normalized DEMA Oscillator SD.
It adapts in real-time to market volatility with the goal of improving entry accuracy and optimizing risk management.
โ ๏ธ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
๐ฏ Strategy Objectives
The main goal of this strategy is to respond quickly to sudden price movements and trend reversals,
by combining momentum-based signals with volatility filters.
It is designed to be user-friendly for traders of all experience levels.
โจ Key Features
Normalized DEMA Oscillator: A momentum indicator that normalizes DEMA values on a 0โ100 scale, allowing intuitive identification of trend strength
Two-Bar Confirmation Filter: Requires two consecutive bullish or bearish candles to reduce noise and enhance entry reliability
ATR x2 Trailing Stop: In addition to fixed stop-loss levels, a trailing stop based on 2ร ATR is used to maximize profits during strong trends
๐ Trading Rules
Long Entry:
Normalized DEMA > 55 (strong upward momentum)
Candle low is above the upper SD band
Two consecutive bullish candles appear
Short Entry:
Normalized DEMA < 45 (downward momentum)
Candle high is below the lower SD band
Two consecutive bearish candles appear
Exit Conditions:
Take-profit at a risk-reward ratio of 1.5
Stop-loss triggered if price breaks below (long) or above (short) the SD band
Trailing stop activated based on 2ร ATR to secure and extend profits
๐ฐ Risk Management Parameters
Symbol & Timeframe: Any (AUDUSD 5M example)
Account size (virtual): $3000
Commission: 0.4PIPS(0.0004)
Slippage: 2 pips
Risk per trade: 5%
Number of trades (backtest):534
All parameters can be adjusted based on broker specifications and individual trading profiles.
โ๏ธ Trading Parameters & Considerations
Indicator: Normalized DEMA Oscillator SD
Parameter settings:
DEMA Period (len_dema): 40
Base Length: 20
Long Threshold: 55
Short Threshold: 45
Risk-Reward Ratio: 1.5
ATR Multiplier for Trailing Stop: 2.0
๐ผ Visual Support
The chart displays the following visual elements:
Upper and lower SD bands (ยฑ2 standard deviations)
Entry signals shown as directional arrows
๐ง Strategy Improvements & Uniqueness
This strategy is inspired by โNormalized DEMA Oscillator SDโ by QuantEdgeB,
but introduces enhancements such as a two-bar confirmation filter and an ATR-based trailing stop.
Compared to conventional trend-following strategies, it offers superior noise filtering and profit optimization.
โ
Summary
The DEMA Trend Oscillator Strategy is a responsive and practical trend-following method
that combines momentum detection with adaptive risk management.
Its visual clarity and logical structure make it a powerful and repeatable tool
for traders seeking consistent performance in trending markets.
โ ๏ธ Always apply appropriate risk management. This strategy is based on historical data and does not guarantee future results.
Daily Bollinger Band StrategyOverview of the Daily Bollinger Band Strategy
1. Strategy Overview and Features
This strategy is a tool for backtesting a trading method that uses Bollinger Bands. It is *not* a tool for automated trading.
1-1. Main Display Items
The main chart displays the Bollinger Bands and the 200-day moving average.
It also shows the entry and exit points along with the position size (in units of 100 shares).
1-2. Summary of Trading Rules
For long (buy) strategies, the trade enters when the price crosses above the +1ฯ line of the Bollinger Bands, aiming to ride an upward trend. The position is exited when the price crosses below the middle band.
For short (sell) strategies, the trade enters when the price crosses below the -1ฯ line of the Bollinger Bands, aiming to ride a downward trend. The position is exited when the price crosses above the middle band.
1-3. Strategic Enhancements
The strategy uses the slope of the 200-day moving average to determine the trend direction and enter trades accordingly. This improves the win rate and payoff ratio.
Additionally, to reduce the probability of ruin, the risk per trade is limited to 1.0% of capital, and position sizing is adjusted using ATR (a volatility indicator).
2. Trading Rules
2-1. Chart Type
Only daily charts are used.
2-2. Indicators Used
(1) Bollinger Bands** (used for entry and exit signals)
- Period: Fixed at 80 days
- Upper and lower bands: Fixed at ยฑ1ฯ
(2) Moving Average** (used to determine trend direction)
- Period: Fixed at 200 days
- Trend direction is judged based on whether the difference from the previous day is positive (upward) or negative (downward)
2-3. Buy Rules
Setup:
- Price crosses above the +1ฯ line from below
- Both the middle band and 200-day moving average are upward sloping
Entry:
- Buy at the next dayโs market open using a market order
Exit:
- If the price crosses below the middle band, sell at the next dayโs open using a market order
2-4. Sell Rules
Setup:
- Price crosses below the -1ฯ line from above
- Both the middle band and 200-day moving average are downward sloping
Entry:
- Sell at the next dayโs market open using a market order
Exit:
- If the price crosses above the middle band, buy back at the next dayโs open using a market order
2-5. Risk Management Rules
- Risk per trade: 1.0% of total capital (acceptable loss = capital ร 1.0%)
- Position size: Acceptable loss รท 2ATR (rounded down to the nearest unit of 100 shares)
2-6. Other Notes
- No brokerage fees
- No pyramiding
- No partial exits
- No reverse positions (no โstop-and-reverseโ trades)
3. Strategy Parameters
The following settings can be specified:
3-1. Period Settings
- Start date: Set the start date for the backtest period
- Stop date: Set the end date for the backtest period
3-2. Display of Trend and Signals
- Show trend: When checked, the background color of the bars is light red for an uptrend and light blue for a downtrend
- Show signal: When checked, entry and exit signals are displayed (note: signals are executed at the next dayโs open, so there is a one-day lag in the display)
3-3. Capital Management Settings
- Funds: Capital available for trading (in JPY)
- Risk rate: Specify what percentage of the capital to risk per trade
Settings in the โPropertiesโ tab are not used in this strategy.
4. Backtest Results (Example)
Here are the backtest results conducted by the author:
- Target Stocks: All components of the Nikkei 225
- Test Period: January 4, 2000 โ December 30, 2024
- Data Points: 12,886
- Win Rate: 33.45%
- Net Profit: ยฅ82,132,380
- Payoff Ratio: 2.450
- Expected Value: ยฅ6,373.8
- Risk Rate: 1.0%
- Probability of Ruin: 0.00%
---
ใใคใชใผใปใใชใณใธใฃใผใใณใใปในใใฉใใธใผใฎๆฆ่ฆ
1. ในใใฉใใธใผใฎๆฆ่ฆใจ็นๅพด
ใใฎในใใฉใใธใผใฏใใใชใณใธใฃใผใใณใใไฝฟใฃใใใฌใผใๆๆณใฎใใใฏใในใใ่กใใใผใซใงใใ่ชๅๅฃฒ่ฒทใ่กใใใผใซใงใฏใใใพใใใ
1-1. ไธปใช่กจ็คบ้
็ฎ
ใกใคใณใใฃใผใใซใใชใณใธใฃใผใใณใใจ 200ๆฅ็งปๅๅนณๅ็ทใ่กจ็คบใใพใใ
ใพใใใจใณใใชใผใจๆไป่ใใฎใฟใคใใณใฐใจๆฐ้๏ผ100ๆ ชๅไฝ๏ผใ่กจ็คบใใใพใใ
1-2. ใใฌใผใใซใผใซใฎๆฆ่ฆ
่ฒทใๆฆ็ฅใฎๅ ดๅใใใชใณใธใฃใผใใณใใฎ +1ฯ ่ถ
ใใงใจใณใใชใผใใฆไธๆใใฌใณใใซไนใใใใใซใใณใใๅฒใฃใใๆฑบๆธใใพใใ
ๅฃฒใๆฆ็ฅใฎๅ ดๅใใใชใณใธใฃใผใใณใใฎ -1ฯ ๅฒใใงใจใณใใชใผใใฆไธ้ใใฌใณใใซไนใใใใใซใใณใใไธๆใใใๆฑบๆธใใพใใ
1-3. ในใใฉใใธใผใฎๅทฅๅคซ็น
200ๆฅ็งปๅๅนณๅ็ทใฎๅพใใ่ฆใฆใใฌใณใๆนๅใซใจใณใใชใผใใใฆใใพใใใใใใฆๅ็ใจใใคใชใใฌใทใชใฎๆ็ธพใๅไธใใฆใใพใใ
ใพใใ็ ด็ฃ็ขบ็ใๆใใใใใซใใชในใฏ่ณ้ๆฏ็ใ 1.0% ใซใใฆใATR๏ผใใฉใใฃใชใใฃๆๆจ๏ผ ใไฝฟใฃใฆๆณจๆๆฐใ่ชฟๆดใใฆใใพใใ
2. ๅฃฒ่ฒทใซใผใซ
2-1. ไฝฟ็จใใใใฃใผใ
ๆฅ่ถณใใฃใผใใซ้ๅฎใใพใ
2-2. ไฝฟ็จใใๆๆจ
(1) ใใชใณใธใฃใผใใณใ๏ผไปๆใใจๆไป่ใใฎใทใฐใใซใซไฝฟ็จ๏ผ
ๆ้ใฏ80ๆฅใซๅบๅฎ
ไธไธใใณใใฏ ยฑ1ฯ ใซๅบๅฎ
(2) ็งปๅๅนณๅ็ท๏ผใใฌใณใใฎๆนๅใ่ฆใใใใซไฝฟ็จ๏ผ
ๆ้ใฏ200ๆฅใซๅบๅฎ
็งปๅๅนณๅใฎๅคใฎๅๆฅใจใฎๅทฎใใใฉในใฎใจใไธๅใใใใคใในใฎใจใไธๅใใจๅคๆญ
2-3. ่ฒทใใฎใซใผใซ
ใปใใใขใใ๏ผใใชใณใธใฃใผใใณใใฎ +1ฯ ใไพกๆ ผใไธใใไธใซไบคๅทฎ ใใค ใใใซใใณใใจ 200ๆฅ็งปๅๅนณๅ็ทใไธๅใ
ไปๆใ๏ผ็ฟๆฅใฎๅฏใไปใใซๆ่กใง่ฒทใ
ๆไป่ใ๏ผใใชใณใธใฃใผใใณใใฎใใใซใใณใใไพกๆ ผใไธใใไธใซไบคๅทฎใใใใ็ฟๆฅใฎๅฏใไปใใซๆ่กใงๅฃฒใ
2-4. ๅฃฒใใฎใซใผใซ
ใปใใใขใใ๏ผใใชใณใธใฃใผใใณใใฎ -1ฯ ใไพกๆ ผใไธใใไธใซไบคๅทฎ ใใค ใใใซใใณใใจ 200ๆฅ็งปๅๅนณๅ็ทใไธๅใ
ไปๆใ๏ผ็ฟๆฅใฎๅฏใไปใใซๆ่กใงๅฃฒใ
ๆไป่ใ๏ผใใชใณใธใฃใผใใณใใฎใใใซใใณใใไพกๆ ผใไธใใไธใซไบคๅทฎใใใใ็ฟๆฅใฎๅฏใไปใใซๆ่กใง่ฒทใๆปใ
2-5. ่ณ้็ฎก็ใฎใซใผใซ
ใชในใฏ่ณ้ๆฏ็๏ผ่ณ็ฃใฎ 1.0%๏ผ่จฑๅฎนๆๅคฑ = ่ณ็ฃ ร 1.0%๏ผ
ๆณจๆๆฐ๏ผ่จฑๅฎนๆๅคฑ รท 2ATR๏ผๅๅ
ๆ ชๆฐๆชๆบใฏๅใๆจใฆ๏ผ
2-6. ใใฎไป
ไปฒไปๆๆฐๆ๏ผใชใ
ใใฉใใใใฃใณใฐ๏ผใชใ
ๅๅฒๆฑบๆธ๏ผใชใ
ใใใณ๏ผใใชใ
3. ในใใฉใใธใผใฎใใฉใกใผใฟใผ
ๆฌกใฎ้
็ฎใๆๅฎใงใใพใใ
3-1. ๆ้ใฎ่จญๅฎ
Staer date : ใใใฏใในใใฎๆค่จผๆ้ใฎ้ๅงๆฅใๆๅฎใใพใ
Stop date : ใใใฏใในใใฎๆค่จผๆ้ใฎ็ตไบๆฅใๆๅฎใใพใ
3-2. ใใฌใณใใจใทใฐใใซใฎ่กจ็คบ
Show trend : ใใงใใฏใๅ
ฅใใใจใใใผใฎ่ๆฏ่ฒใใใใฌใณใใไธๆใฎใจใใฏ่ใ่ตคใงใไธ่ฝใฎใจใใฏ่ใ้ใง่กจ็คบใใใพใ
Show signal : ใใงใใฏใๅ
ฅใใใจใใจใณใใชใผใจๆไป่ใใฎใทใฐใใซใ่กจ็คบใใพใ๏ผใทใฐใใซใฎๅบใ็ฟๆฅใฎๅฏใไปใใซๅฃฒ่ฒทใใใใฎใง่กจ็คบใซ1ๆฅใฎใใใใใใพใ๏ผ
3-3. ่ณ้็ฎก็็จใฎ่จญๅฎ
Funds : ใใฌใผใ็จใฎ่ณ้(ๅ)
Risk rate : ่จฑๅฎนๆๅคฑใ่ณ้ใฎไฝ%ใซใใใใงๆๅฎใใพใ
ใใใญใใใฃใฟใใใง่จญๅฎใใๅคใฏใใใฎในใใฉใใธใผใงใฏๆๅนใงใฏใใใพใใใ
4. ใใใฏใในใใฎ็ตๆ๏ผไพ๏ผ
ไฝ่
ใใใใฏใในใใๅฎๆฝใใ็ตๆใใ็ฅใใใใพใใ
ๅฏพ่ฑก้ๆ๏ผๆฅ็ต225ๆงๆ้ๆใในใฆ
ๅฏพ่ฑกๆ้๏ผ2000ๅนด1ๆ4ๆฅ๏ฝ2024ๅนด12ๆ30ๆฅ
ใใผใฟไปถๆฐ๏ผ12,886
ๅ็๏ผ33.45%
็ดๅฉ็๏ผ82,132,380
ใใคใชใใฌใทใช๏ผ2.450
ๆๅพ
ๅค๏ผ6,373.8
ใชในใฏ่ณ้ๆฏ็๏ผ1.0%
็ ด็ฃ็ขบ็๏ผ0.00%
DM Support / Resistance (USA Session)This indicator is specifically designed for use on the 4-hour time frame and helps traders identify key support and resistance levels during the USA trading session (9:30 AM to 4:00 PM Eastern Time). The indicator calculates important price levels to assist in making well-informed entry and exit decisions, particularly for those focusing on swing trades or longer-term intraday strategies. It also includes a feature to skip setups when relevant fundamental news is scheduled, ensuring you avoid trading during periods of high volatility.
Key Features:
Support and Resistance Levels (S1 & R1):
The indicator calculates and displays Support 1 (S1) and Resistance 1 (R1) levels, which act as key barriers for price action and help traders spot potential reversal or breakout zones on the chart.
Pivot Point (PP):
The Pivot Point (PP) is calculated as the average of the previous period's high, low, and close. It serves as a central reference point for market direction, allowing traders to evaluate whether the market is in a bullish or bearish trend.
Market Bias:
The Bias is shown as a histogram that helps traders assess the strength of the market trend. A positive bias suggests bullish sentiment, while a negative bias signals bearish conditions. This can be used to confirm the overall trend direction.
4-Hour Time Frame:
The indicator is optimized for the 4-hour time frame, making it suitable for traders looking for swing trades or those who wish to capture longer-term trends within the USA session. The key support, resistance, and pivot levels are recalculated dynamically to reflect price action over 4-hour periods.
Dynamic Plotting and Alerts:
Support and resistance levels are drawn as dashed horizontal lines, updating in real-time to reflect the most current market data during the USA session. Alerts can be set for significant price movements crossing these levels.
Stop-Loss Strategy Based on 15-Minute Time Frame:
A unique feature of this indicator is its stop-loss strategy, which uses 15-minute time frame support and resistance levels. When a long or short entry is triggered on the 4-hour chart, traders should place their stop-loss according to the relevant 15-minute support or resistance level.
If the price closes above the 15-minute support for a long entry, or closes below the 15-minute resistance for a short entry, it signals the need to exit or adjust your position based on these levels.
Fundamental News Filter:
To avoid unnecessary risk, the indicator incorporates a fundamental news filter. If there is relevant news scheduled during the USA session, such as high-impact economic data or central bank announcements, the indicator will skip the setup for that period. This prevents traders from entering positions during times of elevated volatility caused by news events, which could result in unpredictable price movements.
How to Use:
Long Entry: When the Bias is positive and the price breaks above Support 1 (S1), this signals a potential bullish move. Consider entering a long position at this point.
Stop-Loss Strategy: Set your stop-loss at the respective 15-minute support level. If the price closes below this level, it could signal a reversal, prompting you to exit the trade.
Short Entry: When the Bias is negative and the price breaks below Resistance 1 (R1), this signals a potential bearish move. Enter a short position at this point.
Stop-Loss Strategy: Set your stop-loss at the respective 15-minute resistance level. If the price closes above this level, exit the short trade as it could indicate a bullish reversal.
Pivot Point (PP): The Pivot Point serves as a reference level to gauge potential price reversals. A move above the PP suggests a bullish bias, while trading below the PP suggests a bearish outlook.
Bias Histogram: The Bias Histogram helps confirm trend direction. A positive bias confirms long positions, while a negative bias reinforces short trades.
Avoid Trading During High-Impact News: If there is significant economic news or fundamental events scheduled during the USA session, the indicator will automatically skip any potential setup. This feature ensures you avoid entering trades that might be affected by unexpected news-driven volatility, keeping your trading strategy safer and more reliable.
Why Use This Indicator:
The 4-hour time frame is ideal for traders who prefer swing trading or those looking to capture longer-term trends in a structured manner. This indicator provides crucial insights into market direction, support/resistance levels, and potential entry/exit points.
The stop-loss management based on the 15-minute support and resistance levels helps traders protect their positions from sudden price reversals, ensuring more precise risk management.
The fundamental news filter is particularly useful for avoidance of high-risk periods. By skipping setups during high-impact news events, traders can avoid entering trades when price volatility could be unpredictable.
Overall, this indicator is a powerful tool for traders who want to make data-driven decisions based on technical analysis while ensuring that their positions are managed responsibly and avoiding news-driven risk.
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TP๐ Strategy: 15-Minute Scalping โ EMA + MACD + RSI + ATR-based SL/TP
This scalping strategy is designed for 15-minute charts and combines trend-following and momentum confirmation with dynamic stop loss and take profit levels based on volatility.
๐ง Indicators Used:
EMA 50 โ identifies the main trend
MACD Histogram โ confirms momentum direction
RSI (14) โ filters overbought/oversold conditions
ATR (14) โ dynamically sets SL and TP based on market volatility
๐ Entry Conditions:
Long Entry:
Price is above EMA 50
MACD histogram is positive
RSI is above 50 but below 70
Short Entry:
Price is below EMA 50
MACD histogram is negative
RSI is below 50 but above 30
๐ Risk Management:
Stop Loss: 1รATR (user-configurable)
Take Profit: 2รATR (user-configurable)
These values can be adjusted in the script inputs depending on your risk/reward preference or market conditions.
โ ๏ธ Notes:
Strategy is optimized for scalping fast-moving pairs (e.g. crypto, forex).
Works best in trending markets.
Use backtesting and forward testing before live trading.
TP/SL Percentage & RR Visual ToolThis tool is designed to help traders visually and statistically assess their trade setup by calculating Stop Loss (SL), Take Profit (TP), and Risk-to-Reward (RR) based on percentage inputs from the current price.
๐ง How It Works:
Uses the current candleโs close price as your entry.
Calculates TP and SL as percentage-based levels (e.g., 1% SL, 1.5% TP).
Displays horizontal lines and labels on the chart for TP and SL (only on the latest candle to reduce clutter).
Shows a compact table in the top-right corner with all key values:
Entry Price
Current Price
TP Price (+%)
SL Price (-%)
TP Distance from current price
RR Ratio (e.g., 1:1.5)
๐ก Use Cases:
Quickly validate if a trade setup meets your desired RR profile (e.g., 1:2).
Perfect for scalpers, swing traders, and position traders who rely on structured risk management.
Combine with your entry signal strategy to visualize targets and stops without manual calculations.
โ๏ธ Inputs:
Stop Loss % โ Sets how far your SL is from the entry.
Take Profit % โ Sets how far your TP is from the entry.
TrendSync Pro (SMC)๐ TrendSync Pro (SMC) โ Advanced Trend-Following Strategy with HTF Alignment
Created by Shubham Singh
๐ Strategy Overview
TrendSync Pro (SMC) is a precision-based smart trend-following strategy inspired by Smart Money Concepts (SMC). It combines: Real-time pivot-based trendline detection
Higher Time Frame (HTF) filtering to align trades with dominant trend
Risk management via adjustable Stop Loss (SL) and Take Profit (TP)
Directional control โ trade only bullish, bearish, or both setups
Realistic backtesting using commissions and slippage
Pre-optimized profiles for scalpers, intraday, swing, and long-term traders
๐ง How It Works:
๐ง Strategy Settings Image:
beeimg.com
The strategy dynamically identifies trend direction by using swing high/low pivots. When a new pivot forms: It draws a trendline from the last significant pivot
Detects whether the trend is up (based on pivot lows) or down (based on pivot highs)
Waits for price to break above/below the trendline
Confirms with HTF price direction (HTF close > previous HTF close = bullish)
Only then it triggers a long or short trade
It exits either at TP, SL, or a manual trendline break
๐ ๏ธ Adjustable Parameters:
Trend Period: Length for pivot detection (affects sensitivity of trendlines)
HTF Timeframe: Aligns lower timeframe entries with higher timeframe direction
SL% and TP%: Customize your risk-reward profile
Commission & Slippage: Make backtests more realistic
Trade Direction: Choose to trade: Long only, Short only, or Both
๐๏ธ Trade Direction Control:
In settings, you can choose: Bullish Only: Executes only long entries
Bearish Only: Executes only short entries
Both: Executes both long and short entries when conditions are met
This allows you to align trades with your own market bias or external analysis.
๐ Entry Logic: Long Entry:
โโข Price crosses above trendline
โโข HTF is bullish (HTF close > previous close)
โโข Latest pivot is a low (trend is considered up)
Short Entry:
โโข Price crosses below trendline
โโข HTF is bearish (HTF close < previous close)
โโข Latest pivot is a high (trend is considered down)
๐ Exit Logic: Hit Take Profit or Stop Loss
Manual trendline invalidation: If price crosses opposite of the trend direction
โฐ Best Timeframes & Recommended Settings:
Scalping (1m to 5m):
โHTF = 15m | Trend Period = 7
โSL = 0.5% | TP = 1% to 2%
Intraday (15m to 30m):
โHTF = 1H | Trend Period = 10โ14
โSL = 0.75% | TP = 2% to 3%
6 Hour Trading (30m to 1H):
โHTF = 4H | Trend Period = 20
โSL = 1% | TP = 4% to 6%
Swing Trading (4H to 1D):
โHTF = 1D | Trend Period = 35
โSL = 2% | TP = 8% to 12%
Long-Term Investing (1D+):
โHTF = 1W | Trend Period = 50
โSL = 3% | TP = 15%+
Note: These are recommended base settings. Adjust based on volatility, asset class, or personal trading style.
๐ธ Testing Note:
beeimg.com
TradingView limits test length to 20k bars (~40 trades on smaller timeframes). To show long-term results: Test on higher timeframes (e.g., 1H, 4H, 1D)
Share images of backtest result in description
Host longer test result screenshots on Imgur or any public drive
๐ Asset Behavior Insight:
This strategy works on multiple assets, including BTC, ETH, etc.
Performance varies by trend strength:
Sometimes BTC performs better than ETH
Other times ETH gives better results
Thatโs normal as both assets follow different volatility and trend behavior
Itโs a trend-following setup. Longer and clearer the trend โ better the results.
โ
Best Practices: Avoid ranging markets
Use proper SL/TP for each timeframe
Use directional filter if you already have a directional bias
Always forward test before going live
โ ๏ธ Trading Disclaimer:
This script is for educational and backtesting purposes only. Trading involves risk. Always use risk management and never invest more than you can afford to lose.
Smart Grid Scalping (Pullback) Strategy[BullByte]The Smart Grid Scalping (Pullback) Strategy is a high-frequency trading strategy designed for short-term traders who seek to capitalize on market pullbacks. This strategy utilizes a dynamic ATR-based grid system to define optimal entry points, ensuring precise trade execution. It integrates volatility filtering and an RSI-based confirmation mechanism to enhance signal accuracy and reduce false entries.
This strategy is specifically optimized for scalping by dynamically adjusting trade levels based on current market conditions. The grid-based system helps capture retracement opportunities while maintaining strict trade management through predefined profit targets and trailing stop-loss mechanisms.
Key Features :
1. ATR-Based Grid System :
- Uses a 10-period ATR to dynamically calculate grid levels for entry points.
- Prevents chasing trades by ensuring price has reached key levels before executing entries.
2. No Trade Zone Protection :
- Avoids low-volatility zones where price action is indecisive.
- Ensures only high-momentum trades are executed to improve success rate.
3. RSI-Based Entry Confirmation :
- Long trades are triggered when RSI is below 30 (oversold) and price is in the lower grid zone.
- Short trades are triggered when RSI is above 70 (overbought) and price is in the upper grid zone.
4. Automated Trade Execution :
- Long Entry: Triggered when price drops below the first grid level with sufficient volatility.
- Short Entry: Triggered when price exceeds the highest grid level with sufficient volatility.
5. Take Profit & Trailing Stop :
- Profit target set at a customizable percentage (default 0.2%).
- Adaptive trailing stop mechanism using ATR to lock in profits while minimizing premature exits.
6. Visual Trade Annotations :
- Clearly labeled "LONG" and "SHORT" markers appear at trade entries for better visualization.
- Grid levels are plotted dynamically to aid decision-making.
Strategy Logic :
- The script first calculates the ATR-based grid levels and ensures price action has sufficient volatility before allowing trades.
- An additional RSI filter is used to ensure trades are taken at ideal market conditions.
- Once a trade is executed, the script implements a trailing stop and predefined take profit to maximize gains while reducing risks.
---
Disclaimer :
Risk Warning :
This strategy is provided for educational and informational purposes only. Trading involves significant risk, and past performance is not indicative of future results. Users are advised to conduct their own due diligence and risk management before using this strategy in live trading.
The developer and publisher of this script are not responsible for any financial losses incurred by the use of this strategy. Market conditions, slippage, and execution quality can affect real-world trading outcomes.
Use this script at your own discretion and always trade responsibly.
VIDYA Auto-Trading(Reversal Logic)Overview
This script is a dynamic trend-following strategy based on the Variable Index Dynamic Average (VIDYA). It adapts in real time to market volatility, aiming to enhance entry precision and optimize risk management.
โ ๏ธ This strategy is intended for educational and research purposes. Past performance does not guarantee future results. All results are based on historical simulations using fixed parameters.
Strategy Objectives
The objective of this strategy is to respond swiftly to sudden price movements and trend reversals, providing consistent and reliable trade signals under historical testing conditions. It is designed to be intuitive and efficient for traders of all levels.
Key Features
Momentum Sensitivity via VIDYA: Reacts quickly to momentum shifts, allowing for accurate trend-following entries.
Volatility-Based ATR Bands: Automatically adjusts stop levels and entry conditions based on current market volatility.
Intuitive Trend Visualization: Uptrends are marked with green zones, and downtrends with red zones, giving traders clear visual guidance.
Trading Rules
Long Entry: Triggered when price crosses above the upper band. Any existing short position is closed.
Short Entry: Triggered when price crosses below the lower band. Any existing long position is closed.
Exit Conditions: Positions are reversed based on signal changes, using a position reversal strategy.
Risk Management Parameters
Market: ETHUSD(5M)
Account Size: $3,000 (reasonable approximation for individual traders)
Commission: 0.02%
Slippage: 2 pip
Risk per Trade: 5% of account equity (adjusted to comply with TradingView guidelines for realistic risk levels)
Number of Trades: 251 (based on backtest over the selected dataset)
โ ๏ธ The risk per trade and other values can be customized. Users are encouraged to adapt these to their individual needs and broker conditions.
Trading Parameters & Considerations
VIDYA Length: 10
VIDYA Momentum: 20
Distance factor for upper/lower bands: 2
Source: close
Visual Support
Trend zones, entry points, and directional shifts are clearly plotted on the chart. These visual cues enhance the analytical experience and support faster decision-making.
Visual elements are designed to improve interpretability and are not intended as financial advice or trade signals.
Strategy Improvements & Uniqueness
Inspired by the public work of BigBeluga, this script evolves the original concept with meaningful enhancements. By combining VIDYA and ATR bands, it offers greater adaptability and practical value compared to conventional trend-following strategies.
This adaptation is original work and not a direct copy. Improvements are designed to enhance usability, risk control, and market responsiveness.
Summary
This strategy offers a responsive and adaptive approach to trend trading, built on momentum detection and volatility-adjusted risk management. It balances clarity, precision, and practicalityโmaking it a powerful tool for traders seeking reliable trend signals.
โ ๏ธ All results are based on historical data and are subject to change under different market conditions. This script does not guarantee profit and should be used with caution and proper risk management.
Triangular Hull Moving Average [BigBeluga X PineIndicators]This strategy is based on the original Triangular Hull Moving Average (THMA) + Volatility indicator by BigBeluga. Full credit for the concept and design goes to BigBeluga.
The strategy blends smoothed trend-following logic using a Triangular Hull Moving Average with dynamic volatility overlays, providing actionable trade signals with responsive visual feedback. It's designed for traders who want a non-lagging trend filter while also monitoring market volatility in real time.
How the Strategy Works
1. Triangular Hull Moving Average (THMA) Core
At its core, the strategy uses a Triangular Hull Moving Average (THMA) โ a variation of the traditional Hull Moving Average with triple-smoothing logic:
It combines multiple weighted moving averages (WMAs) to create a faster and smoother trend line.
This reduces lag without compromising trend accuracy.
The THMA reacts more responsively to price movements than classic MAs.
THMA Formula:
thma(_src, _length) =>
ta.wma(ta.wma(_src,_length / 3) * 3 - ta.wma(_src, _length / 2) - ta.wma(_src, _length), _length)
This logic filters out short-term noise while still being sensitive to genuine trend shifts.
2. Volatility-Enhanced Candle Plotting
An optional volatility mode overlays the chart with custom candles that incorporate volatility bands:
Wicks expand and contract dynamically based on market volatility.
The volatility value is computed using a HMA of high-low range over a user-defined length.
The candle bodies reflect THMA values, while the wicks reflect the current volatility spread.
This feature allows traders to visually gauge the strength of price moves and anticipate possible breakouts or slowdowns.
3. Trend Reversal Signal Detection
The strategy identifies trend reversals when the THMA line crosses over/under its own past value:
A bullish signal is triggered when THMA crosses above its value from two bars ago.
A bearish signal is triggered when THMA crosses below its value from two bars ago.
These shifts are marked on the chart with triangle-shaped signals for clear visibility.
This logic helps detect momentum shifts early and enables reactive trade entries.
Trade Entry & Exit Logic
Trade Modes Supported
Users can choose between:
Only Long โ Enters long trades only.
Only Short โ Enters short trades only.
Long & Short โ Enables both directions.
Entry Conditions
Long Entry:
Triggered when a bullish crossover is detected.
Active only if the strategy mode allows long trades.
Short Entry:
Triggered when a bearish crossover is detected.
Active only if the strategy mode allows short trades.
Exit Conditions
In Only Long mode, the strategy closes long positions when a bearish signal appears.
In Only Short mode, the strategy closes short positions when a bullish signal appears.
In Long & Short mode, the strategy does not auto-close positions โ instead, it opens new positions on each confirmed signal.
Dashboard Visualization
In the bottom-right corner of the chart, a live dashboard displays:
The current trend direction (๐ข for bullish, ๐ข for bearish).
The current volatility level as a percentage.
This helps traders quickly assess market status and adjust their decisions accordingly.
Customization Options
THMA Length: Adjust how smooth or reactive the trend detection should be.
Volatility Toggle & Length: Enable or disable volatility visualization and set sensitivity.
Color Settings: Choose colors for up/down trend visualization.
Trade Direction Mode: Limit the strategy to long, short, or both types of trades.
Use Cases & Strategy Strengths
1. Trend Following
Use the THMA-based candles and triangle signals to enter with momentum. The indicator adapts quickly, reducing lag and improving trade timing.
2. Volatility Monitoring
Visualize the strength of the trend with volatility wicks. Use expanding bands to confirm breakouts and contracting ones to detect weakening moves.
3. Signal Confirmation
Combine this tool with other indicators or use the trend shift triangles as confirmations for manual entries.
Conclusion
The THMA + Volatility Strategy is a non-repainting trend-following system that integrates:
Triangular Hull MA for advanced trend detection.
Real-time volatility visualization.
Clear entry signals based on trend reversals.
Configurable trade direction settings.
It is ideal for traders who:
Prefer smoothed price analysis.
Want to follow trends with precision.
Value visual volatility feedback for breakout detection.
Full credit for the original concept and indicator goes to BigBeluga.
02 SMC + BB Breakout (Improved)This strategy combines Smart Money Concepts (SMC) with Bollinger Band breakouts to identify potential trading opportunities. SMC focuses on identifying key price levels and market structure shifts, while Bollinger Bands help pinpoint overbought/oversold conditions and potential breakout points. The strategy also incorporates higher timeframe trend confirmation to filter out trades that go against the prevailing trend.
Key Components:
Bollinger Bands:
Calculated using a Simple Moving Average (SMA) of the closing price and a standard deviation multiplier.
The strategy uses the upper and lower bands to identify potential breakout points.
The SMA (basis) acts as a centerline and potential support/resistance level.
The fill between the upper and lower bands can be toggled by the user.
Higher Timeframe Trend Confirmation:
The strategy allows for optional confirmation of the current trend using a higher timeframe (e.g., daily).
It calculates the SMA of the higher timeframe's closing prices.
A bullish trend is confirmed if the higher timeframe's closing price is above its SMA.
This helps filter out trades that go against the prevailing long-term trend.
Smart Money Concepts (SMC):
Order Blocks:
Simplified as recent price clusters, identified by the highest high and lowest low over a specified lookback period.
These levels are considered potential areas of support or resistance.
Liquidity Zones (Swing Highs/Lows):
Identified by recent swing highs and lows, indicating areas where liquidity may be present.
The Swing highs and lows are calculated based on user defined lookback periods.
Market Structure Shift (MSS):
Identifies potential changes in market structure.
A bullish MSS occurs when the closing price breaks above a previous swing high.
A bearish MSS occurs when the closing price breaks below a previous swing low.
The swing high and low values used for the MSS are calculated based on the user defined swing length.
Entry Conditions:
Long Entry:
The closing price crosses above the upper Bollinger Band.
If higher timeframe confirmation is enabled, the higher timeframe trend must be bullish.
A bullish MSS must have occurred.
Short Entry:
The closing price crosses below the lower Bollinger Band.
If higher timeframe confirmation is enabled, the higher timeframe trend must be bearish.
A bearish MSS must have occurred.
Exit Conditions:
Long Exit:
The closing price crosses below the Bollinger Band basis.
Or the Closing price falls below 99% of the order block low.
Short Exit:
The closing price crosses above the Bollinger Band basis.
Or the closing price rises above 101% of the order block high.
Position Sizing:
The strategy calculates the position size based on a fixed percentage (5%) of the strategy's equity.
This helps manage risk by limiting the potential loss per trade.
Visualizations:
Bollinger Bands (upper, lower, and basis) are plotted on the chart.
SMC elements (order blocks, swing highs/lows) are plotted as lines, with user-adjustable visibility.
Entry and exit signals are plotted as shapes on the chart.
The Bollinger band fill opacity is adjustable by the user.
Trading Logic:
The strategy aims to capitalize on Bollinger Band breakouts that are confirmed by SMC signals and higher timeframe trend. It looks for breakouts that align with potential market structure shifts and key price levels (order blocks, swing highs/lows). The higher timeframe filter helps avoid trades that go against the overall trend.
In essence, the strategy attempts to identify high-probability breakout trades by combining momentum (Bollinger Bands) with structural analysis (SMC) and trend confirmation.
Key User-Adjustable Parameters:
Bollinger Bands Length
Standard Deviation Multiplier
Higher Timeframe
Higher Timeframe Confirmation (on/off)
SMC Elements Visibility (on/off)
Order block lookback length.
Swing lookback length.
Bollinger band fill opacity.
This detailed description should provide a comprehensive understanding of the strategy's logic and components.
***DISCLAIMER: This strategy is for educational purposes only. It is not financial advice. Past performance is not indicative of future results. Use at your own risk. Always perform thorough backtesting and forward testing before using any strategy in live trading.***
Auto TrendLines [TradingFinder] Support Resistance Signal Alerts๐ต Introduction
The trendline is one of the most essential tools in technical analysis, widely used in financial markets such as Forex, cryptocurrency, and stocks. A trendline is a straight line that connects swing highs or swing lows and visually indicates the marketโs trend direction.
Traders use trendlines to identify price structure, the strength of buyers and sellers, dynamic support and resistance zones, and optimal entry and exit points.
In technical analysis, trendlines are typically classified into three categories: uptrend lines (drawn by connecting higher lows), downtrend lines (formed by connecting lower highs), and sideways trends (moving horizontally). A valid trendline usually requires at least three confirmed touchpoints to be considered reliable for trading decisions.
Trendlines can serve as the foundation for a variety of trading strategies, such as the trendline bounce strategy, valid breakout setups, and confluence-based analysis with other tools like candlestick patterns, divergences, moving averages, and Fibonacci levels.
Additionally, trendlines are categorized into internal and external, and further into major and minor levels, each serving unique roles in market structure analysis.
๐ต How to Use
Trendlines are a key component in technical analysis, used to identify market direction, define dynamic support and resistance zones, highlight strategic entry and exit points, and manage risk. For a trendline to be reliable, it must be drawn based on structural principlesโnot by simply connecting two arbitrary points.
๐ฃ Selecting Pivot Types Based on Trend Direction
The first step is to determine the market trend: uptrend, downtrend, or sideways.
Then, choose pivot points that match the trend type :
In an uptrend, trendlines are drawn by connecting low pivots, especially higher lows.
In a downtrend, trendlines are formed by connecting high pivots, specifically lower highs.
It is crucial to connect pivots of the same type and structure to ensure the trendline is valid and analytically sound.
๐ฃ Pivot Classification
This indicator automatically classifies pivot points into two categories :
Major Pivots :
MLL : Major Lower Low
MHL : Major Higher Low
MHH : Major Higher High
MLH : Major Lower High
These define the primary structure of the market and are typically used in broader structural analysis.
Minor Pivots :
mLL: minor Lower Low
mHL: minor Higher Low
mHH: minor Higher High
mLH: minor Lower High
These are used for drawing more precise trendlines within corrective waves or internal price movements.
Example : In a downtrend, drawing a trendline from an MHH to an mHH creates structural inconsistency and introduces noise. Instead, connect points like MHL to MHL or mLH to mLH for a valid trendline.
๐ฃ Drawing High-Precision Trendlines
To ensure a reliable trendline :
Use pivots of the same classification (Major with Major or Minor with Minor).
Ensure at least three valid contact points (three touches = structural confirmation).
Draw through candles with the least deviation (choose wicks or bodies based on confluence).
Preferably draw from right to left for better alignment with current market behavior.
Use parallel lines to turn a single trendline into a trendline zone, if needed.
๐ฃ Using Trendlines for Trade Entries
Bounce Entry: When price approaches the trendline and shows signs of reversal (e.g., a reversal candle, divergence, or support/resistance), enter in the direction of the trend with a logical stop-loss.
Breakout Entry: When price breaks through the trendline with strong momentum and a confirmation (such as a retest or break of structure), consider trading in the direction of the breakout.
๐ฃ Trendline-Based Risk Management
For bounce entries, the stop-loss is placed below the trendline or the last pivot low (in an uptrend).
For breakout entries, the stop-loss is set behind the breakout candle or the last structural level.
A broken trendline can also act as an exit signal from a trade.
๐ฃ Combining Trendlines with Other Tools (Confluence)
Trendlines gain much more strength when used alongside other analytical tools :
Horizontal support and resistance levels
Moving averages (such as EMA 50 or EMA 200)
Fibonacci retracement zones
Candlestick patterns (e.g., Engulfing, Pin Bar)
RSI or MACD divergences
Market structure breaks (BoS / ChoCH)
๐ต Settings
Pivot Period : This defines how sensitive the pivot detection is. A higher number means the algorithm will identify more significant pivot points, resulting in longer-term trendlines.
Alerts
Alert :
Enable or disable the entire alert system
Set a custom alert name
Choose how often alerts trigger (every time, once per bar, or on bar close)
Select the time zone for alert timestamps (e.g., UTC)
Each trendline type supports two alert types :
Break Alert : Triggered when price breaks the trendline
React Alert : Triggered when price reacts or bounces off the trendline
These alerts can be independently enabled or disabled for all trendline categories (Major/Minor, Internal/External, Up/Down).
Display :
For each of the eight trendline types, you can control :
Whether to show or hide the line
Whether to delete the previous line when a new one is drawn
Color, line style (solid, dashed, dotted), extension direction (e.g., right only), and width
Major lines are typically thicker and more opaque, while minor lines appear thinner and more transparent.
All settings are designed to give the user full control over the appearance, behavior, and alert system of the indicator, without requiring manual drawing or adjustments.
๐ต Conclusion
A trendline is more than just a line on the chartโit is a structural, strategic, and flexible tool in technical analysis that can serve as the foundation for understanding price behavior and making trading decisions. Whether in trending markets or during corrections, trendlines help traders identify market direction, key zones, and high-potential entry and exit points with precision.
The accuracy and effectiveness of a trendline depend on using structurally valid pivot points and adhering to proper market logic, rather than relying on guesswork or personal bias.
This indicator is built to solve that exact problem. It automatically detects and draws multiple types of trendlines based on actual price structure, separating them into Major/Minor and Internal/External categories, and respecting professional analytical principles such as pivot type, trend direction, and structural location.
Gold Scalping BOS & CHoCHThis strategy is designed for scalping gold (XAU/USD) on the 3-minute timeframe, utilizing Break of Structure (BOS) and Change of Character (CHoCH) to identify high-probability trade setups. Unlike traditional SMA crossover strategies, this method focuses purely on price action and market structure shifts, allowing for early entries and better risk management.
Core Concepts:
Break of Structure (BOS) โ Confirms a continuation of the trend when price breaks the last swing high (bullish) or last swing low (bearish).
Change of Character (CHoCH) โ Detects possible trend reversals by identifying a shift in market momentum.
Dynamic Support & Resistance โ Uses the last 10-bar highs and lows to determine adaptive stop-loss (SL) and take-profit (TP) levels.
Risk-to-Reward Ratio (1:2 RR) โ Ensures trades are executed with a favorable risk/reward ratio.
Entry Conditions:
Buy Entry:
BOS (Bullish) confirmed (price breaks the previous swing high).
CHoCH (Bullish) confirms trend shift.
Price crosses back above the last swing low (confirmation of support).
Sell Entry:
BOS (Bearish) confirmed (price breaks the previous swing low).
CHoCH (Bearish) confirms trend shift.
Price crosses back below the last swing high (confirmation of resistance).
Exit Conditions:
Stop Loss (SL): Set at the most recent dynamic support (for buys) or resistance (for sells).
Take Profit (TP): 2x the risk (1:2 risk-reward ratio).
Advantages of This Strategy:
โ
No lagging indicators โ Uses price action for real-time entries.
โ
High probability setups โ Focuses only on strong structural breaks.
โ
Adaptive SL/TP โ Uses real market structure instead of fixed values.
โ
Optimized for Scalping โ Best suited for quick in-and-out trades.
Best Time to Trade:
๐น London & New York Sessions (High volatility for gold).
Rally Base Drop SND Pivots Strategy [LuxAlgo X PineIndicators]This strategy is based on the Rally Base Drop (RBD) SND Pivots indicator developed by LuxAlgo. Full credit for the concept and original indicator goes to LuxAlgo.
The Rally Base Drop SND Pivots Strategy is a non-repainting supply and demand trading system that detects pivot points based on Rally, Base, and Drop (RBD) candles. This strategy automatically identifies key market structure levels, allowing traders to:
Identify pivot-based supply and demand (SND) zones.
Use fixed criteria for trend continuation or reversals.
Filter out market noise by requiring structured price formations.
Enter trades based on breakouts of key SND pivot levels.
How the Rally Base Drop SND Pivots Strategy Works
1. Pivot Point Detection Using RBD Candles
The strategy follows a rigid market structure methodology, where pivots are detected only when:
A Rally (R) consists of multiple consecutive bullish candles.
A Drop (D) consists of multiple consecutive bearish candles.
A Base (B) is identified as a transition between Rallies and Drops, acting as a pivot point.
The pivot level is confirmed when the formation is complete.
Unlike traditional fractal-based pivots, RBD Pivots enforce stricter structural rules, ensuring that each pivot:
Has a well-defined bullish or bearish price movement.
Reduces false signals caused by single-bar fluctuations.
Provides clear supply and demand levels based on structured price movements.
These pivot levels are drawn on the chart using color-coded boxes:
Green zones represent bullish pivot levels (Rally Base formations).
Red zones represent bearish pivot levels (Drop Base formations).
Once a pivot is confirmed, the high or low of the base candle is used as the reference level for future trades.
2. Trade Entry Conditions
The strategy allows traders to select from three trading modes:
Long Only โ Only takes long trades when bullish pivot breakouts occur.
Short Only โ Only takes short trades when bearish pivot breakouts occur.
Long & Short โ Trades in both directions based on pivot breakouts.
Trade entry signals are triggered when price breaks through a confirmed pivot level:
Long Entry:
A bullish pivot level is formed.
Price breaks above the bullish pivot level.
The strategy enters a long position.
Short Entry:
A bearish pivot level is formed.
Price breaks below the bearish pivot level.
The strategy enters a short position.
The strategy includes an optional mode to reverse long and short conditions, allowing traders to experiment with contrarian entries.
3. Exit Conditions Using ATR-Based Risk Management
This strategy uses the Average True Range (ATR) to calculate dynamic stop-loss and take-profit levels:
Stop-Loss (SL): Placed 1 ATR below entry for long trades and 1 ATR above entry for short trades.
Take-Profit (TP): Set using a Risk-Reward Ratio (RR) multiplier (default = 6x ATR).
When a trade is opened:
The entry price is recorded.
ATR is calculated at the time of entry to determine stop-loss and take-profit levels.
Trades exit automatically when either SL or TP is reached.
If reverse conditions mode is enabled, stop-loss and take-profit placements are flipped.
Visualization & Dynamic Support/Resistance Levels
1. Pivot Boxes for Market Structure
Each pivot is marked with a colored box:
Green boxes indicate bullish demand zones.
Red boxes indicate bearish supply zones.
These boxes remain on the chart to act as dynamic support and resistance levels, helping traders identify key price reaction zones.
2. Horizontal Entry, Stop-Loss, and Take-Profit Lines
When a trade is active, the strategy plots:
White line โ Entry price.
Red line โ Stop-loss level.
Green line โ Take-profit level.
Labels display the exact entry, SL, and TP values, updating dynamically as price moves.
Customization Options
This strategy offers multiple adjustable settings to optimize performance for different market conditions:
Trade Mode Selection โ Choose between Long Only, Short Only, or Long & Short.
Pivot Length โ Defines the number of required Rally & Drop candles for a pivot.
ATR Exit Multiplier โ Adjusts stop-loss distance based on ATR.
Risk-Reward Ratio (RR) โ Modifies take-profit level relative to risk.
Historical Lookback โ Limits how far back pivot zones are displayed.
Color Settings โ Customize pivot box colors for bullish and bearish setups.
Considerations & Limitations
Pivot Breakouts Do Not Guarantee Reversals. Some pivot breaks may lead to continuation moves instead of trend reversals.
Not Optimized for Low Volatility Conditions. This strategy works best in trending markets with strong momentum.
ATR-Based Stop-Loss & Take-Profit May Require Optimization. Different assets may require different ATR multipliers and RR settings.
Market Noise May Still Influence Pivots. While this method filters some noise, fake breakouts can still occur.
Conclusion
The Rally Base Drop SND Pivots Strategy is a non-repainting supply and demand system that combines:
Pivot-based market structure analysis (using Rally, Base, and Drop candles).
Breakout-based trade entries at confirmed SND levels.
ATR-based dynamic risk management for stop-loss and take-profit calculation.
This strategy helps traders:
Identify high-probability supply and demand levels.
Trade based on structured market pivots.
Use a systematic approach to price action analysis.
Automatically manage risk with ATR-based exits.
The strict pivot detection rules and built-in breakout validation make this strategy ideal for traders looking to:
Trade based on market structure.
Use defined support & resistance levels.
Reduce noise compared to traditional fractals.
Implement a structured supply & demand trading model.
This strategy is fully customizable, allowing traders to adjust parameters to fit their market and trading style.
Full credit for the original concept and indicator goes to LuxAlgo.
Liquidity Sweep Filter Strategy [AlgoAlpha X PineIndicators]This strategy is based on the Liquidity Sweep Filter developed by AlgoAlpha. Full credit for the concept and original indicator goes to AlgoAlpha.
The Liquidity Sweep Filter Strategy is a non-repainting trading system designed to identify liquidity sweeps, trend shifts, and high-impact price levels. It incorporates volume-based liquidation analysis, trend confirmation, and dynamic support/resistance detection to optimize trade entries and exits.
This strategy helps traders:
Detect liquidity sweeps where major market participants trigger stop losses and liquidations.
Identify trend shifts using a volatility-based moving average system.
Analyze volume distribution with a built-in volume profile visualization.
Filter noise by differentiating between major and minor liquidity sweeps.
How the Liquidity Sweep Filter Strategy Works
1. Trend Detection Using Volatility-Based Filtering
The strategy applies a volatility-adjusted moving average system to determine trend direction:
A central trend line is calculated using an EMA smoothed over a user-defined length.
Upper and lower deviation bands are created based on the average price deviation over multiple periods.
If price closes above the upper band, the strategy signals an uptrend.
If price closes below the lower band, the strategy signals a downtrend.
This approach ensures that trend shifts are confirmed only when price significantly moves beyond normal market fluctuations.
2. Liquidity Sweep Detection
Liquidity sweeps occur when price temporarily breaks key levels, triggering stop-loss liquidations or margin call events. The strategy tracks swing highs and lows, marking potential liquidity grabs:
Bearish Liquidity Sweeps โ Price breaks a recent high, then reverses downward.
Bullish Liquidity Sweeps โ Price breaks a recent low, then reverses upward.
Volume Integration โ The strategy analyzes trading volume at each sweep to differentiate between major and minor sweeps.
Key levels where liquidity sweeps occur are plotted as color-coded horizontal lines:
Red lines indicate bearish liquidity sweeps.
Green lines indicate bullish liquidity sweeps.
Labels are displayed at each sweep, showing the volume of liquidated positions at that level.
3. Volume Profile Analysis
The strategy includes an optional volume profile visualization, displaying how trading volume is distributed across different price levels.
Features of the volume profile:
Point of Control (POC) โ The price level with the highest traded volume is marked as a key area of interest.
Bounding Box โ The profile is enclosed within a transparent box, helping traders visualize the price range of high trading activity.
Customizable Resolution & Scale โ Traders can adjust the granularity of the profile to match their preferred time frame.
The volume profile helps identify zones of strong support and resistance, making it easier to anticipate price reactions at key levels.
Trade Entry & Exit Conditions
The strategy allows traders to configure trade direction:
Long Only โ Only takes long trades.
Short Only โ Only takes short trades.
Long & Short โ Trades in both directions.
Entry Conditions
Long Entry:
A bullish trend shift is confirmed.
A bullish liquidity sweep occurs (price sweeps below a key level and reverses).
The trade direction setting allows long trades.
Short Entry:
A bearish trend shift is confirmed.
A bearish liquidity sweep occurs (price sweeps above a key level and reverses).
The trade direction setting allows short trades.
Exit Conditions
Closing a Long Position:
A bearish trend shift occurs.
The position is liquidated at a predefined liquidity sweep level.
Closing a Short Position:
A bullish trend shift occurs.
The position is liquidated at a predefined liquidity sweep level.
Customization Options
The strategy offers multiple adjustable settings:
Trade Mode: Choose between Long Only, Short Only, or Long & Short.
Trend Calculation Length & Multiplier: Adjust how trend signals are calculated.
Liquidity Sweep Sensitivity: Customize how aggressively the strategy identifies sweeps.
Volume Profile Display: Enable or disable the volume profile visualization.
Bounding Box & Scaling: Control the size and position of the volume profile.
Color Customization: Adjust colors for bullish and bearish signals.
Considerations & Limitations
Liquidity sweeps do not always result in reversals. Some price sweeps may continue in the same direction.
Works best in volatile markets. In low-volatility environments, liquidity sweeps may be less reliable.
Trend confirmation adds a slight delay. The strategy ensures valid signals, but this may result in slightly later entries.
Large volume imbalances may distort the volume profile. Adjusting the scale settings can help improve visualization.
Conclusion
The Liquidity Sweep Filter Strategy is a volume-integrated trading system that combines liquidity sweeps, trend analysis, and volume profile data to optimize trade execution.
By identifying key price levels where liquidations occur, this strategy provides valuable insight into market behavior, helping traders make better-informed trading decisions.
Key use cases for this strategy:
Liquidity-Based Trading โ Capturing moves triggered by stop hunts and liquidations.
Volume Analysis โ Using volume profile data to confirm high-activity price zones.
Trend Following โ Entering trades based on confirmed trend shifts.
Support & Resistance Trading โ Using liquidity sweep levels as dynamic price zones.
This strategy is fully customizable, allowing traders to adapt it to different market conditions, timeframes, and risk preferences.
Full credit for the original concept and indicator goes to AlgoAlpha.