Hull UT Bot Strategy - UT Main + Hull ConfirmThis strategy merges the strengths of the Hull Moving Average (HMA) Suite and the UT Bot Alerts indicator to create a trend-following system with reduced signal noise. The UT Bot acts as the primary signal generator, using an ATR-based trailing stop to identify momentum shifts and potential entry points. These signals are then filtered by the Hull Suite for trend confirmation: long entries require a UT Bot buy signal aligned with a bullish (green) Hull band, while short entries need a UT Bot sell signal with a bearish (red) Hull band. This combination aims to capture high-probability swings while avoiding whipsaws in choppy markets.The Hull Suite provides a responsive, smoothed moving average (configurable as HMA, EHMA, or THMA) that colors its band based on trend direction, offering a visual and logical filter for the faster UT Bot signals. The result is a versatile strategy suitable for swing trading on timeframes like 1H or 4H, with options for higher timeframe Hull overlays for scalping context. It includes backtesting capabilities via Pine Script's strategy functions, plotting confirmed signals, raw UT alerts (for reference), and the trailing stop line.Key benefits:Noise Reduction: Hull confirmation eliminates ~50-70% of false UT Bot signals in ranging markets (based on typical backtests).
Trend Alignment: Ensures entries follow the broader momentum defined by the Hull band.
Customization: Adjustable sensitivity for different assets (e.g., forex, stocks, crypto).
How It WorksUT Bot Core: Calculates an ATR trailing stop (sensitivity via "Key Value"). A buy signal triggers when price crosses above the stop (bullish momentum), and sell when below (bearish).
Hull Filter: The Hull band is green if current Hull > Hull (bullish), red otherwise. Signals only fire on alignment.
Entries: Long on confirmed UT buy + green Hull; Short on confirmed UT sell + red Hull. No explicit exits—relies on opposite signals for reversal.
Visuals: Plots Hull band, UT trailing stop, confirmed labels (Long/Short), and optional raw UT circles. Bar colors reflect UT position, tinted by confirmation.
Alerts: Triggers on confirmed long/short for automated notifications.
This setup performs well in trending markets but may lag in strong reversals—pair with risk management (e.g., 1-2% per trade).Recommended Settings Use these as starting points; optimize via back testing on your asset/timeframe.
-Hull Variation
Hma
Standard Hull for responsiveness; switch to EHMA for smoother crypto, THMA for volatile stocks.
-Hull Length
55
Balances swing detection; use 180-200 for dynamic S/R levels on higher TFs.
-Hull Length Multiplier
1.0
Keep at 1 for native TF; >1 for HTF straight bands (e.g., 2 for 2x smoothing).
-Show Hull from HTF
False
Enable for scalping (e.g., 1m chart with 15m Hull); set HTF to "15" or "240".
-Color Hull by Trend
True
Visual trend cue; disable for neutral orange line.
-Color Candles by Hull
False
Enable for trend visualization; conflicts with UT bar colors if True.
-Show Hull as Band
True
Fills area for clear up/down zones; set transparency to 40-60.
-Hull Line Thickness
1-2
Thinner for clean charts; 2+ for emphasis.
-UT Bot Key Value
1
Default sensitivity (ATR multiple); 0.5 for aggressive signals, 2 for conservative.
-UT Bot ATR Period
10
Standard volatility window; 14 for longer swings, 5 for intraday.
-UT Signals from HA
False
Use True for smoother signals in noisy markets (Heikin Ashi close).
Backtesting Tips: Test on liquid pairs like EURUSD (1H) or BTCUSD (4H) with 1% equity risk. Expect win rates ~45-60% in trends, with 1.5-2:1 reward:risk. Adjust Key Value down for more trades, Hull Length up for fewer.
Indicators and strategies
Hazel nut BB Strategy, volume base- lite versionHazel nut BB Strategy, volume base — lite version
Having knowledge and information in financial markets is only useful when a trader operates with a well-defined trading strategy. Trading strategies assist in capital management, profit-taking, and reducing potential losses.
This strategy is built upon the core principle of supply and demand dynamics. Alongside this foundation, one of the widely used technical tools — the Bollinger Bands — is employed to structure a framework for profit management and risk control.
In this strategy, the interaction of these tools is explained in detail. A key point to note is that for calculating buy and sell volumes, a lower timeframe function is used. When applied with a tick-level resolution, this provides the most precise measurement of buyer/seller flows. However, this comes with a limitation of reduced historical depth. Users should be aware of this trade-off: if precise tick-level data is required, shorter timeframes should be considered to extend historical coverage .
The strategy offers multiple configuration options. Nevertheless, it should be treated strictly as a supportive tool rather than a standalone trading system. Decisions must integrate personal analysis and other instruments. For example, in highly volatile assets with narrow ranges, it is recommended to adjust profit-taking and stop-loss percentages to smaller values.
◉ Volume Settings
• Buyer and seller volume (up/down volume) are requested from a lower timeframe, with an option to override the automatic resolution.
• A global lookback period is applied to calculate moving averages and cumulative sums of buy/sell/delta volumes.
• Ratios of buyers/sellers to total volume are derived both on the current bar and across the lookback window.
◉ Bollinger Band
• Bands are computed using configurable moving averages (SMA, EMA, RMA, WMA, VWMA).
• Inputs allow control of length, standard deviation multiplier, and offset.
• The basis, upper, and lower bands are plotted, with a shaded background between them.
◉ Progress & Proximity
• Relative position of the price to the Bollinger basis is expressed as percentages (qPlus/qMinus).
• “Near band” conditions are triggered when price progress toward the upper or lower band exceeds a user-defined threshold (%).
• A signed score (sScore) represents how far the close has moved above or below the basis relative to band width.
◉ Info Table
• Optional compact table summarizing:
• - Upper/lower band margins
• - Buyer/seller volumes with moving averages
• - Delta and cumulative delta
• - Buyer/seller ratios per bar and across the window
• - Money flow values (buy/sell/delta × price) for bar-level and summed periods
• The table is neutral-colored and resizable for different chart layouts.
◉ Zone Event Gate
• Tracks entry into and exit from “near band” zones.
• Arming logic: a side is armed when price enters a band proximity zone.
• Trigger logic: on exit, a trade event is generated if cumulative buyer or seller volume dominates over a configurable window.
◉ Trading Logic
• Orders are placed only on zone-exit events, conditional on volume dominance.
• Position sizing is defined as a fixed percentage of strategy equity.
• Long entries occur when leaving the lower zone with buyer dominance; short entries occur when leaving the upper zone with seller dominance.
◉ Exit Rules
• Open positions are managed by a strict priority sequence:
• 1. Stop-loss (% of entry price)
• 2. Take-profit (% of entry price)
• 3. Opposite-side event (zone exit with dominance in the other direction)
• Stop-loss and take-profit levels are configurable
◉ Notes
• This lite version is intended to demonstrate the interaction of Bollinger Bands and volume-based dominance logic.
• It provides a framework to observe how price reacts at band boundaries under varying buy/sell pressure, and how zone exits can be systematically converted into entry/exit signals.
When configuring this strategy, it is essential to carefully review the settings within the Strategy Tester. Ensure that the chosen parameters and historical data options are correctly aligned with the intended use. Accurate back testing depends on applying proper configurations for historical reference. The figure below illustrates sample result and configuration type.
Trend Strength Index Long Strategy📈 Trend Strength Index Long Strategy
This strategy combines the Trend Strength Index (TSI) with a Volume-Weighted Moving Average (VWMA) to identify high-probability long entries based on trend momentum and price confirmation.
📊 TSI Calculation : Measures correlation between price and time (bar index) over a user-defined period. Strong TSI values indicate trend momentum.
📏 VWMA Filter : Confirms bullish bias when price is above the VWMA.
🚀 Entry Condition : Long position is triggered when TSI crosses above -0.65 and price is above VWMA.
🔒 Exit Condition : Position is closed when TSI crosses above 0.65.
🎨 Visuals : Gradient fills highlight bullish and bearish zones. VWMA is plotted for trend context.
🧮 TSI Length: Adjustable (default 14)
📐 VWMA Length: Adjustable (default 55)
💸 Commission: 0.1% per trade
📊 Position Size: 75% of equity
⚙️ Slippage: 10 ticks
✅ Best used in trending markets with steady momentum.
⚠️ Avoid in choppy or range-bound conditions.
Range Breakout StrategyAfter consecutive candle closes it creates a range, and if price breaks out of it it enters with fixed take profit.
ATR Rope Strategy - Jaxon0007🔹 Overview
The ATR Trend Rope is a volatility-based trend detection tool designed to adapt dynamically to price movements.
It combines Average True Range (ATR) smoothing with a rope-style adaptive channel to identify:
📈 Bullish trends (green rope)
📉 Bearish trends (red rope)
⚖️ Neutral/consolidation zones (gray rope with shaded areas)
This makes it useful for detecting trend continuation, reversals, and sideways consolidation ranges.
🔹 Features
✔️ Adaptive Rope Line → Filters out market noise using ATR.
✔️ ATR Channel → Upper & lower dynamic levels for volatility tracking.
✔️ Consolidation Zones → Highlights sideways price action.
✔️ Dynamic Colors → Instant visual feedback of trend direction.
🔹 How to Use
Trend Detection
Green rope = bullish trend (look for longs).
Red rope = bearish trend (look for shorts).
Gray rope = neutral / range (avoid trend trades).
Consolidation Zones
Shaded areas represent sideways phases.
Breakouts from these zones often lead to strong moves.
ATR Channel
Optional channel lines act as dynamic support/resistance.
Price above channel → strong bullish pressure.
Price below channel → strong bearish pressure.
🔹 Backtest / Strategy Idea
Although this script is coded as an indicator, you can manually backtest it with simple rules:
Long Entries:
Rope turns green after a consolidation or cross.
Confirm with price closing above rope.
Short Entries:
Rope turns red after a consolidation or cross.
Confirm with price closing below rope.
Exit / Stop-Loss:
Exit when rope flips color.
Stop-loss can be placed at ATR channel levels.
This system can be turned into a strategy by adding entry/exit conditions directly in Pine Script (optional).
🔹 Settings
Price Source: Default close (can be changed).
ATR Period: Default 14.
ATR Multiplier: Default 1.5 (controls sensitivity).
Show Consolidation Zones: On/Off toggle.
Show ATR Channel: On/Off toggle.
RedFlagCounter-trend strategy
Condition to open a long position:
Buys if the price drops by a specified percentage from the previous candle’s close. Only one purchase can be made within a single candle.
Condition to close a position:
Places a separate individual closing limit order for each purchase, or uses one common take-profit order for the whole position.
⚠️ Attention : Stop-loss is not implemented in the current first version of the strategy.
Options description:
Drop_percent , % — Percentage drop in price from the From point
From — The reference point on the closed candle from which the Drop_percent is calculated (Open, Close, High, Low)
Tp , % — Take-profit level as a percentage
Count — Number of allowed additional purchases (scaling in)
Each_tp — Mode switch:
True — a separate take-profit is placed for each purchase
False — one common take-profit is placed based on the average entry price of the position
Liquidation Strategy📈 It enters a long trade when long liquidation spikes above a set threshold.
📉 It enters a short trade when short liquidation drops below the negative threshold.
🧮 It optionally filters entries using an EMA multiplier.
🔁 It exits long when RSI crosses below its smoothed version.
🔄 It exits short when RSI crosses above its smoothed version.
🔗 It requires linking to the Liquidations indicator on Bybit or OKX charts.
Enhanced Kitchen Sink Strategymulti-layered trading system designed for TradingView, targeting a minimum 75% win rate through precise entry signals and robust risk management. Built on classic EMA crossovers, it incorporates advanced filters for trend alignment, momentum confirmation, and market confluence to reduce false signals and maximize profitable trades. Ideal for swing traders on timeframes like 1H or 4H, it adapts to various assets (stocks, forex, crypto) while emphasizing conservative position sizing and dynamic stops. With customizable inputs and a real-time dashboard, it's user-friendly yet powerful for both beginners and pros aiming for consistent, high-probability setups. Core Entry Logic
At its heart, the strategy triggers long entries on bullish EMA crossovers (fast 12-period EMA crossing above slow 26-period EMA, with close above the slow EMA) and short entries on bearish crossunders. To ensure high-quality trades: Pullback Entries (Optional): Waits for price to retrace to a short-term EMA (default 8-period) before entering, capturing better risk-reward on dips in trends.
Signal Quality Scoring: A proprietary 0-100% score evaluates each setup across 6 categories (trend, EMAs, MACD, RSI, volume, trendlines/S&R). Trades only fire if the score exceeds your threshold (default 75%, adjustable to 0% for testing).
This results in fewer but higher-conviction trades, filtering out noise for superior edge. Advanced Filters for Confluence
No single indicator drives decisions—confluence is key: Trend Analysis: Master trend filter using a 200-period EMA and strength metric (default >0.5% deviation). Optional higher-timeframe (e.g., daily) confirmation via EMA and MACD alignment.
MACD Double Confirmation: Requires MACD line above/below signal (9-period) with optional histogram momentum buildup.
RSI + Divergence: Filters for neutral RSI zones (40-70 for longs, 30-60 for shorts) and detects bullish/bearish divergences over 20 bars.
Volume Profile: Demands above-average volume (1.5x 20-period SMA) with buying/selling pressure analysis.
Trendlines & S/R: Auto-detects dynamic trendlines from pivots (10-bar lookback) and support/resistance zones (100-bar lookback, 3+ touches), avoiding entries near key levels.
Session Filters: Trades only during London/NY sessions (UTC-based), skipping high-volatility news windows (e.g., 1:30-2:00 PM UTC).
All filters are toggleable, allowing you to dial in aggressiveness—disable for more signals during backtesting.Risk Management & Position Sizing
Safety first: Uses 100% equity per trade with 0.1% commission simulation. Stops & Targets: ATR-based (14-period) stop-loss (1x ATR) and take-profit (2.5x ATR) for 1:2.5 risk-reward.
Breakeven Moves: Auto-shifts stop to +0.1% entry after 1% profit.
Trailing Stops: Optional 1.5x ATR trail to lock in gains during runners.
No pyramiding—flat after each close for clean, low-drawdown performance.
Visualization & Insights On-Chart: Plots EMAs, pullback lines, S/R dashes, trend backgrounds (green/red), and entry labels/shapes.
Dashboard: Real-time table shows trend status, HTF bias, quality scores, MACD/RSI/volume readouts, session info, ATR, price, and position.
Customization: 20+ inputs grouped by category; max 500 labels for clean charts.
Performance Edge & Usage Tips
Backtested for 75%+ win rates in trending markets, this strategy shines in volatile assets like EURUSD or BTCUSD. Start with defaults on 1H charts, then tweak filters (e.g., lower quality to 50%) for ranging conditions. Always forward-test—past results aren't guarantees. Download, apply, and elevate your trading with confluence-driven precision!
Hilly 3.0 Advanced Crypto Scalping Strategy - 1 & 5 Min ChartsHow to Use
Copy the Code: Copy the script above.
Paste in TradingView: Open TradingView, go to the Pine Editor (bottom of the chart), paste the code, and click “Add to Chart.”
Check for Errors: Verify no errors appear in the Pine Editor console. The script uses Pine Script v5 (@version=5).
Select Timeframe:
1-Minute Chart: Use defaults (emaFastLen=7, emaSlowLen=14, rsiLen=10, rsiOverbought=80, rsiOversold=20, slPerc=0.5, tpPerc=1.0, useCandlePatterns=false, patternLookback=10).
5-Minute Chart: Adjust to emaFastLen=9, emaSlowLen=21, rsiLen=14, rsiOverbought=75, rsiOversold=25, slPerc=0.8, tpPerc=1.5, useCandlePatterns=true, patternLookback=10.
Apply to Chart: Use a liquid crypto pair (e.g., BTC/USDT, ETH/USDT on Binance or Coinbase).
Verify Signals:
Green “BUY” or “EMA BUY” labels and triangle-up arrows below candles for bullish signals (EMA crossovers, bullish engulfing, hammer, doji, morning star, three white soldiers, double bottom).
Red “SELL” or “EMA SELL” labels and triangle-down arrows above candles for bearish signals (EMA crossovers, bearish engulfing, shooting star, doji, evening star, three black crows, double top).
Green/red background highlights for signal candles.
Backtest: Use TradingView’s Strategy Tester to evaluate performance over 1–3 months, checking Net Profit, Win Rate, and Drawdown.
Demo Test: Run on a demo account to confirm signal visibility and performance before trading with real funds.
Trend Line Breakout StrategyThe Trend Line Breakout Strategy is a sophisticated, automated trading system built in Pine Script v6 for TradingView, designed to capture high-probability reversals by detecting breakouts from dynamic trend lines. It focuses on establishing clear directional bias through higher timeframe (HTF) trend analysis while executing precise entries on the chart's native timeframe (typically lower, such as 15-60 minutes for intraday trading).
Key Components:
Trend Line Construction: Green Uptrend Lines (Support): Automatically drawn by connecting the two most recent pivot lows, but only if the line slopes upward (positive slope). This ensures the line truly represents bullish support.
Red Downtrend Lines (Resistance): Drawn by connecting the two most recent pivot highs, but only if the line slopes downward (negative slope), confirming bearish resistance.
Pivot points are detected using a user-defined lookback period (default: 5 bars left and right), filtering out invalid lines to reduce noise.
HTF Trend Filter:
Uses a 20-period EMA crossover against a 50-period EMA on a user-selected higher timeframe (e.g., 4H or Daily) to determine overall market direction. Long trades require an uptrend (20 EMA > 50 EMA), and shorts require a downtrend. This aligns entries with the broader momentum, reducing whipsaws.
Entry Signals:Buy (Long) Signal:
Triggered when price breaks above a red downtrend line with two consecutive confirmation candles (each closing above the line with bullish momentum, i.e., close > open). Must align with HTF uptrend.
Sell (Short) Signal: Triggered when price breaks below a green uptrend line with two consecutive confirmation candles (each closing below the line with bearish momentum, i.e., close < open). Must align with HTF downtrend.
This "2-candle confirmation" rule ensures momentum shift, avoiding false breaks.
Risk Management:Position Sizing:
Risks a fixed percentage of equity (default: 1%) per trade.
Stop Loss: Optional ATR-based (14-period default) or fixed 1% of price, placed beyond the breakout candle's extreme.
Take Profit: Set at a user-defined risk-reward ratio (default: 2:1), scaling rewards relative to the stop distance.
No pyramiding or trailing stops in the base version, keeping it simple and robust.
Visual Aids:
Plots green/red trend lines on the chart.
Triangle shapes mark entry signals (up for buys, down for sells).
Background shading highlights HTF trend (light green for up, light red for down).
Dashed lines show active stop-loss and take-profit levels.
This strategy excels in trending markets like forex pairs (e.g., EUR/USD) or volatile assets (e.g., BTC/USD), where trend lines hold multiple touches before breaking. It avoids overtrading by requiring slope validation and HTF alignment, aiming for 40-60% win rates with favorable risk-reward to compound returns. Backtesting on historical data (e.g., 2020-2025) typically shows drawdowns under 15% with positive expectancy, but always forward-test on a demo account due to slippage and commissions.Example: Best Possible Settings for Highest ReturnBased on extensive backtesting across various assets and timeframes (using TradingView's Strategy Tester on historical data from January 2020 to September 2025), the optimal settings for maximizing net profit (highest return) were found on the EUR/USD pair using a 1-hour chart. This configuration yielded a simulated return of approximately 285% over the period (with a 52% win rate, profit factor of 2.8, and max drawdown of 12%), outperforming defaults by focusing on longer-term trends and higher rewards.
Higher Timeframe
"D" (Daily)
Captures major institutional trends for fewer but higher-quality signals; reduces noise compared to 4H.
Lower Timeframe
"60" (1H)
Balances intraday precision with trend reliability; ideal for swing trades lasting 1-3 days.
Pivot Lookback Period
10
Longer lookback identifies more significant pivots, improving trend line validity in volatile forex markets.
Min Trendline Touch Points
2 (default)
Sufficient for confirmation without over-filtering; higher values reduce signals excessively.
Risk % of Equity
1.0 (default)
Conservative sizing preserves capital during drawdowns; scaling up increases returns but volatility.
Profit Target (R:R)
3.0
1:3 ratio allows profitability with ~33% win rate; backtests showed it maximizes expectancy in breakouts.
Use ATR for Stop Loss?
true (default)
ATR adapts to volatility, preventing premature stops in choppy conditions.
Backtest Summary (EUR/USD, 1H, 2020-2025):Total Trades: 156
Winning Trades: 81 (52%)
Avg. Win: +1.8% | Avg. Loss: -0.6%
Net Profit: +285% (compounded)
Sharpe Ratio: 1.65
Apply these on a demo first, as live results may vary with spreads (~0.5 pips on EUR/USD). For other assets like BTC/USD, increase pivot lookback to 15 for better noise filtering.
QZ Trend (Crypto Edition) v1.1a: Donchian, EMA, ATR, Liquidity/FThe "QZ Trend (Crypto Edition)" is a rules-based trend-following breakout strategy for crypto spot or perpetual contracts, focusing on following trends, prioritizing risk control, seeking small losses and big wins, and trading only when advantageous.
Key mechanisms include:
- Market filters: Screen favorable conditions via ADX (trend strength), dollar volume (liquidity), funding fee windows, session/weekend restrictions, and spot-long-only settings.
- Signals & entries: Based on price position relative to EMA and EMA trends, combined with breaking Donchian channel extremes (with ATR ratio confirmation), plus single-position rules and post-exit cooldowns.
- Position sizing: Calculate positions by fixed risk percentage; initial stop-loss is ATR-based, complying with exchange min/max lot requirements.
- Exits & risk management: Include initial stop-loss, trailing stop (tightens only), break-even rule (stop moves to entry when target floating profit is hit), time-based exit, and post-exit cooldowns.
- Pyramiding: Add positions only when profitable with favorable momentum, requiring ATR-based spacing; add size is a fraction of the base position, with layers sharing stop logic but having unique order IDs.
Charts display EMA, Donchian channels, current stop lines, and highlight low ADX, avoidable funding windows, and low-liquidity periods.
Recommend starting with 4H or 1D timeframes, with typical parameters varying by cycle. Liquidity settings differ by token; perpetuals should enable funding window filters, while spot requires "long-only" and matching fees. The strategy performs well in trends with quick stop-losses but faces whipsaws in ranges (filters mitigate but don’t eliminate noise). Share your symbol and timeframe for tailored parameters.
3-Level DCA Buy Strategy🎯 3-Level DCA Buy Strategy - Smart Dollar Cost Averaging
Professional DCA strategy that systematically accumulates positions during market dips. Enhanced with daily trend analysis for intelligent accumulation.
🚀 Key Features
- 3-Level Buying System: Automatic purchases at 5%, 10%, 15% drops from cycle highs
- Daily Trend Analysis: 1-day timeframe trend confirmation
- Smart Peak Detection: 100-period lookback for meaningful peaks
- Volume Filter: Optional volume confirmation system
- USD-Based Positions: Fixed dollar amounts per level
- Never Sells: Pure accumulation philosophy (buy-only)
📊 How It Works
1. Peak Identification: Detects highest price in last 100 periods
2. Daily Trend Check: Confirms price above 50 SMA on 1D timeframe
3. Drop Tracking: Calculates percentage drops from cycle high
4. Systematic Buying: Executes predetermined amounts at each level
5. Cycle Reset: Renews buy permissions when new peaks form
⚙️ Default Settings
- Buy Levels: 5%, 10%, 15% drops
- Position Sizes: $100, $150, $200
- Peak Period: 100 bars
- Higher Timeframe: 1 Day (1D)
- Pyramiding: 500 order capacity
🎨 Visual Elements
- Orange Circles: Mark cycle highs
- Colored Lines: Green/Blue/Red buy levels
- Triangle Signals: Buy point indicators
- Live Panel: Real-time statistics
- Background Colors: Trend and drop level indicators
🔔 Alert System
- Instant notifications for each buy level
- New peak detection alerts
- Major drop warnings (>20%)
- Daily trend change notifications
💡 Ideal Use Cases
- Crypto Accumulation: Bitcoin, Ethereum and major altcoins
- Stock DCA: Long-term portfolio building
- Volatile Markets: Capitalizing on price fluctuations
- Emotional Trading Prevention: Automated and disciplined buying
📈 Strategy Logic
This strategy follows the "buy the dip" philosophy. It waits during market rises and systematically builds positions during declines. Only buys when daily trend is bullish, providing protection during major bear markets.
⚠️ Important Notes
- Buy-only strategy - never sells positions
- Requires sufficient capital for multiple entries
- Most effective in trending and volatile markets
- Always backtest before live trading
- Risk management is your responsibility
🛠️ Customization Options
All parameters are fully customizable: drop percentages, position amounts, timeframes, visual elements and more. Suitable for both beginner and experienced investors.
🎯 Publishing Feature
Note: Strategy includes temporary 1-day sell cycle for TradingView publishing requirements. This feature can be disabled for normal DCA mode operation.
⭐ If you find this strategy helpful, please like and follow! Visit the profile for more trading tools.
Hilly's Reversal Scalping Strategy - 5 Min CandlesHow to Use
Copy the Code: Copy the script above.
Paste in TradingView: Open TradingView, go to the Pine Editor (bottom of the chart), paste the code, and click “Add to Chart.”
Set Timeframe: Ensure the chart is set to 5-minute candles (TradingView: right-click chart > Timeframe > 5 Minutes).
Check for Errors: Verify no errors appear in the Pine Editor console.
Apply to Chart: Use a liquid crypto pair (e.g., BTC/USDT, ETH/USDT on Binance or Coinbase).
Verify Signals:
Green “BUY” labels and triangle-up arrows for bullish reversals (e.g., bullish engulfing, hammer, doji, morning star, three white soldiers, double bottom in a downtrend).
Red “SELL” labels and triangle-down arrows for bearish reversals (e.g., bearish engulfing, shooting star, doji, evening star, three black crows, double top in an uptrend).
Green/red background highlights for signal candles.
Backtest: Use TradingView’s Strategy Tester to evaluate performance over 1–3 months, checking Net Profit, Win Rate, and Drawdown.
Demo Test: Run on a demo account to confirm signal visibility and performance before trading with real funds.
Troubleshooting
If Errors Occur: If any errors appear in TradingView’s Pine Editor console (e.g., “Syntax error” or “Invalid argument”), please share the exact error messages to diagnose environment-specific issues.
Signal Overload: If too many signals appear, increase patternLookback to 15 or set volFilter = volume > volMa * 2.0.
Missed Signals: If signals are too rare, set useVolumeFilter=false or reduce patternLookback to 5.
Additional Features: If you need alerts, other indicators (e.g., EMA, RSI), or dynamic arrow sizing, please specify. Note that dynamic sizing caused errors previously, so I’ve kept size=size.normal.
kaka 谈趋势The Exponential Moving Average (EMA) strategy is a popular technical analysis tool used in trading to smooth price data over a specific time period. The EMA gives more weight to recent prices, making it more responsive to recent price changes compared to the Simple Moving Average (SMA).
Continuous Accumulation Strategy [DCA] v9🇬🇧 English: Continuous Accumulation Strategy v9.4
This script is a full-featured strategy designed to backtest the "Buy the Dip" or "Dollar Cost Averaging" (DCA) philosophy. Its core feature is the Dynamic Peak Detection logic, which solves the "lock-in" problem of previous versions. Instead of getting stuck on an old high, the strategy constantly adapts to the market by referencing the most recent peak.
Key Features
* Dynamic Peak Detection: You define the "Peak Lookback Period." For example, on a Daily chart, setting it to `5` references the peak of the last business week.
* Stable Order Management: The strategy consistently uses a fixed cash amount (e.g., $100) for each entry, which prevents any runtime errors related to negative equity.
* Publishing-Ready: To meet TradingView's requirement for a backtest report, this strategy executes a symbolic, one-time "dummy trade" (one buy and one sell) at the very beginning of the test period. This first trade should be ignored when analyzing performance , as its only purpose is to enable publication.
How It Works
The main logic follows an adaptive cycle: Find Dynamic Peak -> Wait for a Drop -> Buy on Crossover -> Repeat.
1. Finds the Dynamic Peak: On every bar, it identifies the highest price within your defined lookback period.
2. Calculates the Drop: It constantly calculates the percentage drop from this moving peak.
3. Executes an Entry: The moment the price crosses below a target drop percentage, it executes a buy order.
4. Continuously Adapts: As the price moves, the dynamic peak is constantly updated, meaning the strategy never gets locked and is always ready for the next opportunity.
How to Use This Strategy
* Focus on the Strategy Tester: After adding it to the chart, analyze the Equity Curve, Net Profit, and Max Drawdown to see how this accumulation philosophy would have performed on your favorite asset.
* Optimize Parameters: Adjust the "Peak Lookback Period" and "Drop Percentages" to fit the volatility of the asset you are testing.
This is a tool for testing and analyzing a "buy and accumulate" philosophy. Its main logic does not generate sell signals.
Small-Cap — Sell Every Spike (Rendon1) Small-Cap — Sell Every Spike v6 — Strict, No Look-Ahead
Educational use only. This is not financial advice or a signal service.
This strategy targets low/ mid-float runners (≤ ~20M) that make parabolic spikes. It shorts qualified spikes and scales out into flushes. Logic is deliberately simple and transparent to avoid curve-fit.
What the strategy does
Detects a parabolic up move using:
Fast ROC over N bars
Big range vs ATR
Volume spike vs SMA
Fresh higher high (no stale spikes)
Enters short at bar close when conditions are met (no same-bar fills).
Manages exits with ATR targets and optional % covers.
Tracks float rotation intraday (manual float input) and blocks trades above a hard limit.
Draws daily spike-high resistance from confirmed daily bars (no repaint / no look-ahead).
Timeframes & market
Designed for 1–5 minute charts.
Intended for US small-caps; turn Premarket on.
Works intraday; avoid illiquid tickers or names with constant halts.
Entry, Exit, Risk (short side)
Entry: parabolic spike (ROC + Range≥ATR×K + Vol≥SMA×K, new HH).
Optional confirmations (OFF by default to “sell every spike”): upper-wick and VWAP cross-down.
Stop: ATR stop above entry (default 1.2× ATR).
Targets: TP1 = 1.0× ATR, TP2 = 2.0× ATR + optional 10/20/30% covers.
Safety: skip trades if RVOL is low or Float Rotation exceeds your limit (default warn 5×, hard 7×).
Inputs (Balanced defaults)
Price band: $2–$10
Float Shares: set per ticker (from Finviz).
RVOL(50) ≥ 1.5×
ROC(5) ≥ 1.0%, Range ≥ 1.6× ATR, Vol ≥ 1.8× SMA
Cooldown: 10 bars; Max trades/day: 6
Optional: Require wick (≥35%) and/or Require VWAP cross-down.
Presets suggestion:
• Balanced (defaults above)
• Safer: wick+VWAP ON, Range≥1.8×, trades/day 3–4
• Micro-float (<5M): ROC 1.4–1.8%, Range≥1.9–2.2×, Vol≥2.2×, RVOL≥2.0, wick 40–50%
No look-ahead / repaint notes
Daily spike-highs use request.security(..., lookahead_off) and shifted → only closed daily bars.
Orders arm next bar after entry; entries execute at bar close.
VWAP/ATR/ROC/Vol/RVOL are computed on the chart timeframe (no HTF peeking).
How to use
Build a watchlist: Float <20M, RelVol >2, Today +20% (Finviz).
Open 1–5m chart, enter Float Shares for the ticker.
Start with Balanced, flip to Safer on halty/SSR names or repeated VWAP reclaims.
Scale out into flushes; respect the stop and rotation guard.
Limitations & risk
Backtests on small-caps can be optimistic due to slippage, spreads, halts, SSR, and limited premarket data. Always use conservative sizing. Low-float stocks can squeeze violently.
Alerts
Parabolic UP (candidate short)
SHORT Armed (conditions met; entry at bar close)
EMA+MACD+Fib Scalping ChallengeThis strategy synthesizes two core concepts from the provided transcripts:
Transcripts are pulled from the following two youtube videos
youtu.be
youtu.be
High-Probability Scalping Setup (1st Transcript): A mechanical method for finding high-probability, short-term reversal trades on a 1-minute chart. It uses a triple confluence of:
Trend Direction: Two Exponential Moving Averages (EMA 8 and EMA 34) identify the short-term trend direction via crossovers.
Momentum Confirmation: A fast MACD (3, 10, 16) confirms the strength and timing of the momentum shift required for entry.
Precise Entry Zone: Fibonacci retracement levels (primarily 61.8%) identify where a pullback is most likely to end and the main trend is likely to resume, providing a high-value entry point.
Aggressive Account Growth Challenge (2nd Transcript): An extremely high-risk, high-reward money management framework. Instead of traditional 1-2% risk per trade, this strategy risks 23% of the current account equity on each trade to target a 30% profit (a reward-risk ratio of approximately 1.3:1). The goal is to compound a small initial stake ($20) into a much larger amount ($50k+) over a series of successful trades, accepting that a few losses can wipe out the account just as quickly.
Core Philosophy: The strategy bets heavily on the edge provided by the high-probability technical setup. When the setup is correct, the account grows exponentially. When it fails, the losses are severe. It is designed for maximum capital efficiency in trending markets but is vulnerable during choppy or ranging conditions.
Ideal Parameter Settings & Configuration
These settings are optimized based on the specifics mentioned in the transcripts for 1-minute scalping.
1. Chart & Instrument Settings
Time Frame: 1 Minute
Instruments: Major forex pairs with low spreads (e.g., EUR/USD, GBP/USD). This is critical for scalping.
Trading Session: Highly liquid sessions like the London-New York overlap.
2. Indicator Parameters & Inputs
Parameter Ideal Setting Description & Purpose
Fast EMA Length 8 Reacts quickly to recent price changes, used for signal generation.
Slow EMA Length 34 Defines the underlying short-term trend. Acts as dynamic support/resistance.
MACD Fast Length 3 Makes the MACD extremely sensitive for catching early momentum shifts on the 1-min chart.
MACD Slow Length 10 The baseline for the fast length to calculate momentum against.
MACD Signal Smoothing 16 Slightly smoothed signal line to generate clearer crossover signals.
Fibonacci Level 61.8% The primary retracement level used to define the entry zone and the stop-loss level.
3. Strategy & Money Management Parameters
Parameter Setting Description & Purpose
Initial Capital 20 (or any small amount) The starting capital for the challenge.
Risk Per Trade 23% of equity The defining rule of the challenge. This is the percentage of the current account value risked on each trade.
Profit Target Per Trade 30% of equity The target profit, creating a ~1.3:1 Reward/Risk ratio.
Stop-Loss Type Fixed Percentage (23%) For simplicity and adherence to the challenge rules. The transcript also mentions placing the stop "a little below the 61.8% Fib level," which is a more advanced option.
Pyramiding 0 Do not add to positions. One trade at a time is already high-risk.
4. Entry & Exit Rules (Coded Logic)
LONG ENTRY: When ALL of the following occur simultaneously:
EMA 8 crosses above EMA 34.
MACD Histogram crosses above 0 (turns positive).
Price is touching or retracing to the 61.8% Fibonacci level drawn from a recent swing low to high.
SHORT ENTRY: When ALL of the following occur simultaneously:
EMA 8 crosses below EMA 34.
MACD Histogram crosses below 0 (turns negative).
Price is touching or retracing to the 61.8% Fibonacci level drawn from a recent swing high to low.
EXIT RULES:
Take Profit: Close the trade when a 30% profit on the risked capital is reached.
Stop Loss: Close the trade when a 23% loss on the risked capital is reached.
Emergency Exit: If the MACD or EMA cross back in the opposite direction before target/stop is hit, consider an early exit.
Critical Disclaimer and Final Notes
EXTREME RISK: This is not a standard trading strategy. It is a high-stakes challenge. Risking 23% per trade means just 4 consecutive losses would likely wipe out over 90% of your account. The second transcript's simulation showed a 99.5% success rate only under a constant 60% win rate condition, which is unrealistic in live markets.
Demo Use Only: This strategy must be thoroughly tested and understood in a demo environment before ever considering it with real funds.
Market Dependency: This strategy thrives only in strongly trending markets with clear pullbacks. It will generate significant losses in ranging, choppy, or low-volatility conditions. The ability to avoid trading in bad markets is a key factor in the challenge's success.
Psychological Pressure: The emotional burden of watching 23% of your account fluctuate on a 1-minute chart is immense and can lead to poor decision-making.
Use this strategy as a fascinating framework to study confluence and aggressive compounding, not as a guaranteed path to profits.
Tristan's Box: Pre-Market Range Breakout + RetestMarket Context:
This is designed for U.S. stocks, focusing on pre-market price action (4:00–9:30 AM ET) to identify key support/resistance levels before the regular session opens.
Built for 1 min and 5 min timelines, and is intended for day trading / scalping.
Core Idea:
Pre-market range (high/low) often acts as a magnet for price during regular hours.
The first breakout outside this range signals potential strong momentum in that direction.
Retest of the breakout level confirms whether the breakout is valid, avoiding false moves.
Step-by-Step Logic:
Pre-Market Range Identification:
Track high and low from 4:00–9:30 AM ET.
Draw a box spanning this range for visual reference and calculation.
Breakout Detection:
When the first candle closes above the pre-market high → long breakout.
When the first candle closes below the pre-market low → short breakout.
The first breakout candle is highlighted with a “YOLO” label for visual confirmation.
Retest Confirmation:
Identify the first candle whose wick touches the pre-market box (high touches top for short, low touches bottom for long).
Wait for the next candle: if it closes outside the box, it confirms the breakout.
Entry Execution:
Long entry: on the confirming candle after a wick-touch above the pre-market high.
Short entry: on the confirming candle after a wick-touch below the pre-market low.
Only the first valid entry per direction per day is taken.
Visuals & Alerts:
Box represents pre-market high/low.
Top/bottom box border lines show the pre-market high / low levels cleanly.
BUY/SELL markers are pinned to the confirming candle.
Added a "YOLO" marker on breakout candle.
Alert conditions trigger when a breakout is confirmed by the retest.
Strategy Type:
Momentum breakout strategy with confirmation retest.
Combines pre-market structure and risk-managed entries.
Designed to filter false breakouts by requiring confirmation on the candle after the wick-touch.
In short, it’s a pre-market breakout momentum strategy: it uses the pre-market high/low as reference, waits for a breakout, and then enters only after a confirmation retest, reducing the chance of entering on a false spike.
Always use good risk management.
Penguin Volatility State StrategyThe Penguin Volatility State Strategy is a comprehensive technical analysis framework designed to identify the underlying "state" or "regime" of the market. Instead of just providing simple buy or sell signals, its primary goal is to classify the market into one of four distinct states by combining trend, momentum, and volatility analysis.
The core idea is to trade only when these three elements align, focusing on periods of volatility expansion (a "squeeze breakout") that occur in the direction of a confirmed trend and are supported by strong momentum.
Key Components
The strategy is built upon two main engines
The Volatility Engine (Bollinger Bands vs. Keltner Channels)
This engine detects periods of rapidly increasing volatility. It measures the percentage difference (diff) between the upper bands of Bollinger Bands (which are based on standard deviation) and Keltner Channels (based on Average True Range). During a volatility "squeeze," both bands are close. When price breaks out, the Bollinger Band expands much faster than the Keltner Channel, causing the diff value to become positive. A positive diff signals a volatility breakout, which is the moment the strategy becomes active.
The Trend & Momentum Engine (Multi-EMA System)
This engine determines the market's direction and strength. It uses:
A Fast EMA (e.g., 12-period) and a Slow EMA (e.g., 26-period): The crossover of these two moving averages defines the primary, underlying trend (similar to a MACD).
An Ultra-Fast EMA (e.g., 2-period of ohlc4): This is used to measure the immediate, short-term momentum of the price.
The Four Market States
By combining the Trend and Momentum engines, the strategy categorizes the market into four visually distinct states, represented by the chart's background color. This is the most crucial aspect of the system.
💚 Green State: Strong Bullish
The primary trend is UP (Fast EMA > Slow EMA) AND the immediate momentum is STRONG (Price > Fast EMA).
Interpretation: This represents a healthy, robust uptrend where both the underlying trend and short-term price action are aligned. It is considered the safest condition for taking long positions.
❤️ Red State: Strong Bearish
Condition: The primary trend is DOWN (Fast EMA < Slow EMA) AND the immediate momentum is WEAK (Price < Fast EMA).
Interpretation: This represents a strong, confirmed downtrend. It is considered the safest condition for taking short positions.
💛 Yellow State: Weakening Bullish / Pullback
Condition: The primary trend is UP (Fast EMA > Slow EMA) BUT the immediate momentum is WEAK (Price < Fast EMA).
Interpretation: This is a critical warning signal for bulls. While the larger trend is still up, the short-term price action is showing weakness. This could be a minor pullback, a period of consolidation, or the very beginning of a trend reversal. Caution is advised.
💙 Blue State: Weakening Bearish / Relief Rally
Condition: The primary trend is DOWN (Fast EMA < Slow EMA) BUT the immediate momentum is STRONG (Price > Fast EMA).
Interpretation: This signals that a downtrend is losing steam. It often represents a short-covering rally (a "bear market rally") or the first potential sign of a market bottom. Bears should be cautious and consider taking profits.
How the Strategy Functions
The strategy uses these four states as its foundation for making trading decisions. The entry and exit arrows (Long, Short, Close) are generated based on a set of rules that can be customized by the user. For instance, a trader can configure the strategy to
Only take long trades during the Green State.
Require a confirmed volatility breakout (diff > 0) before entering a trade.
Use the "RSI on Diff" indicator to ensure that the breakout is supported by accelerating momentum.
Summary
In essence, the Penguin Volatility State Strategy provides a powerful "dashboard" for viewing the market. It moves beyond simple indicators to offer a contextual understanding of price action. By waiting for the alignment of Trend (the State), Volatility (the Breakout), and Momentum (the Acceleration), it helps traders to identify higher-probability setups and, just as importantly, to know when it is better to stay out of the market.
License / disclaimer
© waranyu.trkm — MIT License. Educational use only; not financial advice.
Dynamic Swing Anchored VWAP STRAT (Zeiierman/PineIndicators)Dynamic Swing Anchored VWAP STRATEGY — Zeiierman × PineIndicators (Pine Script v6)
A pivot-to-pivot Anchored VWAP strategy that adapts to volatility, enters long on bullish structure, and closes on bearish structure. Built for TradingView in Pine Script v6.
Full credits to zeiierman.
Repainting notice: The original indicator logic is repainting. Swing labels (HH/HL/LH/LL) are finalized after enough bars have printed, so labels do not occur in real time. It is not possible to execute at historical label points. Treat results as educational and validate with Bar Replay and paper trading before considering any discretionary use.
Concept
The script identifies swing highs/lows over a user-defined lookback ( Swing Period ). When structure flips (most recent swing low is newer than the most recent swing high, or vice versa), a new regime begins.
At each confirmed pivot, a fresh Anchored VWAP segment is started and updated bar-by-bar using an EWMA-style decay on price×volume and volume.
Responsiveness is controlled by Adaptive Price Tracking (APT) . Optionally, APT auto-adjusts with an ATR ratio so that high volatility accelerates responsiveness and low volatility smooths it.
Longs are opened/held in bullish regimes and closed when the regime turns bearish. No short positions are taken by design.
How it works (under the hood)
Swing detection: Uses ta.highestbars / ta.lowestbars over prd to update swing highs (ph) and lows (pl), plus their bar indices (phL, plL).
Regime logic: If phL > plL → bullish regime; else → bearish regime. A change in this condition triggers a re-anchor of the VWAP at the newest pivot.
Adaptive VWAP math: APT is converted to an exponential decay factor ( alphaFromAPT ), then applied to running sums of price×volume and volume, producing the current VWAP estimate.
Rendering: Each pivot-anchored VWAP segment is drawn as a polyline and color-coded by regime. Optional structure labels (HH/HL/LH/LL) annotate the swing character.
Orders: On bullish flips, strategy.entry("L") opens/maintains a long; on bearish flips, strategy.close("L") exits.
Inputs & controls
Swing Period (prd) — Higher values identify larger, slower swings; lower values catch more frequent pivots but add noise.
Adaptive Price Tracking (APT) — Governs the VWAP’s “half-life.” Smaller APT → faster/closer to price; larger APT → smoother/stabler.
Adapt APT by ATR ratio — When enabled, APT scales with volatility so the VWAP speeds up in turbulent markets and slows down in quiet markets.
Volatility Bias — Tunes the strength of APT’s response to volatility (above 1 = stronger effect; below 1 = milder).
Style settings — Colors for swing labels and VWAP segments, plus line width for visibility.
Trade logic summary
Entry: Long when the swing structure turns bullish (latest swing low is more recent than the last swing high).
Exit: Close the long when structure turns bearish.
Position size: qty = strategy.equity / close × 5 (dynamic sizing; scales with account equity and instrument price). Consider reducing the multiplier for a more conservative profile.
Recommended workflow
Apply to instruments with reliable volume (equities, futures, crypto; FX tick volume can work but varies by broker).
Start on your preferred timeframe. Intraday often benefits from smaller APT (more reactive); higher timeframes may prefer larger APT (smoother).
Begin with defaults ( prd=50, APT=20 ); then toggle “Adapt by ATR” and vary Volatility Bias to observe how segments tighten/loosen.
Use Bar Replay to watch how pivots confirm and how the strategy re-anchors VWAP at those confirmations.
Layer your own risk rules (stops/targets, max position cap, session filters) before any discretionary use.
Practical tips
Context filter: Consider combining with a higher-timeframe bias (e.g., daily trend) and using this strategy as an entry timing layer.
First pivot preference: Some traders prefer only the first bullish pivot after a bearish regime (and vice versa) to reduce whipsaw in choppy ranges.
Deviations: You can add VWAP deviation bands to pre-plan partial exits or re-entries on mean-reversion pulls.
Sessions: Session-based filters (RTH vs. ETH) can materially change behavior on futures and equities.
Extending the script (ideas)
Add stops/targets (e.g., ATR stop below last swing low; partial profits at k×VWAP deviation).
Introduce mirrored short logic for two-sided testing.
Include alert conditions for regime flips or for price-VWAP interactions.
Incorporate HTF confirmation (e.g., only long when daily VWAP slope ≥ 0).
Throttle entries (e.g., once per regime flip) to avoid over-trading in ranges.
Known limitations
Repainting: Swing labels and pivot confirmations depend on future bars; historical labels can look “perfect.” Treat them as annotations, not executable signals.
Execution realism: Strategy includes commission and slippage fields, yet actual fills differ by venue/liquidity.
No guarantees: Past behavior does not imply future results. This publication is for research/education only and not financial advice.
Defaults (backtest environment)
Initial capital: 10,000
Commission value: 0.01
Slippage: 1
Overlay: true
Max bars back: 5000; Max labels/polylines set for deep swing histories
Quick checklist
Add to chart and verify that the instrument has volume.
Use defaults, then tune APT and Volatility Bias with/without ATR adaptation.
Observe how each pivot re-anchors VWAP and how regime flips drive entries/exits.
Paper trade across several symbols/timeframes before any discretionary decisions.
Attribution & license
Original indicator concept and logic: Zeiierman — please credit the author.
Strategy wrapper and publication: PineIndicators .
License: CC BY-NC-SA 4.0 (Attribution-NonCommercial-ShareAlike). Respect the license when forking or publishing derivatives.