Swing Point Hedge Strategy by providence46
By providence46
Performance Metrics
- Author: providence46
- Symbol: PEPPERSTONE:XAUUSD
- Timeframe: 1 hour
- Net P&L: +545.25 USD (+2.20%)
- Win Rate: 31.5%
- Profit Factor: 0.963
- Max Drawdown: 651.43 USD (2.56%)
- Total Trades: 143
Description
🎯 Strategy Concept:This bot trades primary trend positions and automatically hedges when key support/resistance levels break, protecting your capital from reversals.📊 Market Structure Detection:Uptrend Structure:✅ Higher Highs (HH): Each swing high is higher than the previous✅ Higher Lows (HL): Each swing low is higher than the previous🟢 Green triangles and linesDowntrend Structure:✅ Lower Highs (LH): Each swing high is lower than the previous✅ Lower Lows (LL): Each swing low is lower than the previous🔴 Red/Orange triangles and lines💡 Trading Logic:Primary Positions (Trend Following):UPTREND:Long Entry: Price breaks above Higher HighOpens 2x position sizeFollows the trendGreen triangle markerDOWNTREND:Short Entry: Price breaks below Lower LowOpens 2x position sizeFollows the trendRed triangle markerHedge Positions (Risk Protection):When LONG (Uptrend):Hedge Short: If price breaks below Higher Low (HL)Support broken = potential reversalOpens 1x SHORT position (hedge)Orange X markerUp to 2 hedge positions allowedWhen SHORT (Downtrend):Hedge Long: If price breaks above Lower High (LH)Resistance broken = potential reversalOpens 1x LONG position (hedge)Aqua X markerUp to 2 hedge positions allowed🛡️ How Hedging Works:Example Scenario:Bot opens LONG (2x size) on Higher High breakPrice pulls back and breaks Higher Low (support)Bot opens HEDGE SHORT (1x size) automaticallyNet Position: Still LONG 1x (2 - 1 = 1)Protection: If trend reverses, hedge minimizes lossIf trend resumes: Close hedge, keep primary position📈 Risk Management:Stop Loss Options:Fixed percentage-based (2% default)Applied to all positionsProtects capital from major movesTake Profit:Fixed percentage (3% default)Locks in profits automaticallyOptional togglePosition Sizing:Primary: 50% equity (2x with pyramiding)Hedge: 25% equity (1x)Max 2 hedge positions per primary🎨 Visual Features:Swing Point Markers:🔼 Triangles up: Swing lows (Green = HL, Red = LL)🔽 Triangles down: Swing highs (Green = HH, Orange = LH)Lines: Connect swing points showing structureSupport/Resistance Zones:Red zones: Previous swing highs (resistance)Green zones: Previous swing lows (support)Automatically extend to rightEntry Signals:🟢 Large green triangle: Primary long entry🔴 Large red triangle: Primary short entry🟠 Orange X: Hedge short entry🔵 Aqua X: Hedge long entry📊 Info Table Shows:Market Structure: Uptrend ↑ / Downtrend ↓ / NeutralPrevious High/Low: Key levels being monitoredPrimary Position: Current trend positionHedge Count: How many hedges are activeNet Position: Actual market exposureOpen P&L: Real-time profit/lossPerformance Stats: Total trades, net profit⚙️ Settings:Swing Detection:Length: 5 bars (adjustable 2-20)Smaller = more swings, more signalsLarger = major swings onlyHedge Options:Toggle hedge on/offAuto-close hedges on retraceMax number of hedges (1-3)Risk Settings:Stop loss percentageTake profit percentageToggle each independently🎯 Use Cases:Best For:Volatile markets with false breaksProtecting trending positionsRisk-averse tradersSwing trading timeframes (15m - 4H)Strategy Benefits:✅ Automatic risk protection✅ Reduces drawdown✅ Captures reversals✅ No manual intervention needed✅ Clear visual feedbackThis is a sophisticated hedging bot that automatically protects your positions while keeping you in profitable trends! 🚀