WJ BUY Strategy by YUNUYUN

By YUNUYUN

Performance Metrics

Description

[Strategy Concept]The WJ BUY Strategy is an advanced, dual-engine systematic trading system designed to safely navigate extreme market volatility. It combines deep mean-reversion tactics (Strategy B) with disciplined trend-following accumulation (Strategy A). Instead of relying on a single entry, this hybrid system identifies extreme "exhaustion points" to establish a core position at the bottom, and then strategically scales in (pyramids) only when the upward trend is mathematically confirmed.[Technical Indicators Used]This strategy aggregates insights from three different dimensions of market analysis to form a holistic "WJ Score":-Volatility Analysis (Bollinger Bands): Identifies price extremes and potential reversal zones when the asset deviates significantly from its mean.-Trend Context (Multiple Moving Averages): Analyzes the long-term structural health using 120, 240, and 400-period MAs to determine the depth of the correction.-Momentum Analysis (Relative Strength Index): Uses granular RSI tiers (=3.0 triggers the deep-reversion "B-Mode", while a score >=2.0 triggers the trend-continuation "A-Mode".-Phase 2: Stabilization: To avoid "falling knives," the strategy requires the score to drop and stabilize for a set number of days.-Phase 3: Dynamic Execution: Entries are only executed when the price reclaims the short-term 10-day Moving Average, with dynamic safety filters applied based on recent price action.[Major System Upgrades: The Hybrid Evolution]This updated version introduces several proprietary risk-management mechanisms:-Smart Trend Confirmation (Price Filter): Strategy A (scaling-in) is strictly permitted only if the current price is higher than the core Strategy B entry. This prevents averaging down in a prolonged bear market and ensures capital is only added to confirmed uptrends.-Time-Based Cooldown (Whipsaw Protection): Implements a strict 14-day lock period after a Strategy B entry. This prevents premature accumulation during choppy, sideways market recoveries.-Dynamic Anti-Falling-Knife Filter (MA Holding): The entry requirement dynamically adapts based on the sequence of trades. If the system is forced to average down (current price < last buy price), it demands 2 to 3 consecutive days of holding above the 10-day MA to confirm a solid floor. If buying in an uptrend, a standard 1-day breakout is sufficient.[Key Features]-Dual-Engine Logic: Seamlessly transitions between catching market crashes and riding the subsequent recovery waves.-Dynamic Scoring: Removes emotional bias by relying on an objective, unified data-driven threshold.-High-Volatility Optimization: Specifically tuned for high-beta environments. It excels at capturing rapid price reversals where standard models are too slow to react.[Summary]The new WJ BUY Strategy(A+B Hybrid) is ideal for quantitative investors looking to systematically accumulate high-quality, volatile assets (such as US Technology, Biotechnology, or small-cap indices) during sharp pullbacks. By strictly controlling when and how to scale in, it maximizes upside potential while rigorously defending against prolonged downtrends.DisclaimerTrading involves significant risk. The WJ Strategy A+B Hybrid and its associated indicators are provided for educational and informational purposes only. They do not constitute financial, investment, or trading advice. Past performance is not indicative of future results. Volatile market conditions carry a higher risk of capital loss. Always perform your own due diligence and consult with a professional financial advisor before making any investment decisions.Release Notes1. Anti-Waterfall Protection (Smart Scale-In Limit)To protect your portfolio from endless "falling knives" during severe bear markets, this strategy features a strict built-in limit on averaging down. If the system scales into a position (Strategy A) twice in a row at progressively lower prices, it will automatically block a third entry. Buying will only resume if a true market bottom is detected (resetting via Strategy B) or if the price finally rebounds above your last purchase price. This prevents your account from being drained during a prolonged, straight-line downtrend and preserves your capital for the real reversal.2. Customization & Backtesting DefaultsPlease note that the Initial Capital and the Backtest Start Date (set to Jan 1, 2021) are simply arbitrary default values used for my own demonstration and testing purposes. I highly encourage you to go into the script's Settings (Inputs tab) and adjust the capital, position sizing, and date ranges to match your own personal portfolio size and historical testing preferences.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView