{"schemaVersion":"1.0","type":"BacktestEvidence","id":"https://formiq.jp/evidence/pin-bar-settings/data.json","evidencePage":"https://formiq.jp/evidence/pin-bar-settings","language":"en","article":{"title":"Is the Pin Bar Profitable? 252 Backtests on USD/JPY","url":"https://formiq.jp/blog/pin-bar-settings","published":"2026-09-10","updated":"2026-09-10"},"author":{"name":"Yuichi Saiki","alternateName":"斉木勇一","url":"https://formiq.jp/about/yuichi-saiki"},"verified":"2026-09-10","question":"What wick-to-body ratio makes a pin bar, and is the body the right thing to measure against?","finding":"Moving the ratio changed almost nothing. At the default of 2, between 27.57% and 30.38% of all bars qualify. Across the seven steps from 1 to 5 the hourly chart lands between 51.40% and 51.72% in 2024 and falls from 50.83% to 50.00% in 2025, while the candidates drop from 2,898 to 806. Measuring the wick against the bar's range instead, a threshold of 70% beat the base rate in five cells of six (hourly +3.01 and +2.23, 4-hour +6.44 and +1.92). The default wick-to-body ratio of 2 beat it in four, by 0.83 to 4.18 points.","methodology":"The detection code is a rewrite of the backtester's own test, checked to match the engine's counts and rates in all twelve cells at the default ratio before anything was counted. The control is every bar of the same window, with the up-rate and down-rate blended to each group's own mix of long and short signals. Trades enter at the close and exit either on an opposite pin bar or after ten bars, at a fixed 0.3 pip spread, 0.1 lots and no slippage. 7 ratios x 2 exits plus one spread-free pass x 3 timeframes x 4 windows = 252 runs. Every figure is checked in research/pin-bar-verify.run.ts.","scope":["Instrument: USD/JPY","Period: 2024-01-01 to 2024-12-31 and 2025-01-01 to 2025-12-31","Timeframes: 15-minute, 1-hour, 4-hour","Wick ratios: 1, 1.5, 2, 2.5, 3, 4, 5"],"keyResults":[{"label":"Share of bars qualifying at the default ratio of 2","value":"27.57 to 30.38%"},{"label":"Effect of raising the ratio from 1 to 5","value":"Hourly 2024 stays in 51.40-51.72%; 2025 falls 50.83% to 50.00%. Candidates drop 2,898 to 806"},{"label":"Wick at 70% of the range or more","value":"Beat the base rate in 5 of 6 cells (hourly +3.01/+2.23, 4-hour +6.44/+1.92)"},{"label":"How much the two measures disagree","value":"Hourly 2025: 1,757 bars by ratio, 1,971 by a half-range wick, 1,506 by both"},{"label":"Bars excluded for having no body","value":"0.13 to 0.42%, with wicks taking 58.65 to 80.26% of their range"},{"label":"Relation to the hammer","value":"306 of the 937 long pin bars (32.66%) on the hourly chart in 2025; 50.69% against 54.58%"},{"label":"Profitable in both years, exiting on an opposite pin bar","value":"3 of 7 hourly, 6 of 7 on the 4-hour, 0 of 7 on the 15-minute"}],"limitations":["One pair over two years.","Fills are at the close with a fixed spread and no slippage, so live results will differ.","The wick-as-a-share-of-range measure is counted here; the backtester has no such condition.","Bars whose two wicks are exactly equal point in no direction and are excluded."]}