Independent market intelligence
Research over noise · Risk before return
FOREX STRATEGY RESEARCH

EUR/JPY H4 CCI zero-line strategy: testing a Parabolic SAR trail

We test a Parabolic SAR stop prepared from completed candles on CCI20 zero-line entries within an established SAR state. For 2020–2025, base-cost returns are +5.55% with the trail and +7.83% without it. The trail also has deeper H4-close drawdown, both later-period accounts lose money, and higher modeled costs turn the full-period trail result negative. This sample does not show an improvement from tightening. CCI and SAR describe the same historical Bid prices; their agreement alone is not independent confirmation.

In simple terms

Under these rules, we buy when CCI moves from zero or below to above zero while SAR remains up across both completed H4 candles. We sell short for the opposite crossing while SAR remains down. We enter only at the exact next scheduled opening if an original minute quote exists. Both variants begin with fixed ATR protection. The main variant can tighten that protection from the entry candle completion onward, using next SAR already known then. A stop, opposite completed SAR state, time limit, Friday cutoff or account boundary can close the trade.

On this page
01

Read the full comparison before judging the trail

With the SAR trail, the base-cost account returns +5.55% over 2020–2025, with 5.91% H4-close drawdown, 207 completed trades and net profit factor 1.13. Without subsequent tightening, the corresponding figures are +7.83%, 4.89%, 207 trades and 1.19. Early-period returns are +6.16% and +8.11%; later-period returns are −0.85% and −0.53%. The trail earns less and has deeper H4-close drawdown in every base-cost period. Its higher-cost full-period result is −0.58%. These separately rerun historical accounts do not support an improvement from this trail under the declared rules; they do not prove that every other SAR implementation must behave the same way.

With the prior-information SAR trail

Net winners
94
Net losers
113
Exact-zero net trades
0
Long trades
101
Short trades
106
02

Change the protective trail while keeping the entry rules fixed

Both variants use the same CCI crossing, established SAR state, source availability, warm-up, initial ATR stop, sizing formula, opposite-state exit and deadlines. The primary alone allows later SAR tightening; the control leaves its initial protection fixed. Each variant starts independently with 1,000,000 JPY. A tighter stop can change exit time and leave the account available for a later signal, so filled trade lists and quantities need not match. An account-return difference is not the isolated causal sum of individual stop changes. CCI and SAR share OHLC inputs rather than separate information sources.

03

Calculate CCI around the current window mean

CCI20 uses typical price, the average of the observed Bid high, low and close. Find the mean of the current 20 observations, then average their absolute deviations from that same current mean. Divide the current deviation by the product of 0.015 and that mean absolute deviation. A zero denominator makes CCI unavailable; do not replace it with zero or a previous reading. Original price integers and exact rational comparisons decide the crossing before display rounding. A displayed 0.00 can conceal a small value on either side. This entry does not use a CCI 100 threshold, divergence or overbought reversal.

TP_t = (H_t + L_t + C_t) / 3
meanTP_t = sum(TP_i) / 20
MAD_t = sum(|TP_i − meanTP_t|) / 20
CCI20_t = (TP_t − meanTP_t) / (0.015 × MAD_t)

04

Distinguish an incoming test, a current dot and next SAR

Parabolic SAR carries direction, the highest high in an up state or lowest low in a down state, and an acceleration factor. Our declared variant starts the factor at 0.02, increases it by 0.02 after a strict new directional extreme, and caps it at 0.20. Equality with the incoming reversal test changes direction; equality with the extreme point does not increase acceleration. The completed current dot describes the candle just examined. Next SAR is the projection prepared at that completion, limited by the relevant current and previous extremes. It can inform following protection; neither a reversal dot nor a later candle extreme is an earlier executable stop. The first observed candle has no SAR output; the second uses the declared high/low seed and a special first-iteration clamp. These initialization choices are fixed in the protocol; the study does not claim identical dots across every trading platform.

rawNext_t = SAR_t + AF_t × (EP_t − SAR_t)
nextSAR_up = min(rawNext_t, L_(t−1), L_t)
nextSAR_down = max(rawNext_t, H_(t−1), H_t)

05

Wait for a zero crossing within an established state

For a long entry, previous CCI must be at or below zero, current CCI strictly above zero, and both completed SAR states up. For a short, previous CCI must be at or above zero, current CCI strictly below zero, and both states down. Current zero fails; a fresh SAR flip cannot trigger this entry. The two crossing candles must be adjacent scheduled H4 buckets with complete minute coverage. When flat after the completed-candle events, request only the exact next H4 opening inside the weekly session from Sunday 17:00 inclusive to Friday 17:00 exclusive in New York, with daylight-saving changes. A missing quote or failed entry condition cancels the request permanently; no entry is stored for a future reversal.

d = +1: CCI_(t−1) ≤ 0 < CCI_t; state_(t−1) = state_t = +1
d = −1: CCI_(t−1) ≥ 0 > CCI_t; state_(t−1) = state_t = −1

06

Activate protection only after the information exists

Both variants start with a stop 2 signal ATR14 from the modeled entry fill. Reject the entire entry if protection is nonpositive or already touched or breached by its known exit-side opening quote. The primary may tighten only after the entry H4 completes, while SAR still agrees and no liquidation is due. Long protection takes the higher of its old Bid stop and next SAR; short protection takes the lower of its old Ask stop and next SAR plus scenario spread. Never loosen. That new stop applies to following minute paths, including the next opening. Once an opposite-state exit is queued, no new tightening is allowed.

S0 = E − d × 2 × ATR14_signal
SL_next,long = max(SL_old, nextSAR_t)
SL_next,short = min(SL_old, nextSAR_t + spread)
SL_bid,short = SL_executable,short − spread

07

Keep partial history without inventing complete candles

We verify seven original annual EUR/JPY M1 Bid archives for 2019–2025 and retain warm-up history from June 2019. Source time uses fixed EST, UTC−5, without daylight-saving changes; adding five hours gives UTC. H4 aggregates use actual minute rows. A full bucket has all 240 expected minutes; partial observed buckets remain in indicator history. Entry needs 100 observed buckets, not 100 consecutive full buckets. ATR14 averages the first 14 true ranges, then combines 13 parts prior ATR with one current range, divided by 14. Indicators carry across calendar gaps without fabricated rows or resets, while both entry crossing candles must still be full and adjacent.

TR_t = max(H_t−L_t, |H_t−C_(t−1)|, |L_t−C_(t−1)|)
ATR14_t = (13 × ATR14_(t−1) + TR_t) / 14

08

Size a JPY contract and freeze its initial risk

Planned risk is 1% of flat JPY cash immediately before entry commission. Per-EUR stop loss includes the exact initial stop distance, adverse exit slippage and both commissions. Quantity is the smaller of risk-budget quantity and the quantity permitted by the one-times notional cap including entry commission. Freeze that quantity and initial monetary R denominator; later tightening never resizes either. This is a hypothetical contractual JPY ledger: debit entry commission and accrued carry, then realize the directional price difference at exit. Do not pay for an actual EUR purchase or treat short proceeds as free cash. Gaps and carry can exceed planned risk; historical margin and stop-out rules are not reconstructed.

L_unit = 2 × ATR14_signal + slip + 2 × commission
q = min[0.01 × B_pre / L_unit, B_pre / (|E| + commission)]
R_net = P_net / (q × L_unit)

B_pre: Flat available JPY cash immediately before entry commission · E: Modeled entry fill · JPY per EUR · L_unit: Frozen planned loss per EUR · JPY · q: Contract quantity · EUR · commission: Commission per EUR per leg · JPY · slip: Adverse slippage per leg · JPY per EUR · R_net: Net result · R

09

Convert every modeled cost into the correct units

One pip is 0.01 JPY per EUR. Base assumptions are a 2-pip spread, 0.2-pip adverse slippage per leg, 500 JPY commission per 100000 EUR per leg, and 0.5-pip carry per rollover unit. Higher costs are 4 pips, 0.4 pip, 1000 JPY and 1 pip respectively; the zero-cost scenario removes all four. Trail-account full-period returns are +12.66%, +5.55% and −0.58%; the higher-cost later result is −3.27%. Monday–Friday rollover uses 17:00 New York with daylight saving, independently of fixed-EST source time; Wednesday counts three units. Carry can accrue without a quote while an exit waits. Displayed cost totals are already included, not another deduction.

E_long = O_bid + spread + slip; E_short = O_bid − slip
X = X_ref − d × slip
P_net = d × q × (X − E) − 2 × q × commission − q × carry × U

X_ref: Declared executable exit-quote reference · JPY per EUR · X: Modeled exit fill · JPY per EUR · E: Modeled entry fill · JPY per EUR · d: Direction sign: +1 long; −1 short · commission: Commission per EUR per leg · JPY · slip: Adverse slippage per leg · JPY per EUR · carry: Carry debit per EUR per rollover unit · JPY · U: Counted rollover units · P_net: Net P&L · JPY

Full-period sensitivity to modeled costs

With the prior-information SAR trailWithout subsequent SAR tightening
Full-period sensitivity to modeled costs0.00%No modeled costs+12.66%+15.42%Base costs+5.55%+7.83%Higher costs−0.58%+1.57%
Modeled costs already included in net results · full period
Account / periodNet return · %Entry and exit commissions · JPYModeled carry debits · JPYEmbedded spread cost · JPYEmbedded adverse slippage · JPYGross filled turnover · JPYFilled turnover / initial capital · multiples
With the prior-information SAR trail · No modeled costs+12.660.000.000.000.00438,267,141.56438.27
Without subsequent SAR tightening · No modeled costs+15.420.000.000.000.00444,727,770.32444.73
With the prior-information SAR trail · Base costs+5.5514,838.2913,996.4329,676.585,935.32425,146,767.01425.15
Without subsequent SAR tightening · Base costs+7.8315,029.8114,537.2630,059.626,011.92431,021,503.12431.02
With the prior-information SAR trail · Higher costs−0.5828,770.5726,898.7657,541.1311,508.23411,272,697.65411.27
Without subsequent SAR tightening · Higher costs+1.5729,115.3427,918.9858,230.6811,646.14416,602,407.40416.60
Every bar is a complete independently funded full-period rerun. Spread and adverse slippage already enter fills; commissions and carry already enter the net ledger. Displayed cost totals are diagnostics, not another deduction. These are modeling scenarios, not reconstructed historical brokerage terms.
10

Mark a hypothetical liquidation value at H4 closes

For a held contract, equity is pre-entry cash plus the directional gain or loss from a hypothetical exit after spread, slippage, both commissions and accrued carry. It is not cash from a sale already completed. Mark each observed H4 at nominal completion after any permitted preceding-minute close exit, before same-clock opening events and rollover debit. Drawdown uses every H4 mark and a running peak that starts at initial cash; plotted curves use supplied daily marks. Neither measure recovers tick or intraminute extrema. Observed-H4 occupancy includes a bucket opening exit and is not elapsed-time or capital-weighted exposure. Prices are JPY per EUR; account results are JPY.

Separate base-cost account paths with and without the SAR trail

With the prior-information SAR trailWithout subsequent SAR tighteningCash reference · no interest
Separate base-cost account paths with and without the SAR trail952,966998,4621,043,9571,089,4531,134,948JPY2020202120222023202420252026
Independent base-cost accounts begin with 1,000,000 JPY. Curves use the last supplied H4 mark per UTC day; drawdown metrics use every H4 mark. The flat cash reference earns no interest. This contractual FX model has no invented leveraged buy-and-hold benchmark.
11

Restart each historical account independently

The full period is 2020–2025; early and later periods are 2020–2022 and 2023–2025. Each begins flat with 1,000,000 JPY while retaining eligible preperiod indicator history. A valid preceding signal may enter exactly at the start. No opening or OHLC from a minute at or beyond the end is borrowed; the last available in-period close supplies the disclosed terminal exit if needed. The comparison contains 18 strategy accounts across two exit variants, three cost assumptions and three periods, plus zero-interest cash references. These already reused historical spans are retrospective evaluations, not prospectively unseen tests or independent repetitions.

All strategy accounts and cash references
Account / periodNet return · %H4-close drawdown · %Closed tradesNet profit factorMean net result · RObserved-H4 occupancy · %
With the prior-information SAR trail · Base costs · 2020–2025 · full+5.555.912071.13+0.05117.00
With the prior-information SAR trail · No modeled costs · 2020–2025 · full+12.664.902061.32+0.11017.01
With the prior-information SAR trail · Higher costs · 2020–2025 · full−0.586.912070.99−0.00116.96
Without subsequent SAR tightening · Base costs · 2020–2025 · full+7.834.892071.19+0.06218.08
Without subsequent SAR tightening · No modeled costs · 2020–2025 · full+15.424.342061.40+0.12418.10
Without subsequent SAR tightening · Higher costs · 2020–2025 · full+1.575.842071.04+0.01018.03
Cash reference · no interest · 2020–2025 · full0.000.00————
With the prior-information SAR trail · Base costs · 2020–2022 · early+6.163.571081.33+0.09618.61
With the prior-information SAR trail · No modeled costs · 2020–2022 · early+10.043.321081.58+0.16018.61
With the prior-information SAR trail · Higher costs · 2020–2022 · early+2.503.881081.12+0.03518.53
Without subsequent SAR tightening · Base costs · 2020–2022 · early+8.112.871081.44+0.11919.75
Without subsequent SAR tightening · No modeled costs · 2020–2022 · early+11.922.621081.70+0.18119.75
Without subsequent SAR tightening · Higher costs · 2020–2022 · early+4.293.661081.22+0.05619.64
Cash reference · no interest · 2020–2022 · early0.000.00————
With the prior-information SAR trail · Base costs · 2023–2025 · later−0.855.91990.96−0.00215.37
With the prior-information SAR trail · No modeled costs · 2023–2025 · later+2.114.90981.11+0.05115.39
With the prior-information SAR trail · Higher costs · 2023–2025 · later−3.276.91990.85−0.04415.37
Without subsequent SAR tightening · Base costs · 2023–2025 · later−0.534.89990.97−0.00416.39
Without subsequent SAR tightening · No modeled costs · 2023–2025 · later+2.854.34981.15+0.05816.43
Without subsequent SAR tightening · Higher costs · 2023–2025 · later−2.865.84990.87−0.04516.39
Cash reference · no interest · 2023–2025 · later0.000.00————
12

Respect quote sides, missing paths and exit priorities

Long protection and exits are expressed on the Bid quote axis; short ones use modeled Ask, equal to source Bid plus scenario spread. The chart subtracts that spread only to display short stops on its Bid axis. At an observed opening, a stop gap precedes pending state, time or week exits; an opening liquidation cannot reopen there. Minute-range stops precede permitted closing exits. The holding limit is 30 scheduled H4 slots, and the weekly cutoff is Friday 17:00 New York. Missing cutoff quotes can delay liquidation. Partial completed H4 inputs may inform held-state exits or later trails and remain flagged. These quality flags are retrospective diagnostics, not extra avoidance rules; a minute-range touch gives no exact tick time.

Source coverage, delayed execution and protective updates · base costs
DiagnosticWith the prior-information SAR trailWithout subsequent SAR tightening
Trades spanning unobserved in-session minutes149150
Trades touching partial H4 buckets187193
Trades whose 20-bucket lookbacks contain partial buckets207207
Trades with partial completed exit signals012
Entries canceled without the exact next opening33
Entries rejected with invalid known initial protection00
State exits delayed by missing observed quotes00
Time or week exits delayed by missing observed quotes44
Terminal closing proxies before the nominal boundary11
Permitted protective proposals1,4290
Strict stop tightenings1,1270
Trades with at least one tightening1790
13

Read the first completed examples without selecting winners

The first chronological primary base-cost early trade enters at 2020-01-06 20:00 UTC and records −0.883 R; the first trade of the later period enters at 2023-01-12 08:00 UTC and records +3.180 R. They demonstrate execution, not a typical or representative return. S marks the completed signal, E the observed entry Bid opening, and X the declared Bid-equivalent exit reference. Actual executable quote-side levels and adverse modeled fills are labeled separately. The protective step comes from the verified trade record, not a trail inferred from current SAR dots. Axes, references and stops stay fixed when the candle cursor moves. An absent prescribed trade stays unavailable.

First completed early-period primary trade

Modeled exit instant or source-minute interval: [2020-01-07 14:47, 2020-01-07 14:48) UTC · The modeled stop touch belongs to this source-minute interval; tick order and exact touch time are unknown. X is the Bid-equivalent modeled active stop reference, not an observed tick fill. · Source-minute range touched the active known stop

Completed current SAR dotsIncoming SAR test diamondsActive Bid-equivalent protection at H4 openingsInitial Bid-equivalent protection
First completed early-period primary trade119.921120.557121.192121.828122.464EUR/JPY · observed Bid OHLC · JPY per EURCCI20 · exact-input current-window deviationPost-candle AF · fixed 0.00–0.20−300−10001003000.000.050.100.150.202019-12-31 16:00 UTCPartial source-minute H4 bucket; observed OHLC retainedCompressed source-calendar gapPartial source-minute H4 bucket; observed OHLC retained2020-01-02 00:00 UTC2020-01-02 04:00 UTC2020-01-02 08:00 UTC2020-01-02 12:00 UTC2020-01-02 16:00 UTC2020-01-02 20:00 UTC2020-01-03 00:00 UTC2020-01-03 04:00 UTC2020-01-03 08:00 UTC2020-01-03 12:00 UTC2020-01-03 16:00 UTCPartial source-minute H4 bucket; observed OHLC retainedCompressed source-calendar gapPartial source-minute H4 bucket; observed OHLC retained2020-01-06 00:00 UTC2020-01-06 04:00 UTC2020-01-06 08:00 UTC2020-01-06 12:00 UTC2020-01-06 16:00 UTC2020-01-06 20:00 UTC2020-01-07 00:00 UTC2020-01-07 04:00 UTC2020-01-07 08:00 UTC2020-01-07 12:00 UTC2020-01-07 16:00 UTC2020-01-07 20:00 UTC2020-01-08 00:00 UTCS0SEX2019-12-31 16:002020-01-03 20:002020-01-08 00:00

Candles are evenly spaced by observed index. Gaps are compressed and marked; partial bodies are outlined. CCI has a symmetric whole-window scale of at least ±200, and AF stays at 0.00–0.20. Indicator paths break at unavailable values and calendar gaps; their source history is not reset by this drawing choice. SAR dots are never joined across reversals.

S: completed signal · E: observed entry Bid opening · X: declared Bid-equivalent exit reference · S0: initial protection. Filled SAR dots describe the completed current candle; hollow diamonds show its incoming reversal test. The step path records protection at each H4 opening from the verified activation chain; it is not a reconstructed minute-by-minute path. At an opening exit, the displayed stop is the level active just before that opening event. Next SAR is a prospective input, not a fill.

Long exits use Bid. Short protection and exits use modeled Ask; the chart subtracts that scenario spread only to show supplied Bid-equivalent references. Executable quote-side levels and actual adverse modeled fills remain separately labeled.

Choose a candle, move the slider or use arrow keys. Observed OHLC use 3 decimals; derived prices, SAR, ATR and protective levels use 6; CCI uses 2; AF uses 2; counts are integers. Supplied predicates use exact inputs before display rounding. Only the cursor and readout change; axes, SAR dots, stops and S/E/X remain fixed.

H4 opening anchor · UTC
2020-01-06 16:00 UTC
Nominal H4 completion · UTC
2020-01-06 20:00 UTC
Observed source minutes
240
First observed minute opening label · UTC
2020-01-06 16:00 UTC
Last observed minute opening label · UTC
2020-01-06 19:59 UTC
Complete 240-minute H4 bucket
Yes
Observed Bid open · JPY per EUR
121.196
Observed Bid high · JPY per EUR
121.395
Observed Bid low · JPY per EUR
121.126
Observed Bid close · JPY per EUR
121.371
Typical Bid price · JPY per EUR
121.297333
Current 20-observation mean · JPY per EUR
121.087600
Current 20-observation mean absolute deviation · JPY per EUR
0.472667
Exact-input CCI20 · displayed rounded
29.58
ATR14 · JPY per EUR
0.311091
Incoming SAR test · Bid JPY per EUR
120.333638
SAR state before this candle
Up
Completed current SAR dot · Bid JPY per EUR
120.333638
SAR state after this candle
Up
Extreme point before this candle · Bid JPY per EUR
121.222000
Extreme point after this candle · Bid JPY per EUR
121.395000
Acceleration factor before this candle
0.08
Acceleration factor after this candle
0.10
Unclamped next SAR projection · Bid JPY per EUR
120.439774
Next SAR known at this completion · Bid JPY per EUR
120.439774
Completed SAR reversal
No
Strict extreme-point extension
Yes
Next projection clamp applied
No
Common entry data eligible
Yes
Exact CCI zero-line crossing
Long
Eligible CCI and persistent-SAR entry signal
Long
Active stop at the H4 opening · Bid-equivalent JPY per EUR
Unavailable
Active stop at the H4 opening · executable exit-quote JPY per EUR
Unavailable
Executable exit quote side
Unavailable
Initial stop reference · Bid-equivalent JPY per EUR
Unavailable
Observed references, modeled fills and net result
Entry minute opening · UTCPosition directionObserved entry Bid opening · JPY per EURModeled entry fill · JPY per EURDeclared executable exit-quote reference · JPY per EURDeclared exit reference · Bid-equivalent JPY per EURModeled exit fill · JPY per EURContract quantity · EUREntry and exit commissions · JPYModeled carry debits · JPYNet P&L · JPYNet result · R
2020-01-06 20:00 UTCLong121.373121.395000120.851856120.851856120.8498568,237.2322899582.3741.19−4,614.03−0.883
Recorded signal, fixed initial risk and protective-update evidence
Recorded fieldRecorded value
Signal previous exact-input CCI20−2.22
Signal current exact-input CCI2029.58
Signal ATR14 · JPY per EUR0.311091
Signal completed SAR dot · Bid JPY per EUR120.333638
Signal next SAR · Bid JPY per EUR120.439774
Signal post-candle AF0.10
Flat available JPY cash immediately before entry commission1,000,000.00
Frozen planned loss per EUR · JPY0.634183
Frozen initial planned-risk denominator · JPY5,223.91
Initial stop · executable exit-quote JPY per EUR120.772817
Initial stop reference · Bid-equivalent JPY per EUR120.772817
Final active stop · executable exit-quote JPY per EUR120.851856
Final active stop · Bid-equivalent JPY per EUR120.851856
Permitted protective proposals4
Strict stop tightenings1
Counted rollover units1
Signal incoming SAR stateUp
Signal completed SAR stateUp
Quantity limited by the one-times notional capYes
Executable exit quote sideBid
First chronological early-period primary/base trade: 2020-01-06 20:00 UTC; net −0.883 R. References and active stops are supplied from the verified account record, not reconstructed from plotted SAR dots.

First completed later-period primary trade

Modeled exit instant or source-minute interval: 2023-01-13 22:00 UTC · Exit at a modeled minute completion using the last observed source close as disclosed. · Friday 17:00 New York cutoff

This trade spans unobserved source minutes inside the modeled weekly trading session. The flag is retrospective, not an executable avoidance condition; weekly no-quotes are diagnosed separately.

This trade touches partial observed H4 coverage. Its observed fields and explicit proxy conventions are retained.

One or more protective proposals used partial completed H4 inputs at their nominal completion.

Completed current SAR dotsIncoming SAR test diamondsActive Bid-equivalent protection at H4 openingsInitial Bid-equivalent protection
First completed later-period primary trade137.427138.928140.429141.930143.431EUR/JPY · observed Bid OHLC · JPY per EURCCI20 · exact-input current-window deviationPost-candle AF · fixed 0.00–0.20−300−10001003000.000.050.100.150.20Partial source-minute H4 bucket; observed OHLC retained2023-01-09 00:00 UTC2023-01-09 04:00 UTC2023-01-09 08:00 UTC2023-01-09 12:00 UTC2023-01-09 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-10 00:00 UTC2023-01-10 04:00 UTC2023-01-10 08:00 UTC2023-01-10 12:00 UTC2023-01-10 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-11 00:00 UTC2023-01-11 04:00 UTC2023-01-11 08:00 UTC2023-01-11 12:00 UTC2023-01-11 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-12 00:00 UTC2023-01-12 04:00 UTC2023-01-12 08:00 UTC2023-01-12 12:00 UTC2023-01-12 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-13 00:00 UTC2023-01-13 04:00 UTC2023-01-13 08:00 UTC2023-01-13 12:00 UTC2023-01-13 16:00 UTCPartial source-minute H4 bucket; observed OHLC retainedCompressed source-calendar gapPartial source-minute H4 bucket; observed OHLC retained2023-01-16 00:00 UTC2023-01-16 04:00 UTCS0SEX2023-01-08 20:002023-01-11 16:002023-01-16 04:00

Candles are evenly spaced by observed index. Gaps are compressed and marked; partial bodies are outlined. CCI has a symmetric whole-window scale of at least ±200, and AF stays at 0.00–0.20. Indicator paths break at unavailable values and calendar gaps; their source history is not reset by this drawing choice. SAR dots are never joined across reversals.

S: completed signal · E: observed entry Bid opening · X: declared Bid-equivalent exit reference · S0: initial protection. Filled SAR dots describe the completed current candle; hollow diamonds show its incoming reversal test. The step path records protection at each H4 opening from the verified activation chain; it is not a reconstructed minute-by-minute path. At an opening exit, the displayed stop is the level active just before that opening event. Next SAR is a prospective input, not a fill.

Long exits use Bid. Short protection and exits use modeled Ask; the chart subtracts that scenario spread only to show supplied Bid-equivalent references. Executable quote-side levels and actual adverse modeled fills remain separately labeled.

Choose a candle, move the slider or use arrow keys. Observed OHLC use 3 decimals; derived prices, SAR, ATR and protective levels use 6; CCI uses 2; AF uses 2; counts are integers. Supplied predicates use exact inputs before display rounding. Only the cursor and readout change; axes, SAR dots, stops and S/E/X remain fixed.

H4 opening anchor · UTC
2023-01-12 04:00 UTC
Nominal H4 completion · UTC
2023-01-12 08:00 UTC
Observed source minutes
240
First observed minute opening label · UTC
2023-01-12 04:00 UTC
Last observed minute opening label · UTC
2023-01-12 07:59 UTC
Complete 240-minute H4 bucket
Yes
Observed Bid open · JPY per EUR
141.822
Observed Bid high · JPY per EUR
141.909
Observed Bid low · JPY per EUR
141.529
Observed Bid close · JPY per EUR
141.633
Typical Bid price · JPY per EUR
141.690333
Current 20-observation mean · JPY per EUR
141.765633
Current 20-observation mean absolute deviation · JPY per EUR
0.371500
Exact-input CCI20 · displayed rounded
−13.51
ATR14 · JPY per EUR
0.486176
Incoming SAR test · Bid JPY per EUR
142.779813
SAR state before this candle
Down
Completed current SAR dot · Bid JPY per EUR
142.779813
SAR state after this candle
Down
Extreme point before this candle · Bid JPY per EUR
141.571000
Extreme point after this candle · Bid JPY per EUR
141.529000
Acceleration factor before this candle
0.04
Acceleration factor after this candle
0.06
Unclamped next SAR projection · Bid JPY per EUR
142.704764
Next SAR known at this completion · Bid JPY per EUR
142.704764
Completed SAR reversal
No
Strict extreme-point extension
Yes
Next projection clamp applied
No
Common entry data eligible
Yes
Exact CCI zero-line crossing
Short
Eligible CCI and persistent-SAR entry signal
Short
Active stop at the H4 opening · Bid-equivalent JPY per EUR
Unavailable
Active stop at the H4 opening · executable exit-quote JPY per EUR
Unavailable
Executable exit quote side
Unavailable
Initial stop reference · Bid-equivalent JPY per EUR
Unavailable
Observed references, modeled fills and net result
Entry minute opening · UTCPosition directionObserved entry Bid opening · JPY per EURModeled entry fill · JPY per EURDeclared executable exit-quote reference · JPY per EURDeclared exit reference · Bid-equivalent JPY per EURModeled exit fill · JPY per EURContract quantity · EUREntry and exit commissions · JPYModeled carry debits · JPYNet P&L · JPYNet result · R
2023-01-12 08:00 UTCShort141.634141.632000138.485000138.465000138.4870007,060.3020397270.6035.30+22,098.75+3.180
Recorded signal, fixed initial risk and protective-update evidence
Recorded fieldRecorded value
Signal previous exact-input CCI2020.66
Signal current exact-input CCI20−13.51
Signal ATR14 · JPY per EUR0.486176
Signal completed SAR dot · Bid JPY per EUR142.779813
Signal next SAR · Bid JPY per EUR142.704764
Signal post-candle AF0.06
Flat available JPY cash immediately before entry commission1,000,000.00
Frozen planned loss per EUR · JPY0.984352
Frozen initial planned-risk denominator · JPY6,949.82
Initial stop · executable exit-quote JPY per EUR142.604352
Initial stop reference · Bid-equivalent JPY per EUR142.584352
Final active stop · executable exit-quote JPY per EUR139.765356
Final active stop · Bid-equivalent JPY per EUR139.745356
Permitted protective proposals9
Strict stop tightenings9
Counted rollover units1
Signal incoming SAR stateDown
Signal completed SAR stateDown
Quantity limited by the one-times notional capYes
Executable exit quote sideModeled Ask
First chronological later-period primary/base trade: 2023-01-12 08:00 UTC; net +3.180 R. Fixed axes and markers preserve the same trade while the candle cursor moves.
14

Explain why the third illustration depends on its outcome

The third slot is the first later primary base-cost completed trade with a strictly opposite positive or negative net-result sign to the first later example. If absent, use the next chronological completed later trade; if neither exists, show unavailable. An exact-zero first result has no opposite sign and uses that same next-trade fallback. The displayed entry is 2023-01-17 12:00 UTC and result −0.964 R. This selection uses a completed outcome and is not an unbiased performance sample. Context extends 20 observed H4 candles before the signal through 3 after exit when available; future context never ranks or replaces examples.

Third later-period teaching illustration

Selection used here: first later primary/base trade with a strictly opposite net-result sign; explicitly conditioned on its completed outcome.

Modeled exit instant or source-minute interval: 2023-01-17 16:00 UTC · Exit at an observed minute opening under the declared adverse costs. · Persistent queued opposite completed SAR state

Completed current SAR dotsIncoming SAR test diamondsActive Bid-equivalent protection at H4 openingsInitial Bid-equivalent protection
Third later-period teaching illustration137.435138.915140.394141.873143.352EUR/JPY · observed Bid OHLC · JPY per EURCCI20 · exact-input current-window deviationPost-candle AF · fixed 0.00–0.20−300−10001003000.000.050.100.150.202023-01-12 04:00 UTC2023-01-12 08:00 UTC2023-01-12 12:00 UTC2023-01-12 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-13 00:00 UTC2023-01-13 04:00 UTC2023-01-13 08:00 UTC2023-01-13 12:00 UTC2023-01-13 16:00 UTCPartial source-minute H4 bucket; observed OHLC retainedCompressed source-calendar gapPartial source-minute H4 bucket; observed OHLC retained2023-01-16 00:00 UTC2023-01-16 04:00 UTC2023-01-16 08:00 UTC2023-01-16 12:00 UTC2023-01-16 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-17 00:00 UTC2023-01-17 04:00 UTC2023-01-17 08:00 UTC2023-01-17 12:00 UTC2023-01-17 16:00 UTCPartial source-minute H4 bucket; observed OHLC retained2023-01-18 00:00 UTC2023-01-18 04:00 UTCS0SEX2023-01-12 04:002023-01-16 04:002023-01-18 04:00

Candles are evenly spaced by observed index. Gaps are compressed and marked; partial bodies are outlined. CCI has a symmetric whole-window scale of at least ±200, and AF stays at 0.00–0.20. Indicator paths break at unavailable values and calendar gaps; their source history is not reset by this drawing choice. SAR dots are never joined across reversals.

S: completed signal · E: observed entry Bid opening · X: declared Bid-equivalent exit reference · S0: initial protection. Filled SAR dots describe the completed current candle; hollow diamonds show its incoming reversal test. The step path records protection at each H4 opening from the verified activation chain; it is not a reconstructed minute-by-minute path. At an opening exit, the displayed stop is the level active just before that opening event. Next SAR is a prospective input, not a fill.

Long exits use Bid. Short protection and exits use modeled Ask; the chart subtracts that scenario spread only to show supplied Bid-equivalent references. Executable quote-side levels and actual adverse modeled fills remain separately labeled.

Choose a candle, move the slider or use arrow keys. Observed OHLC use 3 decimals; derived prices, SAR, ATR and protective levels use 6; CCI uses 2; AF uses 2; counts are integers. Supplied predicates use exact inputs before display rounding. Only the cursor and readout change; axes, SAR dots, stops and S/E/X remain fixed.

H4 opening anchor · UTC
2023-01-17 08:00 UTC
Nominal H4 completion · UTC
2023-01-17 12:00 UTC
Observed source minutes
240
First observed minute opening label · UTC
2023-01-17 08:00 UTC
Last observed minute opening label · UTC
2023-01-17 11:59 UTC
Complete 240-minute H4 bucket
Yes
Observed Bid open · JPY per EUR
139.393
Observed Bid high · JPY per EUR
139.592
Observed Bid low · JPY per EUR
139.045
Observed Bid close · JPY per EUR
139.410
Typical Bid price · JPY per EUR
139.349000
Current 20-observation mean · JPY per EUR
139.293633
Current 20-observation mean absolute deviation · JPY per EUR
0.606297
Exact-input CCI20 · displayed rounded
6.09
ATR14 · JPY per EUR
0.529095
Incoming SAR test · Bid JPY per EUR
138.320526
SAR state before this candle
Up
Completed current SAR dot · Bid JPY per EUR
138.320526
SAR state after this candle
Up
Extreme point before this candle · Bid JPY per EUR
139.578000
Extreme point after this candle · Bid JPY per EUR
139.592000
Acceleration factor before this candle
0.06
Acceleration factor after this candle
0.08
Unclamped next SAR projection · Bid JPY per EUR
138.422244
Next SAR known at this completion · Bid JPY per EUR
138.422244
Completed SAR reversal
No
Strict extreme-point extension
Yes
Next projection clamp applied
No
Common entry data eligible
Yes
Exact CCI zero-line crossing
Long
Eligible CCI and persistent-SAR entry signal
Long
Active stop at the H4 opening · Bid-equivalent JPY per EUR
Unavailable
Active stop at the H4 opening · executable exit-quote JPY per EUR
Unavailable
Executable exit quote side
Unavailable
Initial stop reference · Bid-equivalent JPY per EUR
Unavailable
Observed references, modeled fills and net result
Entry minute opening · UTCPosition directionObserved entry Bid opening · JPY per EURModeled entry fill · JPY per EURDeclared executable exit-quote reference · JPY per EURDeclared exit reference · Bid-equivalent JPY per EURModeled exit fill · JPY per EURContract quantity · EUREntry and exit commissions · JPYModeled carry debits · JPYNet P&L · JPYNet result · R
2023-01-17 12:00 UTCLong139.418139.440000138.420000138.420000138.4180007,329.7625973373.300.00−7,564.32−0.964
Recorded signal, fixed initial risk and protective-update evidence
Recorded fieldRecorded value
Signal previous exact-input CCI20−2.79
Signal current exact-input CCI206.09
Signal ATR14 · JPY per EUR0.529095
Signal completed SAR dot · Bid JPY per EUR138.320526
Signal next SAR · Bid JPY per EUR138.422244
Signal post-candle AF0.08
Flat available JPY cash immediately before entry commission1,022,098.75
Frozen planned loss per EUR · JPY1.070190
Frozen initial planned-risk denominator · JPY7,844.24
Initial stop · executable exit-quote JPY per EUR138.381810
Initial stop reference · Bid-equivalent JPY per EUR138.381810
Final active stop · executable exit-quote JPY per EUR138.381810
Final active stop · Bid-equivalent JPY per EUR138.381810
Permitted protective proposals0
Strict stop tightenings0
Counted rollover units0
Signal incoming SAR stateUp
Signal completed SAR stateUp
Quantity limited by the one-times notional capYes
Executable exit quote sideBid
Prespecified third slot: the first later primary/base trade with a strict opposite net-result sign; otherwise the next chronological completed later trade. Entry 2023-01-17 12:00 UTC; net −0.964 R. This outcome-conditioned illustration is not an unbiased performance sample.
15

Compound successive account marks rather than trade percentages

Annual returns compare successive year-end H4 marks of the same account, with initial capital as the first denominator. They include open-position liquidation value, modeled costs and compounding. Year membership follows the H4 opening anchor: the final December interval remains in December even if its nominal completion is January 1. Do not sum closed-trade percentages to reconstruct these returns. Current contractual cash has already paid entry commission and accrued carry; unlike a funded spot purchase, it does not deduct the EUR notional. The six annual observations describe one historical path, not six independent confirmations or a live record. If the preceding year-end mark is exactly zero, the next annual percentage is unavailable; the actual start and end amounts are retained.

V_t = B_pre + d × q × (C_bid + spread_short − d × slip − E) − 2 × q × commission − q × carry × U

B_pre: Flat available JPY cash immediately before entry commission · q: Contract quantity · EUR · C_bid: Observed Bid close · JPY per EUR · spread_short: Scenario spread for short liquidation; zero for long · d: Direction sign: +1 long; −1 short · commission: Commission per EUR per leg · JPY · slip: Adverse slippage per leg · JPY per EUR · carry: Carry debit per EUR per rollover unit · JPY · U: Counted rollover units

Calendar account returns · base costs

With the prior-information SAR trailWithout subsequent SAR tightening
Calendar account returns · base costs−4.57%−2.29%0.00%+2.29%+4.57%202020212022202320242025
Compounded calendar account returns
UTC opening-anchor yearWith the prior-information SAR trailWithout subsequent SAR tightening
2020+2.41+3.40
2021+0.37−0.01
2022+3.29+4.57
2023+3.16+2.66
2024−2.81−2.00
2025−0.83−0.86
Percent changes between successive year-end H4 marks of the same account, including open-position liquidation value and modeled costs. Year membership follows each H4 opening anchor. These compounded account returns are not sums of trade percentages.
16

Use the reproducible evidence with realistic limits

The protocol fixes source selection, indicator conventions, exact stop activation, event priorities, costs, sizing and example selection before this strategy calculation. Downloads contain the source manifest, numeric H4 readings, every scenario trade with initial and final protection, displayed evidence and two separately implemented rebuild scripts. CSVs contain unrounded numeric projections; the scripts reconstruct full exact rational histories and every protective update from the originals. Technical commands remain in the expandable resources below. Historical Bid observations do not supply historical Ask, brokerage costs or exact stop fills; these are declared model assumptions. The comparison tests one prior-information trail on one entry definition. A favorable historical outcome alone establishes neither future profitability nor independent confirmation; an unfavorable result must not prompt silent changes to the rules.

Frequently asked questions

Can the current SAR dot be used as a stop earlier in its candle?

No. Its completed value can depend on that candle’s high and low. This test uses protection already known before the affected minute, with next SAR prepared at a completed H4. The entry signal itself does not activate a SAR trail before the entry H4 finishes.

Does CCI have to cross 100 or coincide with a SAR reversal?

Neither. Long entry crosses from CCI at or below zero to strictly above zero with both SAR states up; short entry uses the opposite crossing with both states down. Current zero fails. Both crossing buckets must be full, adjacent and eligible; a fresh SAR flip is excluded.

Why does a short stop look different on the chart and in the table?

The source chart shows Bid prices. A short exits using modeled Ask, so the executable stop includes scenario spread. The chart subtracts that spread to display a Bid-equivalent reference. That display conversion does not remove the spread cost or change the actual adverse modeled fill.

Does planned risk of 1% limit every realized loss to 1%?

No. Sizing includes initial stop costs and a notional cap, but carry is excluded from the initial risk denominator, and a gap can pass protection. Missing paths and broker execution or contract conditions can differ. Initial quantity and R remain frozen even when protection tightens.

Do partial candles reset the indicators or invalidate every later entry?

No. Observed partial buckets remain in the continuous lookback history across calendar gaps. The common warm-up is 100 observed buckets. The previous and current entry crossing buckets must nevertheless be full and adjacent. Partial completed data used during an existing position are explicitly flagged.

Does this comparison establish that a SAR trail will improve future returns?

No. Read the trail account beside its fixed-protection control, all periods, drawdowns and higher costs. Their independently evolving positions can change later opportunities. The data are already reused history, costs and Ask are modeled, and a few illustrated trades are not a performance sample.

Primary sources

Download data and reproduction files

Obtain the seven named original EURJPY M1 ZIP archives separately from HistData. Put them in raw1m and run each rebuild script with the same frozen protocol and source manifest. The primary requires NumPy; the independent uses the Python standard library. Both verify originals and reconstruct their own bars, indicators, execution and ledgers. Full original archives are not bundled in these downloads. The H4 CSV provides numeric indicator projections and original price integers; the trade CSV gives every trade, initial and final stops, flags and update counts. The scripts rebuild full exact rational histories and complete protective updates omitted from those compact files.

python3 eurjpy-cci-sar-trail-replay.py --protocol eurjpy-cci-sar-trail-protocol.json --manifest eurjpy-cci-sar-trail-source-manifest.json --raw raw1m --output replay.json.gz
python3 eurjpy-cci-sar-trail-independent-check.py --protocol eurjpy-cci-sar-trail-protocol.json --manifest eurjpy-cci-sar-trail-source-manifest.json --raw raw1m --output independent-check.json.gz

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.

Research limits

Retrospective educational research in a hypothetical JPY contractual account. Ask quotes, costs, rollover and minute-range execution are modeled. Reused historical prices, shared OHLC indicators and missing paths limit the comparison. Initial planned risk is not a guarantee of maximum loss or future profit.