{
  "id": "gbpusd-h1-daily-traditional-pivots-atr14-v1",
  "frozen_on": "2026-11-13",
  "frozen_before": "Before this new pivot study computes indicators, signals or account outcomes. GBPUSD history has already been researched; all periods are retrospective. No prospective unseen-test claim.",
  "source_plan_library_file_id": "libfile_fde3_f-6b707844778081918fd3ae33a1c8af65_4aaf69fd96c4819197b87d875abd2c30",
  "question": "Do confirmed H1 bounces from prior-session Traditional S1/R1 change net outcomes compared with removing only candle-colour confirmation and using a confirmed central-P bounce?",
  "market": "GBP/USD, HistData Generic ASCII M1 Bid OHLC; hypothetical USD-denominated FX contract account, not physical GBP holdings, not a broker reconstruction and not converted into USD.",
  "source": {
    "name": "HistData Generic ASCII M1",
    "specification": "https://www.histdata.com/f-a-q/data-files-detailed-specification/",
    "source_timezone": "Fixed EST UTC-05:00 without DST; convert to UTC by adding5h.",
    "raw_years": [
      2019,
      2020,
      2021,
      2022,
      2023,
      2024,
      2025
    ],
    "raw_fields": "semicolon YYYYMMDD HHMMSS;BidOpen;BidHigh;BidLow;BidClose;volume_placeholder; prices USD per GBP",
    "volume": "Source has no meaningful consolidated trading volume; do not treat its placeholder as measured volume.",
    "integrity": "Retain original ZIPs privately, ZIP CRC, computedSHA256, exactCSV identity and acquisition manifest; no provider-published checksum or redistribution license is claimed.",
    "publication": "Publish original analytics and selected illustrative/resampled observations with source attribution; do not bundle the full original M1 ZIP database. Reproducibility package includes original code, protocol, acquisition instructions and source hashes; raw archives must be obtained separately from the provider.",
    "normalization": "Verify7annualZIPs2019–2025 and CSV identity/CRC; retain originalbytes and computed SHA256. Sort by fixedEST+5h UTC. At repeatedtimestamps retain one row only when the complete source row bytes are identical; preserve every repetition in the audit. Conflicting repetitions fail, with no discretionary quote selection. Reject invalid OHLC/precision. No source DST reinterpretation."
  },
  "warmup_start_utc": "2019-06-01T00:00:00Z",
  "bar_seconds": 3600,
  "execution_seconds": 60,
  "periods": {
    "full": [
      "2020-01-01T00:00:00Z",
      "2026-01-01T00:00:00Z"
    ],
    "early": [
      "2020-01-01T00:00:00Z",
      "2023-01-01T00:00:00Z"
    ],
    "later": [
      "2023-01-01T00:00:00Z",
      "2026-01-01T00:00:00Z"
    ]
  },
  "retrospective": true,
  "price_precision": "Parse source prices exactly into integer millionths of USD/GBP. Compare 3*price integers against integer numerators for the thirds in P/S1/R1, so rounding cannot decide touches. ATR14 separately uses floats after exact integer TR differences.",
  "aggregation": "UTC H1 buckets at each full hour, aggregated from actual observed M1 Bid OHLC. Keep partial buckets with counts and first/last source times; never invent absent prices. Bucket information becomes available only at anchor+3600.",
  "atr_length": 14,
  "atr_seed": "TRfirstH-L;thenmax(H-L,abs(H-prevObservedClose),abs(L-prevObservedClose));seed mean first14observedTR atindex13;thenWilder(13prior+current)/14. SignalATR must be positive.",
  "entry": "Only the exact next scheduled H1 opening, requiring an actual M1 source row exactly at that time and within the evaluated period and same pivot session. Cancel missing opening or session-reset entry; do not defer. Long buys modeled Ask plus adverse slippage; short sells source Bid minus slippage.",
  "account": {
    "initial_cash": 10000,
    "currency": "USD",
    "one_position": true,
    "long_and_short": true,
    "risk_fraction": 0.01,
    "maximum_notional_to_equity": 1,
    "quantity": "qGBP=min(.01*preentryEquityUSD/Lunit,preentryEquityUSD/(entryFillUSDperGBP+commissionUSDperGBP)). FractionalGBP allowed,1xnotional cap; historical lot/margin-closeout rules not reconstructed.",
    "cash_bookkeeping": "USD contract balance/equity. GBP notional is exposure/collateral, not cash spent buying physical GBP. Entry commission reduces balance, mark directional open P&L and accrued financing. Exit pays remaining commission/slippage and financing. No cross-currency conversion or third pair is required.",
    "Lunit": "Dprice+slippagePrice+2*commissionUSDperGBP, excluding unknown future financing; financing and gaps can exceed planned1%risk.",
    "net_pnl": "direction*qGBP*(exitFill-entryFill)-2*qGBP*commissionUSDperGBP-qGBP*carryUSDperGBPPerUnit*rolloverUnits",
    "net_r": "netPnLUSD/(qGBP*Lunit)"
  },
  "exits": {
    "stop_atr_multiple": 2,
    "target_price_stop_multiple": 2,
    "levels": "D=2*signalATR14. LongSL=E-D,T=E+2D; shortSL=E+D,T=E-2D. Positive fixed levels, no indicator/pivot/opposite-signal exit.",
    "quotes": "Long exits trigger on sourceBid; short exits on modeledAsk=Bid+scenarioSpread. Opening checks before minute high/low. Opening beyond stop/target uses actual observed opening reference, with adverse exit slippage.",
    "minute_order": "Scan all observed M1 rows from entry. If both barriers touch inside one minute while its opening is between them, ordering is unresolved: stop-first primary and target-first bound. No inferred tick path. Missing earlier minutes are flagged, not filled.",
    "deadline": "Earliest of entry+12*3600, current pivot-session end at17:00NY, or periodEnd. Source-minute barriers have priority. Use the minute closing exactly at deadline when present; otherwise the first later observed opening with opening-barrier priority, before its range. Never read a quote beyond the period; explicit last in-period close fallback records actual source time. A delayed close can cross a financing cutoff.",
    "tie_priority": "After barriers, time deadline first, then day_close, then period_end if cutoffs tie.",
    "event_precision": "Intraminute barrier exit is an interval[minuteStart,minuteStart+60), not a tick. Opening and modeled completed-minute close events remain distinct.",
    "max_holding_h1_slots": 12
  },
  "pip_size": 0.0001,
  "costs": {
    "baseline": {
      "spread_pips": 1.5,
      "slippage_pips_per_leg": 0.2,
      "commission_usd_per_100000_gbp_per_leg": 3.5,
      "carry_pips_per_rollover_unit": 0.3
    },
    "higher_cost": {
      "spread_pips": 3.0,
      "slippage_pips_per_leg": 0.4,
      "commission_usd_per_100000_gbp_per_leg": 7.0,
      "carry_pips_per_rollover_unit": 0.6
    },
    "zero_cost": {
      "spread_pips": 0,
      "slippage_pips_per_leg": 0,
      "commission_usd_per_100000_gbp_per_leg": 0,
      "carry_pips_per_rollover_unit": 0
    },
    "spread_scope": "One pip=.0001USD/GBP. AskOHLC=sourceBidOHLC+constant scenario spread; not observed historical Ask or broker spreads. CommissionUSD per100000GBP per leg; adverse slippage independent.",
    "financing": "Explicit research debit for both directions, not actual historical swaps or interest credits: Monday-Friday17:00 America/New_York, Wednesday3units and other weekdays1. No weekend cutoffs or holiday value-date calendar. Charge when entryTime<cutoff and position remains open aftercutoff. Exact open/close exit atcutoff does not incur thatcutoff; an intraminute exit whose interval starts atcutoff does. Entry atcutoff doesnot pay the preceding interval. Financing is accrued in H1 equity and paid in nettradePnL."
  },
  "variants": [
    "primary",
    "no_confirmation",
    "central_pivot",
    "zero_cost",
    "higher_cost"
  ],
  "passive_reference": "Uninvested USDcash stays10000 with zero interest; not a risk-matched currency buy-and-hold. No third-pair conversion.",
  "equity": "Mark at observed H1 bucket cutoffs: balance plus sourceBidClose long or modeledAskClose short directional open P&L, minus entry commission and financing accrued through cutoff. Exit commission/slippage enter only at modeled actual exit. Initial10000USD is opening peak. Sampled H1 drawdown is not continuous minute/tick risk. Annual attribution uses bucket-opening year.",
  "exposure": "Observed evaluated H1 bucket occupancy, not exact elapsed time. Holding hours count elapsed scheduled H1 slots including gaps; intraminute events have one-minute time bounds.",
  "source_gaps": "Retain all source gaps. Separate gaps entirely outside the modelSunday17-to-Friday17 NewYork weekly session from unobserved in-session minutes, without asserting whether missing quotes mean feed failure or no updates. Trades spanning unobserved open-session minutes are flagged.",
  "later_trade_sample_warning_below": 30,
  "sources": [
    "https://www.tradingview.com/support/solutions/43000521824-pivot-points-standard/",
    "https://www.histdata.com/f-a-q/data-files-detailed-specification/"
  ],
  "frozen_at_utc": "2026-11-13T11:02:43.520396+00:00",
  "daily_levels": {
    "type": "Traditional daily P/S1/R1. The Daily setting is explicit; do not use a platform Auto setting that might choose weekly levels on H1.",
    "clock": "Session ends Monday through Friday at17:00 America/New_York, begins17:00 local on the preceding calendar day. Monday session begins Sunday17:00. Use IANA timezone DST transitions; this boundary is21:00UTC in summer or22:00UTC in winter, unlike the fixed-EST source timestamps.",
    "reference": "Only the immediately preceding scheduled Monday-Friday session, skipping Saturday/Sunday end dates. Monday references Friday. Aggregate all original observed Bid minutes in that completed source session to H,L,last observed C; retain its n/first/last times. Partial quote coverage does not become a complete observed day. If that prior scheduled session has no source observation, current session has no levels and cannot signal; do not roll forward arbitrary stale levels.",
    "availability": "Reference end <= current session start. Its values may be attached to current H1 bars but never to the prior session. Require the signal H1 bucket wholly inside a current weekday session and its close strictly before that session end; an entry at the reset boundary is canceled rather than mixing old and new levels.",
    "formula": "P=(Hprev+Lprev+Cprev)/3; S1=2P-Hprev; R1=2P-Lprev. Store integer numerators Pnum=H+L+C, S1num=2Pnum-3H, R1num=2Pnum-3L; divisor=3*1000000.",
    "holidays": "No discretionary holiday/session-completeness threshold. Retain observed partial sessions; missing prior scheduled sessions prevent signals. No fabricated ticks or quote completeness claim."
  },
  "primary_signal": "Long at completed H1: O>S1, L<=S1, C>S1, C>O. Short: O<R1, H>=R1, C<R1, C<O. Positive ATR14 and known prior-session levels required. All touch comparisons use exact integer thirds; equality of O/C to a level fails, touch equality passes, doji fails candle-colour confirmation. Signal bucket and next scheduled entry must be within the same current pivot session.",
  "fresh_signal": "One position; no immediate re-entry after exit at the same opening. Fresh signal can be used when the old position exited before the cutoff or at the just-completed minute close. A within-minute exit beginning at cutoff is not yet flat at that opening.",
  "variant_rules": {
    "no_confirmation": "Remove only C>O for long and C<O for short from identical S1/R1 touch/open/close conditions. If both directions qualify on the same candle, skip it rather than choose an arbitrary direction. Same clocks, costs, sizing and exits.",
    "central_pivot": "Use the same confirmed rules but replace both S1 and R1 by central P. Long opens/closes strictly above P, touches below or at P and closes above open; short reverses. This changes price-level distance, signal cadence and occupied periods, so it is not causal isolation at matched entry times.",
    "zero_cost": "Primary with all four cost assumptions zero; rerun fills, levels, quantities and trade calendar.",
    "higher_cost": "Primary with all four cost assumptions doubled; rerun fills, levels, quantities and trade calendar."
  },
  "diagnostics": {
    "fixed_quantity_costs": "Reprice primary original dates, Bid references, direction and originalGBP quantities under zero/base/higher costs, without changing triggers or dates. Sum ledger P&L; do not label it resimulated return.",
    "gap_exclusion": "Remove original flagged gap trades at original quantities; show retained ledger P&L, not a new executable account or avoidable real-time filter.",
    "candidates": "For S1/R1 and centralP separately, count every unambiguous raw touch/open/close candidate regardless of occupancy, after requiring positive ATR, available prior scheduled session, correct same-session H1 close and in-period decision cutoff. Count candle-colour pass/fail and exact next-minute availability separately. Candidate events are not funded trades or known false signals.",
    "session_resets": "Count raw eligible touch signals at a signal cutoff equal to its session end as rejected reset entries. Missing previous session means undefined levels, not a zero-price level. Report observed partial reference-session coverage without a tuned completeness filter."
  },
  "gallery": "First completed early-account trade; first completed later-account trade; first later trade with opposite netPnL sign, else stated fallback. H1 uses sourceBid candles plus known prior-day P/S1/R1 lines and a separate ATR14 panel. Fixed trade SL/T and S/E/X distinguish signal, sourceBid opening, liquidation reference (modeledAsk for shorts), and execution fills. M15 uses complete15actualM1groups on Bid long/modeledAsk short; no invented candle fills. Break pivot lines at reference-session resets."
}
