A quantitative trading framework that translates concepts
from physics, signal processing, and dynamic systems
into computable state variables — position, phase,
energy, and entropy — unified into a single Master
Equation M(t).
Parts I–III, Chapters 1–11 — the constitution, the toolkit,
and the first translation of price into oscillation, the ground every
later CYQONX engine is built on.
Part I
Foundations
The conceptual bedrock of CYQONX — what the market is, how it behaves
as a system, and why a physics-and-mathematics-based language is the
right one to describe it. Every later chapter inherits its definitions
and worldview from here.
01
Introduction
Why CYQONX exists, the problem it solves, its research objectives,
scope, core terminology, and the assumptions a reader must accept —
together, the project charter for CYQONX.
Fig. 1.1 — Layered overview of CYQONX, from foundational mathematics up to the master equation. Volume 1 covers the top three layers shown here.
Background
Modern technical analysis has accumulated dozens of independent
schools of thought — Wyckoff, Elliott Wave, Gann, ICT, Market Profile,
Order Flow — each describing market behaviour with its own vocabulary,
yet repeatedly converging on the same underlying phenomena:
accumulation before markup, liquidity sweeps before reversals,
equilibrium before expansion. At the same time, physics, signal
processing, and control theory have developed extremely precise
mathematical languages for describing oscillation, equilibrium,
feedback, and energy transfer in dynamic systems.
CYQONX originates from the observation that price action is,
structurally, a time series generated by a complex adaptive system
with feedback — and that the mathematical tools already perfected for
describing oscillators, waves, and stochastic systems can be
repurposed, almost directly, to describe market structure. The
background of CYQONX is therefore not a new theory of markets from
scratch, but a translation project: taking scattered, qualitative
trading concepts and re-expressing them inside one coherent,
quantitative, physics-grounded language.
Problem Statement
The central problem CYQONX addresses is fragmentation and
subjectivity. Existing trading frameworks rarely share a common
mathematical core, so a trader who studies multiple schools must
mentally translate between incompatible vocabularies, while key
concepts — premium/discount, momentum, liquidity, cycle phase — remain
qualitative, defined by visual pattern recognition rather than
measurable quantities.
This creates three concrete problems: (1) signals from different
schools cannot be combined or weighted in a principled way, (2)
backtesting and statistical validation are difficult because inputs
are not well-defined numbers, and (3) discretionary interpretation
introduces inconsistency between traders, and even between sessions
for the same trader.
CYQONX's problem statement is therefore: can the most robust,
recurring structural ideas in trading be re-expressed as a small set
of well-defined mathematical state variables — position, phase,
frequency, energy, entropy — that can be computed deterministically
from price data, combined into a single market-state function, and
validated statistically like any other scientific model?
Research Objectives
First, construct a unified mathematical vocabulary — drawn
from number theory, function theory, geometry, trigonometry, and
Fourier analysis — capable of describing every structural concept used
in classical technical analysis.
Second, formalise market equilibrium using a three-line
(upper/mean/lower) structure and quartile-based positioning, replacing
subjective premium/discount judgments with computable zone
classifications.
Third, model price oscillation explicitly as a harmonic and
stochastic process — using Ornstein-Uhlenbeck mean reversion, Fourier
decomposition, and Kuramoto synchronization — so that momentum, cycle
phase, and reversion pressure become numerical outputs rather than
impressions.
Fourth, integrate these state variables into a single Market
State Function and, ultimately, a CYQONX Master Equation that
aggregates position, phase, frequency, energy, entropy, and
control-theoretic terms into one decision signal.
Fifth, be explicit about the limitations, assumptions, and
statistical validation requirements of the resulting model, so CYQONX
is presented as a rigorous research framework rather than a
guaranteed predictive system.
Scope
CYQONX is scoped as a structural and analytical framework,
not an execution or money-management system. Its scope
covers: (1) mathematical formalisation of price structure —
equilibrium, position, oscillation, cycles, and multi-timeframe
relationships; (2) derivation of state variables that summarise where
the market is (position), what it is doing (phase/momentum), and how
it might evolve (probability density and drift); (3) construction of a
master equation that aggregates these state variables into a single
interpretable signal.
Explicitly out of scope: broker execution mechanics, position
sizing and account-level risk management, asset-specific fundamentals
(news, earnings, macro events), and guarantees of profitability. CYQONX
is also scoped to liquid, exchange-traded markets — forex, crypto,
indices, commodities — where continuous price and volume data are
available, since several engines (Fourier, Kalman, Fokker-Planck)
require sufficiently dense and regular time series to be meaningful.
Extension to illiquid or gapped markets would require separate
treatment, which this white paper does not attempt.
Definitions
To avoid ambiguity, CYQONX fixes the meaning of its most-used terms
from the outset:
State — a vector of measurable
quantities (position, phase, energy, entropy, etc.) describing the
market at time t.
Position — the location of price
relative to a defined equilibrium structure, not a trading
position.
Phase — the angular value of an
oscillatory representation of price (0–2π), describing where in a
cycle the market currently sits.
Equilibrium — a dynamic, not static,
reference structure: a band defined by a mean and a deviation, around
which price oscillates.
Synchronization — the degree of phase
agreement across multiple timeframes or oscillatory components,
measured via a Kuramoto order parameter.
Engine — a self-contained computational
module that converts raw price/volume data into one or more state
variables.
Master Equation — the top-level function
that combines the outputs of all engines into a single market-state
signal M(t).
Assumptions
1. Price is assumed to be a noisy observation of an
underlying latent state — not pure noise — justifying filtering
techniques such as Kalman filters.
2. Markets are assumed to exhibit local mean-reversion
around a slowly-evolving equilibrium, even while exhibiting
longer-term trends — justifying the Ornstein-Uhlenbeck and three-line
equilibrium constructs.
3. Price series are assumed to contain dominant cyclical
components, approximately extractable via Fourier or Hilbert-based
methods, even though markets are not strictly periodic.
4. Structures observed on one timeframe are assumed to be
statistically self-similar (fractal) to structures on other
timeframes — justifying the multi-timeframe and nested-mean
architecture.
5. Liquidity is assumed to behave like a field with
attraction properties — price is more likely to move toward areas of
high resting liquidity than away from them.
These assumptions are testable and may fail under certain regimes —
e.g., extreme low-liquidity conditions or structural regime breaks —
which is why limitations and statistical validation are addressed
elsewhere in the framework.
02
Philosophy of CYQONX
Rather than asking "where will price go next," CYQONX first asks "what
kind of system produces price," and only then asks how to read its
current state — concluding with two operating principles: position
before prediction, and state before direction.
Fig. 2.1 — The market as a cybernetic feedback loop: orders → price → information → beliefs → orders.
Market as a Dynamic System
A dynamic system is any system whose state evolves over time
according to a rule that depends on its current state, and possibly
external inputs. CYQONX treats the market as exactly this: a system
whose price/volume state at time t+1 depends on its state at
time t plus new information shocks.
This framing implies several things. History matters — the system
has "memory" encoded in its current state (an unresolved imbalance, an
open liquidity pool, an active trend). The system can be described by
state variables and transition rules, the same way a pendulum is
described by angle and angular velocity. And dynamic systems can
exhibit qualitatively different regimes — stable equilibrium,
oscillation, expansion, chaos — with a central task of CYQONX being to
identify which regime the market is currently in.
Viewing the market this way shifts the analytical question from
"predict the next candle" to "characterize the current dynamical
regime and its most likely transitions" — a fundamentally more
tractable problem.
Market as Information Processing
Every order placed in the market carries information — about a
participant's beliefs, constraints, or urgency. The market as a whole
can be viewed as a distributed computer that continuously aggregates
these individual pieces of information into a single output: price.
CYQONX adopts this view for two practical reasons. First, it
explains why price sometimes moves before "news" — informed
participants act on information before it becomes public, and their
orders are themselves the information being processed. Second, it
gives a principled meaning to entropy and order: when many
participants agree (low entropy, high order), price tends to move
efficiently and directionally; when participants disagree strongly
(high entropy, high disorder), price tends to oscillate without clear
direction.
This view directly motivates the entropy-based engines, where
Shannon entropy is computed on price/volume distributions to quantify
how "agreed" or "disagreed" the market currently is — a leading
indicator for whether trending or ranging behaviour is more likely.
Market as Cybernetic System
Cybernetics is the study of control and communication in systems
with feedback loops. CYQONX views the market as a closed-loop
cybernetic system: orders move price, the new price becomes visible
information, that information influences the next round of orders, and
so on.
This loop contains both negative feedback — price moves too
far from value, attracting opposing orders that pull it back, the
basis of mean reversion — and positive feedback — price breaks a
key level, triggering stop-losses and breakout entries that accelerate
the move, the basis of trend expansion and liquidity sweeps.
Recognising the market as cybernetic has a direct structural
consequence: every CYQONX engine is designed to detect which feedback
regime currently dominates. The Mean Rotation and Equilibrium engines
are essentially negative-feedback detectors, while the Liquidity and
Volatility Energy engines are essentially positive-feedback detectors.
The Master Equation, in turn, estimates the net balance between these
two feedback types at any given moment — at its core, a
control-systems question.
Price as Output Signal
In signal-processing terms, price is the observable output of a
system whose internal states — order flow imbalance, latent
supply/demand, sentiment, positioning — are not directly visible.
CYQONX treats price the way an engineer treats the output of a sensor:
a signal composed of an underlying "true" component plus noise, which
can be filtered, decomposed, and analysed using standard
signal-processing tools.
Three implications follow. First, smoothing and filtering
(e.g., Kalman filters) are legitimate — not "lagging the data" but
estimating the underlying state from a noisy observation.
Second, frequency-domain analysis (Fourier, Hilbert transform)
is legitimate — price, like any signal, can be decomposed into a sum of
oscillatory components with different frequencies and amplitudes.
Third, because price is an output, the search for causal
structure should look "backwards" into the inputs — order flow,
liquidity, positioning — rather than only at the output's shape, which
is why CYQONX pairs price-based engines (Fourier, OU) with flow-based
engines (Liquidity, Volatility Energy).
Position Before Prediction
One of CYQONX's two core operating principles: knowing where price
currently sits within its structure is more valuable, and more
reliable, than guessing where it will go next. "Position" here means
the quartile location of price relative to the upper/mean/lower
equilibrium lines, and the phase angle of price within its dominant
cycle.
This principle exists because position is directly observable and
computable from current and past data with no forecasting error,
whereas prediction necessarily involves extrapolation and is subject to
compounding uncertainty. Practically, "position before prediction"
means every CYQONX analysis begins by answering: is price in a
discount, neutral, or premium zone? Near the 0%, 50%, or 100%
quartile of its range? What phase of its dominant cycle is it in? Only
after these structural questions are answered does CYQONX move to
conditional, probabilistic statements about likely next behaviour —
via Fokker-Planck density evolution, never as point predictions.
State Before Direction
The second core operating principle complements the first: before
asking "will price go up or down," CYQONX asks "what dynamical state is
the market currently in." State here is the full vector from Chapter
1's Definitions — position, phase, frequency content, energy level,
entropy, synchronization across timeframes.
The reasoning: the same directional question — "will this break
out?" — has a completely different answer depending on the underlying
state. A price sitting at the 95th percentile of its range during a
low-entropy, high-Kuramoto-synchronization, high-volatility-energy
state is in a fundamentally different situation than the same price
level reached during a high-entropy, desynchronized, low-energy state —
even though "direction" looks identical on a simple chart.
By insisting on full state characterisation first, CYQONX avoids
treating two structurally different market conditions as the same
setup simply because price is at a similar level. Direction-related
outputs — drift terms in the Fokker-Planck engine, the sign of the HJB
control term — are always computed as a function of the full state
vector, never from price level alone.
03
Market Ontology
What the core objects of study actually are — market, price, time,
equilibrium, information, and feedback. Each definition is
deliberately operational: phrased so it can later become a measurable
quantity or a mathematical object.
Fig. 3.1 — Six ontological pillars of CYQONX: market, price, time, equilibrium, information, and feedback.
What Is Market
CYQONX defines a market as a continuous-time, multi-agent
negotiation process whose visible trace is a time series of price and
volume. Crucially, the market is not the price chart — the
chart is merely the recorded trace of the market. The market itself is
the underlying process: the population of participants, their order
flow, their changing beliefs and constraints, and the matching
mechanism (the order book) that resolves their competing intentions
into executed trades.
This definition matters because it tells us what we are trying to
model — not the chart's shape for its own sake, but the negotiation
process that generates the chart. It also explains why the same chart
pattern can mean different things at different times: the visible
trace can look similar while the underlying negotiation process — who
is participating, what they want, how urgently — is completely
different. Every later engine in CYQONX is, in some sense, an attempt
to infer properties of this underlying negotiation process from its
visible trace.
What Is Price
Price is defined as the instantaneous clearing value at which the
most recent matched trade occurred — a scalar summary of an enormously
high-dimensional negotiation. Because it is a summary, price
necessarily discards information: two very different order-book
configurations can produce the same last-traded price.
CYQONX therefore treats price as a low-dimensional projection of a
high-dimensional state, and explicitly designs engines — Liquidity,
Volatility Energy, Order Flow-related concepts — to recover some of the
discarded dimensions from related observables (volume, range, candle
structure). CYQONX also distinguishes price
level (an absolute number, e.g., 67,500) from price position (where that level sits relative to a
structural reference, e.g., "within the upper quartile of the last
swing range").
Almost all CYQONX mathematics operates on price position and price
changes — returns, log-returns, deviations from a mean — rather than
raw price levels, because position and change are stationary or
near-stationary, while raw level is not — a critical property for
valid statistical and signal-processing techniques.
What Is Time
CYQONX recognises that "time" in markets is not a single uniform
quantity, and defines at least three notions used interchangeably
depending on context.
Calendar/clock time — the conventional
notion (minutes, hours, sessions), essential for modelling
session-based rhythms.
Bar/index time — each candle as one
discrete time step regardless of real-world duration; the natural time
variable for most discrete-time models (Kalman filter updates, Markov
state transitions).
Phase/angular time — a position within a
cycle mapped onto an angle in [0, 2π). This is "time" in the sense of
cyclical position, but it is not linear: equal phase increments do not
necessarily correspond to equal calendar-time increments, because
cycle length itself can expand or compress.
CYQONX explicitly tracks which notion of time each engine operates
in, because conflating them — e.g., assuming a fixed
phase-to-calendar-time mapping — is a common source of error in
cycle-based trading approaches that CYQONX aims to avoid.
What Is Equilibrium
In classical economics, equilibrium often refers to a static point
where supply equals demand and price has no further reason to move.
CYQONX explicitly rejects this static notion and instead defines
equilibrium as a dynamic reference structure — a band defined
by a central tendency (a moving mean) and a measure of dispersion (a
standard deviation or similar), both evolving over time.
Price is not expected to "rest" at equilibrium; rather, price is
expected to oscillate around it, with the oscillation itself being
informative — its amplitude reflects volatility, its frequency
reflects cycle length, its current position within the band reflects
premium/discount. This dynamic definition is what allows CYQONX to
build the entire equilibrium framework and mean-rotation system on a
common foundation: equilibrium is not a destination but a moving
reference frame, and trading opportunities are defined by price's
relationship to that frame — how far from it, how fast approaching or
leaving it, how synchronized that relationship is across timeframes —
rather than by price "reaching" some fixed level.
What Is Information
CYQONX adopts the information-theoretic definition: information is
whatever reduces uncertainty about the market's future state. This is
deliberately broad and quantity-agnostic — a price move, a volume
spike, a change in volatility regime, or a shift in cross-timeframe
synchronization can all be "information" if observing them changes the
probability distribution over future states.
This definition lets CYQONX measure information using entropy: if
the entropy of the relevant probability distribution decreases after
observing some event, that event carried information; if entropy is
unchanged, it did not. Practically, this gives CYQONX a way to rank the
importance of different signals without relying on subjective
judgments like "this looks like a strong signal." A liquidity sweep
followed by a sharp drop in entropy of the short-term return
distribution is, by this definition, more informative than one that is
not — regardless of how visually dramatic either looks on a chart.
This principle underlies how multiple engine outputs are weighted when
combined in the Master Equation.
What Is Feedback
Feedback, in the control-theoretic sense used by CYQONX, is any
mechanism by which a system's output influences its own future input.
CYQONX identifies two canonical feedback types in markets.
Negative feedback is stabilising: as price deviates further
from its equilibrium band, the "force" pulling it back — modelled as
the drift term in the Ornstein-Uhlenbeck process, proportional to the
deviation — increases, limiting how far price can travel before
reversing.
Positive feedback is destabilising and amplifying: as price
approaches a level where many participants have orders clustered (a
liquidity pool), reaching that level triggers those orders, which
themselves push price further in the same direction — a
self-reinforcing loop until the pool is exhausted.
CYQONX's central modelling challenge is that both feedback types
operate simultaneously at different timeframes and magnitudes, and the
framework's job is to estimate their relative strength at any given
moment. A market state dominated by negative feedback favours
mean-reversion approaches; one dominated by positive feedback favours
breakout/momentum approaches. The Master Equation is, in essence, an
estimate of this balance.
Part II
Mathematical Foundations
The pure-mathematics toolkit every later engine depends on —
numbers, ratios, functions, sets, and shapes: the alphabet from which
every later formula, from Fourier series to Fokker-Planck PDEs, is
built.
04
Number Theory
How numbers are represented, how relationships are expressed as ratios
and proportions, how arithmetic that "wraps around" handles cyclical
quantities, and how raw price values become bounded, comparable
scales — together answering: in what numerical form should market data
be represented before any analysis begins?
Fig. 4.1 — Number systems and scaling: from raw price levels, N ⊂ Z ⊂ Q ⊂ R ⊂ C, to the normalised ratios used across CYQONX engines.
Number Systems
CYQONX works primarily with real numbers (R) for prices, returns,
and continuous state variables, but several engines also rely on
complex numbers (C) — particularly the Fourier and Hilbert transform
engines, where a price oscillation is represented as a complex
exponential combining a real (cosine) and imaginary (sine) component.
Integers (Z) appear when indexing discrete bars/candles, and natural
numbers (N) when counting events, e.g., the number of touches of a
level.
Understanding which number system underlies each variable matters
because operations valid in one system are not always valid in
another — "phase" is naturally a real number modulo 2π (a cyclic
group), not an unbounded real number, and treating it as unbounded —
e.g., averaging 359° and 1° arithmetically to get 180° instead of 0° —
produces nonsensical results. CYQONX is explicit, for every state
variable introduced later, about which number system it lives in and
what arithmetic operations are therefore valid.
Ratios
A ratio expresses how two quantities compare in relative terms,
independent of their absolute scale. CYQONX relies on ratios constantly
because raw price levels — Bitcoin at 67,500 vs. EUR/USD at 1.085 —
are not comparable across instruments, but ratios are.
Examples used throughout the framework: the ratio of current range
to average range (a volatility-normalisation ratio), the ratio of
distance travelled to distance retraced (retracement and extension
analysis), the ratio of up-volume to down-volume (an order-flow
imbalance ratio), and the ratio of a candle's body to its total range
(a momentum/indecision ratio). The key conceptual point: a ratio
converts an absolute, instrument-specific quantity into a dimensionless
number that behaves consistently across assets, timeframes, and time
periods — exactly the property required for a quantity to feed into a
general statistical model.
Proportions
A proportion is a statement that two ratios are equal (a/b = c/d),
and more generally that a part relates to a whole in a consistent,
scalable way. In CYQONX, proportions are the mathematical basis of the
quartile framework and the three-line equilibrium structure: when
price is "at the 25% level" of a range, this is a proportional
statement — the proportion of (price − low) to (high − low) equals
0.25.
Proportional reasoning also underlies multi-timeframe consistency
checks: if a retracement on the 1-hour chart represents 38% of the
prior swing, and CYQONX wants to know whether the 15-minute chart shows
a "proportionally similar" structure, it is comparing proportions, not
absolute price distances. This is essential for the
fractal/self-similarity assumption: self-similarity is fundamentally a
statement that proportions are preserved across scales, even though
absolute sizes are not.
Modular Arithmetic
Modular arithmetic "wraps around" after reaching a fixed modulus —
like a clock face, where 13 o'clock equals 1 o'clock (mod 12). CYQONX
relies on modular arithmetic anywhere a quantity is fundamentally
cyclical rather than linear: phase angles (mod 2π), time-of-day (mod 24
hours), and day-of-week (mod 7) are the three most important
examples.
The practical consequence: averaging, differencing, and distance
must be redefined for modular quantities. The "distance" between phase
350° and phase 10° is 20°, not 340° — ordinary subtraction gets this
wrong unless the modular wrap is accounted for. Similarly, the
"average" of two phases must be computed via vector (circular)
averaging — converting each phase to a unit vector, averaging the
vectors, and converting back to an angle — rather than ordinary
arithmetic averaging. Every engine that deals with phase explicitly
uses circular statistics for exactly this reason.
Scaling Systems
A scaling system transforms raw values into a different range while
preserving — or deliberately altering — their relative relationships.
CYQONX uses several depending on purpose.
Min-max scaling maps raw price into
[0, 1] relative to a defined range — the basis of the quartile
framework. Z-score (standardisation)
subtracts the mean and divides by the standard deviation, expressing
"how many standard deviations from the mean" — the basis of
mean-reversion and volatility-normalisation engines.
Logarithmic scaling converts
multiplicative relationships — price ratios, percentage returns — into
additive ones, required before applying linear tools like Fourier
decomposition or Kalman filters, since price grows multiplicatively
while these tools assume additive dynamics. Angular scaling maps a normalised position (0 to 1)
onto an angle (0 to 2π) — the bridge between the position framework and
the phase/cycle framework.
Choosing the correct scaling system for each engine is not a
cosmetic detail — using the wrong scale, e.g., feeding raw,
non-stationary price into a Fourier transform, produces mathematically
invalid or misleading results.
05
Function Theory
The single most important mathematical object in CYQONX, since every
"engine" is, mathematically, a function — or composition of functions
— from market data to a state variable.
Fig. 5.1 — A function as a mapping: domain (raw inputs), the mapping rule (an engine), and range (state-variable output).
Functions
A function is a rule that assigns exactly one output to each valid
input. CYQONX treats every analytical procedure — no matter how
complex — as a function: the Mean Rotation Engine is a function from a
price series to a Z-score; the Fourier engine is a function from a
price series to a set of (frequency, amplitude, phase) triples; the
Master Equation is a function from the entire vector of engine outputs
to a single market-state value M(t).
Framing everything as functions has a practical benefit: functions
can be composed — the output of one becomes the input of the next —
which is exactly how CYQONX's layered architecture works. Raw price
data flows through a sequence of function compositions (filtering,
decomposition, state extraction, aggregation) until it reaches the
Master Equation. It also means every engine can, in principle, be
tested independently: given the same input, a correctly implemented
function must always produce the same output — the basis for CYQONX's
emphasis on deterministic, reproducible computation.
Mappings
"Mapping" is used as a slightly broader, more visual synonym for
function — the act of taking an element from one set and placing it
into correspondence with an element of another set. The framework
relies on several specific types.
Linear mappings (min-max scaling,
weighted sums in the Master Equation) preserve proportional
relationships. Nonlinear mappings
(sigmoid-like functions used to bound an unbounded "energy" score into
[0,1]) compress or expand parts of the input range disproportionately.
Periodic mappings (time-of-day to phase
angle, or price position to angle on the unit circle) wrap a linear
input onto a circular output — central to the trigonometric and
harmonic chapters.
Conditional/piecewise mappings — "if
price is in the discount zone, map deviation to a buy-pressure score;
if in the premium zone, map it to a sell-pressure score" — are used
wherever the same raw input should be interpreted differently depending
on context, a recurring pattern in the Position Engine and Zone
Classification.
Domain
The domain of a function is the complete set of valid inputs. Being
explicit about domains prevents a common class of error: applying an
engine to data for which it was not designed.
The domain of the Fourier Frequency Decomposition engine is a
sufficiently long, evenly-spaced, detrended price series — applying it
to a short, gappy, or strongly trending series produces spectral
artefacts that look like genuine cycles but are not. The domain of the
Z-score / mean-reversion engine is a series that is at least locally
stationary — applying it during a structural regime break produces
Z-scores that understate how "extreme" the current deviation really
is, because the underlying mean and variance are themselves
shifting.
Part of CYQONX's rigour is maintaining, for every engine, an
explicit statement of its domain — the conditions under which its
output can be trusted — and ideally an automatic check for whether
current data falls inside or outside that domain.
Range
The range of a function is the set of values it can actually
output. CYQONX cares about ranges because many later operations —
combining engine outputs, comparing across assets, feeding values into
the Master Equation — require outputs to have known, comparable
ranges.
Some engines naturally produce bounded ranges: the
quartile-position function outputs values in [0, 1]; the phase
function outputs values in [0, 2π); the Kuramoto order parameter
outputs values in [0, 1] — 0 means no synchronization, 1 means perfect
synchronization; Shannon entropy, for a discretised distribution with n
bins, outputs values in [0, log n].
Other engines naturally produce unbounded ranges: a Z-score is
theoretically unbounded, though rarely exceeds ±4 in practice; raw
momentum or velocity terms are unbounded. Before such unbounded
outputs are combined with bounded ones in the Master Equation, CYQONX
requires a normalisation step to bring them onto a comparable range —
failing to do this would let one unbounded term dominate the master
signal arbitrarily during extreme events.
Codomain
The codomain of a function is the declared set of possible outputs —
which may be larger than the actual range. CYQONX distinguishes
codomain from range for a subtle but important reason: the codomain is
decided in advance, as a design choice, while the range is discovered
empirically, as an outcome.
For example, a designer might declare the codomain of a "momentum
score" engine to be all of R, as a design choice that keeps the formula
simple. Empirically, the range observed across years of data might turn
out to be approximately −3.2 to 3.4 — informing how the score should
later be normalised. Confusing codomain with range can lead to two
errors: assuming a normalisation bound that is actually just an
empirical observation and may be violated in a future extreme event, or
designing a codomain that is artificially restrictive — forcing an
output into [0,1] via clipping — when the underlying quantity can
legitimately take a wider range, thereby losing information about how
extreme an event truly is.
Transformations
A transformation is a function applied to data to change its
representation while preserving some of its essential information —
the central operation by which CYQONX converts raw OHLCV data into the
state variables used by every higher-level engine. CYQONX organises
transformations into three families.
Domain-preserving transformations keep
data in the same space but change units or reference points —
converting price to log-price, or to deviation-from-mean. Domain-changing transformations move data into a
fundamentally different mathematical space — the Fourier transform
moves a time-domain price series into a frequency-domain spectrum; the
Hilbert transform produces an analytic signal whose magnitude and phase
can be separately analysed. Dimensionality-changing
transformations reduce a high-dimensional input to a lower-dimensional
summary — a single Z-score from an entire price window, or a single
Kuramoto order parameter from the phases of multiple timeframes.
Every later "engine" in this white paper can be understood as a
specific, named composition of transformations from these three
families — which is why establishing this vocabulary early pays off
throughout the rest of the document.
06
Set & Interval Theory
The language for talking precisely about regions and groupings — sets,
intervals, boundaries, zones, and classification systems. Every "zone"
is, formally, an interval or a union of intervals, and every
"classification" is formally a partition of the real line into such
intervals.
Fig. 6.1 — Intervals and zones: closed boundaries classify discount, neutral, and premium regions of the equilibrium range.
Sets
A set is a well-defined collection of objects. In CYQONX, the most
important sets are sets of price levels, sets of time indices, and
sets of state-vector values. Set operations — union, intersection,
complement — give precise meaning to compound conditions used
throughout the framework. "Price is in the discount zone AND the
market is in a low-entropy state" is the intersection of two sets; "a
signal fires if price is either sweeping the high OR sweeping the low
of the range" is a union of two sets.
Defining conditions as set operations rather than informal "and/or"
language has a practical benefit: it makes the conditions composable
and testable in code, and it makes edge cases explicit — what happens
at the exact boundary between two sets? Is the boundary point included
in one set, the other, both, or neither? This question is answered
precisely by the Open/Closed Interval topics that follow.
Open Intervals
An open interval (a, b) includes all numbers strictly between a and
b, but excludes the endpoints themselves. CYQONX uses open intervals to
describe "in progress" or "transitional" zones — regions where price is
moving through, but where reaching the exact boundary itself
constitutes a different event.
The "neutral zone" between the lower edge of the premium zone and
the upper edge of the discount zone is naturally an open interval: a
price strictly inside this interval is "in transition," whereas a price
exactly at either edge has, by definition, just entered the premium or
discount zone — a different, closed-interval event. Open intervals are
also the natural domain for derivative-like quantities: "price has
positive momentum on the open interval between two recent bars"
describes a continuous process occurring strictly between two time
points, without making a claim about the instantaneous values exactly
at those endpoints. This distinction — strictly between vs. at the
boundary — recurs whenever CYQONX needs to distinguish a continuing
condition from a triggering event.
Closed Intervals
A closed interval [a, b] includes both endpoints along with
everything between them. CYQONX uses closed intervals to describe
"membership" or "state" conditions — regions where being exactly at the
boundary counts as belonging to the region.
The premium zone, for instance, is naturally defined as a closed
interval such as [75%, 100%] of the equilibrium range: a price exactly
at the 75% level is, by this definition, already in the premium zone,
not "about to enter" it. This matters for trigger logic: a rule that
says "reduce position size when price enters the premium zone," using a
closed interval [75%, 100%], fires the moment price touches 75%, with
no ambiguity about whether the boundary itself counts. CYQONX is
consistent about using closed intervals for all zone classifications —
discount, neutral, premium, extreme — specifically so that every price
value is assigned to exactly one zone with no gaps and no
double-counting at boundaries: each interval's upper closed endpoint
equals the next interval's lower closed endpoint, with the
classification rule resolving the tie by always assigning the boundary
point to the higher zone.
Boundaries
A boundary is the value, or set of values, that separates one set or
interval from another. In CYQONX, boundaries are not arbitrary lines —
each one is computed from the equilibrium structure and carries
specific meaning. The upper and lower lines of the three-line structure
are boundaries between the "normal oscillation" zone and the
"extended/extreme" zones. The 50% mean line is the boundary between the
discount half and the premium half of the range.
Boundaries in CYQONX are explicitly treated as dynamic: because the
equilibrium band itself moves over time, as the moving mean and
deviation update, boundaries are time-varying functions, not fixed
price levels. A price level that was "at the boundary" an hour ago may
now be well inside or outside the current boundary, even if the price
itself hasn't moved — because the boundary moved instead. CYQONX's
zone-classification logic therefore always re-evaluates boundaries at
the current time step rather than referencing a static historical
boundary value.
Zones
A zone is a named region of the price/state space with a specific
interpretive meaning attached to it — CYQONX's primary tool for
converting continuous quantities into discrete, interpretable
categories. The most fundamental zones are the discount zone, neutral
zone, and premium zone — defined as closed intervals of the
quartile-position variable.
CYQONX uses the same "zone" concept far beyond price position: a
"high-entropy zone" and "low-entropy zone" partition the entropy
variable; a "high-synchronization zone" and "low-synchronization zone"
partition the Kuramoto order parameter; an "expansion zone" and
"compression zone" partition the volatility-ratio variable. Each zone
definition specifies which underlying variable it partitions, the
interval boundaries — which may themselves be dynamic — and the
interpretive label attached to the zone, e.g., "in this zone,
mean-reversion setups are favoured." Because every zone is ultimately
just a labelled interval on some variable, the entire apparatus of
zones across all parts of CYQONX shares one consistent mathematical
structure, even though the variables being partitioned are very
different in nature.
Classification Systems
A classification system is a complete partition of a variable's
range into a finite number of non-overlapping, exhaustive zones, each
with a label. CYQONX requires every classification system to satisfy
two formal properties: exhaustiveness — every possible value
falls into exactly one zone, with no "undefined" region — and mutual
exclusivity — no value falls into more than one zone.
These properties are what make classification systems usable as
inputs to decision logic: a rule that says "do X if zone equals
premium, do Y if zone equals discount, do Z if zone equals neutral" is
only well-defined if every possible price position is guaranteed to map
to exactly one of these three labels. CYQONX's major classification
systems include the three-zone position classification
(discount/neutral/premium, later extended to a four- or five-zone
"extreme" variant), the cycle-phase classification (which quadrant of
the unit circle the current phase falls into), the volatility-regime
classification (compression/normal/expansion), and the synchronization
classification (desynchronized/partial/synchronized). Each is,
formally, a function from a continuous variable to a finite label set —
and Chapter 6 is what guarantees these functions are well-defined.
07
Geometry
Distance, coordinates, angles, rotation, circles, and arcs — the
bridge between abstract algebra and the trigonometric/harmonic
mathematics of Part III. Price/time charts are coordinate systems,
swings are distances, cycles are rotations, and phase is an angle on a
circle.
Fig. 7.1 — Circular and arc geometry: angles, rotation, and projection onto the axes form the geometric basis of phase and cycle measurement.
Distance
In one-dimensional price space, distance is simply the absolute
difference between two price values. CYQONX uses this most basic
geometric concept as the building block for swing size, range size,
retracement size, and deviation-from-mean — essentially every "how big
is this move" question reduces to a distance calculation.
The subtlety CYQONX introduces is that distance should usually be
measured in the appropriate transformed space, not raw price: distance
in log-price space is the correct measure for percentage-based
comparisons across different price levels of the same asset over time,
while distance in Z-score space is the correct measure for comparing
the "significance" of a move relative to recent volatility. CYQONX
always specifies which distance space a given calculation operates in —
raw price, log-price, or normalised (Z-score) — because these three can
give very different answers to "how big was that move?" for the same
pair of price points.
Coordinates
A coordinate system assigns numerical addresses to points in space,
allowing geometric relationships to be computed algebraically.
CYQONX's primary coordinate system is the price-time plane: the
horizontal axis is bar/time index, the vertical axis is price, or
log-price. Every chart pattern, swing, and structure is, formally, a
set of points in this plane, and relationships between them — slopes,
distances, angles — are computed using standard 2D coordinate
geometry.
CYQONX also uses a second coordinate system: the phase plane, or
unit-circle coordinates, where a point is represented as (cos θ, sin θ)
for some phase angle θ. This coordinate system is essential for the
harmonic and cyclical chapters, because it makes circular quantities
behave like ordinary Cartesian coordinates for averaging and
interpolation. A recurring operation in CYQONX is converting between
these two systems: a point in the price-time plane — a specific price
at a specific bar — is mapped to a point in the phase plane — an angle
representing where that price sits within its current cycle.
Angles
An angle measures rotation between two directions, typically
expressed in degrees (0–360) or radians (0–2π). In CYQONX, angles are
not decorative — they are the primary representation of cyclical
position. A market "phase angle" of 0° conventionally represents the
start of a cycle (a trough in the underlying oscillator), 90° a quarter
through (often near maximum upward velocity), 180° the midpoint (a
peak), and 270° three quarters through (often near maximum downward
velocity) — directly analogous to the phase of a sine wave.
CYQONX uses radians internally for all trigonometric computation,
since calculus and Fourier formulas are naturally expressed in radians,
but converts to degrees for human-readable output, since traders are
typically more familiar with degree-based descriptions, e.g., "a
90-degree turn." The key property of angles CYQONX exploits repeatedly
is periodicity: an angle of 370° is identical to an angle of 10°, and
the sine and cosine of these two angles are identical — the
mathematical origin of "cycles repeating" in market structure.
Rotation
Rotation is the motion of a point around a fixed centre by some
angle. CYQONX uses rotation as the central metaphor for how price moves
through its equilibrium structure over time — hence the names "Mean
Rotation System" and "Mean Rotation Engine."
Concretely, if price's position — deviation from the mean,
normalised — is plotted on a 2D plane against its rate of change, the
resulting trajectory often traces something resembling a rotation:
price moves away from the mean (radius increases), slows and reverses
(angular position passes through an extreme), and moves back toward the
mean (radius decreases) — and the whole pattern can repeat with the
radius and angular speed changing over time (expansion/compression).
Formally, a rotation by angle φ is represented by a 2×2 rotation
matrix; CYQONX uses this matrix representation when combining phase
information from multiple sources — rotating one timeframe's phase
reference frame to align with another's for synchronization analysis.
The intuitive picture — price "rotating" around its equilibrium — and
the formal picture — a rotation matrix acting on a phase-space vector —
are the same object viewed at different levels of abstraction.
Circular Geometry
Circular geometry studies the properties of circles — radius,
circumference, area, and the relationship between angles and arc
lengths. For CYQONX, the unit circle — radius equal to 1, centred at
the origin — is the single most important geometric object in the
entire framework, because it is the geometric realisation of a complete
cycle: every point on the unit circle corresponds to a unique phase
angle θ in [0, 2π), and its (cos θ, sin θ) coordinates directly give the
"in-phase" and "quadrature" components used throughout the harmonic
chapters.
The unit circle also gives CYQONX a natural visual diagnostic:
plotting the current phase as a point on the unit circle, and tracking
how that point moves over successive bars, immediately shows whether
the market's cycle is progressing smoothly — steady rotation around the
circle — stalling — the point getting "stuck" in one region — or
reversing — the point moving backward around the circle. CYQONX's live
dashboard, the "Euler unit circle with OU equilibrium bands," is a
direct visualisation of this idea, serving both as a rigorous
mathematical foundation and as the basis for CYQONX's primary visual
interface.
Arc Geometry
An arc is a portion of a circle's circumference, and arc length is
the distance along that portion. The relationship arc length = radius ×
angle (in radians) is one of the most-used formulas in CYQONX's
harmonic mathematics, because it directly connects the angular (phase)
domain to the linear (distance/time) domain.
If a market cycle is represented as a path around a circle of a
given "radius" — related to the amplitude of oscillation — then the arc
length travelled between two points in time measures how much
"cyclical progress" has been made, which, combined with the elapsed
calendar time, gives the effective angular velocity. Arc geometry also
underlies how CYQONX measures partial cycles: if price has only
completed a 120° arc of what appears to be a larger cyclical structure,
arc geometry gives the precise relationship between that 120° —
one-third of a full 360° cycle — and the proportion of "expected" price
movement that has occurred so far — directly linking the geometric and
proportional ways of describing the same partial-cycle situation.
Part III
Wave & Harmonic Foundations
Where the foundations meet CYQONX's central metaphor: markets
oscillate, and oscillation can be described precisely using
trigonometry, harmonic motion, composite wave systems, and Fourier
analysis.
08
Trigonometry
The three trigonometric functions CYQONX relies on most — sine,
cosine, and tangent — together with the unit circle that unifies them
and the concept of angular rotation connecting static angles to
dynamic, time-evolving processes.
Fig. 8.1 — The unit circle and the sine/cosine functions as projections of angular rotation onto the axes; tangent is recovered via atan2 from these two components.
Sine
The sine function, sin(θ), gives the vertical (y) coordinate of a
point on the unit circle at angle θ, and as θ increases steadily,
sin(θ) traces the familiar smooth, repeating wave that oscillates
between −1 and +1. CYQONX uses sine as the canonical model for a single
oscillatory component of price: a "pure" market cycle, isolated from
trend and noise, is modelled as A · sin(ωt + φ), where A is
the amplitude, ω is the angular frequency, t is time, and φ is the
phase offset.
When CYQONX's Fourier engine decomposes a price series, the result
is literally a sum of sine and cosine terms with different A, ω, and φ
values — the "dominant cycle" is simply the sine term with the largest
amplitude A. Understanding sine as "the shape of one clean oscillation"
is the conceptual anchor for almost everything in Parts III, IV, and
VII.
Cosine
The cosine function, cos(θ), gives the horizontal (x) coordinate of
the same point on the unit circle, and is simply sine shifted by a
quarter cycle: cos(θ) = sin(θ + π/2). CYQONX uses cosine in two
roles.
First, in the "in-phase / quadrature" representation used by the
Hilbert transform and Fourier analysis, sine and cosine together form a
complete orthogonal basis — any oscillation can be written as a
combination of a sine term and a cosine term, and this combination
uniquely determines both the amplitude and phase of the oscillation.
Second, cosine appears whenever CYQONX needs to measure the "rate of
change" of a sine-like quantity, because the derivative of sin(θ) is
cos(θ) — so if price position follows a sine-like oscillation, its
velocity follows a cosine-like oscillation, 90° out of phase. This
sine/cosine, position/velocity relationship is fundamental to how
CYQONX's harmonic motion engines describe both where price is and how
fast it is currently moving, using a single underlying phase
variable.
Tangent
The tangent function, tan(θ) = sin(θ)/cos(θ), gives the slope of the
line from the origin to the point on the unit circle at angle θ. Unlike
sine and cosine, tangent is unbounded — it approaches infinity as θ
approaches 90°, where cosine equals zero.
CYQONX uses tangent in a specific, important role: computing the
phase angle itself from observed (x, y)-like quantities, via the
two-argument atan2 function, which correctly
handles all four quadrants. Given the in-phase (cosine-like) and
quadrature (sine-like) components of a price oscillation — produced,
for example, by the Hilbert transform — the instantaneous phase is
recovered as θ = atan2(quadrature, in-phase). This is how CYQONX
converts from the (x, y) representation, convenient for filtering and
averaging, back to the single-angle phase representation, convenient
for zone classifications and cycle-position readings. The
unboundedness of raw tangent is precisely why atan2, which outputs a
bounded angle in (−π, π] or [0, 2π), is used instead of tangent
itself.
Unit Circle
The unit circle — radius 1, centred at the origin — is the
geometric object that ties sine, cosine, tangent, angles, and rotation
into a single coherent picture. Every point on the unit circle is
(cos θ, sin θ) for exactly one θ in [0, 2π); moving along the circle at
constant angular speed traces out sine and cosine waves on the two axes
simultaneously.
For CYQONX, the unit circle is the canonical "state space" for a
single oscillatory component: a point's position on the circle — its
angle — represents the current phase of that component, and the rate
at which the point moves around the circle represents the frequency of
that component. CYQONX's live dashboard — the "Euler unit circle with
OU equilibrium bands" — is a direct visualisation of this idea: as
price moves through its cycle, a marker traces the unit circle, giving
an immediate, intuitive readout of cycle phase that would otherwise
require reading numerical phase values.
Angular Rotation
Angular rotation describes how the angle θ changes over time —
specifically, the angular velocity ω = dθ/dt, the rate at which a point
sweeps around the unit circle. In CYQONX, angular rotation turns a
static geometric picture — a point at some angle on the circle — into a
dynamic process: a market cycle unfolding over time.
A constant angular velocity corresponds to a perfectly regular cycle
— the same amount of "cyclical progress" every bar. A changing angular
velocity corresponds to a cycle that is speeding up or slowing down —
which CYQONX interprets as the market's rhythm itself accelerating,
e.g., as a session transitions from quiet Asian hours into volatile
London/New York overlap, or decelerating, e.g., as volatility
compresses ahead of a major announcement. Angular rotation is the
variable the Kuramoto synchronization engine operates on directly: when
multiple timeframes' phase variables rotate at angular velocities that
are simple integer-ratio multiples of each other — one rotates exactly
twice as fast as another — their phases tend to lock into a consistent
relationship, a state of synchronization CYQONX treats as a
higher-confidence market condition.
09
Harmonic Motion
The trigonometric functions of Chapter 8 assembled into the physical
model of simple harmonic motion (SHM) — the same mathematics that
describes a pendulum, a mass on a spring, or an LC electrical circuit.
Price oscillation around its equilibrium is modelled with the same
parameters that describe SHM.
Fig. 9.1 — Simple harmonic motion: amplitude, period, frequency, and phase as the four parameters of a single oscillation.
Oscillation
Oscillation is repeated back-and-forth motion around a central
reference point. CYQONX's foundational empirical claim is that price,
after removing trend, exhibits oscillation around a moving equilibrium
— it does not move monotonically, nor randomly without structure, but
tends to move away from and back toward a central value in a roughly
repeating pattern.
This is not an assertion that markets are perfectly periodic — they
are not — but rather that oscillatory behaviour is a useful and
statistically detectable component of price dynamics, alongside trend
and noise components. Recognising oscillation as a distinct component
is what justifies decomposing price into trend + cycle + noise, a
standard time-series technique, and it is the cycle component
specifically that the rest of Part III's mathematics — frequency,
period, amplitude, phase — is designed to characterise.
Frequency
Frequency measures how often an oscillation repeats per unit time —
in physics, typically Hertz; in CYQONX, cycles per bar, or equivalently
an angular frequency ω = 2πf radians per bar. Frequency is one of the
two outputs, alongside amplitude, that the Fourier engine extracts for
each component of a price series — the most direct quantitative answer
to "how long is this cycle?"
A high-frequency component corresponds to short, fast oscillations —
intrabar noise or very short-term rotations; a low-frequency component
corresponds to long, slow oscillations — a multi-week swing. CYQONX's
multi-timeframe architecture is, from a frequency perspective, the
observation that the "dominant frequency" identified on a higher
timeframe corresponds to a much lower frequency, in absolute terms,
than the dominant frequency on a lower timeframe of the same instrument
— and that these frequencies are often related by simple integer
ratios, the frequency-domain expression of the fractal/self-similarity
assumption from Chapter 4.
Period
Period is the time required for one complete oscillation, the
reciprocal of frequency: T = 1/f, or T = 2π/ω in angular terms. Where
frequency answers "how often," period answers "how long" — often the
more intuitive quantity for traders, who naturally think "this cycle
takes about 20 bars" rather than "this cycle has a frequency of 0.05
cycles per bar."
CYQONX maintains both representations because they serve different
purposes: frequency is additive and multiplicative in ways useful for
Fourier mathematics — frequencies of harmonics are integer multiples of
a fundamental frequency — while period is the natural unit for setting
lookback windows, e.g., "use a moving average with a window equal to
half the dominant period." A key practical use of period is adaptive
parameter selection: rather than using a fixed-length lookback window,
CYQONX can set windows as a function of the currently-measured dominant
period, so the same conceptual indicator automatically adjusts its
effective timeframe as the market's rhythm speeds up or slows down.
Amplitude
Amplitude is the maximum displacement of an oscillation from its
central reference value — in CYQONX, the typical size of price's swing
away from its equilibrium mean. Amplitude is the second key Fourier
output and corresponds directly to volatility: a high-amplitude
component represents large swings away from and back to the mean; a
low-amplitude component represents small swings.
CYQONX distinguishes the amplitude of the dominant cycle — the
largest-amplitude component, representing the "main" swing size the
market is currently exhibiting — from the total amplitude across all
components, related to overall volatility including higher-frequency
"noise" oscillations. The ratio of dominant-cycle amplitude to total
amplitude is itself informative: a high ratio means price action is
dominated by one clean, large oscillation, often associated with
clearer, more tradeable structure; a low ratio means price action is a
noisy mixture of many similarly-sized oscillations, often associated
with choppy, less structured conditions. Amplitude is also the variable
most directly connected to the energy concepts in later parts: in
physics, the energy of an oscillator is proportional to the square of
its amplitude, and CYQONX's volatility-energy engines use an analogous
relationship.
Phase
Phase, introduced geometrically in Chapter 7 as an angle, is given
its full dynamical meaning here: phase tells you exactly where, within
one complete oscillation cycle, the system currently is. Two
oscillations with the same frequency and amplitude but different phases
are "offset" versions of the same wave — one might be at its peak while
the other is at its midpoint.
CYQONX treats phase as arguably the single most important state
variable in the entire framework, because it answers "where is the
market in its cycle right now" in a single number. A phase near 0, or
2π, might correspond to a cycle trough — often the discount zone and
potential long setups; a phase near π might correspond to a cycle peak
— often the premium zone and potential short setups; phases near π/2
and 3π/2 correspond to the steepest parts of the cycle — often the
strongest momentum, in either direction. Critically, phase is computed
independently for each frequency component identified by the Fourier
engine, and independently for each timeframe — what makes
cross-timeframe phase synchronization a meaningful and non-trivial
quantity to compute.
10
Harmonic Systems
Real price series are never as simple as a single oscillation — they
are mixtures of many oscillations of different frequencies,
amplitudes, and phases, occurring simultaneously. Harmonic series,
resonance, composite waves, wave interaction, and harmonic structures
bridge to Chapter 11's Fourier framework.
Fig. 10.1 — A composite wave: multiple harmonic components of different frequencies and amplitudes sum into a single, more complex signal.
Harmonic Series
A harmonic series is a set of frequencies that are integer multiples
of a fundamental frequency: f, 2f, 3f, 4f, and so on. The fundamental
corresponds to the longest, most basic cycle, while higher harmonics —
2f, 3f, … — correspond to progressively shorter sub-cycles that fit an
integer number of times within the fundamental.
CYQONX looks for harmonic relationships across timeframes: if the
dominant cycle on the daily chart has period T, CYQONX checks whether
the dominant cycles on lower timeframes — 4-hour, 1-hour, 15-minute —
have periods approximately T/2, T/3, T/4, etc. When such relationships
are found, it provides quantitative support for the multi-timeframe,
fractal structure that classical technical analysis describes
qualitatively — "the daily trend is made up of 4-hour swings, which are
made up of 1-hour swings." When harmonic relationships are weak or
absent, it suggests the different timeframes are currently behaving
more independently — a market state where multi-timeframe confluence
signals are likely to be less reliable.
Resonance
Resonance occurs when a system is driven at, or near, one of its
natural frequencies, causing the amplitude of oscillation to grow
significantly larger than for driving at other frequencies. CYQONX uses
resonance as a metaphor — and, via the Kuramoto framework, as a formal
mechanism — for what happens when external "driving" factors — news
events, session opens, recurring institutional flows — align with the
market's own natural cyclical rhythm.
When a driving event occurs at a phase/frequency that aligns with
the market's current dominant cycle, CYQONX expects an amplified
response — a larger-than-typical move; when the same type of event
occurs out of alignment with the dominant cycle, the response tends to
be muted or quickly absorbed. This gives CYQONX a principled reason to
combine cycle-phase information with session/time-of-day information:
the same news release can have very different market impact depending
on whether it lands at a phase of the dominant cycle that is "resonant"
with the direction of the news, or not.
Composite Waves
A composite wave is the sum of two or more individual oscillations,
each with its own amplitude, frequency, and phase. Real price series
are, in CYQONX's framework, modelled as composite waves: the observed
price deviation from its moving equilibrium is treated as a sum of
several harmonic components — a longer-period "major cycle," a
medium-period "intermediate cycle," and a shorter-period "minor cycle"
— plus a residual noise term.
The shape of a composite wave can look quite different from any of
its individual components — multiple local peaks and troughs within
what looks like "one" larger swing, asymmetric shapes, or apparent
irregularity that is actually the deterministic result of several
regular components overlapping. CYQONX's Fourier engine is the tool for
going from the observed composite wave back to its individual
components — but Chapter 10's role is conceptual: to establish that
"the price chart" should be understood not as one signal, but as the
visible sum of several simultaneously-occurring cyclical processes plus
noise, each of which may be separately meaningful.
Wave Interaction
When two or more oscillations are summed, the result depends
critically on their relative phase. If two oscillations of similar
amplitude and frequency are in-phase — peaks and troughs align — they
combine constructively: the resulting amplitude is roughly the sum of
the individual amplitudes, producing a larger move. If they are
out-of-phase — one's peak aligns with the other's trough — they combine
destructively: the resulting amplitude is roughly the difference,
potentially nearly cancelling out and producing a "flat" or choppy
period.
CYQONX uses wave-interaction reasoning to explain a
commonly-observed phenomenon: periods where multiple timeframes' cycles
"line up" (constructive interference) tend to produce the largest,
cleanest directional moves, while periods where timeframes' cycles work
against each other (destructive interference) tend to produce choppy,
range-bound conditions even though each individual timeframe's cycle is
still "active." This is a more rigorous framing of the informal trading
concept of "multi-timeframe alignment" or "confluence" — alignment is
constructive interference between cyclical components, and its absence
is destructive interference, both measurable directly from the phase
relationships extracted by the Fourier engine.
Harmonic Structures
A harmonic structure is a recurring, recognisable pattern that
emerges from the interaction of a small number of harmonically-related
components. CYQONX uses this concept to connect its mathematical
framework back to classical chart patterns: many recognisable price
patterns — head-and-shoulders, double tops/bottoms, certain Elliott
Wave structures, certain harmonic-pattern ratios like AB=CD — can be
reproduced, at least approximately, by summing two or three harmonic
components with specific frequency and phase relationships.
This does not mean CYQONX claims these classical patterns are
"caused by" literal sine waves — rather, that the geometric
regularities classical analysts identified by eye are consistent with,
and can be quantitatively described by, a small number of harmonic
parameters. This gives CYQONX a path to translate a classical
pattern-based observation into a small set of (frequency, amplitude,
phase) numbers — fulfilling part of the unification goal stated in
Chapter 1's Research Objectives. Importantly, CYQONX treats this as a
descriptive correspondence, not a claim of deeper causal mechanism — the
causal story for why these harmonic relationships arise is addressed
separately, through the cybernetic/feedback framing of Chapter 2 and the
liquidity/order-flow engines introduced in later parts.
11
Fourier Framework
Closing Part III, and Volume 1 as a whole: the formal mathematical
tool that turns oscillation, harmonic series, and composite waves into
an algorithm. Given an observed price series, decompose it into its
constituent frequency components, each with a measured amplitude and
phase.
Fig. 11.1 — Fourier decomposition: a price series in the time domain transformed into a spectrum of frequency components, with the dominant cycle highlighted.
Frequency Decomposition
Frequency decomposition takes a signal expressed as a function of
time — a time-domain representation — and re-expresses it as a function
of frequency — a frequency-domain representation — via the Fourier
transform. The key mathematical fact: any sufficiently well-behaved
periodic, or finite-length, signal can be written as a sum of sine and
cosine waves of different frequencies, amplitudes, and phases — and the
Fourier transform computes exactly which frequencies are present and
with what amplitude/phase.
Applied to a detrended, appropriately scaled price series, frequency
decomposition answers the question: if I think of this price series as
a mixture of cycles of different lengths, what are those cycle lengths,
and how strong is each one? CYQONX requires the input to satisfy the
domain conditions from Chapter 5 — sufficiently long, evenly spaced, and
detrended — because violating these conditions causes "spectral
leakage," where energy from one true frequency appears smeared across
many output frequencies, which can create the appearance of cycles that
are actually just artefacts of the trend or of an inappropriately short
data window.
Wave Components
The output of frequency decomposition is a set of wave components,
each fully characterised by three numbers: a frequency, or equivalently
a period, an amplitude, and a phase. Each wave component answers: is
there a cycle of this particular length present in the data, and if so,
how strong is it and where in that cycle are we right now?
CYQONX typically retains only the components with the largest
amplitudes — components with negligible amplitude contribute little to
actual price behaviour and are often dominated by noise — commonly the
top 3 to 5 components are retained as the "meaningful" wave components
for further analysis. Each retained component becomes an input to
downstream engines: its phase feeds into phase-synchronization
analysis, its amplitude feeds into volatility/energy analysis, and its
frequency feeds into multi-timeframe harmonic-relationship analysis.
Wave components are the "output format" of the Fourier engine and the
"input format" for almost every cycle-aware engine elsewhere in
CYQONX.
Dominant Cycles
The dominant cycle — or dominant cycles, plural, if several are
tracked — is the wave component, or small set of components, with the
largest amplitude(s) among all components identified by frequency
decomposition. CYQONX treats the dominant cycle's period, phase, and
amplitude as primary state variables that feed directly into the Master
Equation.
Practically, identifying the dominant cycle answers the
trading-relevant question "what is the current rhythm of this market,
and where are we in it?" — the period tells you the relevant timeframe
to focus on, the phase tells you whether price is more likely to be
near a turning point or near maximum momentum, and the amplitude tells
you how large a move this cycle's completion might represent. CYQONX
explicitly tracks the dominant cycle over time, rather than computing it
once and assuming it stays fixed, because dominant cycles can and do
change — a market can transition from being dominated by a long, slow
cycle to being dominated by a short, fast one, or vice versa, and this
transition is itself meaningful information, often associated with a
regime change.
Multi-Frequency Systems
A multi-frequency system is the complete set of wave components
considered together, rather than focusing on any single dominant cycle.
CYQONX models the market as a multi-frequency system because reducing
everything to a single "dominant cycle" loses information about the
secondary and tertiary cycles also operating, and about how these
cycles interact.
Treating the price series as a multi-frequency system lets CYQONX
ask: are the top three components currently constructively interfering —
suggesting an imminent large move — or destructively interfering —
suggesting continued chop? Has the relative ranking of components
changed recently — suggesting a regime shift in which cycle length now
dominates? Are the multiple components' frequencies harmonically
related — suggesting a coherent fractal structure — or unrelated —
suggesting the market is currently behaving as several semi-independent
processes overlapping? The multi-frequency view is what allows CYQONX to
move beyond a single-number "cycle phase" summary toward a richer
characterisation of market state — and it is this richer
characterisation, combined across multiple engines, that ultimately
feeds the Master Equation.