Every Algo Signals signal comes with three levels: a stop-loss (SL), which cuts the loss, and two targets (TP1 and TP2), which lock in the gain. The TP/SL method chooses how these levels are computed. This lesson describes the five basic methods as they are actually coded.
ATR, the measuring stick
The ATR (Average True Range) is the average, over 14 candles, of the true range: the largest of high โ low and the gap from the previous close. It is the โnormalโ size of a candle at the moment. Measuring a stop in ATR adapts it to volatility.
The five methods
- ATR (atr): SL at 1.5 ATR from entry; TP1 at 1 times the risk, TP2 at 2 times the risk. Settings: stop multiplier (1.5), TP1 ratio (1), TP2 ratio (2).
- Ratio (rr): same calculation, with its own settings: SL = multiplier ร ATR; TP1 and TP2 = ratios ร the risk. Useful to choose the reward-to-risk ratio directly.
- Fixed (fixed): SL, TP1 and TP2 at a fixed distance. In mode 1 they are percentages of the price (0.3%, 0.3% and 0.6% by default); in mode 2, distances in price (for example 25 points).
- Candles (candle): SL below the low of the last 3 candles (above the high for a sell), plus a margin of 0.2 ATR; TPs as multiples of the risk (1 and 2). If the stop is too close to entry (less than 0.1 ATR), it falls back to the ATR method.
- Swing (swing): SL below the low of the previous 20 candles (margin of 0 by default); TPs as multiples of the risk. Same fallback to ATR if the stop is on the wrong side or too close.
The safeguards for these explicit-ratio methods are minimal: the stop must be on the losing side and more than 0.1 ATR from entry (otherwise 1.5 ATR), TP1 on the winning side and TP2 farther than TP1. The ratios you choose are kept.
The reward-to-risk ratio
The reward-to-risk ratio compares what you aim for with what you risk. With a stop of 1 and a target of 2 (ratio 1:2), about 33% winning trades are enough to break even, before fees and spread; with a 1:1 ratio, you need 50%. A high ratio is not better in itself: the farther the target, the less often it is reached.
Position size follows from the stop, not the other way round: amount risked = capital ร risk percentage; size = amount risked รท loss per unit if the stop is hit. Example: $1,000 of capital, 1% risk, so $10; if the stop means a $2 loss per unit, the size is 5 units.
๐ Lesson test
Log in to take this lessonโs test. Once you have passed all the tests, you will receive a certificate in your name.
Log inThese lessons are for understanding and are not investment advice. No method guarantees winning.