[3Commas] UNI Vault Grid - UNI/USDT β Strategy by 3Commas
By 3Commas
Performance Metrics
- Author: 3Commas
- Symbol: BINANCE:UNIUSDT
- Timeframe: 15 minutes
- Net P&L: +1,342.57 USDT (+12.21%)
- Win Rate: 54.3%
- Profit Factor: 1.295
- Max Drawdown: 1,766.78 USDT (15.94%)
- Total Trades: 2,019
Description
[3Commas] UNI Vault Grid β UNI/USDTπ· What it does:This strategy implements a static geometric grid trading system for Uniswap (UNI), designed to capture range-bound oscillations between a configurable High and Low price boundary. It pre-computes 57 price levels using geometric spacing (β 0.61% step), buys at each level on close-cross-down, and sells at the next level up on close-cross-up. Unlike adaptive grid variants with trailing logic, this version stays locked to the original range β no auto-shift up. Profit comes from capturing the spread between adjacent grid lines on every oscillation; the structure is designed for periods where UNI consolidates within a defined band rather than trending strongly in one direction. - 57 geometrically-spaced levels between Low (2.979) and High (4.171) - Buy on close-cross-down through an unfilled level; sell on close-cross-up through the next level - Fixed notional per level (175.44 USDT default), all fills equally sized - No trailing up β grid stays locked to the configured range - No stop loss β positions held until matching sell level is hitπ· Who is it for: Swing traders who identify ranging conditions on UNI and want to monetize the oscillations. Bot operators who automate grid execution through webhook integration with a connected bot. Spot accumulators with a directional view that UNI will remain inside the configured boundaries during the deployment period. Risk-conscious participants who prefer predictable accumulation envelopes (capped at full-grid-filled at the Low boundary).π· How does it work: Long Entry: When close crosses down through an unfilled grid level, the strategy opens a long position sized to the per-level notional amount (default 175.44 USDT). Each level operates independently β multiple buys can stack across the ladder simultaneously during a downward swing, creating a structured accumulation pattern. Short Entry: Not used β this is a long-only spot grid. Exit Management: For each filled level, the strategy places a limit exit at the next level up. When close crosses up through that target, the position closes and the level becomes available to buy again. No stop loss is used; the grid's Low boundary defines the structural worst-case accumulation point. Static range β the grid does NOT shift when price exits the boundary. If price breaks above High, the strategy stops opening new buys until price returns inside the band. If price breaks below Low, all 57 levels are filled and the position holds unrealized loss until either the average is recovered or the user manually closes.π· Why it's unique: Pure static range design β most grid implementations include trailing-up logic that compromises the original risk envelope when price trends. This variant stays locked to the configured range, which gives a fully predictable worst-case scenario: maximum unrealized loss is bounded by (Current Price β Grid Low) Γ Total Position at Low. Traders know exactly what they are signing up for before deploying capital. Calibrated for UNI's DEX-token volatility β the 0.61% step and 57-level ladder are dense enough to capture UNI's higher-frequency intraday oscillations (typical of mid-cap altcoins with active DEX flow) while keeping the configured envelope tight. This contrasts with sparser grids used for majors like ETH/BTC where each step needs to be wider to match the larger absolute moves. Bot Integration β entry alerts ship with webhook-ready JSON payloads. The grid_start alert fires once on first activation. Bot ID, Email Token, and pair label are exposed as inputs.π· Considerations Before Using the Indicator: Market & Timeframe: This strategy is calibrated for a 15-minute chart on UNI/USDT spot pairs with active intraday range. Fill density depends directly on how often close crosses grid levels. Higher timeframes (1h+) produce far fewer fills; lower timeframes (1m, 5m) generate more fills but slow backtests on TradingView's plan limits. The runtime warning label flags any TF other than 15m. Limitations: No stop loss and no trailing range adjustment. The strategy is structurally exposed to two failure modes: (1) Price breaks above High β strategy idles, no new fills until reversal back into range (2) Price breaks below Low β all 57 levels fill, unrealized loss accumulates until average is recovered or position is manually closed This is the trade-off of a pure static grid: predictable risk envelope, but no adaptive protection against trend breakouts. Pair this strategy with manual range validation and an exit plan before deploying capital. Backtesting & Demo Testing: Always validate the grid range and step size on historical data for the specific instrument. UNI's volatility profile shifts across DeFi cycles β what was a ranging instrument can become a strong-trend instrument and vice versa, especially around governance events, fee-switch proposals, or DEX-flow rotations. Re-test on your own venue using venue-specific commission and slippage. Demo-trade for at least one month before any live deployment. Past performance is not indicative of future results. Parameter Adjustments: Commission defaults to 0.10% (Bybit spot taker). Adjust for your venue β Binance Spot ~0.10%, Coinbase Advanced ~0.50%, OKX Spot ~0.08%. The grid range and level count should be re-evaluated for each new deployment period β UNI's "fair range" shifts over time, and a grid calibrated for one regime may not work for the next.π· STRATEGY PROPERTIES Symbol: BYBIT:UNIUSDT (Uniswap / Tether Spot). Strategy is generic β works on any spot pair with sufficient depth and structural range. Timeframe: 15m chart (mandatory β strategy is calibrated for this TF). Test Period: Jan 19, 2026 β May 19, 2026 (β 4 months / last 120 days). Initial Capital: 11,000 USDT (10,000 investment + 1,000 buffer for commission and grid fluctuations). Order Size per Trade: 175.44 USDT per grid level. Total investment envelope = 10,000 USDT (57 levels Γ 175.44). Maximum simultaneous position count: 57 levels. Commission: 0.10% taker β Bybit spot reference; adjust for your venue. Slippage: 2 ticks β typical taker execution on liquid UNI/USDT pairs. Margin for Long and Short Positions: 100% (1Γ leverage assumed; no margin amplification). Indicator Settings: Default Configuration. Grid Mode: Geometric High Price: 4.171 Low Price: 2.979 Levels: 57 Amount per Level: 175.44 USDT Trailing Up: disabled Step (computed): β 0.61% Strategy: Long Only.π· STRATEGY RESULTS β οΈ Remember, past results do not guarantee future performance. Net Profit: [to fill from Strategy Tester report] Max Drawdown: [to fill from Strategy Tester report] Total Closed Trades: [to fill from Strategy Tester report] Percent Profitable: [to fill from Strategy Tester report] Profit Factor: [to fill from Strategy Tester report] Average Trade: [to fill from Strategy Tester report] Average # Bars in Trades: [to fill from Strategy Tester report] Reference TradingView Pine backtest on BYBIT:UNIUSDT (15m chart), Jan 19 2026 β May 19 2026 (β4 months / last 120 days at time of publication). The reference period captures UNI's choppy post-recovery phase, which is structurally favorable for static range grids β the strategy fills repeatedly as price oscillates through the band. Built-in GRID Bot backtest reference (last 120 days): +23.15% net profit / 1,290 trades. The Pine simulation differs slightly from the bot backtester due to fee structure, slippage model, and close-based level-crossing detection vs. exchange-side limit orders. Re-test on your own venue with venue-specific commission before live deployment.π· How to Use It: πΈ Adjust Settings: Set the grid High and Low boundaries based on UNI's observed range over the past 1β3 months. The default 2.979 β 4.171 envelope reflects UNI's recent volatility band. Amount per level should be sized so that filling the entire ladder (all 57 levels = 10,000 USDT exposure) does not exceed your risk budget. Scale linearly to your equity. Always confirm you are on a 15-minute chart β the runtime warning label flags mismatches. πΈ Results Review: Verify Maximum Drawdown stays within your personal risk budget. The strategy operates with no stop loss, so the worst-case is the full grid being filled at the Low boundary while price continues lower. Calculate this scenario before going live: if every level fills and price drops 10% below the grid Low, what is your unrealized loss? That is your hard floor. Re-test on your own venue with realistic commission and slippage. πΈ Create alerts to trigger the connected bot: The strategy exposes a "grid_start" alert that fires once when the first bar enters the configured backtest window. Configure the alert in TradingView with the webhook URL pointing to your bot's signal endpoint. The Bot ID, Email Token, and Pair label can be set in the script's inputs. Note that grid bots are typically configured directly within the bot interface, so this alert is primarily informational for monitoring purposes.π· INDICATOR SETTINGS Grid High Price β Upper boundary of the grid range. Grid Low Price β Lower boundary of the grid range. Grid Levels β Total number of price levels between Low and High (default 57). Grid Mode β Distribution of levels: Geometric (constant % spacing) or Arithmetic (constant absolute spacing). Amount per Level (USDT) β Notional value of each buy fill. Total Investment (USDT, ref) β Reference total capital deployed across all levels (informational). Trailing Up β Disabled by default; enable to make grid shift up on breakout (turns this into adaptive grid behavior). Trail Up Threshold % β Percentage above High at which trailing-up triggers (only used if Trailing Up enabled). Shift Up Magnitude % β How much of the current range to shift when trailing-up fires (only used if Trailing Up enabled). Limit by Date Range β Constrain backtest to a specific date window. Show grid lines on chart β Toggle visual display of all level lines. Recommended TF (for warning) β Timeframe baseline for the runtime mismatch warning (default 15m). Stats card / Watermark β Display layer controls for on-chart backtest summary and branding. Webhook β Bot ID, Email Token, and Pair label for connected 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.