trail_offset
Parameter: trail_offset
Type: decimal
Required: No (yes with trail_price
)
Description:
- The Trail price must be specified
- The amount by which the trailing stop-loss will be adjusted.
- This parameter is only relevant if trailing is enabled in the MT5 connector.
- The
TpMethod
in the MT5 connector determines how the trailing offset is interpreted:TpPrice
: The trailing offset is a fixed price value.TpPercent
: The trailing offset is a percentage of the current price.
Example:
JSON
{
"trail_price": 1.1220,
"trail_offset": 0.0020
}
Note:
- The
trail_offset
parameter is only relevant if trailing is enabled in the MT5 connector. - Ensure that the
TpMethod
in the MT5 connector is set correctly to match the desired trailing behavior. - Incorrect or missing
trail_offset
values may result in unexpected behavior.