Precision Edge System [JOAT] — Strategy by officialjackofalltrades
By officialjackofalltrades
Performance Metrics
- Author: officialjackofalltrades
- Symbol: TVC:GOLD
- Timeframe: 45 minutes
- Net P&L: +1,873.58 USD (+18.52%)
- Win Rate: 38.4%
- Profit Factor: 1.25
- Max Drawdown: 1,058.74 USD (9.30%)
- Total Trades: 112
Description
Precision Edge System [JOAT]IntroductionThe Precision Edge System is an advanced open-source multi-timeframe trading strategy that combines Opening Range Breakout, Fair Value Gap detection, Break of Structure analysis, Order Block identification, Fibonacci confluence, volatility regime classification, multi-oscillator divergence, RSI-2 mean reversion, and adaptive risk management into a unified institutional-grade trading system. This strategy helps traders capture high-probability setups by requiring multiple independent confirmation signals before entering trades, significantly reducing false signals and improving win rates.Unlike basic strategies that rely on single indicators, this system uses a confluence scoring approach where each component contributes points toward entry decisions. Opening Range provides context, Fair Value Gaps provide entry zones, Market Structure confirms direction, Order Blocks show institutional positioning, Fibonacci shows harmonic levels, Regime Detection filters conditions, Divergence warns of reversals, and RSI-2 catches pullbacks. The strategy is designed for traders who understand that the best setups occur when multiple institutional concepts align simultaneously.Why This Strategy ExistsThis strategy addresses the fundamental challenge of trading: most single-indicator strategies produce too many false signals or miss too many opportunities. By combining multiple institutional concepts with flexible confluence requirements, this strategy reveals:Opening Range Breakout: First 30 minutes establish institutional positioning - breakouts signal directional commitmentFair Value Gap Retests: Price imbalances that get filled - optimal entry zones with defined riskBreak of Structure: Swing high/low breaks confirm trend direction and momentumOrder Blocks: Last opposing candle before strong moves - institutional accumulation/distribution zonesPremium/Discount Arrays: Value context showing whether price is expensive or cheapFibonacci Confluence: Golden Pocket and multi-wave alignment for reversal zonesVolatility Regime Detection: Trending/Ranging/Choppy classification to avoid bad conditionsMulti-Oscillator Divergence: RSI/MACD/Stochastic divergence for reversal signalsRSI-2 Mean Reversion: Extreme oversold/overbought in trends for pullback entriesSession-Based Timing: London/New York kill zones for highest liquidityAdaptive Risk Management: Dynamic stop loss, take profit, and trailing stops based on volatilityEach component provides independent confirmation. The strategy's power comes from requiring multiple components to align before entering trades, creating high-probability setups with favorable risk-reward ratios.Core Strategy Components1. Opening Range Breakout (ORB) SystemThe Opening Range is established during the first 30 minutes of the trading session (9:30-10:00 AM by default):Pine Script®// Track high/low during OR sessionif inOR: orHigh = max(high, orHigh) orLow = min(low, orLow)// Detect breakouts after OR establishedorBreakoutUp = close > orHigh and close[1] = orLowExpand 3 linesOpening Range logic:First 30 minutes = institutions establish positionsOR High/Low define the day's initial rangeBreakouts above OR High = bullish biasBreakouts below OR Low = bearish biasOR levels used as stop loss reference pointsThe strategy can operate in two modes:Breakout Required: Only trades after OR breakout (more selective)Flexible: Trades inside OR if other confluence is strong (more frequent)ORB contributes 2 points to confluence score when breakout occurs.2. Fair Value Gap (FVG) Entry SystemFair Value Gaps are three-candle price imbalances that often get filled:Pine Script®// Bullish FVG: Current low > 2 candles ago highbullishFVG = low > high[2]fvgBullTop = lowfvgBullBottom = high[2]// Entry on retestfvgBullRetest = low = fvgBullBottomExpand 2 linesFVG entry logic:Identifies imbalance zones where price moved too fastWaits for price to return to the gap (retest)Enters at gap high (bullish) or gap low (bearish)Provides precise entry with tight stop below/above gapFVG retest contributes 2 points to confluence score. The strategy tracks active FVGs and removes them when filled.3. Market Structure (BOS/CHoCH) ConfirmationBreak of Structure confirms trend direction:Pine Script®// Detect swing highs/lowsswingPivotHigh = ta.pivothigh(high, 5, 5)swingPivotLow = ta.pivotlow(low, 5, 5)// BOS: Price breaks swing in trend directionif swingPivotHigh > lastSwingHigh and bullishStructure: bosOccurred = true // Bullish BOSExpand 2 linesStructure logic:Tracks swing highs and lows using pivot detectionBOS = break in trend direction (continuation)CHoCH = break against trend (potential reversal)Internal structure shows nested patterns for timingThe strategy can operate in two modes:BOS Required: Only trades after structure break (more selective)Flexible: Trades without BOS if other confluence is strong (more frequent)BOS contributes 2 points to confluence score when it occurs.4. Order Block Detection and MitigationOrder Blocks mark institutional positioning zones:Pine Script®// Bullish OB: Last bearish candle before strong bullish movebullishOB = close[1] open and (high - low) > atr * 1.2 and volume > avgVol * 1.1Order Block logic:Identifies last opposing candle before momentum shiftRequires volume and ATR confirmationStrength classification (Strong = 4+ points, Normal = 2-3 points)Tracks active blocks until mitigated (price closes through)Active Order Blocks contribute 1 point to confluence score. Strong Order Blocks (high volume + high ATR) contribute an additional 1 point.5. Premium/Discount Array ContextPremium/Discount Arrays show value context:Pine Script®rangeHigh = ta.highest(high, 50)rangeLow = ta.lowest(low, 50)rangeEQ = (rangeHigh + rangeLow) / 2inPremium = close > rangeEQ and close > (rangeEQ + (rangeHigh - rangeEQ) * 0.5)inDiscount = close = min(fib618, fib650) and close ema21 and ema21 > ema50) or (ema9 1.5 ? 0 : // Choppy trendStrength ? 2 : // Trending 1 // RangingExpand 6 linesRegime logic:Trending (2): Directional market, use breakout strategiesRanging (1): Oscillating market, use mean reversionChoppy (0): Erratic market, avoid tradingThe strategy can operate in two modes:Avoid Choppy: No trades in choppy regime (more selective)Trade All: Trades in all regimes if confluence is strong (more frequent)Regime filter prevents trading in unfavorable conditions.8. Multi-Oscillator Divergence DetectionDivergence analysis identifies momentum exhaustion:Pine Script®// Bullish divergence: Price LL, RSI HLif pricePivotLow lastRsiLow: bullish_divergence = trueDivergence logic:Regular divergence = potential reversal signalHidden divergence = trend continuation signalRequires extreme zones (RSI >70 or ema200// Short: RSI-2 overbought in downtrendrsi2_overbought = rsi2 > 90 and close 90) in downtrend = sell the rallyRequires 200 EMA trend filter for contextRSI-2 signals contribute 2 points to confluence score.10. Candlestick Pattern RecognitionThe strategy detects reversal patterns:Hammer: Long lower wick, small body, bullish reversalShooting Star: Long upper wick, small body, bearish reversalBullish Engulfing: Bullish candle engulfs previous bearish candleBearish Engulfing: Bearish candle engulfs previous bullish candleMorning Star: Three-candle bullish reversal patternEvening Star: Three-candle bearish reversal patternStrong patterns (with volume confirmation) contribute 2 points to confluence score.11. Session-Based Timing (Kill Zones)The strategy focuses on high-liquidity sessions:London Session: 2:00-5:00 AM EST (default)New York Session: 8:30-11:00 AM EST (default)Silver Bullet: 9:00-10:00 AM EST (default)Session logic:Highest volume and volatility during these periodsInstitutional participation is strongestBetter follow-through on breakoutsCan be disabled for 24-hour tradingConfluence Scoring SystemThe strategy uses a point-based confluence system where each component contributes points:Long Confluence Points:OR Breakout Up: +2 pointsBOS Bullish: +2 pointsFVG Bull Retest: +2 pointsActive Bullish OB: +1 pointStrong Bullish OB: +1 point (bonus)In Discount Zone: +1 pointIn Golden Pocket: +1 pointRSI-2 Oversold: +2 pointsBullish Divergence: +2 pointsLiquidity Below: +1 pointVolume Spike: +1 pointBullish Momentum: +1 pointBullish Pattern: +2 pointsEntry Modes (Configurable):Strict Mode: Requires 8+ points (very selective, highest quality)Moderate Mode: Requires 6+ points (balanced approach)Flexible Mode: Requires 4+ points (more frequent trades)Aggressive Mode: Requires 3+ points (highest frequency)This flexible system allows traders to adjust trade frequency based on their preference and market conditions.Risk Management System1. Stop Loss Placement:The strategy uses intelligent stop loss placement:OR-Based Stops: If OR is active, stop = OR Low (long) or OR High (short)ATR-Based Stops: If no OR, stop = Entry ± (2 × ATR)Structure-Based Stops: Can use swing lows/highs for stops2. Position Sizing:Risk-based position sizing:Pine Script®accountRisk = strategy.equity * (riskPercent / 100) // Default 1%riskPerShare = entry - stopLosspositionSize = accountRisk / riskPerShareThis ensures consistent risk per trade regardless of stop distance.3. Take Profit Targets:Adaptive take profit based on volatility:Pine Script®// Base reward multiple (default 2R)tpMultiplier = rewardMultiple// Increase in high volatilityif volatility_high: tpMultiplier = rewardMultiple * 1.5takeProfit = entry + (riskPerShare * tpMultiplier)Expand 3 linesDefault 2R target (2x risk) provides favorable risk-reward. High volatility increases target to 3R.4. Trailing Stop System:Adaptive trailing stop activates after profit threshold:Activates after 1R profit (default)Trails at breakeven + 0.5RLocks in profits while allowing trend to runAdjusts trail distance based on ATR5. Time-Based Exits:End-of-day exit prevents overnight risk:Closes all positions at 3:55 PM EST (default)Prevents gap risk and overnight exposureCan be disabled for swing trading6. Daily Trade Limit:Maximum trades per day prevents overtrading:Default: 10 trades per day maximumResets at start of each trading dayPrevents revenge trading and overexposureStrategy Performance MetricsThe strategy displays real-time performance in the dashboard:Confluence Scores: Current long/short confluence (0-20 scale)OR Status: Active/FormingStructure: Bullish/BearishBOS Signal: Confirmed/PendingRegime: Trending/Ranging/ChoppyValue Zone: Premium/Discount/EquilibriumRSI State: Overbought/Oversold/NeutralVolatility: High/Normal/LowVolume: Spike/High/Dry/NormalPosition: Long/Short/FlatNet P/L: Current profit/lossWin Rate: Percentage of winning tradesTotal Trades: Number of closed tradesProfit Factor: Gross profit / Gross lossInput ParametersTrade Frequency:Entry Mode: Strict/Moderate/Flexible/AggressiveMin Confluence Score: 1-10 (lower = more trades)Allow Partial Setups: Trade with 2/3 conditions metOpening Range:OR Session: Time range for OR (default 9:30-10:00)ORB Filter: Enable/disable OR requirementFibonacci Extensions: Show extension levelsBreakout Required: Must break OR to tradeMarket Structure:Fractal Period: Swing detection length (default 5)Require BOS/CHoCH: Must have structure breakMulti-TF Confluence: Check higher timeframeInternal Structure: Show nested patternsOrder Blocks:OB Filter: Enable/disable OB requirementVolatility Threshold: ATR multiplier (default 1.2)Volume Threshold: Volume multiplier (default 1.1)Block Quality: All/Strong/ExtremeFair Value Gaps:FVG Entry: Enable/disable FVG entriesMin Imbalance: Percentage threshold (default 0.2%)Zone Quality: All/Strong/ExtremeAuto-Fill Detection: Remove filled gapsRisk Management:Risk Per Trade: Percentage of equity (default 1%)Reward Multiple: R multiple for TP (default 2.0)Adaptive Take Profit: Adjust TP for volatilityEOD Exit: Close positions at end of dayAdaptive Trailing Stop: Enable trailing stopsTrail Activation: R multiple to activate (default 1.0)Max Daily Trades: Limit trades per day (default 10)How to Use This StrategyStep 1: Configure Entry ModeChoose entry mode based on desired trade frequency. Strict = fewer high-quality trades. Flexible = more frequent trades. Start with Moderate.Step 2: Set Risk ParametersConfigure risk per trade (1% recommended), reward multiple (2R recommended), and position sizing. Never risk more than you can afford to lose.Step 3: Enable Desired ComponentsTurn on/off components based on your trading style. All components enabled = most selective. Fewer components = more frequent trades.Step 4: Monitor DashboardWatch confluence scores in real-time. Long score >6 = potential long setup. Short score >6 = potential short setup. Higher scores = better setups.Step 5: Review Entry LabelsWhen strategy enters, it displays label with entry price, stop loss, take profit, and confluence score. Review to understand why trade was taken.Step 6: Let Strategy Manage ExitsStrategy handles stop loss, take profit, trailing stops, and EOD exits automatically. Don't interfere with exits unless necessary.Step 7: Analyze PerformanceReview dashboard metrics regularly. Win rate >50%, profit factor >1.5, and positive net P/L indicate good performance.Best PracticesStart with Moderate mode and adjust based on resultsHigher confluence scores = higher win rates but fewer tradesBacktest thoroughly before live tradingUse realistic commission (0.075%) and slippageRespect regime filter - avoid choppy marketsSession filter improves quality - trade kill zonesEOD exit prevents overnight risk for day tradersDaily trade limit prevents overtradingMonitor dashboard for real-time confluenceAdjust parameters for different instruments and timeframesStrategy LimitationsConfluence system can miss trades when components don't alignMultiple filters reduce trade frequency significantlyBacktesting results may not reflect live performanceSlippage and commission impact profitabilityNews events can invalidate technical setupsRegime detection may lag at transitionsOpening Range less reliable on low-volume daysFair Value Gaps may not fill immediatelyOrder Blocks can fail in strong trendsDivergences can persist before reversingThe strategy shows high-probability setups, not guaranteed winnersTechnical ImplementationBuilt with Pine Script v6 using:Opening Range tracking with session detectionFair Value Gap detection and retest monitoringMarket structure analysis with BOS/CHoCH detectionOrder Block identification with strength classificationPremium/Discount Array calculationsFibonacci confluence and Golden Pocket detectionVolatility regime classification systemMulti-oscillator divergence detectionRSI-2 mean reversion signalsCandlestick pattern recognitionSession-based timing filtersConfluence scoring algorithmAdaptive risk management systemReal-time performance dashboardThe code is fully open-source and can be modified to suit individual trading styles and preferences.Originality StatementThis strategy is original in its comprehensive institutional integration approach. While individual components (ORB, FVG, BOS, OB, Fibonacci, RSI, MACD) are established concepts, this strategy is justified because:It synthesizes 11 distinct institutional concepts into unified confluence scoring systemThe flexible entry mode system allows traders to adjust selectivity vs frequencyAdaptive risk management adjusts stops and targets based on volatilityMulti-component confluence significantly reduces false signals vs single-indicator strategiesSession-based timing focuses on high-liquidity periods for better executionRegime filter prevents trading in unfavorable market conditionsCandlestick pattern integration adds reversal confirmation layerReal-time dashboard presents 15 metrics simultaneously for complete strategy visibilityThe strategy combines trend-following (BOS, ORB) with mean-reversion (RSI-2, Divergence) for versatilityEach component contributes independent confirmation: ORB shows context, FVG shows entry, BOS shows direction, OB shows positioning, Arrays show value, Fibonacci shows harmonics, Regime shows conditions, Divergence shows exhaustion, RSI-2 shows pullbacks, Patterns show reversals, and Sessions show timing. The strategy's value lies in requiring multiple components to align before entering trades, creating high-probability setups with favorable risk-reward ratios.DisclaimerThis strategy is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.Past performance does not guarantee future results. Backtesting results are hypothetical and may not reflect actual trading performance. Actual results will vary due to slippage, commission, market conditions, and execution differences. The strategy may experience periods of drawdown and losing trades.High confluence scores do not guarantee profitable trades. Market conditions change, and strategies that worked historically may not work in the future. News events, market shocks, and fundamental factors can override technical setups.Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.The author is not responsible for any losses incurred from using this strategy. Users assume full responsibility for all trading decisions made using this tool.Recommended Settings for BacktestingInitial Capital: $10,000 (realistic for average trader)Commission: 0.075% per trade (realistic for most brokers)Slippage: 1-2 ticks (depends on instrument liquidity)Risk Per Trade: 1% of equityReward Multiple: 2R (2:1 risk-reward)Entry Mode: Moderate (6+ confluence)Timeframe: 5-minute or 15-minute chartInstruments: Liquid stocks, forex majors, or major cryptoSample Size: Minimum 100 trades for statistical significance-Made with passion by officialjackofalltrades