Claude one — Strategy by devanipratik80
By devanipratik80
Performance Metrics
- Author: devanipratik80
- Symbol: OANDA:XAUUSD
- Timeframe: 4 hours
- Net P&L: −38.62 USD (−3.86%)
- Win Rate: 39.4%
- Profit Factor: 0.722
- Max Drawdown: 85.66 USD (8.29%)
- Total Trades: 33
Description
Setup stepsOpen TradingView → Pine Editor → paste the script → Save → Add to chartApply to OANDA:XAUUSD or your broker's gold symbol on 15-minute timeframeClick Settings → replace YOUR_LICENSE_ID with your PineConnector ID (if automating)Backtest first: check the Strategy Tester tab — look for profit factor >1.3 and max drawdown <20%Right-click chart → "Add Alert" → Condition: this strategy → Message: {{strategy.order.alert_message}} → paste your webhook URLDemo for 30 days before going liveTuning notesIf you get too few signals → loosen RSI long trigger to 45 / short trigger to 55, reduce ADX min to 18, or set pullbackATR to 1.0.If you get too many losing signals → tighten RSI long trigger to 35 / short trigger to 65, raise ADX to 25, enable strict EMA touch only (pullbackATR = 0.2).The dashboard in the top-right shows live equity, current drawdown, RSI/ADX/ATR values, position size in ounces, and the trading status (ACTIVE/HALT) — keep an eye on it during forward testing.Reminder from the previous response: if you're trading from India, run this on MCX:GOLDPETAL1! or MCX:GOLDM1! instead of XAUUSD to stay FEMA-compliant — the script logic is identical, just change the symbol and shift session times to IST (London window ≈ 12:30–21:30 IST).