คำอธิบาย
This cBot is intended to be used as a sample and does not guarantee any particular outcome or profit of any kind. Use it at your own risk.
WARNING: This cBot uses Martingale position sizing which can result in significant losses. Trading leveraged products carries a high level of risk and may not be suitable for all investors. You should carefully consider your investment objectives, level of experience, and risk appetite.
STRATEGY DESCRIPTION:
This cBot combines Martingale and Grid trading strategies. It opens an initial position and places additional positions at fixed price intervals (grid levels) as the market moves against the initial trade. Each subsequent grid level increases the position size by a configurable multiplier (default 2x = classic Martingale). The strategy aims to recover losses when price reverses by having larger positions at better average prices.
KEY FEATURES:
- Grid-based entry system with configurable step distance
- Martingale position sizing with adjustable multiplier
- Supports both Forex (Pips mode) and Gold/XAUUSD (Price mode)
- Optional total profit target to close all positions
- Configurable trade direction (Buy, Sell, or Random)
- Asynchronous order execution for faster trade processing
PARAMETERS:
- Initial Quantity: Starting lot size for the first position
- Volume Multiplier: Position size multiplier for each grid level (2.0 = double)
- Distance Mode: Pips (for Forex) or Price (for Gold/Commodities)
- Grid Step: Distance between grid levels in pips or price units
- Max Grid Levels: Maximum number of positions to open
- Take Profit: Individual position take profit in pips or price units
- Close All on Profit: Close entire grid when total profit reaches this amount ($)
- Trade Direction: Buy only, Sell only, or Both (random)
RISK WARNING: Martingale strategies can lead to exponential position sizing and margin calls. Always use appropriate risk management and never risk more than you can afford to lose.
