# FeatureTrailingStopDTO

DTO for the trailing stop feature (copier/account) (PRO)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**activationThresholdPercentage** | **number** | Defines the activation threshold as a percentage of the take profit. For example, if TP is 1000 points and this is set to 50, trailing stop activates at 500 points profit. A value of 0 means this activation method is deactivated. Requires TakeProfit to be set on the trade. If both activationThresholdPoints and activationThresholdPercentage are active (&gt;0), the maximum (most conservative) value will be used. | [optional] [default to 0]
**activationThresholdPoints** | **number** | Defines the activation threshold in points. Trailing stop starts only when profit reaches this value. A value of 0 means this activation method is deactivated. If both activationThresholdPoints and activationThresholdPercentage are active (&gt;0), the maximum (most conservative) value will be used. | [optional] [default to 30]
**initialStopLossPoints** | **number** | Defines the initial stop loss distance in points from the entry price when the trade is opened. A value of 0 means no stop loss is applied initially. | [optional] [default to 50]
**minimumDistancePoints** | **number** | Defines the minimum distance in points from the current price to the stop loss. Prevents the stop-loss from moving too close. | [optional] [default to 20]
**symbolsConfiguration** | [**{ [key: string]: FeatureTrailingStopDTO; }**](FeatureTrailingStopDTO.md) | Defines the trailing stop configuration per symbol. | [optional] [default to undefined]
**trailingStepPoints** | **number** | Defines the step distance in points at which the trailing stop will move as the trade progresses. | [optional] [default to 10]

## Example

```typescript
import { FeatureTrailingStopDTO } from 'js-metacopier-api';

const instance: FeatureTrailingStopDTO = {
    activationThresholdPercentage,
    activationThresholdPoints,
    initialStopLossPoints,
    minimumDistancePoints,
    symbolsConfiguration,
    trailingStepPoints,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
