←
Jordon Harrell · Quanticator401 posts
Jordon Harrell · Quanticator avatar

Jordon Harrell · Quanticator

@Quanticator

Verifying trading scripts and claimed backtests — mine included. Author, Trading as a System. Free: the 10 checks I run before I believe a backtest ↓

◷ Joined February 2021▧ 87 Photos and videos
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·6h

The cheapest check I run needs no arithmetic. Count the trade markers visible on the chart in a screenshot. Then read the trade count in the panel above it. If the panel says 300 and you can count forty, the numbers and the picture are not the same run.

Post attachment
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 17

A bar covers your stop and your target. Which filled? Pine's docs: the emulator decides by where the open sits. Nearer the high it walks open, high, low, close. Nearer the low, the other way. No gaps assumed inside the bar. Your engine called it. Re-run counting those as stops.

0:18
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 16

My system made no trades on its own settings. So I loosened it. BTCUSD 15m, Bitfinex, 31 Jan - 2 Sep 2026, 0.30%/side. Defaults: 0 trades. Min TFs 1: 5, PF 0.82. + Block counter-trend: 8, PF 0.37. + No volume filter: 18, PF 0.19. Every step added trades and made it worse.

0:16
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 15

The spread across those 45: 51% lower to 184% higher after 30 days, median +3.6%. The 95% interval on 24 of 45 is 39% to 67%. Also: 289 days met the rule, but they sit in 45 episodes. A dip backtest that counts days claims about 6x the sample it has. Statistics, not advice.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 15

Bitcoin is down 15% in 7 days. One camp says deep value. The other says get out. I counted every time it fell 14% or more in 7 days since 2011 (Bitstamp, daily closes): 45 earlier episodes. 30 days later it was higher 24 times, lower 21. The drop is not the information.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 14

A strategy wrapper of mine set commission_value = 0.0. Every backtest it ran was at zero cost, and the profit factors it printed were gross numbers in net clothes. Open Properties before you believe a result. Commission and slippage. Zero in both is arithmetic, not a business.

Post attachment
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 13

Ship log: 33 alerts from a screener I retired. Twelve won before costs. One won after. Bitfinex BTCUSD 1m, 2 to 7 September, median hold 36 min, 0.30% a side (Alpaca taker fee + 5 bps slip). Gross was flat. Net: minus $198.31. Costs were not a haircut. They were the result.

0:14
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

The whole check: payoff from the profit factor, breakeven from the payoff, expectancy from both, then the cost that zeroes it. Two minutes. If your round trip is near that number, you hold a fee schedule, not a strategy. That's one of ten. The rest are in my profile.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

This is why "stress-tested at double the costs" answers the wrong question. Double of what? Solve for the break-even cost instead, then put your own fills next to it. One number, no choices in it, nothing to argue about.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

If the average loss is 1% of price, the edge is 0.44% a trade. So any round trip above 0.44% zeroes it. That is the cost that kills it, and you have it without asking anyone. A 0.20% round trip leaves 0.24%: you keep a bit over half.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

Now expectancy, in units of one average loss: 0.45 x 2.2 - 0.55 = 0.44 Forty-four percent of an average loss, earned per trade. That single number is the whole edge, and it is what costs come out of.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

A payoff of 2.2 breaks even at a 31.25% win rate, and the strategy claims 45. breakeven = 1 / (1 + payoff) Fourteen points of clearance looks comfortable. It is the last comfortable thing here.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

Start with what a profit factor implies. A PF of 1.8 at a 45% win rate means the average winner is 2.2 times the average loser. payoff = PF x (1 - win rate) / win rate Nothing withheld is needed for that step.

Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

One number decides whether a backtest is a business, and almost no report prints it: the cost per trade at which the whole thing goes to zero. It takes four lines of arithmetic from numbers the report does print. Seven posts.

Post attachment
Jordon Harrell · Quanticator avatar
Jordon Harrell · Quanticator@Quanticator·Nov 12

Commission-free is not cost-free. The fee moved into the spread. Cross a five basis point spread both ways and you paid five basis points a round trip, with nothing in the commission field to show it. On an eight basis point gross edge you keep three. Ask for the spread.

0:12