"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.
3. The engines, group by group
There are thirteen engines. Grouping them makes the picture much clearer than a list.
Analysis core
| Engine | What it does |
|---|---|
analysis.js | The 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.js | Grades 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.js | The 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
| Engine | What it does |
|---|---|
regime.js | Reads 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.js | Looks inside the candles — footprint data, cumulative volume delta, buy/sell imbalance and absorption — to see whether buyers or sellers are actually in control. |
derivatives.js | Reads 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.js | Maps liquidation magnet zones by leverage tier — the price areas where clusters of positions would be forced to close. |
news.js | Pulls 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
| Engine | What it does |
|---|---|
smc.js | Smart 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.js | Recognises chart formations and runs a light Elliott wave count, so shape-based setups can join the vote. |
Connections & data
| Engine | What it does |
|---|---|
exchanges.js | The 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.js | The 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.js | The 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:
- Candles arrive. The data engine pulls the OHLCV series for the pair and timeframe you picked.
- 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.
- 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.
- 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.
- 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.
- Levels are placed. Entry at the zone, stop beyond the invalidation point, two targets at the next logical levels.
- 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.
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.
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.