Primitive Settings

The ESB supports both martingale and anti-martingale strategies and can manage both simultaneously. You can set the “Martingale Type” to any type you prefer. 

If the Martingale Type is set to “Simple Martingale and Anti Martingale,” ESB will open both a martingale rally and an anti-martingale rally at the same time. If the price moves in the direction of our position, an anti-martingale will be initiated, and if the price moves in the opposite direction, a martingale will be triggered. If the price moves in both directions, both martingale and anti-martingale will start.

If you want to start an anti-martingale only when no martingale is active, or vice versa, set the parameter to “Simple Martingale or Anti Martingale.” This configuration ensures that only one type of martingale or anti-martingale is active at any time. If the price moves in the direction of our position, an anti-martingale will start, and if the price reverses, a martingale will be initiated.

The ESB can create a martingale rally instantly as the price moves significantly in the opposite direction or by using pending orders to place all martingale orders upon receiving a signal. You can determine your method of order placement using the “Orders Mode” parameter. Some traders prefer instant orders for reasons such as keeping positions hidden from brokers, who would otherwise have visibility into their trading levels.

Each level of martingale attempts can have a tolerance that can be adjusted using the “Level Slip” parameter. For example, if the next sell attempt should be placed at 1.31400 and the level slip is set to 10 points, the attempt can be placed at 1.31390. This helps in situations where the spread is wide or the market lacks sufficient movement.