MSL.
Get access
Profit Engine
OverviewGet access

Signals and trade management

Profit Engine

Re-anchoring ATR channel that maps entry, stop, and three targets, then trails the stop after TP1.

Included inPro

In short

What it is
A trend overlay built on a re-anchoring channel. On every accepted LONG or SHORT it maps an entry, a capped stop, and three targets, then manages that stop with entry protection and an ATR trail after TP1.
Best for
Trend traders who want the whole trade map on the chart, including the written rules for what happens to the stop after the first target.
Markets
Liquid crypto, large-cap stocks, and other liquid markets on standard candles.
Timeframes
H1 and up. Below H1, raise the Re-anchor Threshold or the Min Flip Distance.
Plan
Pro

Profit Engine reads the trend from a channel whose center drifts slowly between jumps and re-anchors only when a single candle closes far enough away to matter. On each accepted LONG or SHORT it draws a trade map with an entry, a stop, and three targets, then manages one setup at a time by rules you can read in full: entry protection after TP1, an ATR trailing stop, and a label for every stop exit. A corner table counts how often each target gets touched, so you can see what your settings do on your own instrument.

What it does

Most channels sit on a moving average, so they lean into every swing and drag their stops along. Profit Engine uses a center that barely shifts until price does something worth answering, and it builds the whole trade map on top of that channel. The initial stop sits past the far band or at the 2-ATR cap, whichever is closer, and every target is measured from it, so a change to either one redraws the whole map.

  • Re-anchors the center. Between jumps the center drifts in the direction it last moved, roughly a twelfth of an ATR per candle on defaults. When a candle closes farther from it than the Re-anchor Threshold (4 ATR by default), the center jumps halfway to price and starts a new leg. Through a range it only creeps, and once a real move starts it catches up in a single jump.
  • Draws the bands. Band width comes from a smoothed memory of the scaled ATR that resets every time the center changes direction. Right after a turn, each band sits about 3 ATR from the center on default settings.
  • Prints LONG and SHORT. A LONG needs the center to turn up and the close to finish above it by at least the Min Flip Distance (0.6 ATR on defaults). SHORT is the mirror. Signals are evaluated on every update, so a label can appear on the live candle and disappear before it closes.
  • Maps the trade. Entry is the close of the signal candle. The initial stop sits past the opposite band plus a small ATR buffer, and, with the cap on, it never lands farther than 2 ATR from entry. TP1, TP2, and TP3 sit at 0.5, 1.0, and 1.5 times that initial risk.
  • Protects the entry. After TP1 the stop moves to entry from the next candle, and an ATR trailing stop follows the best price reached since entry. The stop can tighten or hold, and it never widens. Each stop exit gets a label (SL, BE, or TRAIL), and so does the close rule (TP1 CLOSE). A setup replaced by a new signal ends without one.
  • Counts target touches. The dashboard shows trend, last signal, setup state, price move, and how often TP1, TP2, and TP3 were touched across the last 50 recorded setups.

Profit Engine next to Buy Sell Signals

Both tools come with Pro and share the same trade map. They differ in the engine underneath and in what the stop does once TP1 is touched.

Profit EngineBuy Sell Signals
EngineA slow-drifting center that jumps halfway to price on a far closeA rail whose speed follows directional efficiency (Kaufman), wrapped in an ATR envelope
Trade mapEntry at the signal close, stop past the far band plus an ATR buffer with an optional cap, TP1 / TP2 / TP3 at 0.5 / 1.0 / 1.5 RThe same map, with the stop placed past the far edge of the envelope
After TP1Stop moves to entry, then an ATR trailing stop follows the best priceStop parks at entry and stays there, with no trailing
After a stopWaits for the next state change, which comes in the opposite directionCan re-enter in the same direction while the state still holds
Signal timingEvaluated on every update, so a label can vanish before the closeCommitted on confirmed candles only

The rail keeps tracking through a slow, grinding reversal, while the center drifts on until a close lands a full threshold away, and only then jumps. Which suits your market is easiest to judge by loading both on one chart for a few weeks and comparing where the signals fall.

Try it

The dial that sets how often the channel changes its mind is Re-anchor Threshold (ATR), default 4.0. Drag it. A higher value asks a single candle to close farther from the center before the center jumps, so LONG and SHORT labels come less often and later. A lower value lets the center re-anchor on smaller moves, and signals multiply. Keep an eye on the stop while you drag. On default settings the far band plus its buffer typically sits 3.7 channel ATR or more from a signal close, so the 2-ATR cap is usually the closer stop and 1R holds steady. Drag toward the low end and the band moves inside the cap and takes over. The stepped red line shows where the stop actually stood on each candle, and the small labels show how each setup ended.

TP1TP2TP3entrystopSHORTSLLONGTRAILSHORTTRAILLONG
signals: 4setup: INITIAL STOP

Synthetic data, for illustration. Re-anchor Threshold sets how many ATR a candle must close away from the center before the center jumps halfway to price. Raise it and the center re-anchors less often, so you get fewer and later LONG and SHORT signals. Lower it and signals come more often. The stop is the closer of the channel stop and a 2-ATR stop, and TP1 / TP2 / TP3 sit at 0.5R / 1.0R / 1.5R. The stepped red line is the stop that was in force on each candle: after TP1 it moves to entry and then trails 2 ATR behind the best price once that level clears entry. The demo uses one 14-bar ATR for both the channel and the stop. Purple dots mark target touches, and the labels show how each setup ended (SL, BE, TRAIL, TP1 CLOSE). The real indicator runs on your TradingView chart.

In plain words

The colored line through the middle is the center of the channel. It barely moves until one candle lands far away from it, then it leaps halfway toward price. A LONG label means the center turned up and price closed clearly above it.

Each setup gets an entry (white line), a safety stop (red line), and three profit targets (green lines). The gap from entry to stop is one step of risk, called 1R, and the targets sit at half a step, one step, and one and a half steps. Once price reaches the first target, the stop climbs to your entry price. A reversal from there closes the setup at roughly zero before fees, and if the move continues, the stop keeps following price from behind.

In the live tool the threshold works together with Center Drift Damping, Channel ATR Length, and Band Width % for the channel, two signal filters, and a Stop Protection group that holds the initial cap, the entry protection, and the trailing stop.

Markets, phases, timeframes

Assets and markets

  • Crypto: BTC, ETH, SOL, and other liquid majors.
  • Large-cap stocks and indices: AAPL, MSFT, NVDA, the S&P and Nasdaq indices.
  • Futures and FX majors: ES, NQ, GC, EURUSD, USDJPY. The logic is the same on any liquid chart.
  • Illiquid instruments distort the channel and everything built on it. Thin altcoins and gappy small caps are a poor fit.

Market phases

  • Clean trends: the center jumps once, then drifts behind price, and a single setup can walk through all three targets before the trailing stop closes it. This is where the tool earns its keep.
  • Sideways ranges: the center holds back instead of hunting for turns inside the range, which cuts the number of false flips. Losing runs in a flat market still happen; see Limitations.
  • Slow, grinding reversals: the center reacts only once price has traveled the full threshold away from it, so a grind can run for a while before a signal prints.
  • News and gaps: one shock candle can re-anchor the center immediately. A gap can also jump straight through a stop, and the setup then exits at the worse of the open and the stop level.

Timeframes

TimeframeUse
H1The lowest intended timeframe. Active swing trading on liquid markets.
H4The middle ground: clear trend legs with a manageable number of signals.
D1Swing and position trading. The published examples on BTC, ETH, SOL, AAPL, and MSFT run here and on H4.
W1Long-horizon bias. Needs a long history, since the channel ATR looks back 150 bars.

Below H1, noise re-anchors the center often and signals multiply. If you trade there anyway, raise the Re-anchor Threshold or the Min Flip Distance first.

What you see on the chart

The tool draws the channel center and its bands in the color of the current state, stamps a LONG or SHORT label at each accepted signal, and projects the trade map of the active setup to the right. Target touches, exits, and the path of the stop stay on the chart as history, and a corner table shows the live state.

Center, bands, and fill (LONG state)

The thick center line and the two bands, green while the last accepted signal was a LONG. The fill between the center and each band shares the color and, by default, hides inside the active trade zone so the risk and target shading stays readable.

Center, bands, and fill (SHORT state)

The same channel turns red after a SHORT. The color changes on the signal candle.

LONG and SHORT labels

A green LONG below the channel or a red SHORT above it marks each accepted state change and the start of a new setup. A new signal replaces the setup that was open.

Entry, SL, TP lines and zones

Labeled lines for Entry, SL, TP1, TP2, and TP3 with their prices, plus a red zone from entry to the initial stop and green zones out to the targets. They project 100 bars to the right, which is visual only. Once protection starts, the SL line moves to the level now in force and its label reads BE or Trail.

Target touch labels

A purple 1TP, 2TP, or 3TP label prints on the candle that touches each target and shows the move from entry in percent. A touch is only a touch: TP3 does not close the setup.

Historical active stop

A red line that traces the stop actually in force on each past candle. The shaded risk zone keeps showing the original risk, and this line shows what protection did with it afterward.

Exit labels

SL for the initial stop, BE for a stop resting at entry, TRAIL for the trailing stop, and TP1 CLOSE for the protection close rule. TRAIL and TP1 CLOSE also show the move from entry. A label is green when the exit sits at or beyond entry in the trade direction, and red otherwise.

Dashboard

A seven-row table in the top-right corner with the live state of the channel and the last setup.

RowShowsValues
TRENDCurrent state of the channelUP, DOWN
Last SignalDirection of the latest setupLONG, SHORT, NONE
SetupWhere the latest setup stands, or how it endedWAITING, INITIAL STOP, ENTRY PROTECTED, TRAILING, BE + TRAIL, or CLOSED / SL, BE, TRAIL, TP1 CLOSE
Price MoveDirectional change from the modeled entry to the current close, or to the exit price once the setup has closed. No fees, size, spread, or partial exits.A two-decimal percent, or n/a
TP1 / TP2 / TP3 TouchedShare of recorded setups in which price reached that targetA percent followed by the sample size, or n/a

A setup enters the sample when it touches TP1 or gets stopped, and its highest target keeps updating while it stays open. A setup replaced by a new signal before either event never enters the sample, and targets reached after an exit are ignored. These are touch rates. A setup can reach all three targets and still be trailed out with a fraction of the move, so none of the rows is a win rate, and a target close to entry scores high simply because it is close. Use the rows to compare settings and instruments.

How to use it

1
Read the state

Green channel and TREND UP mean the last accepted signal was a LONG; red and DOWN mean a SHORT. That is your read before you look for any entry.

2
Wait for the candle to close

A LONG or SHORT can appear on the live candle and vanish before it closes. Act on labels that survive the close, and set signal alerts to Once Per Bar Close so they match what stays on the chart.

3
Take the levels from the map

The entry line is the close of the signal candle, a reference for the math; your fill will differ by spread, slippage, and timing. The red line is the initial stop, and the three green lines are the targets. Check the distance to the stop before you size anything.

4
Follow the protection rules

After TP1 the stop moves to entry from the next candle and the ATR trail starts following the best price. If the candle that touched TP1 closes back at or past entry against the trade, the setup exits at that close and the label reads TP1 CLOSE. Otherwise the setup runs until a stop, the trail, or a new signal ends it.

5
Tune one input at a time

Raise the Re-anchor Threshold or the Min Flip Distance for fewer, later signals, and raise Center Drift Damping if the center wanders. Band Width % widens the channel, while a lower Initial Stop ATR Multiplier tightens the first risk. Compare the touch rates before and after each change.

Typical scenarios

  • Swing entry on a signal. Take the LONG or SHORT after the close, stop on the red line, and decide in advance whether you bank part of the position at TP1 while the trail manages the rest. The tool marks the levels; the split is yours.
  • Trend filter for another system. Take only longs while TREND reads UP and only shorts while it reads DOWN, and skip your own counter-trend setups.
  • Multi-timeframe filter. Take H4 LONG signals only while D1 reads UP, so each entry sits on the side of the larger trend, and compare the touch rates with and without the filter before you rely on it.

When to ignore the signal

  • Two or three signals printed in the last 10 to 15 bars. The market is ranging, and the next signal is likely to be noise too.
  • The label is on a candle that has not closed yet. Wait for the close.
  • The signal came from a single gap or news candle. The initial stop is then measured off a volatility spike, so skip the trade or size down.
  • You are below H1 on default settings. Move up a timeframe or raise the threshold first.

Settings and signals

Defaults below are the real values from the indicator, and every input has a tooltip in TradingView. Start with the defaults and change one thing at a time.

ParameterDefaultEffect
Re-anchor Threshold (ATR)4.0How many channel ATR a candle must close away from the center before the center jumps halfway to price. It also scales the band width. Higher gives fewer, later signals. Lower re-anchors on smaller moves and flips more often.
Center Drift Damping12.0Slows the drift of the center between jumps and the adaptation of the band width. Raise it if the center walks during sideways periods.
Channel ATR Length150Lookback for the ATR behind the threshold and the band width. Higher gives a slower, steadier volatility estimate.
Band Width %75Band half-width as a percent of the width memory. Higher widens the channel and moves the channel stop farther from entry.
Confirm Flip With CloseOnA signal needs the close on the new side of the center. Off drops that check, leaving the direction of the center and the minimum distance to decide.
Min Flip Distance (ATR)0.15Minimum gap between the close and the center, as a share of the scaled ATR (channel ATR times the Re-anchor Threshold), so the default 0.15 works out to 0.6 ATR. Higher discards signals that hug the center.
Show Active Trade ZoneOnShaded risk and target zones for the active setup.
Show Entry / SL / TP LinesOnEntry, SL, TP1, TP2, and TP3 lines with price labels.
Trade Zone Length, bars100How far to the right the active zone and lines are drawn. Visual only: it changes no price and never expires the setup.
TP1 Risk/Reward0.5TP1 distance as a multiple of the initial risk. TP1 also arms the protection rules, which is why the default sits close.
TP2 Risk/Reward1.0TP2 distance as a multiple of the initial risk. Must be above TP1.
TP3 Risk/Reward1.5TP3 distance as a multiple of the initial risk. Must be above TP2.
SL Buffer ATR0.10Extra room past the opposite band for the channel stop, in ATR. Higher widens the initial risk and pushes every target out with it, as long as the channel stop is closer than the ATR cap.
Limit Initial Stop DistanceOnTakes the closer of the channel stop and a plain ATR stop, so a wide channel cannot hand you an oversized first risk. Off lets the channel decide alone.
Protection ATR Length14ATR lookback for the stop cap and the trailing stop, kept separate from the channel ATR so protection reacts to current volatility.
Initial Stop ATR Multiplier2.0Distance of the ATR stop candidate from entry when the cap is on. Lower tightens the cap on the initial risk.
Enable Trailing After TP1OnAfter TP1, an ATR trailing stop follows the best price since entry. It can only tighten.
Trailing ATR Multiplier2.0Trailing distance from the best price, in protection ATR. Lower follows closely and exits sooner; higher gives the move more room.
Protect Entry After TP1OnMoves the stop to entry from the candle after TP1. If the TP1 candle closes at or past entry against the trade, the setup exits at that close instead.
Show Historical Active StopOnThe line tracing the stop in force on each past candle.
Show Trend Bands / Show Trend FillOnThe channel bands and the colored fill between them.
Show LONG / SHORT LabelsOnA label at each accepted signal.
Show Stop Exit LabelsOnThe SL, BE, TRAIL, and TP1 CLOSE labels.
Hide Trend Fill Inside Active Trade ZoneOnKeeps the risk and target shading readable.
Show DashboardOnThe seven-row status table.
TP Outcome Sample50Number of recorded setups behind the TP1, TP2, and TP3 rows, from 5 to 100.

Colors and transparencies for the LONG, SHORT, and target labels, the bands, the fill, and each zone sit in the Visuals group.

The indicator exposes seven alert conditions. Signals are evaluated on every update, so set the three signal alerts to Once Per Bar Close if you want them to match what stays on the chart. The exit and protection alerts already come from completed candles.

AlertFires whenMeans
Profit Engine LONGThe center turns up and the close finishes at least the minimum distance from it, on the upper side when Confirm Flip With Close is onA LONG label and a new trade map
Profit Engine SHORTThe mirror of LONGA SHORT label and a new trade map
Profit Engine SignalEither signal firesOne alert for any new setup
Profit Engine StopThe active stop is hit, including a gap through itThe setup closed on SL, BE, or TRAIL
Profit Engine TP1 Close ExitTP1 was touched and the same candle closed at or past entry against the tradeThe setup closed at that candle close
Profit Engine Trailing ActivatedA candle touches TP1 with trailing on and the setup stays openThe ATR trail now follows the best price
Profit Engine Entry ProtectionThe stop moves to entry after TP1Entry protection applies from the next candle

How to read this

LONG
A bet on a rise. You buy now and aim to sell higher later. The green signal on the chart.
SHORT
A bet on a fall. The exchange lets you sell an asset you do not own, then buy it back cheaper and keep the difference. The red signal.
ATR
Average range of a candle over a recent window, roughly how much the asset moves right now. Profit Engine uses a slow 150-bar ATR for the channel and a faster 14-bar ATR for stop protection.
Re-anchor
The jump the center makes when a candle closes far enough away from it. The center moves halfway to price and starts a new leg; between jumps it only drifts.
Band
The upper and lower lines around the center. The initial stop goes just past the opposite band, unless the ATR cap is closer.
1R
One unit of risk: the distance from entry to the initial stop. A target at 1.5R aims for one and a half times what you risked.
BE (breakeven)
A stop resting at the entry price. An exit there is roughly flat, and fees or a gap can still turn it into a small loss.
Trailing stop
A stop that follows price from a set distance. Here it starts after TP1, stays 2 ATR behind the best price by default, and never moves back.
Touch rate
The share of recorded setups where price reached a target at least once. It shows how often a level gets reached and says nothing about profit.

Risk and position size

The trade map puts your risk on the chart in plain numbers before you click anything. Most blown accounts trace back to a position too big for its stop, and the red line is there to prevent exactly that. Let it set your size.

1
Risk 1 to 2 percent, fixed

On any one trade, risk no more than 1 to 2 percent of the account. A hit stop then costs 1 to 2 percent, and the account survives a losing run.

2
Read the stop off the map

Your entry is the signal close and your stop is the red line. The gap between them is 1R, your risk per unit.

3
Let the risk set the size

Position size = (cash you are willing to lose) / (distance from entry to stop). A wider stop means a smaller size for the same cash risk.

In plain words

Account $1,000. You risk 1 percent, so $10 on this trade. A LONG prints and you enter at $100. The 14-bar ATR is $2.50 and the band sits farther away than the cap, so the stop lands 2 ATR lower at $95 and 1R is $5.

Size = $10 risk / $5 stop distance = 2 units. The targets land at $102.50, $105, and $107.50. A hit stop loses $10 plus fees. Once price touches $102.50, the stop moves to $100 from the next candle, so a reversal after that closes the trade near breakeven, while a continuation hands the stop to the trail.

Common mistakes

  • Putting the whole balance into one trade. A single stop-out then takes a large slice of the account, and with leverage it can take all of it. Let the stop distance decide the size, every time.
  • Acting on a label before the candle closes. The signal can disappear, and the trade map with it.
  • Reading the TP Touched rows as a win rate. They count touches, and a setup that touched TP3 can still close on the trail with a fraction of the move.
  • Treating a BE exit as free. It means the stop rested at entry, and fees or a gap can still make it a small loss.
  • Moving the stop away to sit out a drawdown. The tool only ever tightens its stop, and your manual one deserves the same rule.
  • Running it on Heikin Ashi, Renko, Kagi, Point and Figure, or Range charts. They change the prices underneath and break every level.
  • Re-tuning after every loss. Keep the defaults for 20 to 30 setups and compare the touch rates before you change anything.

Limitations

Important: This is an analysis and planning tool. It draws levels and statistics, places no orders, sizes no positions, and guarantees no level will be reached. A state change confirms after part of the move has happened, and a stop taken just before a move is a cost of that design.
  • Trend following loses in runs during sideways markets. The filters reduce that without removing it.
  • After a stop, the next setup needs a state change, which comes in the opposite direction. A move that resumes in the old direction can run without a setup.
  • Higher volatility widens the bands, and the initial stop and targets widen with them.
  • Gaps and news candles can pass through levels before a candle confirms. A gap through the stop exits at the worse of the open and the stop.
  • Price Move and the touch rates exclude fees, size, spread, slippage, and partial exits. Past markers and table values predict nothing.
  • Defaults are a starting point, so test them on each instrument before you trust them.

Educational tool. Not financial advice. Trading involves risk.

Want the full toolkit?

Every package bundles indicators that work together. Pick the tier that matches your workflow.

See pricing