Sizing Sell Stop Orders by Deposit Allocation
Summary
The document describes a script for placing a pending sell stop order at a trigger level below the current price. It sets stop-loss and take-profit distances in points from the trigger and allows the trader to set order volume through a money-management input defined as a proportion of the deposit. It also includes an optional order expiry and parameters for retrying unsuccessful transaction attempts with a pause between retries.
The listed defaults place the trigger and stop loss at equal point distances, with a farther take-profit target; the order can also be configured to remain open without a time limit. These inputs explain the script’s mechanics, but the document does not specify how the deposit-based allocation translates into monetary loss at the stop, nor does it provide a method for selecting trigger levels. It offers no backtest, execution analysis, or evidence that this order setup has an edge, so the settings should be understood as implementation examples rather than validated trading guidance.
Key ideas
- The script places a pending sell stop using a trigger distance measured from the current price.
- Stop-loss and take-profit distances are configured in points from the order trigger.
- A money-management input controls volume as a proportion of the deposit.
- The order can have an expiry, and failed transactions can be retried after a pause.
- The document supplies settings but no evidence that the setup is profitable.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.