Setup Guide & Manual
Silver Edge Engine — complete parameter reference, alert setup, and live trading guide.
Quick Start — 7 Steps
- Open the correct chart on TradingView (e.g. SUIUSDT Perpetual, H2, Bitget).
- Load Silver Edge Engine — DEMO (free) or the full version and open Settings.
- Select your Asset Preset (e.g. “SUI H2”). All parameters are set automatically.
- Set Trade Mode: Realtime only for live trading.
- Enter your 4 WunderTrading webhook codes in the Bot/Webhook section.
- Click the clock icon → “Add alert” → “alert() function calls only”.
- Paste your WunderTrading Webhook URL → Expiry: open-ended → Save.
○ Asset Preset
The preset dropdown is the primary control. Selecting a preset loads a complete, backtested parameter set. All manual fields below are ignored when a preset is active.
| Preset | Timeframe | |
|---|---|---|
| SUI H2 | H2 | |
| 1000SATS H1 | H1 | |
| ETH H2 | H2 | |
| BRETT H2 | H2 | |
| ZEC H2 | H2 | |
| XAG H2 | H2 | |
| BTC H2 | H2 | |
| BTC H1 | H1 | |
| RIVER H1 | H1 | |
| RIVER H2 | H2 | |
| NEAR H2 | H2 | |
| NEAR H3 | H3 | |
| DOGE H2 | H2 | |
| DOGE H4 | H4 | |
| PEPE H2 | H2 | |
| PEPE H6 | H6 | |
| SIREN M10 | M10 (Long Only) | |
| SIREN H1 | H1 (Long Only) | |
| Manual | All fields below are used directly | |
○ Strategy Parameters (Manual mode only)
These fields are only active when Preset = Manual. With any other preset, these values are overridden automatically.
| Parameter | Default | Description |
|---|---|---|
| Channel Length | 20 | Signal engine lookback period |
| Stop Loss % | 5.0 | Maximum loss per trade, measured from entry price |
| Take Profit % | 12.0 | Profit target, measured from entry price |
| Trail % | 3.0 | Trailing stop distance from highest/lowest point since entry |
| Allow Long | On | Enable long entries |
| Allow Short | On | Enable short entries |
○ Dynamic Sizing (Manual mode only)
Optional position sizing that scales trade size based on recent win/loss streaks. Enabled by default in the ZEC and XAG presets.
| Parameter | Default | Description |
|---|---|---|
| Dynamic Sizing active | Off | Enable streak-based sizing |
| Base Size USDT | 500 | Starting trade size. Reset point after streaks. |
| Win Scale % | 10 | Increase per consecutive win (compounds) |
| Max Win Scales | 3 | Cap on consecutive scale-ups |
| Loss Reduce % | 15 | Reduction after consecutive losses |
Extended presets include optimized dynamic sizing parameters. After any loss following a win streak, sizing resets to base.
○ Customer Override (Full version only)
The override layer allows you to customize preset parameters without switching to Manual mode. When Override is OFF, the preset values apply unchanged. When Override is ON, your custom values replace the preset defaults.
| Parameter | Description |
|---|---|
| Override Preset | Master switch. OFF = preset values apply. ON = override values below apply. |
| SL % | Custom Stop Loss percentage |
| TP % | Custom Take Profit percentage |
| Trail % | Custom Trailing Stop activation percentage |
| Trail Execute % | Custom Trailing Stop execute distance from peak |
| Allow Long | Enable/disable long entries |
| Allow Short | Enable/disable short entries |
The Info Label in the chart shows the currently active values and displays “✐ OVERRIDE” when the override is active. This feature is not available in the DEMO version.
○ Exit Logic — How Trades Close
Every trade has three exit mechanisms running simultaneously. Whichever triggers first closes the position.
| Exit Type | Trigger | Example (SL 5%, TP 12%, Trail 3%) |
|---|---|---|
| Stop Loss | Price moves SL % against entry | Long entry at 1.00 → stop at 0.95 |
| Take Profit | Price reaches TP % from entry | Long entry at 1.00 → TP at 1.12 |
| Trailing Stop | Price retraces Trail % from peak since entry | Peak at 1.08 → trail triggers at 1.0476 |
In live trading, WunderTrading manages all exits (SL/TP/Trail) directly on Bitget. The exit parameters are sent automatically in the entry payload. In backtest mode, strategy.exit() simulates the same behavior locally.
○ Bot / Webhook Settings
| Parameter | Description |
|---|---|
| CODE: Enter Long | Your WunderTrading Enter Long webhook code |
| CODE: Enter Short | Your WunderTrading Enter Short webhook code |
| CODE: Exit Long | Your WunderTrading Exit Long webhook code |
| CODE: Exit Short | Your WunderTrading Exit Short webhook code |
| WT Leverage | Leverage sent to Bitget (default: 4). Not simulated in backtest. |
○ Mode Settings
⚠ Trade Mode — Critical for Live Trading
If you leave it on “Backtest+Realtime”, TradingView will recalculate hundreds of historical trades on every page reload. This causes phantom signals, flickering chart labels, and can trigger unwanted close orders for positions that only exist in the backtest — not on Bitget. The default in the full version is already set to “Realtime only”.
| Setting | When to use | Effect |
|---|---|---|
| Backtest+Realtime | Backtesting only (DEMO) | Trades on historical + live bars. Shows full equity curve. Not safe for live bots. |
| Realtime only ✔ | Live trading (required) | Trades only on live bars. No historical recalculation. Ghost positions from the backtest are closed automatically on the first live bar. |
How to change: In TradingView, click the strategy name → Settings (gear icon) → tab “Inputs” → scroll to “Mode” → set Trade Mode to “Realtime only”. Save. Do this before creating the alert.
Force Proof (Pipeline Test)
Pipeline test: when enabled, the engine opens one trade and closes it on the next bar. Used to verify the full signal chain (TradingView → Webhook → WunderTrading → Bitget) before going live. Disable after successful test.
○ Chart Visuals
The strategy draws visual aids directly on the chart to help you monitor positions at a glance. All visuals are purely additive — they never affect trade logic, signals, or webhook execution.
| Element | Description |
|---|---|
| Signal Channel | Cyan upper / orange lower line with blue fill — shows the breakout channel |
| ▲ Entry Marker | Green triangle (Long) below bar, magenta triangle (Short) above bar |
| ✕ Exit Marker | Red cross (Long Exit) above bar, orange cross (Short Exit) below bar |
| SL / TP Lines | Red line = Stop Loss, green line = Take Profit. Labeled with price. Visible only while a position is open. |
| Position Background | Subtle green (Long) or red (Short) background shading while in a trade |
| Position Size | USDT amount shown below/above entry marker (Realtime mode only) |
All three visual elements can be toggled independently in the “⑦ Chart Visuals” input group:
| Toggle | Default | Effect |
|---|---|---|
| Entry/Exit Marker | On | Show/hide ▲▼ and ✕ markers + position size label |
| SL/TP Lines | On | Show/hide stop loss & take profit lines with price labels |
| Position Background | On | Show/hide colored background during open positions |
TradingView shows its own “Long”/“Short Exit” labels by default. These overlap with the custom markers and cause visual clutter.
To disable: Right-click the chart → Settings → tab “Trading” → uncheck “Show orders on chart”. This is a one-time setting that persists per chart layout.
Recommended Visual Configuration
| Scenario | Entry/Exit | SL/TP | Background |
|---|---|---|---|
| Live monitoring | On | On | On |
| Clean chart (signals only) | On | Off | Off |
| Minimal (no overlays) | Off | Off | Off |
To change: Click the strategy name on the chart → Settings (gear icon) → Inputs → scroll to "⑦ Chart Visuals". Changes take effect immediately.
Alert Setup — Step by Step
- Open the correct chart: e.g. SUIUSDT Perpetual, H2 on Bitget.
- Load Silver Edge Engine — DEMO (free) or the full version. Select your Preset. Set Trade Mode: Realtime only.
- Enter your 4 WunderTrading webhook codes.
- Click the clock icon (top toolbar) → “Add alert”.
- Condition: Silver Edge Engine → “alert() function calls only”.
- Paste your WunderTrading Webhook URL.
- Expiry: Open-ended (no expiry date).
- Save → alert icon turns green = active.
alert().Exchange Setup — Step by Step
This guide uses Bitget as the reference exchange. The system works with any exchange that supports USDT perpetual futures and webhook-based execution (Bybit, OKX, Binance, etc.).
1. Create a Sub-Account (recommended)
On Bitget: Profile → Sub-Accounts → Create Sub-Account. Use one sub-account per trading bot (e.g. "SE-SUI-H2"). This isolates the capital and risk for each asset.
2. Generate an API Key
On the sub-account: API Management → Create API Key. Name it clearly (e.g. "SE-Live-SUI"). Enable Futures Trading permission. Leave IP whitelist empty (required for WunderTrading). Save API Key, Secret Key, and Passphrase securely.
3. Configure Position Mode
In Bitget Futures settings, set Position Mode to Single Mode (not Hedge Mode). This ensures the strategy can flip from Long to Short in one step.
Position Mode must be set to One-Way on each sub-account separately and for each trading pair. The main account setting does not carry over. If you skip this, WunderTrading will show a “trading mode” error and trades will fail silently.
4. Set Margin Mode to Isolated
Set Margin Mode to Isolated (not Cross). This limits the risk to the margin allocated to each individual position. In Cross Mode, a single losing trade could affect all positions.
5. Set Leverage
Choose your leverage based on your risk tolerance. Our backtests use 4×. The WT Trade Size you set is the margin — multiplied by your leverage, this gives the actual position size. Example: 500 USDT margin × 4× leverage = 2,000 USDT position. Both profits and losses scale with leverage. Higher leverage also means a closer liquidation price — ensure your Stop Loss triggers before liquidation.
6. Connect to WunderTrading
- In WunderTrading: My Exchanges → Add Exchange → select Bitget Futures.
- Enter your API Key, Secret Key, and Passphrase.
- Create a Signal Bot: select the exchange, pair (e.g. SUIUSDT), and timeframe.
- Copy the 4 webhook codes (Enter Long, Enter Short, Exit Long, Exit Short).
- Paste them into the strategy’s Bot/Webhook settings in TradingView.
6a. WunderTrading Bot Mode
There are two ways to configure your WunderTrading bot:
| JSON Mode (Simple) | Form Settings Mode (Advanced) |
|---|---|
| SL, TP, and Trailing Stop are sent automatically in the signal payload. No manual configuration needed in WunderTrading. | Exit parameters are set directly in the WunderTrading bot dashboard. Enables Move to Breakeven — an additional profit protection layer. |
| Fastest setup — paste codes, set webhook, done. | Requires entering SL, TP, Trail, and BE values from the preset table. |
| Recommended for: quick setup, beginners. | Recommended for: experienced traders who want maximum performance. |
⚙ Form Settings — Preset Values for WunderTrading
Enter these values in the WunderTrading bot dashboard when using Form Settings mode. Values match the built-in presets.
| Preset | SL % | TP % | Trail Trigger % | Trail Stop % | BE Activ. % | BE Exec. % |
|---|---|---|---|---|---|---|
| SUI H2 | 5.0 | 12 | 3.0 | 0.9 | 2.5 | 0 |
| 1000SATS H1 | 5.0 | 12 | 3.0 | 0.9 | 2.5 | 0 |
| ETH H2 | 5.0 | 12 | 3.0 | 0.9 | 2.5 | 0 |
| BRETT H2 | 5.0 | 12 | 3.0 | 0.9 | 3.0 | 0 |
| ZEC H2 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| XAG H2 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| BTC H2 | 4.6 | 15 | 3.2 | 0.96 | 2.5 | 0 |
| BTC H1 | 4.6 | 15 | 3.2 | 0.96 | 2.5 | 0 |
| RIVER H1 | 4.6 | 15 | 2.0 | 1.5 | 1.5 | 0 |
| RIVER H2 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| NEAR H2 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| NEAR H3 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| DOGE H2 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| DOGE H4 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| PEPE H2 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| PEPE H6 | 4.6 | 15 | 3.2 | 0.96 | 3.0 | 0 |
| SIREN M10 | 4.6 | 15 | 3.2 | 0.96 | — | — |
| SIREN H1 | 4.6 | 15 | 3.2 | 0.96 | — | — |
BE Exec. = 0% means the Stop Loss moves to the exact entry price. SIREN does not use Breakeven (leave BE fields empty).
7. Verify the Pipeline
Enable Force Proof in the strategy settings. This opens one test trade and closes it on the next bar. Check that the trade appears on Bitget. Disable Force Proof after the test.
FAQ
The bot is not trading — why?
The engine only opens a trade when a confirmed breakout occurs. Between signals, the bot waits. This is normal. Trades tend to cluster around volatility events. Evaluate performance over weeks or months, not individual days.
How often does the bot trade?
Trade frequency depends on asset and timeframe. Example: SUI H2 generated ~215 trades over 1 year in backtesting. Some weeks will have multiple trades, others none. This is expected behavior.
Why does the backtest differ from live?
Three factors: (1) leverage is not simulated in the backtest (TV limitation), (2) funding rates (~0.01–0.03% per 8h at 4×) are not included, (3) WunderTrading latency of 1–2s can cause minor fill differences. Live win rates and returns may be lower than backtest figures. The strategy uses process_orders_on_close=true and bar_magnifier=false for the most realistic backtest possible.
Should I use higher leverage?
4× is the recommended starting point. At higher leverage, a sharp intra-bar move can cause liquidation before the bar closes and the stop triggers. After 90 days of live track record, reassess based on actual drawdown data.
What is the ghost position fix?
When you switch from Backtest+Realtime to Realtime only, there may be an open position from the backtest that does not exist on Bitget. The engine detects this and closes it silently on the first live bar. No manual intervention needed.
Can I use a different exchange?
Yes. The system works with any exchange that offers USDT perpetual futures. You need a webhook-compatible execution platform (WunderTrading, 3Commas, Cornix, or similar) to connect TradingView alerts to your exchange. The setup process is the same — only the API connection step differs.
I see a yellow warning about “calc_on_every_tick” in the Pine Editor. Is this a problem?
No. This warning is harmless. It appears because the Info Label refreshes on every tick for display purposes. It does not affect signal generation, entry/exit logic, or backtest results. You can safely ignore it.
Does it work with 3Commas?
Yes. Create a Signal Bot in 3Commas, configure the webhook codes, and paste them into the strategy settings. The alert message format is compatible. Refer to the 3Commas documentation for exchange-specific setup.
What leverage should I use?
Our backtests use 4× as a reference but do not simulate leverage (TradingView limitation). In live trading, the WT Trade Size is your margin. Margin × leverage = actual position size. Example: 500 USDT × 4× = 2,000 USDT position. Profits and losses are calculated on the full position — so live P&L is approximately 4× the backtest figures. Higher leverage also brings the liquidation price closer. Ensure your account has sufficient buffer capital beyond the margin.
I get a “trading mode” error — what’s wrong?
Bitget sub-accounts do not inherit settings from the main account. You must set Position Mode to One-Way on each sub-account separately, for each trading pair. Go to Bitget → Futures → Settings → Position Mode → One-Way.
I closed a trade manually on Bitget — what now?
If you close a position directly on Bitget, WunderTrading still thinks it’s open. Go to WunderTrading → Positions → Live, find the position and click the X icon to remove it. Otherwise the next signal may be ignored. WunderTrading may show “FAILED” when removing — this is normal and harmless.
How do I change the live trade size?
In the strategy settings under ‹5› Bot / Webhook, set WT Trade Size (USDT) to your desired amount (default: 500). This controls the position size sent to WunderTrading and is independent from the backtest sizing.
Backtest Settings (TradingView Strategy Properties)
| Property | Value | Why |
|---|---|---|
| Initial Capital | 3,000 USDT | Matches intended bot capital |
| Default Qty | 500 (Cash) | 500 USDT per trade (overridden by script) |
| Commission | 0.06% | Bitget Perpetual taker fee |
| Slippage | 2 ticks | Conservative fill assumption |
| Pyramiding | 1 | One position at a time |
These values are set in the strategy() header. You do not need to change them in TradingView Properties unless you are running custom tests.