Skip to main content

Close Position Settings

These settings determine how futures positions are closed in profit.

Info

Closing a position refers to executing a trade that offsets an existing open position. For example, if you have a long position (bought an asset), closing the position means selling that asset.

LabelConfig ParameterDefault ValueDetailed Description
ROEROE1This setting establishes the target Return On Equity (ROE) for closing a position. ROE is calculated based on the percentage profit and loss on your invested margin, similarly to how BitMEX calculates it, including the effects of leverage but excluding fees.

Examples:
- Long position, 1x leverage: A 1% increase above the average entry price reaches 1% ROE.
- Long position, 100x leverage: A 1% increase above the average entry price reaches 100% ROE.
- Short position, 20x leverage: A 1% decrease below the average entry price reaches 20% ROE.
ROE TrailingROE_TRAILINGfalseActivates trailing for the ROE target, which adjusts the stop loss as the market price moves favorably, locking in profits while providing a buffer against market reversals.
ROE LimitROE_LIMIT1This parameter defines the range for ROE trailing. It sets a threshold where, if ROE starts to decline, the system places a close order to protect profits.

For instance, setting an ROE limit of 5 at a target of 1 creates an initial range between 0.95 and 1.05 ROE, securing profits while giving room for slight market fluctuations.
ROE ScalperROE_SCALPERfalseEnables a specific style of ROE trailing where the initial trailing stop is set ROE_LIMIT below the ROE target.

This mode is useful for scalping strategies to lock in quick, short-term profits. Note: ROE trailing must be enabled to use this feature.
PNDPNDfalseCloses the position after a significant price movement (pump or dump) finishes, and the price stabilizes above the average entry price.

This setting overrides any ROE-related parameters, providing a strategy to capitalize on volatile market spikes.
PND ProtectionPND_PROTECTION1.5Sets a protective threshold to close the position if ROE drops below this level after having reached a peak.

This can prevent losses by automatically closing positions during sharp market reversals after initial gains.