LotSizeBB | double | 0.05 | BB: Lot size level 1 |
|---|
BBLotScale | ENUM_LOT_SCALE | LOT_GEOMETRIC | BB: Fixed / Geometric |
|---|
LotMultBB | double | 1.3 | BB: Lot multiplier for level 2+ (Geometric) |
|---|
MaxLotBB | double | 1.5 | BB: Max lot per order (0=no limit) |
|---|
TakeProfitPipsBB | double | 2000.0 | BB: Take profit (pips; 0=off) |
|---|
EnableBalanceBB | bool | true | BB: Balance when (pool + loss) >= 20 USD; cooldown 300s. Prepare at 3 levels, execute at 5 |
|---|
EnableCC | bool | true | Enable CC (Buy Stop + Sell Stop) |
|---|
LotSizeCC | double | 0.05 | CC: Lot size level 1 |
|---|
CCLotScale | ENUM_LOT_SCALE | LOT_FIXED | CC: Fixed / Geometric |
|---|
LotMultCC | double | 1.3 | CC: Lot multiplier for level 2+ (Geometric) |
|---|
MaxLotCC | double | 2.0 | CC: Max lot per order (0=no limit) |
|---|
TakeProfitPipsCC | double | 2000.0 | CC: Take profit (pips; 0=off) |
|---|
EnableBalanceCC | bool | true | CC: Balance when (pool + loss) >= 20 USD; cooldown 300s. Prepare at 3 levels, execute at 5 |
|---|
EnableDD | bool | true | Enable DD (Sell Limit above base + Buy Limit below base; no balance) |
|---|
LotSizeDD | double | 0.01 | DD: Lot size level 1 |
|---|
DDLotScale | ENUM_LOT_SCALE | LOT_FIXED | DD: Fixed / Geometric |
|---|
LotMultDD | double | 1.3 | DD: Lot multiplier for level 2+ (Geometric) |
|---|
MaxLotDD | double | 1.5 | DD: Max lot per order (0=no limit) |
|---|
TakeProfitPipsDD | double | 2000.0 | DD: Take profit (pips; 0=off) |
|---|
EnableTrailingTotalProfit | bool | true | Enable trailing: cancel pending, move SL when open profit >= threshold |
|---|
TrailingThresholdUSD | double | 200.0 | Start trailing when open profit >= (USD) |
|---|
TrailingDropMode | ENUM_TRAILING_DROP_MODE | TRAILING_MODE_RETURN | When profit drops: Lock profit | Return to initial |
|---|
TrailingDropPct | double | 20.0 | % (both modes): trigger when profit drops X%. E.g. threshold 100 USD, 20% = trigger when drops to 80 USD |
|---|
TrailingPointAPips | double | 1500.0 | Point A (pips): base = grid level closest to price at threshold. Buy: A = base + X pip; Sell: A = base - X pip. SL at A |
|---|
GongLaiStepPips | double | 1000.0 | Pips: trailing step (price moves 1 step -> SL trails 1 step) |
|---|
EnableResetAtBreakevenWhenNearBase | bool | false | Breakeven cut: max open level >= X levels and (open USD + closed TP minus lock) >= 0 -> Reset. Current session only |
|---|
ResetBreakevenMaxLevelsFromBase | int | 10 | Min grid levels from base for open positions to apply breakeven reset (>= X levels) |
|---|
EnableScaleByAccountGrowth | bool | true | Scale lot, TP, SL, trailing by % capital growth |
|---|