 (1).png)





Market Depth VIX Bot - Complete Analysis
🎯 Robot Overview
The Market Depth VIX Bot is an advanced trading system that combines Market Depth (DOM - Depth of Market) analysis with VIX index filtering to generate trading signals based on the imbalance between bid and ask volumes at deeper price levels.
🔍 How the Robot Works
1. Market Depth Reading
The robot analyzes the top levels of the order book to calculate the imbalance between buy and sell volumes. In live mode it reads real DOM data from the broker, while in backtest it generates simulated data.
2. Imbalance Calculation
Calculates the percentage difference between total buy and sell order volumes in the top DOM levels. A significant imbalance indicates bullish or bearish pressure.
3. VIX Filter
Analyzes the movement of the VIX index (Volatility Index) to filter signals. Based on configuration, it can allow only buys, only sells, or completely block trading based on VIX movement.
4. Advanced Position Management
Includes dynamic trailing stop, automatic breakeven, and sophisticated risk management with multiple options for stop loss and take profit.
⚠️ IMPORTANT: Backtest Limitations
❌ WARNING: BACKTEST IS NOT RELIABLE!
- cTrader does NOT record Market Depth data for backtesting
- Signals in backtest are randomly generated through simulation
- Backtest performance does not represent the robot's real capabilities
- Test ONLY in DEMO/LIVE for realistic evaluations
- The robot is designed for real-time trading with live DOM data
📊 Configuration Parameters
🎚️ Basic Parameters
Use Only Longs - Enable only LONG positions (default: false)
Use Only Shorts - Enable only SHORT positions (default: false)
Max Long Positions - Maximum concurrent LONG positions (default: 1)
Max Short Positions - Maximum concurrent SHORT positions (default: 1)
📈 Market Depth Parameters
Depth levels to aggregate - Number of DOM levels to analyze, from 1 to 20 (default: 5)
Min imbalance to trigger - Minimum imbalance to generate trade, from 0.01 to 1.0 (1% to 100%) (default: 0.30)
Min total volume at top levels - Minimum total volume to consider signal reliable (default: 10.0)
Depth refresh ms - DOM reading frequency in milliseconds, minimum 100ms (default: 500)
💰 Volume Management
Volume Type - Volume calculation type: Fixed or RiskBased (default: Fixed)
Fixed Volume (Lots) - Position size in lots for fixed volume (default: 0.01)
Risk Management - Enable risk-based capital management (default: false)
Risk % per Trade - Risk percentage per single trade, from 0.1% to 10.0% (default: 2.0)
Account Balance to Use - Reference capital for risk calculation (default: 10000)
🛡️ Stop Loss & Take Profit
Stop Loss Type - Stop loss type: FixedPips or ATR (default: ATR)
Take Profit Type - Take profit type: FixedPips, ATR or RiskReward (default: ATR)
Stop Loss (Pips) - Fixed stop loss in pips (default: 30)
Take Profit (Pips) - Fixed take profit in pips (default: 60)
Stop Loss ATR multiplier - ATR multiplier for dynamic stop loss (default: 2.0)
Take Profit ATR multiplier - ATR multiplier for dynamic take profit (default: 3.0)
Use Risk/Reward Ratio - Use Risk/Reward ratio for take profit calculation (default: true)
Risk/Reward Ratio - Risk/Reward ratio, e.g., 1.5 means 1:1.5 (default: 1.5)
🔄 Trailing Stop & Breakeven
Use Trailing Stop - Enable dynamic trailing stop (default: true)
Trailing Start (Pips) - Minimum profit in pips to activate trailing stop (default: 20)
Trailing Step (Pips) - Minimum increment in pips to move trailing stop (default: 10)
Use Breakeven - Enable automatic breakeven (default: true)
Breakeven Trigger (Pips) - Profit in pips to activate breakeven (default: 15)
Breakeven Plus (Pips) - Additional pips above entry price for breakeven (default: 5)
📊 VIX Filter
Enable VIX Filter - Enable filtering based on VIX index (default: true)
VIX symbol - VIX index symbol (default: "VIX")
VIX Timeframe - Timeframe for VIX analysis (default: Daily)
VIX Lookback Bars - Historical bars for VIX change calculation, from 1 to 10 (default: 2)
VIX Percent Threshold - VIX percentage change threshold for filter activation, from 0.5% to 20.0% (default: 3.0)
VIX Rise Action - Action when VIX rises: BuyOnly/SellOnly/BothDirections/NoTrading (default: SellOnly)
VIX Fall Action - Action when VIX falls: BuyOnly/SellOnly/BothDirections/NoTrading (default: BuyOnly)
⚙️ General Options
Backtest Mode - Backtest mode (NOT RELIABLE for this robot) (default: true)
Debug Mode - Enable detailed logs for debugging and monitoring (default: true)
🎯 Detailed Trading Logic
Market Depth Signal
- Positive imbalance → More buy volume → BUY signal
- Negative imbalance → More sell volume → SELL signal
- Adjustable threshold → Filters weak signals and reduces noise
VIX Filter
- VIX rising → Higher market volatility/uncertainty → Typically SELL ONLY
- VIX falling → Lower volatility/stable conditions → Typically BUY ONLY
- Fully configurable → You can customize the logic based on your strategy
Advanced Position Management
- Trailing Stop → Locks in profits during favorable trends
- Breakeven → Protects capital once sufficient profit is reached
- Position Sizing → Fixed or risk-based percentage
- Multiple position control → Manages maximum concurrent trades
⚠️ Important Warnings
- UNRELIABLE BACKTEST - DOM data is not recorded in historical data
- DOM DATA DEPENDENCY - Requires brokers providing quality Market Depth
- HIGH FREQUENCY - Reads DOM every 500ms, VPS recommended for live trading
- VIX FILTER - Verify VIX symbol availability with your broker
- RISK MANAGEMENT - Set conservative parameters especially in initial phase
✅ Usage Recommendations
- Initial testing in DEMO for at least 2-4 weeks to evaluate real performance
- Verify your broker's DOM quality before live trading
- Start with small volumes when transitioning to live trading
- Monitor logs in Debug Mode to understand robot behavior
- Adapt parameters to specific symbol and market conditions
- Use VPS to ensure operational continuity and constant DOM reading
The robot is well designed for live trading but requires thorough testing in real conditions due to the dynamic nature of Market Depth. The combination of DOM analysis and VIX filtering makes it suitable for traders who want to base decisions on real-time market data and volatility conditions.
For the backtesting and live proving of these cBots, I am utilizing IC Markets And ICTrading: Visit IC Markets Visit IC Trading