Guide
How does the Break even stop loss (% of instrument price) strategy work ?
The "Break even stop loss (% of instrument price)" strategy establishes a dynamic stop loss to manage risk relative to the entry price. Initially, it sets a stop loss a certain percentage below the entry price. When the market price moves favorably by the same percentage above the entry price, the stop loss is adjusted to the break even point.
- It uses a trailing percentage to calculate the stop loss level.
- A long condition is identified by the crossover of two simple moving averages (SMA), where SMA(14) crosses above SMA(28).
- If the price appreciates to a point that is the initial trailing percentage above the entry price, the stop loss is moved up to the entry price, ensuring that any market movement against the position wouldn't result in a loss.
- The strategy is coded to only allow long positions.
- Short conditions are not used to open new positions but to close the existing long position.
- Exit orders for the stop loss are managed by the strategy and are activated when the price moves against the trade, ensuring that the trade breaks even.
The visual reference for the trailing stop can be seen on the chart as a fuchsia cross line that adjusts according to market conditions.