Signals are read on the close and filled at the next bar's open, 10bps per side for fees and slippage. The equity curve, return and drawdown are built from those fills, so they include the fees. Single series, in-sample — treat as indicative, not as a promise.
A low win rate here is correct. This system pays through asymmetry, not hit rate. Tightening the trail raises the win rate and lowers the return — that is the trade Livermore spent the book warning about.
Paste CSV or TSV with a header row containing open, high, low and close. A date column is optional.
To wire this to live data, run livermore_api.py and point the page at
/api/read?symbol=…. One set of rules on this page draws the chart markers and runs the backtest, so the two cannot disagree about when a trade exits. The API, the MCP server and the Pine scripts are ports of the same rules.
The same logic as this page, as TradingView scripts: Livermore Pivotal Point plots the pivotal-point rules, indicator and strategy versions.