# FeatureTpSlManagementDTO

DTO for TP/SL management feature (copier) (PRO)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additionalSlPoints** | **number** | Additional points to add to the existing SL value. Useful for prop firms. | [optional] [default to undefined]
**additionalTpPoints** | **number** | Additional points to add to the existing TP value. Useful for prop firms. | [optional] [default to undefined]
**adjustWithMasterDistance** | **boolean** | Indicates whether the TP/SL should be adjusted based on the distance from the master trade\&#39;s values, maintaining the same distance on both the master and the slave trades. | [optional] [default to false]
**blockTradeWithoutTpSl** | **boolean** | If true, trades will not be opened on slave accounts if no TP/SL is available (neither from master nor from configured values). Important for prop firm accounts. | [optional] [default to false]
**fixedSlInPoints** | **number** | Fixed Stop Loss value in points. Set to 0 if not used. | [optional] [default to undefined]
**fixedTpInPoints** | **number** | Fixed Take Profit value in points. Set to 0 if not used. | [optional] [default to undefined]
**lockTpSl** | **boolean** | If true, the TP/SL values are set once and are never modified afterward. | [optional] [default to false]
**masterTpSlPriority** | **boolean** | If true, the master account\&#39;s TP/SL values have priority. The configured fixed TP/SL values are only applied as a fallback when the master has no TP/SL set. If the master later adds TP/SL, the slave accounts will be updated accordingly. | [optional] [default to false]
**removeSl** | **boolean** | If true, removes the Stop Loss (SL) from the copied positions. | [optional] [default to false]
**removeTp** | **boolean** | If true, removes the Take Profit (TP) from the copied positions. | [optional] [default to false]
**symbolsConfiguration** | [**{ [key: string]: FeatureTpSlManagementDTO; }**](FeatureTpSlManagementDTO.md) | Defines TP/SL management per symbol. Symbol configuration has priority over the general configuration. | [optional] [default to undefined]

## Example

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

const instance: FeatureTpSlManagementDTO = {
    additionalSlPoints,
    additionalTpPoints,
    adjustWithMasterDistance,
    blockTradeWithoutTpSl,
    fixedSlInPoints,
    fixedTpInPoints,
    lockTpSl,
    masterTpSlPriority,
    removeSl,
    removeTp,
    symbolsConfiguration,
};
```

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