[3Commas] Gold Vault Long β€” Strategy by 3Commas

By 3Commas

Performance Metrics

Description

[3Commas] Gold Vault LongπŸ”· What it does:This strategy executes a long-only Dollar-Cost-Averaging approach on tokenized gold, designed for traders who want structured accumulation exposure to precious metals through perpetual or spot tokens like XAUT. It opens base orders continuously when no active deal exists, layers a conservative 3-step safety order ladder at constant 2% intervals during price drawdowns, and exits when the position reaches a 1.5% profit from the average entry. The design philosophy is deliberately simple: no signal-based entries, no RSI exit gates, no stop loss β€” just clean DCA mechanics tuned for the lower-volatility profile of gold versus crypto-native pairs. - Base Order entry: nonstop β€” opens immediately when no active deal exists - Safety Order ladder: 3 levels at constant 2% intervals (cumulative βˆ’2% / βˆ’4% / βˆ’6% from base) - Volume scale: 1.05Γ— per SO (9.00 / 9.45 / 9.92 USDT) - Exit: pure 1.5% take-profit from average entry (no signal gates) - Spot trading, no leverage, no stop lossπŸ”· Who is it for: Traders seeking structured exposure to tokenized gold and precious metals through DCA logic. Risk-conservative participants who want low maximum position size relative to capital (β‰ˆ 8% in default config). Bot operators who automate execution through webhook integration with a DCA Bot. Long-term accumulators who prefer steady, predictable returns over leveraged volatility plays.πŸ”· How does it work: Long Entry: A base order opens whenever no active deal exists and the bar is confirmed within the configured window. There is no signal-based entry filter β€” the strategy reloads continuously, treating each new deal as a fresh DCA cycle. Short Entry: Not used β€” strategy is long-only by design. Exit Management: The full position closes when price reaches Average Entry Γ— (1 + 1.5%). The strategy carries no stop loss; invalidation is replaced by the depth of the safety order ladder (6% cumulative drawdown coverage). Gold's structurally lower volatility versus crypto pairs means the 1.5% take-profit target is hit relatively frequently during normal range trading, producing a high-frequency low-amplitude P&L profile.πŸ”· Why it's unique: Tokenized gold focus β€” most DCA strategies target crypto-native pairs with high volatility. This strategy specifically calibrates for the lower-volatility profile of tokenized precious metals like XAUT, with conservative 2% SO steps and a tight 1.5% take-profit. Gold's structurally bullish drift over multi-year horizons combined with intraday liquidity makes it an ideal DCA candidate. Simplicity by design β€” no RSI gates, no trend filters, no signal stacks. Pure DCA mechanics. The strategy depends only on price reaching the average Γ— 1.015 to close, which makes its behavior fully predictable and easy to reason about. Easy to backtest, easy to explain, easy to monitor. Bot Integration β€” entry and exit alerts ship with webhook-ready JSON payloads, enabling direct trigger of a connected DCA Bot. Bot ID, Email Token, and pair label are exposed as inputs.πŸ”· Considerations Before Using the Indicator: Market & Timeframe: Designed for 2-hour chart on tokenized gold instruments. Best suited for XAUT/USDT and similar precious metals tokens with sustained bullish drift and regular intraday range. Lower timeframes generate more trade frequency but also more commission drag; higher timeframes produce slower-cycling deals with longer holding periods. The default 2h aligns with the reference 3Commas backtest. Limitations: The strategy carries no stop loss. In extreme drawdowns extending beyond the deepest safety order (βˆ’6% from base), the position holds unrealized loss until either the average is recovered or the deal is manually closed. Gold's historical drawdowns occasionally exceed 6% during macro stress events β€” pair this strategy with awareness of gold's macro regime context. Without a regime filter, the strategy will continue opening new deals during downtrends. Backtesting & Demo Testing: The reference results were generated on a 1-year window covering March 2025 β€” March 2026 for tokenized gold. Performance during different gold market regimes (bear markets, sustained ranges, geopolitical stress periods) may differ significantly. Always validate on extended history and re-test across different gold rate environments before deploying real capital. Demo-trade for at least one month before live deployment. Past performance is not indicative of future results. Parameter Adjustments: Commission defaults to 0.1% (Bybit spot taker). Adjust for your venue β€” Binance Spot ~0.10%, OKX Spot ~0.08%, Kraken Spot ~0.40%. The 2% SO step and 1.5% TP are tuned for gold's typical intraday range; for higher-volatility precious metals tokens, widen both proportionally.πŸ”· STRATEGY PROPERTIES Symbol: BYBIT:XAUTUSDT (Tether Gold / Tether spot). Strategy is generic β€” works on any tokenized precious metal or stable-volatility instrument. Timeframe: 2h chart (reference; lower TFs increase trade frequency). Test Period: April 11, 2025 β€” May 16, 2026 (β‰ˆ 13 months). Initial Capital: 500 USDT. Order Size per Trade: Base Order 12 USDT, Safety Orders 9.00 / 9.45 / 9.92 USDT (volume coef 1.05). Maximum cumulative position notional β‰ˆ 40.37 USDT per deal β€” β‰ˆ 8% of capital, very conservative envelope. Commission: 0.1% taker (Bybit spot reference). Slippage: 2 ticks β€” typical taker execution on liquid spot pairs. Margin for Long and Short Positions: 100% (1Γ— leverage assumed; no margin amplification). Indicator Settings: Default Configuration. Base Order Volume: 12 USDT Safety Order Volume: 9.0 USDT Max Safety Orders: 3 Price Step (1st SO): 2.0% Deviation Step Multiplier: 1.0 (constant 2% step) Order Size Multiplier: 1.05 Take Profit: 1.5% from average entry (pure %-TP) Strategy: Long Only.πŸ”· STRATEGY RESULTS ⚠️ Remember, past results do not guarantee future performance. Net Profit: +4.66 USDT (+0.93%) Max Drawdown: 8.64 USDT (1.69%) Total Closed Trades: 82 Percent Profitable: 80.49% (66 / 82) Profit Factor: 6.15 Average Trade: [to fill from Strategy Tester report] Average # Bars in Trades: [to fill from Strategy Tester report] Reference backtest run on BYBIT:XAUTUSDT (Spot, 2h chart), Apr 11 2025 β€” May 16 2026. The high Profit Factor (6.15) reflects gold's structurally bullish drift during the test window combined with low intraday volatility β€” the ideal regime for a conservative DCA framework with no stop loss. The 80.49% win rate and 1.69% max drawdown demonstrate the strategy's low-risk profile on tokenized gold. Re-test on your own venue with venue-specific commission before live deployment.πŸ”· How to Use It: πŸ”Έ Adjust Settings: Set Base Order and Safety Order volumes proportional to your account size. The default 12 / 9-USDT structure is calibrated for a 500-USDT test account with maximum 8% capital deployment per deal; scale linearly to your equity. The 2% SO step and 1.5% TP are tuned for gold's typical intraday range β€” widen both for higher-volatility instruments. πŸ”Έ Results Review: Verify Maximum Drawdown stays within your personal risk budget. The strategy is configured for a conservative per-deal risk envelope (max position β‰ˆ 8% of capital), but extended history may shift this profile. Re-test on your own venue using venue-specific commission. The conservative SO ladder (6% cumulative drawdown coverage) means deep gold drawdowns can leave positions underwater for extended periods β€” plan for this scenario. πŸ”Έ Create alerts to trigger the DCA Bot: Two alert messages are exposed by the strategy β€” "Deal Start" fires on each new base order, and "Deal Close" fires when the 1.5% take-profit target is hit. Configure both alerts in TradingView with the webhook URL pointing to your DCA Bot's signal endpoint. Once configured, the strategy publishes the signal and the bot handles execution on the exchange autonomously.πŸ”· INDICATOR SETTINGS Base Order Volume (USDT) β€” Notional value of the initial entry per cycle. Safety Order Volume (USDT) β€” Notional value of each averaging-down order (first SO). Max Safety Orders β€” Total number of averaging steps available per deal. Price Step % (1st SO from base) β€” Percentage deviation from base price for the first safety order. Deviation Step Multiplier β€” Multiplier applied to each successive deviation step (default 1.0 = constant step). Order Size Multiplier β€” Size multiplier applied to each successive safety order (default 1.05 = 5% per step). Take Profit % (from avg entry) β€” Profit target percentage measured from average entry price. Limit by Date Range β€” Constrain backtest to a specific date window. Stats card / Watermark β€” Display layer controls for on-chart backtest summary and branding. Webhook β€” Bot ID, Email Token, and Pair label for DCA Bot signal routing.πŸ‘¨πŸ»β€πŸ’»πŸ’­ We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.__The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView