/copier
Field | Required | Accepted | Description |
---|---|---|---|
mode | no | on, off or monitor | Trade copier mode |
risk_type | no | string | A valid risk type. See risk_type below |
risk_value | no | double | A risk value for the risk type |
copy_existing | no | yes or no | Copy existing lead account trades |
reverse | no | yes or no | Reverse direction of trades |
force_min | no | yes or no | Round up the lot size if less than the minimum |
max_lot | no | double | Round down the lot size if it is greater than the max lot |
slippage | no | double | An acceptable difference between the lead open price |
copy_pending | no | yes or no | Copy pending orders |
copy_sl | no | yes, no or fixed | Copy stop loss |
fixed_sl | no | double | A fixed stop loss if using copy_sl fixed |
copy_tp | no | yes, no or fixed | Copy take profit |
fixed_tp | no | double | A fixed take profit if using copy_tp fixed |
comment | no | string | Append a string to the MT trade comment |
Value | Description |
---|---|
risk_multiplier_by_balance | Risk multiplier by balance |
risk_multiplier_by_equity | Risk multiplier by equity |
lot_multiplier | Lot multiplier |
fixed_lot | Fixed lot |
percentage_risk_per_trade_by_balance | Percentage risk per trade by balance |
percentage_risk_per_trade_by_equity | Percentage risk per trade by equity |
risk_amount_per_trade | Risk amount per trade |
Code | Status | Description |
---|---|---|
FIXED_STOP_LOSS_REQUIRED | 422 | Fixed stop loss required |
FIXED_TAKE_PROFIT_REQUIRED | 422 | Fixed take profit required |
Sign up to our newsletter to keep up-to-date.