London and New York Reversal Context
Combine session range, completed objectives, sweep and structure shift before allowing reversal logic.
Session reversal is conditional
The session lessons repeatedly return to context: a London or New York reversal is not valid simply because a clock window begins or an Asian high/low is touched. The higher-timeframe objective and the location inside the active range must first support the idea.
Completed objectives change permission
If a move has already delivered into its higher-timeframe target and then sweeps liquidity in a premium/discount extreme before a structural shift, reversal evidence is stronger within this framework. If the objective is still open, the same local shift may only be a correction.
Distance filters are parameters
The source uses concrete pip-distance heuristics around New York Midnight in examples. Those values should not be hard-coded across symbols. Normalize any distance rule by ATR, session range or instrument volatility and validate it empirically.
if session in {LONDON, NEW_YORK}:
if htf_objective_complete and liquidity_sweep and structure_shift:
reversal_permission = TEST
else:
reversal_permission = BLOCK← Back to Knowledge BaseEducational engineering material. These are testable market models and implementation ideas, not investment advice or guarantees of performance.