# TVA

Case study by Maciej Piernikowski · 2025 · https://pequ.dev/case-studies/tva/

- Scope: Research, Product Strategy, Quantitative Research, Agentic Engineering, Data Visualization
- Role: Founder, Product Architect
- Segment: Trading, Fintech, Artificial Intelligence

TVA is my research-first trading system on TradingView; I founded it in April 2025 and designed it as its product architect. It has 11 scripts on 3 shared libraries, a register of research verdicts and a bot that only paper-trades. Every idea is mine; AI agents test each one against the literature and the data, and most don't survive. The scripts win 65–70% of trades in paper trading; my bar for real money is 85%.

## Outcome

- 34 ideas tested: 22 dropped, 7 adapted, none taken as proposed
- 11 TradingView scripts on 3 libraries, checked by 19 test scripts
- 65–70% win rate in paper trading, against an 85% bar

## What I designed

- A research register that gives every idea a verdict
- Backtests and promotion rules fixed before the results
- 11 TradingView scripts on 3 versioned libraries
- An observation contract and a paper-only bot
- An agent setup shared by GitHub Copilot and Claude Code

## Challenges

- A compile ceiling, and no order books on the platform
- Backtests that flatter: costs, repainting, hypothetical fills
- Ideas arrive faster than they can be tested honestly

Technologies: Python 3, Pine Script 6

## Trade on evidence, not on conviction

I wanted to trade professionally, the way I design products: a hypothesis first, a baseline, and a drop when the data says so. Trading content is full of indicators that look right on the chart they were drawn on. My brief had three rules. Scripts report observations, not signals. Every idea gets a verdict before it costs code. The bot paper-trades until results clear a bar set in advance. The name, TradingView Authority, nods to the Time Variance Authority from the TVA series.

## Two scripts that read the market

*FIBS and RANGE, and the three libraries they stand on*

FIBS finds the market's swings. It joins confirmed highs and lows into legs and draws Fibonacci retracements on each. A pullback into the Golden Pocket, the 61.8–65% zone, becomes a setup with an entry, a stop and targets. Each setup runs as a hypothetical trade with costs and gap-aware exits. Its result is recorded in R, the gain or loss as a multiple of the risk. Entropy, the Hurst exponent and momentum describe the regime it was born in.

RANGE asks whether the market is trending or stuck in a range, and where the edges are. It draws ranges and their breaks, order blocks, fair-value gaps and the premium and discount halves of a range. Its model adjusts for the hour, the weekday and volatility, and projects a band and two candle paths, labelled research. In the bot, FIBS proposes and RANGE gives context; whether their agreement helps is for the opportunity ledger to show.

Three libraries sit underneath. Core holds the building blocks: rolling distributions, a confidence bound, a coverage backtest and the JSON output. Analytics holds the mathematics: the seasonal clock, entropy and Hurst estimators, variance and range models, moving-average kernels. Runtime connects the scripts to the world: data feeds, projections, tables and published observations.

Images:

- FIBS alone: Bitcoin daily chart for 2026 on black: grey ZigZag lines join the swing highs and lows, Fibonacci level lines fan out on the right, small tables run along the bottom. FIBS on the Bitcoin daily chart: confirmed ZigZag legs, the Fibonacci levels of the current leg and the readout tables, exported from TradingView in November 2026.
- RANGE alone: The same Bitcoin chart covered in shaded boxes: yellow ranges, red and green order blocks, three moving averages curving through the candles, a summary table at the top. RANGE on the same chart: ranges and their breaks, order blocks, premium and discount zones, the moving-average trend and its summary table.

## Observations, not signals

*The rule that shaped every script*

A chart indicator invites one reading: buy here. My rule is the opposite. Every output is an observation or a diagnostic, never a signal or a calibrated probability, in code comments, documents and alert text alike. Confirmed pivots use closed bars only, and a projection that may repaint is drawn faint and marked provisional.

A summary table is on, diagnostics stay off until asked for, and the learning records keep the losing trades and gap exits. A win rate always comes with its sample and its costs; the 65–70% above is read from these tables and depends on the settings under test.

Images:

- Research, labelled as research: Four columns of white and blue text on black, Range, Evaluation, Context and Projections, each a list of labels and values such as BROKEN\_DOWN and the note "not calibrated odds". RANGE's tables: range state, evaluation, context and projections. The path models carry their own warning: "research; not calibrated odds".

## One suite, three libraries, one contract

*Scripts own their state, libraries own the method, JSON owns the boundary*

Scripts own their state, libraries own the method. Analytics and Runtime import only Core, and no library imports a script. The libraries keep no colours or mutable state, so an update never changes how a chart looks. Every import is pinned by version and checked against a dependency inventory.

The boundary to the bot is a versioned JSON contract: confirmed-only packets within 3,800 bytes, with source clocks, a producer manifest and lifecycle states. Six examples and a startup replay execute it. It describes setups and hypothetical fills and never authorises an exchange order. A new library version gets a new deployment identity, so old and new observations never mix.

### From a chart to a paper intent

A setup on the chart travels as an observation, never as an order. It can be rejected at every step, with a reason on record, and the furthest it can go is a paper intent.

```mermaid
flowchart TB
  A[FIBS and RANGE on TradingView] --> B[Runtime publishes JSON]
  B --> C{Admission checks}
  C -->|Rejected| R[Reason recorded]
  C -->|Accepted| D[Journal and join]
  D --> E[First-seen context]
  E --> F[Review: accept, reject or abstain]
  F --> G[Risk checks]
  G --> H[Paper intent only]
```

## Working inside a platform's limits

*A compile ceiling, a plan choice and a strategy per script*

TradingView is the only compiler for Pine, and it compiles only so much. FIBS and RANGE reached that ceiling, so their features froze; new context reaches them through token-neutral library swaps or through the bot. COMBO takes the new liquidity, volume and derivatives data: funding, and open interest summed over Binance, Bybit and OKX. A hook reports the token change after every edit.

I chose the plan like a product decision. Premium, at €59.95 a month, pays for itself with volume footprints, bar detail for RANGE's fills, twice the history and enough alerts. Ultimate, at €199.95, solves no current problem. No plan gives Pine an order book or a trade tape, and I believe the road from 70% to 85% runs through that kind of data.

Images:

- COMBO in its own pane: A separate pane of teal bars above zero and red bars below it across 2026, a thin grey line weaving through them and a table in the bottom right corner. The distance of price from its 10-bar VWAP, coloured by persistence, with the composite line and the table of open interest, funding and feeds.
- TRSI alone: Bitcoin candles inside a green and red channel with a thick white regression line; below, an oscillator pane where red and green blocks mark the stretched zones. The mean of Wilder RSIs over many lengths, with its channel and a regression heatmap on the candles. Lines on price mark where it would reach its bounds.

## A research method that drops most ideas

*A literature gate, one procedure per idea and parallel sessions*

No method reaches the code without a literature check: the primary source, an independent evaluation and the decisive baseline, with missing evidence reported as a gap. Publication is not an edge. A peer-reviewed effect still has to survive this market, these costs and this data.

Every idea then runs one procedure. Identify the formula, from the vendor's published data or the screenshot's pixels. Record each series' history, gaps and publication lag. Test against the baseline, usually the price trend, on two halves of the sample with lag and costs, labelled in-sample. Check what it repeats from FIBS, RANGE and earlier ideas. The record ends with a verdict and a study script that reruns it.

Ideas arrive in batches, so several agent sessions research in one checkout. A helper claims each idea's number, scratch files stay per session, and commits go only through the helper. Each idea opens a GitHub issue at the claim and closes it with the verdict.

### The life of an idea

Every idea takes the same path, and the path ends in a verdict, not in code. Most of them end in Drop.

```mermaid
flowchart TB
  A[An idea: a chart, a link or a paper] --> B[Claim a number and an issue]
  B --> C[Literature check]
  C --> D[Identify the formula]
  D --> E[Test against the baseline]
  E --> F[Check the overlap]
  F --> G{Verdict}
  G -->|Adapt, Park or Drop| H[Record and study script]
  H --> I[Commit and close the issue]
```

## Backtests built to say no

*Champions and challengers, walk-forward folds and rules fixed in advance*

A parameter sweep finds the settings that fit the past, so I run bounded experiments. FIBS's pivot settings have a champion and named challengers, each answering one question. Every profile tried is counted, so the deflated Sharpe ratio knows the number of trials \[1\].

The cycle hypothesis shows the method. A cycle model ran walk-forward on 5 years of 4-hour Bitcoin and Ethereum data, with purged folds and a correction for 21 comparisons \[2\]. It lost out of sample on every series and horizon; at 42 bars, Bitcoin's incremental R² was −0.77%. It stayed research, and no cycle input went into Pine.

Two rules keep results honest. Hypothetical fills are not account fills: the opportunity replay scores every setup in one cohort and counts rejected winners and avoided losses. A fill that bar timing can't place after the decision stays unscored. And nothing is promoted because a win rate rises; the bar is set before the results are opened and never widened after a bad one.

Images:

- Every number with its sample: A readout table in four parts: Setup with entry, target and stop, Performance with 36 backtested trades, Evidence with the audit gates, Regime with entropy and volatility. FIBS's readouts on the Bitcoin daily chart: the setup, backtested and learning results net of costs, the evidence gates with PSR and DSR, and the regime.

## Two assistants, one rulebook

*Guides, skills, subagents and hooks: policy as configuration*

I don't build an agent framework. I configure two assistants, GitHub Copilot and Claude Code, on one shared guide. Rules for Pine, Python and documents attach by path, and skills hold the repeatable work, from checks to the literature gate. For Pine, a scout returns line-numbered findings and a reviewer checks every edit.

Rules that matter are hooks, not hopes. They block bare Python and piped downloads, ask before any guardrail edit, refuse whole reads of the largest scripts and report the Pine token change. TradingView access is read-only: alerts and watchlists change only when I ask.

In November I checked the setup against a source-code study of 11 coding agents \[3\]. It already matched: hierarchical context, path-scoped rules, skills before MCP, policy in hooks and no framework. Two rules that lived in prose became configuration, a git floor and a third-party code rule. Changing a guardrail stays my decision.

### How a Pine change gets made

No edit goes in blind and none goes out unreviewed. The agents work on cited line ranges, and the last word belongs to TradingView, the only compiler for Pine.

```mermaid
flowchart TB
  A[A change to Pine] --> B[Scout reports line ranges]
  B --> C[Edit the cited ranges]
  C --> D[Reviewer lists findings]
  D --> E[Fix the findings]
  E --> F{Checks pass?}
  F -->|No| C
  F -->|Yes| G[Commit]
  G --> H[Load and verify in TradingView]
```

## A bot borrowed from Acheron, cut down

*Three perspectives, three attack tests and a controller; paper intents only*

TVA started before Acheron and later took its whitepaper, version 15, as a source. The bot keeps three review perspectives, three adversarial tests, explicit uncertainty and separate release checks, written as functions and tests. The seven layers, the graph database and any agent framework stay out.

Its authority is fixed: no model controls position size, risk limits, account access or orders, and every intent it returns has execution switched off. A review of the existing code against that rule found three gaps, from a setup claim that could outlive a crash to account limits checked against stale snapshots. Each became a ticket.

The roadmap has 35 tickets in 3 milestones, from capturing every opportunity to bounded automation on one venue. Every policy is scored on the same cohort of opportunities, and model reviews run at equal budgets. If a model review doesn't pay for itself, the deterministic policy stays.

### Every policy on the same opportunities

A model review has to beat the simpler policies on equal terms before it earns its cost. Whichever policy wins, the bot stops at a paper intent.

```mermaid
flowchart TB
  A[FIBS opportunity observed] --> B[One cohort for every policy]
  B --> C[FIBS alone]
  B --> D[FIBS with RANGE]
  B --> E[Rules with context]
  B --> F[Model review, equal budget]
  C --> G[Risk checks]
  D --> G
  E --> G
  F --> G
  G --> H[Paper intent, execution off]
  H --> I[Scored on the same outcomes]
```

## Delivery, on the record

*Dated records, tickets, milestones and acceptance on the platform*

The repository runs like a client engagement with one stakeholder: 729 commits, 112 issues and 62 pull requests in 19 months, in milestones from FIBS to the bot. Records are dated and never edited in place; a correction is a new record that links its predecessor. Every research result names its inputs and hashes, so a rerun reproduces it.

Acceptance happens on the real platform. Local checks can't compile Pine, so each library change ships with smoke scripts that must plot 1 in TradingView, and the acceptance runbooks keep their screenshots.

Images:

- Acceptance in bar replay: The Bitcoin chart in bar replay with a faint Replay mark in the middle: ZigZag legs on the left, Fibonacci levels on the right, the candles ending in early October. FIBS alone in TradingView's bar replay, stopped on 1 October 2026: its legs, levels and tables as they stood that day, before the bars that followed.

## 26 audits of one script

*FIBS, taken apart before any research*

Before the research came hygiene. In December 2025, with FIBS at 5,591 lines, I took it through 5 audit tasks with the agents, then a set of inventories and ledgers. They are archived as provenance; the current code is measured against them.

### 26 audits

| Audit | Area | What it establishes |
| --- | --- | --- |
| Boolean audit | Booleans and gates | Pine v6 semantics and lazy evaluation, every boolean classified by risk |
| Signal gate tree | Booleans and gates | The canonical order in which gates are evaluated |
| Engine complexity profiles | Statistical engines | Inputs, outputs, state, gates and failure modes per engine |
| Formula conformance | Statistical engines | Implemented formulas checked against their mathematical forms |
| Stats hotspot map | Statistical engines | Every loop and heavy computation in the engines |
| Stats consolidation plan | Statistical engines | Shared intermediates, consolidated without changing behaviour |
| Array lifecycle audit | Arrays and buffers | Allocation, persistence and updates of every array |
| Boundedness proof | Arrays and buffers | Every rolling buffer has a hard cap, enforced on every update path |
| Buffer patterns guide | Arrays and buffers | The three canonical buffer patterns |
| Execution state canonicalisation | Learning and backtest engine | Deterministic learning, preview and backtest state |
| Intrabar resolver boundary | Learning and backtest engine | Where bar data stops telling the order of fills |
| State machine audit | Learning and backtest engine | The setup and trade lifecycles |
| Object ledger | Rendering | The budget for lines, labels and polylines |
| Rendering cadence audit | Rendering | When objects are drawn and redrawn |
| Rendering GC verification | Rendering | Manual clean-up of chart objects |
| Codebase index | Inventories and ledgers | The map of the script |
| Dependency flow map | Inventories and ledgers | How data moves between subsystems |
| Functional matrix | Inventories and ledgers | Every subsystem and what it does |
| Input inventory | Inventories and ledgers | The 258 inputs of FIBS 2.8 |
| Input-to-subsystem map | Inventories and ledgers | Which input drives which subsystem |
| Budget model and gates | Inventories and ledgers | The compute budget and its gates |
| Hard limits ledger | Inventories and ledgers | Every platform limit the script touches |
| Repaint integrity audit | Inventories and ledgers | What may change after a bar closes, and what may not |
| Request context ledger | Inventories and ledgers | Every data request and its context |
| Runtime settings audit | Inventories and ledgers | Settings that change behaviour while running |
| Type and state safety audit | Inventories and ledgers | Types and persistent state, checked for misuse |

## The model I won't let trade

*Why a language model never touches the order*

The fashionable build in 2026 was an AI agent that reads the chart and trades. Two ideas in the register were exactly that: a skills repository with a crypto regime score, and an indicator that packages every candle as JSON for an agent. Both were dropped. Their scores restated trend and momentum, and the setups didn't survive costs. A model that sounds sure is not evidence.

So the models in TVA review and explain; they don't size, authorise or send. The road to live money runs the other way. First, more data than the chart can show. Then a win rate from 65–70% up to 85%, on rules fixed in advance. Only then capital, on one venue, with bounded automation.

## Research register and references

*Every idea by name, verdict, reason and paper*

Every idea in the register is mine; an agent evaluated each one by the same procedure, and the verdicts stand as recorded. The ideas are listed in the order they arrived, the method studies after them. Where a record cites a paper, its number links to the references below.

### 34 ideas

| Idea | Verdict | Why | Paper |
| --- | --- | --- | --- |
| MVRV ratio momentum | Parked | It moves almost in lockstep with drawdown and with price against its 200-day average | \[4\] |
| Short-term holder MVRV bands | Dropped | Its gap correlates 0.94–0.97 with RANGE's price against its 200-day average | \[5\] |
| Bear-market floor price models | Dropped | Three of its four bases are already covered, and the fourth isn't in TradingView | \[6\] |
| Short-term holder SOPR | Dropped | It restates the holder cost-basis gap, and the chart's readings failed in both halves of the data | \[7\] |
| Long-term holder supply in loss | Parked | Optional Bitcoin holder-stress context | \[5\] |
| The Mayer Multiple | Dropped | It is RANGE's 200-day average again, and its thresholds lost to buy-and-hold | \[8\] |
| Tactical Bull-Bear Sentiment Index | Parked | Its inputs must be established first | \[9\] |
| Bitcoin Fear & Greed score | Adapted | Attributed context for the bot, not another vote in the composite | \[10\] |
| Bitcoin repetition fractal cycle | Dropped | Its projected cycle windows and phase labels included | \[11\] |
| Narrative into time pivots | Dropped | A random walk hits such pivots 56–70% of the time, and the labels were drawn after the outcomes | \[12\] |
| Realised price quantiles | Dropped | It is the MVRV level again, on a full-sample percentile scale | \[13\] |
| Liquidation map | Parked | An experimental estimate implied by open interest | \[14\] |
| CME weekly wedges and projected path | Dropped | One precedent per pattern, a hand-stretched projection and a target that depends on the chart's axis | \[15\] |
| CryptoQuant Bull-Bear Market Cycle Indicator | Dropped | It is MVRV momentum from a paid composite | \[16\] |
| High-frequency oscillator, 1 second to 1 minute | Adapted | A descriptive pressure diagnostic | \[17\] |
| Whale Alert transfers against price | Parked | Bot context, since TradingView has no feed for it | \[18\] |
| Cross-asset context: equities, volatility, dollar, rates, metals and oil | Adapted | One Bitcoin–Nasdaq coupling row with the VIX, while macro markets were dropped as directional inputs | \[19\] |
| MVRV pricing bands | Dropped | It is the MVRV level again, on expanding-statistics bands |  |
| 10-year government bond yields | Dropped | The hourly link is the equity coupling already kept | \[20\] |
| Velo's aggregated open interest and spot/perpetual CVD | Adapted | Descriptive definitions only, and the confluence reading was dropped | \[21\] |
| Dynamic moving-average ratios with Smart DCA | Dropped | The price trend is already in RANGE | \[22\] |
| Alphractal's short-term holder unrealised loss | Dropped | It is close to the holder cost-basis gap already dropped | \[23\] |
| Velo's open-interest divergence, funding and liquidations | Adapted | Funding and open-interest change became volatility and leverage-cost rows, and the divergence was dropped as a direction | \[24\] |
| MACD with cycle-based variants | Dropped | It is weighted momentum, already in three of the scripts | \[25\] |
| Flow VWAP with option strike levels | Dropped | Not for the composite, and the strike context is parked for the bot | \[26\] |
| LiquidityMapperFast, an open-source order-flow workbench | Adapted | Its liquidation rows and threshold rule went into the leverage strip |  |
| Wasserstein k-means clustering of market regimes | Dropped | With two clusters it is a stricter volatility split that RANGE already covers | \[27\] |
| Single-EMA trend following and the Grebenkov–Serror Sharpe formula | Dropped | The formula doesn't fit one crypto asset, and the signal restates the trend | \[28\] |
| The claude-trading-skills repository | Dropped | Its regime score restates the trend, and its drawdown circuit breaker is parked for the bot |  |
| AI Agent Lens, candles packaged as JSON for an AI agent | Dropped | Its scores restate trend and momentum, and its setups don't survive costs |  |
| Kronos, a foundation model for candlestick data | Dropped | No return information, volatility forecasts at a quarter of the realised, and no way to run it in Pine | \[29\] |
| 151 Trading Strategies, the crypto subset | Adapted | Implied volatility became a candidate input, and the neural network and sentiment model were dropped | \[30\] |
| Optimal trading of microstructure mean reversion | Dropped | It works in seconds, too fast for the indicators, so it became an execution note for the bot | \[31\] |
| Time series momentum | Dropped | The 12-month form doesn't fit crypto, and a 4-week form is parked until a pre-registered walk-forward | \[32\] |

### 7 method studies

| Study | Outcome | Paper |
| --- | --- | --- |
| FIBS pivot tuning | Champion kept, one challenger to test | \[1\] |
| Cycle timing, proposal and proof of concept | Rejected out of sample | \[2\] |
| FIBS and RANGE paired opportunity ledger | Method built, waiting for real data |  |
| RANGE moving-average profiles | Adopted as starting profiles, not optimal parameters | \[33\] |
| RANGE seasonality on a New York clock | Adopted: 30% better volatility forecasts out of sample on Bitcoin 1-hour |  |
| Swoosh candle path scenarios | Implemented as research observations |  |
| VWAP delta identification | Formula identified; it became COMBO |  |

### References

1. D. H. Bailey and M. López de Prado, "The deflated Sharpe ratio: correcting for selection bias, backtest overfitting and non-normality," The Journal of Portfolio Management, vol. 40, no. 5, pp. 94–107, 2014. [DOI](https://doi.org/10.3905/jpm.2014.40.5.094)
2. T. E. Clark and K. D. West, "Approximately normal tests for equal predictive accuracy in nested models," Journal of Econometrics, vol. 138, no. 1, pp. 291–311, 2007. [DOI](https://doi.org/10.1016/j.jeconom.2006.05.023)
3. P. Barbaste, T. Darrigol, G. Vu and T. Wiltberger, "Harness engineering: anatomy, architecture, and evolution of coding agents. A source-code study of eleven systems," arXiv:2609.00006, 2026. [arXiv](https://arxiv.org/abs/2609.00006)
4. Y. Liu and A. Tsyvinski, "Risks and returns of cryptocurrency," The Review of Financial Studies, vol. 34, no. 6, pp. 2689–2727, 2021. [DOI](https://doi.org/10.1093/rfs/hhaa113)
5. M. Grinblatt and B. Han, "Prospect theory, mental accounting, and momentum," Journal of Financial Economics, vol. 78, no. 2, pp. 311–339, 2005. [DOI](https://doi.org/10.1016/j.jfineco.2004.10.006)
6. R. Sullivan, A. Timmermann and H. White, "Data-snooping, technical trading rule performance, and the bootstrap," The Journal of Finance, vol. 54, no. 5, pp. 1647–1691, 1999. [DOI](https://doi.org/10.1111/0022-1082.00163)
7. J. E. Schatzmann and B. Haslhofer, "Exploring investor behavior in Bitcoin: a study of the disposition effect," Digital Finance, vol. 5, no. 3–4, pp. 581–612, 2023. [DOI](https://doi.org/10.1007/s42521-023-00086-w)
8. A. Detzel, H. Liu, J. Strauss, G. Zhou and Y. Zhu, "Learning and predictability via technical analysis: evidence from bitcoin and stocks with hard-to-value fundamentals," Financial Management, vol. 50, no. 1, pp. 107–137, 2021. [DOI](https://doi.org/10.1111/fima.12310)
9. M. Baker and J. Wurgler, "Investor sentiment and the cross-section of stock returns," The Journal of Finance, vol. 61, no. 4, pp. 1645–1680, 2006. [DOI](https://doi.org/10.1111/j.1540-6261.2006.00885.x)
10. A. Szeberényi and M. Kovács, "Fear, greed and bitcoin return distributions: evidence from digital asset market states," Digital Finance, vol. 8, no. 3, 2026. [DOI](https://doi.org/10.1007/s42521-026-00218-y)
11. J. Fabus, I. Kremenova, N. Stalmasekova and T. Kvasnicova-Galovicova, "An empirical examination of Bitcoin's halving effects," Journal of Risk and Financial Management, vol. 17, no. 6, art. 229, 2024. [DOI](https://doi.org/10.3390/jrfm17060229)
12. A. W. Lo, H. Mamaysky and J. Wang, "Foundations of technical analysis: computational algorithms, statistical inference, and empirical implementation," The Journal of Finance, vol. 55, no. 4, pp. 1705–1765, 2000. [DOI](https://doi.org/10.1111/0022-1082.00265)
13. V. Chernozhukov, I. Fernández-Val and A. Galichon, "Quantile and probability curves without crossing," Econometrica, vol. 78, no. 3, pp. 1093–1125, 2010. [DOI](https://doi.org/10.3982/ECTA7880)
14. M. K. Brunnermeier and L. H. Pedersen, "Market liquidity and funding liquidity," The Review of Financial Studies, vol. 22, no. 6, pp. 2201–2238, 2009. [DOI](https://doi.org/10.1093/rfs/hhn098)
15. R. Hudson and A. Urquhart, "Technical trading and cryptocurrencies," Annals of Operations Research, vol. 297, pp. 191–220, 2021. [DOI](https://doi.org/10.1007/s10479-019-03357-1)
16. A. R. Pagan and K. A. Sossounov, "A simple framework for analysing bull and bear markets," Journal of Applied Econometrics, vol. 18, no. 1, pp. 23–46, 2003. [DOI](https://doi.org/10.1002/jae.664)
17. T. G. Andersen and O. Bondarenko, "VPIN and the flash crash," Journal of Financial Markets, vol. 17, pp. 1–46, 2014. [DOI](https://doi.org/10.1016/j.finmar.2013.05.005)
18. S. Meiklejohn et al., "A fistful of bitcoins: characterizing payments among men with no names," in Proc. 2013 Internet Measurement Conference, pp. 127–140, 2013. [DOI](https://doi.org/10.1145/2504730.2504747)
19. T. Iyer, "Cryptic connections: spillovers between crypto and equity markets," IMF Global Financial Stability Note 2022/001, 2022. [DOI](https://doi.org/10.5089/9781616358068.065)
20. A. H. Elsayed and R. M. Sousa, "International monetary policy and cryptocurrency markets: dynamic and spillover effects," The European Journal of Finance, vol. 30, no. 16, pp. 1855–1875, 2024. [DOI](https://doi.org/10.1080/1351847x.2022.2068375)
21. R. Cont, A. Kukanov and S. Stoikov, "The price impact of order book events," Journal of Financial Econometrics, vol. 12, no. 1, pp. 47–88, 2014. [DOI](https://doi.org/10.1093/jjfinec/nbt003)
22. W. Brock, J. Lakonishok and B. LeBaron, "Simple technical trading rules and the stochastic properties of stock returns," The Journal of Finance, vol. 47, no. 5, pp. 1731–1764, 1992. [DOI](https://doi.org/10.1111/j.1540-6261.1992.tb04681.x)
23. I. Ben-David and D. Hirshleifer, "Are investors really reluctant to realize their losses? Trading responses to past returns and the disposition effect," The Review of Financial Studies, vol. 25, no. 8, pp. 2485–2532, 2012. [DOI](https://doi.org/10.1093/rfs/hhs077)
24. H. Hong and M. Yogo, "What does futures market interest tell us about the macroeconomy and asset prices?," Journal of Financial Economics, vol. 105, no. 3, pp. 473–490, 2012. [DOI](https://doi.org/10.1016/j.jfineco.2012.04.005)
25. T. T.-L. Chong, W.-K. Ng and V. K.-S. Liew, "Revisiting the performance of MACD and RSI oscillators," Journal of Risk and Financial Management, vol. 7, no. 1, pp. 1–12, 2014. [DOI](https://doi.org/10.3390/jrfm7010001)
26. M. Avellaneda and M. D. Lipkin, "A market-induced mechanism for stock pinning," Quantitative Finance, vol. 3, no. 6, pp. 417–425, 2003. [DOI](https://doi.org/10.1088/1469-7688/3/6/301)
27. B. Horvath, Z. Issa and A. Muguruza, "Clustering market regimes using the Wasserstein distance," arXiv:2110.11848, 2021. [arXiv](https://arxiv.org/abs/2110.11848)
28. D. S. Grebenkov and J. Serror, "Following a trend with an exponential moving average: analytical results for a Gaussian model," Physica A, vol. 394, pp. 288–303, 2014. [arXiv](https://arxiv.org/abs/1308.5658)
29. Y. Shi et al., "Kronos: a foundation model for the language of financial markets," arXiv:2508.02739, 2025. [arXiv](https://arxiv.org/abs/2508.02739)
30. Z. Kakushadze and J. A. Serur, "151 Trading Strategies," arXiv:1912.04492, 2019. [arXiv](https://arxiv.org/abs/1912.04492)
31. L. Rabechini Amaral, "Optimal trading of microstructure mean reversion," arXiv:2608.00885, 2026. [arXiv](https://arxiv.org/abs/2608.00885)
32. T. J. Moskowitz, Y. H. Ooi and L. H. Pedersen, "Time series momentum," Journal of Financial Economics, vol. 104, no. 2, pp. 228–250, 2012. [DOI](https://doi.org/10.1016/j.jfineco.2011.11.003)
33. N. Deprez and M. Frömmel, "Are simple technical trading rules profitable in bitcoin markets?," International Review of Economics & Finance, vol. 93, pp. 858–874, 2024. [DOI](https://doi.org/10.1016/j.iref.2024.05.003)
