Pular para o conteúdo

Take-profit and stop-loss

Este conteúdo não está disponível em sua língua ainda.

Whether your signals would have made money in the past is what the replay shows: it scores every alert as a trade with a take-profit (TP) and a stop-loss (SL) and tells you how often the price would have reached the TP and what would have been left after fees. This works without an account and on every plan, over the period of the replay.

The take-profit (TP) is the price where you take the profit, such as 3% above the entry. The stop-loss (SL) is the price where you limit the loss, such as 1.5% below it. For a short it is the other way round: TP below the entry, SL above it. A trade ends as soon as the price reaches either of them.

Replay of the last 90 days: at the top the hit chain with five links, “2 of 5 hit TP”, “+3.8% after fees” and the balance curve, on the right long, short, “TP +5%”, “1 : 2”, “SL −2.5%”, the money “+$3.80” and Explore. Below the price chart with a box per alert and the list with the result of each alert.
Captura de telaThe template “BTC Dip Buyer” with the sample prices over 90 days, signed in with Pro.

Above the list of alerts sits the bar:

  • Long ▲ or Short ▼: long profits when the price rises, short when it falls.

  • TP, such as “TP +3%”: here the profit would have been taken.

  • SL, such as “SL −1.5%”: here the loss would have been limited.

  • 1 : 2 between them: the reward-to-risk ratio, here the TP is twice as far away as the SL. The tooltip says what share of trades at the TP pays for it before fees, a third at 1 : 2.

  • Money, such as “+$3.80”: what would have become of your starting capital (Money), with leverage next to it such as “10×”.

  • Explore: the grid of TP and SL.

The arrow keys on a chip move it one step, Page Up and Page Down three steps. A click opens the slider with three tabs: Exit with TP and SL, suggestions in the ratio 1 : 2, ATR instead of percent, several TP stages, a trailing stop, an exit after N candles and positions (more below), Money with starting capital, stake, leverage and fee, Explore with the grid. On the selected alert you can also drag TP and SL right in the chart. Everything recalculates right away, without running the replay again.

TP and SL belong to the chain: they are saved with it, are part of the export, the share link and the API, and Undo takes a change back. If the chain is already running, new values apply at once, without applying changes; what it reports stays the same. This is also what the “Alerts” page scores every real alert with.

The slider with the tabs Exit, Money and Explore; under Exit the distance in % or ATR, TP stages 1, 2 or 3, sliders for TP +5% and SL −2.5%, the “Trailing stop” checkbox, “Exit after” with no limit, positions “Every signal”, the suggestions “−1.5% / +3%”, “−2.5% / +5%” and “−5% / +10%” and the link to the rules.

Unless you pick your own, the TP and SL that fit the timeframe of the candle apply. Templates bring their own.

Timeframe TP SL
1m to 5m +1% −0.5%
15m and 30m +2% −1%
1h and 2h +3% −1.5%
4h to 12h +5% −2.5%
1d +10% −5%
3d and 1w +20% −10%
1M +40% −20%

Under Distance, pick ATR instead of %. TP and SL then sit so many ATRs away from the entry, such as TP 3 ATR and SL 1.5 ATR. The ATR is the average swing per candle at the alert candle, as in the ATR node with length 14. In calm phases TP and SL move closer to the entry, in restless ones further away. When you switch, the slider converts with the ATR at your alerts, so TP and SL stay roughly as far away; the slider’s tooltip says how many percent that is on average. If fewer than 15 candles lie before an alert, there is no ATR and it doesn’t count.

With TP stages 2 or 3 you split the trade: each stage closes an equal part, a third each with three stages. New stages start at twice and three times the TP; each stage stays further away than the one before. SL to entry after TP1 moves the SL for the rest to the entry from the candle after TP1: if the price comes back, the rest ends at ±0 before fees. A signal counts as “hit TP” once it reaches the first stage.

With Trailing stop the SL follows the best price since the entry at the chosen distance, the highest high for long, the lowest low for short. It moves at the close of each candle and applies from the next one. That locks in gains and lets good trades run. A trailing stop in profit shows ↗ in light green in the list.

Under Exit after you choose how long a trade may run at most, such as 10 candles. If neither TP nor SL comes by then, it ends at the close of that candle, marked ⏱ in the list. If that candle itself reaches TP or SL, that counts first. Without a limit a trade runs until the end of the period.

Under Positions you choose what happens to signals while a trade is still running:

  • Every signal (default): every signal counts on its own, even while an earlier one is still running. This shows how good the signals themselves were.
  • One at a time: while a trade is running, further signals are skipped. The list shows them as “skipped · trade running”, the chart hollow. This is how an account that holds only one position would count.
  • Opposite flips: like “One at a time”, except that a signal in the other direction closes the running trade at its close and opens the new one, marked ⇄ in the list. This suits chains that report both directions, such as long at the VAL and short at the VAH.

Money: starting capital, stake and leverage

Section titled “Money: starting capital, stake and leverage”

Under the Money tab you calculate with real amounts, in euros in German, in dollars in the other languages:

  • Starting capital, $1,000 unless you pick another, with quick picks $100, $1,000 and $10,000.

  • Stake per trade: Amount (fixed, such as $100), % of account (such as 10%, the stake grows and shrinks with the account) or Risk (enough that the SL costs about 1% of the account; many traders size this way). A sentence below says what that means for the first trade.

  • Leverage from none to 125×: the stake is then the margin, the position the multiple, and so are profits and losses. If the liquidation is closer to the entry than the SL, it says so in red; such trades end at the liquidation and the stake is gone, marked “Liquidated” in the list.

  • Fee per side, 0.1% unless you pick another.

The Money tab: starting capital $1,000 with quick picks $100, $1,000 and $10,000, stake “Amount” with $100 per trade, no leverage, the sentence “Every trade puts in $100; at the SL (−2.5%) that's a loss of $2.50.”, the fee 0.1% and below it “Account at the end $1,004, +$3.80 · +0.4%” with a curve and the figures in profit 40%, profit factor 1.66, max. drawdown −0.3%, avg. win +4.8%, avg. loss −1.9%, losses in a row 2 and peak exposure $200.

Below it is the account at the end with a curve and figures: share of trades in profit, profit factor (profits divided by losses), the largest drop from the peak, average win, average loss, the longest run of losses, the most tied up in trades at once and, with leverage, how often a trade was liquidated. An expanded alert in the list gives its stake and result in money, with leverage the position too; what it would have made on its own, Only this alert shows. Starting capital, stake and leverage belong to the chain like TP and SL. For a single trade, the position size calculator on the website works out position size, profit and loss with fees and leverage.

With leverage the stake is the margin and the position the multiple. The higher the leverage, the closer the liquidation is to the entry:

10×Leverage
$100Stake (margin)
$1,000Position
−9.5%Liquidation: the stake is gone

How far the price may move against the position

  • 2×−49.5%
  • 5×−19.5%
  • 10×−9.5%
  • 25×−3.5%
  • 50×−1.5%before SL
  • 125×−0.3%before SL

SL −2.5%

If the liquidation is closer to the entry than SL (here −2.5%), the slider shows it in red: such trades end at the liquidation.

The Explore tab shows a grid around your setting: TP in the columns, SL in the rows, each cell with the profit that combination would have made with your money, a stronger green or red the larger it is. Your current cell has a yellow outline. Point at a cell to see how many trades would have hit the TP and what would have become of the account; a click applies the TP and SL. The grid uses one TP stage; your further stages stay when you apply a cell.

The Explore tab: a grid with TP from +3.5% to +8% in the columns and SL from −1.5% to −3.5% in the rows, each cell with the profit in dollars, green by size; the current cell TP +5% and SL −2.5% with +3.8 has a yellow outline. Below it, for the cell under the pointer: “TP +5% · SL −2% (1 : 2.5): 2 of 5 hit TP, +3.0% after fees, account $1,003”.

Look for green areas rather than the single best cell: what only works in one cell is usually chance in those weeks (more below).

Every signal is one link of the chain, in order. Its colour says how the trade turned out:

  • green: the signal would have reached its TP.
  • light green: ended in profit but not at the TP, say at the trailing SL or after N candles.
  • red: ended in a loss, at the SL, after N candles or by an opposite signal.
  • grey: the trade is still running.

Next to it:

  • “2 of 5 hit TP”: how many signals would have reached their TP.
  • the sum after fees, such as “+3.8%”: the results of all signals added up, each with the same stake; with leverage counted on the stake, a liquidation counts as −100%.
  • the small balance curve after each signal.

Pointing at a link highlights its alert in the chart and the list; a click selects it.

The list shows the result of each alert with the time until the exit:

In the list Means
✓ TP +4.8% · 2 days hit TP
✗ SL −2.7% · 24 h at the SL
○ running −0.2% still running
◐ TP 1/3 · SL +0.4% · 5 h with TP stages
⏱ 10 candles +1.2% exit after N candles
⇄ Opposite +0.8% · 6 h closed by an opposite signal, see Positions
↗ in light green trailing stop in profit
▲ or ▼ before it the direction, in the colour of the result
Liquidated with leverage, ended at the liquidation, the stake is gone
skipped · trade running the signal was skipped because a trade was running, see Positions

Actions and values fit on one line; a click expands the alert, with the trade in words, stake and result in money, the values and the message. The number in the result is already after fees; the tooltip adds the price move.

If the TP is twice as far away as the SL, more than a third of the signals reaching their TP leaves a plus before fees. That is why “2 of 5 hit TP” can still end in profit.

In the price chart of the replay, a box runs from every alert to its exit, like TradingView’s position tool: green from the entry to the TP (with stages to the last one, the others as dashed lines), red to the SL, the exit as a dot. If a trade is still running, its box is grey until the end. The same boxes sit behind the candles in the chain chart.

When you select an alert, its TP and SL appear in the price chart as lines with a label, such as “TP +3%”. Grab a line and drag it: it snaps to the slider’s steps, and the hit chain, list, boxes and money recalculate right away, for all alerts. In ATR, Bellchain converts the dragged distance with this alert’s ATR.

Price chart of the replay for BTC/USDT on 4 hours with an alert selected in mid-September: from the entry, the lines “TP +5%” go up and “SL −2.5%” down, each with a label to drag; the legend says “Drag TP and SL: everything recalculates at once”.
Chain chart with BTC/USDT 4-hour candles, boxes at the alerts, green up to the TP and red down to the SL, the exit as a dot; below it the replay with the hit chain.

Every dot, and every triangle in the chain chart, takes the colour of its result: green at TP, lighter green when it ended in profit, red in a loss, grey while running, hollow when the signal was skipped. A click on a triangle in the chain chart selects the same alert in the replay list and shows it as Only this alert, and a click in the list shows it in the chart. In the chain chart the triangle also shows the direction, ▲ below the candle for long and ▼ above the candle for short, so you see at a glance what happened after each alert. With more than five alerts in view the boxes would pile up; then only the alert under the pointer gets its box. When the price chart shows bars per day for very many alerts, the bars are split by result.

Price chart of the replay with 30 alerts of the template “ETH MACD Turn”: the dots are green, red or grey by their result, the legend names TP, SL and running.
Chart of the chain BTC Dip Buyer with the card “Only this alert” at the alert of Oct 7, 18:00: large −$2.70, account $1,000.00 → $997.30, price −2.5% and −2.7% after fees, entry at $83,454, exit at the SL on Oct 8, 18:00 at $81,368 after 24 h, TP $87,627 and SL $81,368, stake $100 and fees −$0.20. The chart shows the lines of TP +5% and SL −2.5% with their labels and the path to the SL.

What would exactly one alert have made if you had traded only that one? Click its triangle in the chain chart, or expand it in the replay list and choose Only this alert. A small card then sits at the alert with this one trade:

  • large, the result in money and the account before and after, such as “+$13.99” and “Account $1,000.00 → $1,013.99”,
  • the result as a percentage: the price move, after fees and, with leverage, on the stake,
  • the entry with time and price, the exit at the TP, at the SL, at the liquidation or still running, and the duration,
  • the prices of TP and SL, with leverage also of the liquidation,
  • the stake (amount, share of the account or risk), with leverage the position, and the fees in money.

The trade is drawn in the chart: the entry, the TP lines (all stages, the ones in between dashed) and the SL with labels, and the path to the exit in the colour of the result. If leverage puts the liquidation before the SL, it shows in red with the SL faded behind it.

It uses everything from the bar: direction, TP, SL, stages, trailing stop, exit after N candles, starting capital, stake, leverage and fee; as in the list, the running candle counts for the exit. There are no separate settings for it: change something in the bar and the card recalculates at once. Drag TP or SL by their label in the chart and the bar’s setting changes, just like dragging in the price chart.

The account starts at the starting capital, as if this were the only trade. That is why the card can differ from the list: with positions set to “One at a time”, an alert the chain skips still trades on its own, and with “Opposite flips” no opposite signal closes it early; the card then says what is different in the chain. With “% of account” and “Risk”, the stake follows the starting capital rather than the balance at that moment.

Close the card with ✕ or Esc; the arrows ‹ › at the top of the chart take it to the previous or next alert. On a phone it sits compactly above the chart, and Details shows the rest.

If a chain reports both directions with separate actions, such as the golden cross with one Telegram action and the death cross with a second one, pick Per signal in the bar; with only one action the button is grey, and its tooltip says what is missing. For long at one line and short at another, such as long at the VAL and short at the VAH, you need two actions, each on its own signal. The slider then lists every signal with its direction, named after the message of its action. If the message has ▲ or ▼, as in the templates, Bellchain suggests the direction from it. Long or Short in the bar applies to all signals again.

If a message says ▼ while TP and SL count long for all signals (or ▲ with short), the check at the top lists it as a note: “The message says ▼, but TP and SL are set to Long.” Otherwise the review would read “SL reached” although the price fell as the message said. Show takes you here to the direction; the chain runs with the note as well.

Slider with “Direction per signal”: “Golden Cross · SMA 50 above SMA 200” on long, “Death Cross · SMA 50 below SMA 200” on short.

Scoring follows fixed, simple rules, the same for every chain:

  1. Entry at the close of the alert candle, because that is when the alert arrives.
  2. Every candle after it counts with its high and low.
  3. TP or SL reached: the trade ends there. If one candle reaches both, the SL counts; a candle does not tell which came first.
  4. Fee per side, 0.1% unless you pick another, on entry and on exit.
✓ TP firstPrice +5%4 Fee 2 × 0.1%+4.8%after fees
✗ SL firstPrice −2.5%4 Fee 2 × 0.1%−2.7%after fees
Example with the default for 4-hour candles. The price line is drawn by hand.

In addition:

  • Gaps: if a candle opens beyond the SL, say after an exchange outage, its open counts. If it opens beyond the TP, only the TP counts.
  • The sum in percent counts every signal on its own, with the same stake and without compounding, even if signals overlap. With Positions only one trade runs at a time instead.
  • Still running means: neither TP nor SL until the end of the period. It is valued at the last price, with both fees. In the editor the running candle counts for this too: if it touches TP or SL, the trade ends there as an order on the exchange would, even before the candle closes, and the last price is its latest one. After every candle close and when the running candle touches TP or SL, the replay recalculates by itself. Signals still come from closed candles only.
Money and leverage
  • Money: stake at entry, profit or loss at exit. As in the sum, every signal counts with its stake, even while other trades are running; with a fixed amount the result is therefore the stake times the sum in percent. “Peak exposure” shows the most that was tied up in running trades at once, in red when that is more than the starting capital. “% of account” and “Risk” use the balance at that time (compounding); a trade stakes at most the balance.
  • Leverage: position equals stake times leverage. A position is liquidated when the price moves 100 / leverage − 0.5% against it (maintenance margin 0.5%), so at −9.5% with 10×; then the stake is gone. In percent and without a trailing stop, a trade ends at the liquidation, at the slider step before it, as soon as it is closer than the SL. A trade never loses more than its stake.
ATR, TP stages, trailing stop, exit after N candles and opposite signals
  • ATR: the average true range of the 14 candles up to the alert candle, smoothed as in the ATR node (RMA) over at most 200 candles before it.
  • TP stages close an equal part each. What is left after a stage ends with the rest at the SL, after N candles or is still running at the end.
  • Trailing stop and SL to entry move at the close of the candle and apply from the next one.
  • Exit after N candles at the close of the Nth candle after the entry; TP and SL in that candle count first.
  • An opposite signal closes at the close of its candle; TP and SL in that candle count first.
Only this alert
  • Only this alert applies the same rules to this one signal: the account starts at the starting capital, and positions and opposite signals of other alerts have no effect.

With very many alerts the replay scores the first 1,000 and says so.

If a chain has a TP and an SL, Bellchain scores each of its real alerts as a trade the same way, with the TP and SL that applied at the alert. From Pro, the result is on the “Alerts” page, next to Price after:

  • in the list the result after fees, green at the TP, red at the SL, grey while the trade is running.
  • in the detail under With TP and SL the settings and the result as in the replay, such as “✓ TP +2.8% · 5 h”.
  • in the comparison per chain, how many of its alerts hit TP, and the sum after fees.

A trade runs until TP, SL or the exit after N candles comes, at most 200 candles, at least 30 and at most 89 days; after that it stays at “still running” with the last price. The result arrives a few minutes after each new candle. Chains without a TP and an SL, such as warnings like the crash alert, get none; if you set TP and SL in the replay, it applies to all alerts after that.

The replay’s CSV file (from Trader) has three more columns per alert: the result, such as “TP” or “TP 1/2, then SL”, the result after fees in percent and the time of the exit; the settings are in the heading. From Pro, the CSV file of the “Alerts” page lists settings, result and result after fees per alert.

Templates that report an entry bring a TP and an SL: fitting their timeframe and in the direction their signal names with ▲ or ▼. The gallery in the editor, the template pages and the topic pages on bellchain.app show the result of the test with the sample prices, such as “2/5 hit TP”. The website runs the same templates on newer prices than the editor and the docs and states its period, so its numbers differ. Warnings such as the crash alert have none.

POST /api/v1/replay returns the balance as trades and the outcome of each recent alert; send your own values with trade, also unit, stages, trailing, breakEven and maxBars, see API. In a chain, TP and SL sit under meta.trade, along with starting capital, stake and leverage; the API and MCP state the balance in percent. The replay_… tools of the MCP server state the balance in their first sentence.

For real alerts, GET /api/v1/alerts and GET /api/v1/alerts/{id} give the TP and SL at the alert and the result under trade, as on the “Alerts” page, see API. The list_alerts tool sums up in its first sentence how many alerts hit TP and how many are still running, with the sum after fees.

Versão 2026.11.29.15 · Changelog