Pr0fit Engine
- Indicators
-
Andrei Lukoianov
ANDREI LUKOIANOV · MarketStructureLab
Trader since 2008 | Algorithmic trading since 2018
From a trading idea to a clear, systematic approach - Version: 1.0
- Activations: 20
Profit Engine — Signal, Entry, Stop and Three Targets on One Chart
A signal appears. Where is the entry? Where should risk be limited? Which targets should you monitor? How does the protective level change as price moves?
Profit Engine brings these reference points together in a clear visual trading plan. The indicator shows direction, plots Entry and Stop Loss levels, calculates three Take Profit targets, marks target touches and displays how the setup develops.
You do not need to draw every setup manually: the key levels and the latest setup status are already on your chart.
Everything You Need to Assess a Setup — in One View
Profit Engine combines several analytical tools:
- Adaptive trend channel — helps you assess market direction.
- LONG and SHORT signals — mark changes in direction according to the indicator’s rules.
- Entry, SL and TP1–TP3 — show the structure of each new setup.
- Entry protection and ATR trailing — track changes to the modeled stop after TP1.
- Dashboard — displays the current state and historical target-touch rates.
Consistent colors and labels connect these elements into one clear view: direction, distance to the protective level and target placement.
From a Signal to Specific Levels
After a new signal, Profit Engine automatically builds a level map for the latest setup:
- Entry — the modeled entry level based on the signal candle’s closing price.
- Stop Loss — the initial protective level beyond the opposite channel boundary, with an additional buffer.
- TP1, TP2 and TP3 — successive targets calculated from the distance between Entry and the initial stop.
The red zone highlights initial risk, while the target zones show potential movement in the signal’s direction. Price labels help you assess the levels without additional chart drawings.
Target distances are adjustable. The default settings are 0.5R, 1R and 1.5R, where R is the initial distance between entry and stop.
Follow the Setup Beyond the First Target
Reaching TP1 starts the next stage of the setup. When enabled, Profit Engine activates:
- Entry protection — moves the modeled stop toward the Entry level.
- ATR trailing — tightens the protective level as price moves favorably.
- Stop history — shows how the active protective level changed over time.
Labels such as BE, TRAIL, SL and TP1 CLOSE help explain what happened to the setup. A newly calculated stop takes effect from the next candle.
You can follow the complete sequence: signal, target touches, protection changes and setup completion.
Statistics You Can Read at a Glance
The dashboard displays:
- TREND — the channel’s direction.
- Last Signal — the latest LONG or SHORT signal.
- Setup — the latest setup’s status.
- Price Move — price change measured in the direction of the latest setup.
- TP1 Touched, TP2 Touched and TP3 Touched — the frequency with which each target was reached within a shared sample.
This helps you assess how often price reached different targets on the selected chart with your chosen settings.
TP Touched values are target-touch rates, not winning-trade percentages or account returns. The sample size is adjustable and defaults to 50 setups.
Customize the Chart to Your Workflow
Display the complete layout or keep only the elements you need: channel, signals, levels, zones, stop history and dashboard.
Colors, transparency and font sizes are adjustable, helping you maintain readability and focus on the information you use when making decisions.
Profit Engine Is Designed for Traders Who Want To:
- Move quickly from a signal to assessing entry, stop and targets.
- Reduce manual chart marking.
- Follow the latest setup and changes to its protective level.
- Review historical target touches on the selected instrument.
- Use a consistent visual approach for both LONG and SHORT analysis.
Input Parameters
Channel and Signal Filters
- Re-anchor Threshold (ATR) — price-deviation threshold for repositioning the channel center.
- Center Drift Damping — controls the smoothing of the center’s movement.
- Channel ATR Length — ATR period used to calculate the channel.
- Band Width % — controls the width of the channel boundaries.
- Confirm Flip With Close (Price Side Filter) — checks the price’s position relative to the center when direction changes.
- Min Flip Distance (ATR) — minimum distance between price and the center required for a new signal.
Levels and Zones
- Show Active Trade Zone — displays risk and target zones.
- Show Entry / SL / TP Lines — displays entry, stop and target lines.
- Trade Zone Length, Bars — projection length in candles; does not define the setup’s expiry.
- TP1 / TP2 / TP3 Risk/Reward — target distances expressed as multiples of initial risk; values must increase from TP1 to TP3.
- SL Buffer ATR — additional initial-stop buffer beyond the channel boundary.
Protection and Trailing
- Limit Initial Stop Distance — limits the initial stop distance using ATR.
- Protection ATR Length — ATR period used for protective calculations.
- Initial Stop ATR Multiplier — ATR multiplier used to limit the initial stop distance.
- Enable Trailing After TP1 — enables modeled trailing after TP1.
- Trailing ATR Multiplier — trailing distance expressed in ATR units.
- Protect Entry After TP1 — enables entry-level protection after TP1.
- Show Historical Active Stop — displays the history of the active stop.
Appearance
- Show Trend Bands / Show Trend Fill — displays channel boundaries and fill.
- Show LONG / SHORT Labels — displays signal labels.
- Show Stop Exit Labels — displays setup-exit labels.
- Hide Trend Fill Inside Active Trade Zone — hides the channel fill inside the active zone.
- LONG Color / SHORT Color / TP Label Color — colors for directions and target-touch labels.
- Band Transparency / Fill Transparency — transparency of channel boundaries and fill.
- Risk Zone Transparency — transparency of the initial-risk zone.
- TP1 / TP2 / TP3 Zone Transparency — transparency of target zones.
- Trade Zone Border Transparency — transparency of zone borders.
- Label Font Size — font size for chart labels.
- Keep Projected Level Labels In View — keeps projected price labels within the visible chart area.
Dashboard
- Show Dashboard — displays the information panel.
- TP Outcome Sample — statistical sample size, from 5 to 100 setups.
- Dashboard Font Size — dashboard font size.
- Dashboard Right Margin / Dashboard Top Margin — dashboard offsets from the right and top edges.
Alerts
- LONG / SHORT Signal Alerts — notifications for new signals.
- Signal Alerts On Closed Bars Only — signal notifications after the candle closes.
- Stop Exit Alerts — notifications when a setup exits at its stop.
- TP1 Close Exit Alerts — notifications for exits labeled TP1 CLOSE.
- Trailing Activated Alerts — notifications when trailing activates.
- Entry Protection Activated Alerts — notifications when entry protection activates.
Alerts are displayed in the MetaTrader 5 terminal.
How the Indicator Works
Profit Engine is an analytical indicator with a visual setup-management model. It calculates and displays levels but does not place trading orders.
The closed-bar signal alert setting controls notification timing; it does not freeze the indicator’s calculations.
Reaching TP3 does not automatically close a setup. A new signal replaces the previous setup.
Statistics are based on recorded modeled setups and do not include commissions, position size or partial closures. Readings depend on the settings, price data and available instrument history.

