Price target: what it is and how an exit target is set
By Oalgo · Last reviewed
A price target is the price where a rule closes a trade in its favour, set before the trade starts. In a rule it is an exit target: a level, or a distance from the entry such as 2% above it. Analysts also publish price targets as forecasts for a market. This page is about the target inside a rule, which is a decision about when to leave, not a forecast.
How do people set an exit target?
#| Method | How it is worked out | Example, entry 115.51 |
|---|---|---|
| A fixed percentage | Entry price × (1 + target %) | 2% gives 117.82. 4% gives 120.13. |
| A multiple of the stop distance | Entry price + stop distance × the multiple | A 2% stop loss is 2.31 away. Twice that is 4.62, so the target is 120.13. |
| A multiple of ATR | Entry price + ATR × the multiple | ATR 14 is 4.42 on that candle. One times ATR gives 119.93. |
| A level on the chart | A recent high, or a level where price has turned before | No fixed number: it depends on the chart |
| An exit condition | Leave when an indicator condition is true, such as RSI crossing below 70 | No price is set in advance. The exit is wherever the condition happens. |
What does a worked example look like?
#Enter long at the close of candle 64, at 115.51. The stop is 2% below, at 113.20. Compare two targets: 2% above, at 117.82, and 4% above, at 120.13. The next candles on the example prices:
| Candle | High | Low | What it does to the trade |
|---|---|---|---|
| 65 | 119.02 | 114.76 | The high reaches 117.82, so the 2% target is reached. It does not reach 120.13, and the low stays above 113.20. |
| 66 | 114.89 | 111.09 | The low reaches 113.20, so the stop is hit. |
| 77 | 120.51 | The high reaches 120.13, 12 candles after the nearer target and 11 after the stop. |
With the 2% target, the trade closes on candle 65 at 117.82, a gain of 2% before fees, if it fills at the target price. With the 4% target, the trade is stopped out on candle 66 at 113.20, a loss of 2% before fees, if it fills at the stop price. The farther target is reached later, with no trade left to close. The same entry gives two different results. The example shows how the choice of target changes the outcome. It does not show which target is better, and on another entry the order can be different.
The target also sets the ratio of gain to loss. With a 2% stop, a 2% target is a ratio of 1 and a 4% target a ratio of 2. The risk-reward ratio page shows how that links to the win rate a rule needs to break even.
What can a price target not tell you?
#- It is a decision, not a forecast. Price can turn before the target, run past it, or jump over it.
- It caps the gain on that trade. Price may keep rising after the trade has closed.
- A farther target needs a bigger move and takes longer to reach, as the example shows, so more can happen first.
- Fees and slippage cost the same on every trade, so they take a bigger share of a small target.
How do you set an exit target in Oalgo?
#In Oalgo you can tell Oalgo AI your exit target in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.
- The Exit block holds the Stop Loss and the exit target. The target can be measured as a percentage from the entry or as a multiple of ATR from the entry, and a long and a short can each have their own.
- A Live Strategy needs a stop on each side it can enter, and an exit target is optional.
- In a test, a Multi-TP block closes part of the position at a first target and the rest at a second.
Read next
- ATR stop loss: how to size a stop to volatilityAn ATR stop sets the stop distance as a multiple of ATR, so it is wider when price moves more. See the idea, a worked example, and how to test it.
- What is expectancy? What one trade is worth on averageExpectancy is what one trade is worth on average, from the win rate and the size of wins and losses. Learn the formula, a worked example and its limits.