How it works · Engines

Inside the CPE engines

Under the hood, CPE Trade Pro is a set of small engines that each do one job — read the chart, judge the market mood, find structure, talk to your exchange. Here is what each one does and how they combine into a single signal.

12 min read Updated 2026 Category How it works

"Engine" sounds like a marketing word. In this app it means something specific: a self-contained module with a single responsibility. One reads candles. One builds the trade plan. One measures whether the market is calm or wild. One places an order.

Splitting the work that way has a practical benefit: if one engine cannot get its data — say an exchange is rate-limiting — the others still run, and the signal still arrives with slightly less context. Nothing collapses because one opinion was missing.

1. Why it is built in pieces

A single giant "AI that predicts the market" is impossible to inspect and impossible to trust. A stack of small engines can be checked one at a time: this one measures momentum, that one measures fear, that one just signs an API request.

It also means the analysis can be explained. When the app says BUY, it can point at the order block that supports it, the higher-timeframe bias that agrees with it and the volume that confirms it — because each of those came from a separate engine with its own output.

2. The pipeline: candles in, signal out

Every analysis follows the same six steps, in the same order. The order matters: the app narrows down from wide context to a specific plan.

1 Fetch candles OHLCV from the exchange you chose 2 Compute the studies More than a dozen indicators per bar 3 Weighted vote Every study adds a bullish or bearish check 4 Regime gate Trend, volatility and market mood must agree 5 Structure & patterns SMC, order blocks, FVG, candles, chart patterns 6 Score & package 0-10 quality, grade, entry · stop · targets OUTPUT BUY Entry41,250 Stop loss40,120 Target 143,400 Target 245,900 Risk : reward1 : 1.9 Quality8.5 / 10 GradeA+ 0-10 quality score 8.5 Illustrative values
The pipeline. Six stages turn raw candles into a complete plan. Steps 1-2 gather and measure, step 3 compares, step 4 refuses bad conditions, step 5 adds structure, and step 6 writes the plan you actually read.

3. The engines, group by group

There are thirteen engines. Grouping them makes the picture much clearer than a list.

Analysis core Turns candles into a decision analysis.js signalQuality.js signalLab.js Indicators · vote · levels · score · plan · recorded results Market context The mood around the trade regime.js orderflow.js derivatives.js liquidation.js news.js Structure & patterns What price is actually doing smc.js patterns.js Order blocks · fair value gaps · liquidity sweeps · BOS / CHoCH · chart & candle patterns · Elliott count Connections & data Talks to your accounts safely exchanges.js platforms.js binance.js Signed requests · keys stay local
Thirteen engines, four jobs. Each engine owns one question. The analysis core decides, market context checks the weather, structure and patterns read the price itself, and the connection engines handle data and orders.

Analysis core

EngineWhat it does
analysis.jsThe heart. Computes the indicators, runs the weighted vote, applies context-aware weightings, builds the entry, stop and targets from bands, Fibonacci levels and structure, and attaches the higher-timeframe bias.
signalQuality.jsGrades the finished signal: the 0-10 quality score from Clarity, Trend, Momentum, Volume and Levels, the letter grade, and the trade plan with risk-to-reward and a risk-based position size.
signalLab.jsThe lab bench. Records paper trades and signal history, tracks how a position behaves as price moves — including a trailing stop — and keeps the app's own record of what happened so you can review it.

Market context

EngineWhat it does
regime.jsReads the overall market mood: whether altcoins or bitcoin are leading, a dominance proxy, an RSI heat map across the market and a composite regime score. This is the "weather" the trade happens in.
orderflow.jsLooks inside the candles — footprint data, cumulative volume delta, buy/sell imbalance and absorption — to see whether buyers or sellers are actually in control.
derivatives.jsReads the futures picture: open interest, funding rates, long/short ratios and taker volume, then relates the change in open interest to the change in price.
liquidation.jsMaps liquidation magnet zones by leverage tier — the price areas where clusters of positions would be forced to close.
news.jsPulls headlines from public crypto news feeds and a market Fear & Greed reading, so sentiment is part of the picture rather than an afterthought.

Structure & patterns

EngineWhat it does
smc.jsSmart Money Concepts: structure and break of structure, change of character, order blocks, fair value gaps, liquidity sweeps and a fixed-range volume profile. These are the labels you see drawn on the chart.
patterns.jsRecognises chart formations and runs a light Elliott wave count, so shape-based setups can join the vote.

Connections & data

EngineWhat it does
exchanges.jsThe secure bridge to your accounts. Signs each private request with HMAC-SHA256 (and the variant each venue expects), tests your keys, places orders and closes positions.
platforms.jsThe registry of supported venues: Binance, Bybit, OKX, KuCoin, Bitget, Gate.io, MEXC, Kraken and Coinbase Advanced, plus OANDA, FXCM and the MetaTrader 4 / 5 bridges for Forex.
binance.jsThe Binance market-data client, with request pacing and rate-limit handling so heavy analysis does not get your connection blocked.

4. One signal, end to end

Follow a single BUY through the stack:

  1. Candles arrive. The data engine pulls the OHLCV series for the pair and timeframe you picked.
  2. Studies are computed. Band position, RSI, EMA crosses, MACD, Stochastic, ADX, Ichimoku, VWAP, ATR, Parabolic SAR, OBV, Money Flow Index, Williams %R, CCI and divergence — each produces a reading on the latest bar.
  3. The vote happens. Each study adds a bullish or bearish check, weighted by how relevant it is in the current context — so a momentum reading confirms an uptrend rather than fighting it.
  4. Context is applied. The regime engine says whether conditions suit a trade at all, and the higher-timeframe engine says whether the larger chart agrees.
  5. Structure is read. Smart Money Concepts finds the order block, the fair value gap and the structure break that justify the entry; the pattern engine adds any chart formation.
  6. Levels are placed. Entry at the zone, stop beyond the invalidation point, two targets at the next logical levels.
  7. The signal is scored and enriched. The quality score is computed from the five parts, the grade is attached, the plan is written — and separately, the context engines attach open interest, funding, order flow, liquidation zones and the market regime to the same view.

The user-facing result is one card: direction, four prices, a score, and a side panel of context. Underneath, that card is the agreement of roughly a dozen engines.

💡
What you see in the app The context engines surface in the app's Pro Data view — open interest, funding, long/short ratios, footprint, liquidation zones and the market regime — while the structure engine draws its labels directly on the chart. Same engines, two ways to look at them.

5. How your accounts are connected

Connecting an exchange account is where most people get nervous, and they should. The design here is deliberately conservative:

  • Your keys stay with you. API keys are entered by you and are not shared with third parties.
  • Every private call is signed, not sent with a password. Requests are signed with HMAC-SHA256 — the same mechanism exchanges require from their own clients.
  • Withdrawal is not part of the app. The connection is for reading balances and placing or closing trades. There is no withdraw button, by design.
  • DEMO first. You can run the whole analysis, plan and history without connecting anything at all.
⚠️
CPE Trade Pro is not a broker It is analysis software. It never holds your funds, never takes deposits, and never asks for a fee to withdraw. You connect your own exchange or broker account with your own API keys.

6. What the engines deliberately do not do

  • They do not predict the future. They describe the present as carefully as possible.
  • They do not guarantee anything. A score of 10 is still a trade that can lose.
  • They do not hide their reasoning — every level and label is drawn on the chart or shown in the panel.
  • They do not hold your money, and they do not take a cut of your trades.

If a piece of software claims to remove risk from trading, it is describing something that does not exist. The honest goal of a stack like this is narrower and more useful: make the reasoning visible, and make the risk explicit.

7. Summary

CPE Trade Pro is thirteen small engines rather than one big black box. Six of them decide — data, studies, vote, regime, structure and scoring. Five describe the environment — market regime, order flow, derivatives, liquidation and news. Two connect you safely to your accounts. Together they produce a single signal with a direction, four prices, a 0-10 quality score and the reasoning drawn on the chart.

Want to see the pipeline running on real charts? Download CPE Trade Pro free, pick a pair, and watch the analysis build.

Educational content only. Nothing here is financial advice. CPE Trade Pro is analysis software, not a broker, exchange or fund manager — it never holds your funds and never asks for a fee to withdraw. Live trading uses the API keys you supply; keep them restricted and never share them. Trading involves risk, and past signal results do not guarantee future performance.

Every engine, one download

Download CPE Trade Pro free and put every feature to work — 590+ crypto pairs and Forex, BUY / SELL / HOLD signals with a 0-10 quality score, LIVE and DEMO modes, auto or manual trading, real signal history, a built-in academy and 15 interface languages all in one app. Practise in DEMO first, then activate when you are ready.