Whale Flash Order Rejection Reversal
- Experts
- Mustafa Ozkurkcu
- 버전: 1.0
Concept. Flash ORR is a fast-reaction scalping EA that hunts false breakouts at important swing levels. When price spikes through a recent swing high/low but fails to close with strength (long wick, weak body), the move is considered rejected. If the very next candle prints strong opposite momentum, the EA enters against the spike:
-
Up-spike + weak close → followed by a bearish momentum bar → SELL
-
Down-spike + weak close → followed by a bullish momentum bar → BUY
Entries are placed at the open of the next bar (no intra-bar guessing).
Stops are set at the spike wick extreme; take-profit is a multiple of the risk (RR × SL).
Designed for M1–M5 on liquid symbols (e.g., EURUSD, XAUUSD) during London/NY hours.
How it works (signal pipeline)
-
Find a nearby swing level.
The EA searches the past SwingLookback bars for a fractal swing using SwingLR left/right bars. -
Detect a spike rejection (bar at shift=2).
The spike candle must:-
Break the swing level (with optional SwingBufferPips tolerance),
-
Show long wick / small body: MinWickRatio (wick/range) high AND MaxBodyRatio (body/range) low,
-
Optionally close in the opposite color ( RequireOppositeColor = true ).
-
(Optional) Be abnormally large vs ATR: SpikeATRMult .
-
-
Confirm with opposite momentum (bar at shift=1).
The next candle must be opposite color with meaningful body:
MinMomentumBodyRatio (body/range) and (optional) MomentumBodyATRMult × ATR filter. -
Place the trade (at new bar open).
-
SL = spike wick extreme ± SLBufferPips
-
TP = RiskRewardRR × SL distance
-
Spread, stops/freeze level, margin checks are enforced.
-
(Optional) Session filter limits trading to London/NY hours.
-
-
Risk / position sizing.
If RiskPercent > 0 , lot size is computed from account balance and stop distance. Otherwise the EA uses FixedLot .
Inputs (grouped)
General
-
MagicNumber — Magic for position tracking.
-
OnePositionPerSymbol — If true , EA won’t open a second trade on the same symbol while one is active.
-
CooldownBars — Number of bars to wait after a trade closes before taking the next signal.
-
DeviationPoints — Max slippage (points) for market orders.
Session Filter (server time)
-
UseSessionFilter — Enable/disable time windowing.
-
LondonStartHour / LondonEndHour — London session trading window.
-
IncludeNewYorkSession — If true , NY window is also considered.
-
NYStartHour / NYEndHour — New York session trading window.
Tip: Use server time. Over-the-weekend or illiquid hours are implicitly avoided if you narrow the windows.
Execution / Spread
-
MaxSpreadPips — Maximum allowed spread (pips) at execution time.
(The EA converts pips to price using the symbol’s digits: on 5/3-digit symbols 1 pip = 10 points; on 4/2-digit symbols 1 pip = 1 point.)
Spike & Rejection Rules
-
SwingLR — Fractal detection parameter (bars to the left/right that must be lower/higher).
-
SwingLookback — How far back (in bars) to search for the last valid swing.
-
SwingBufferPips — Tolerance added to the swing level when checking “spike broke the level”.
-
MinWickRatio — Minimum wick/range ratio on the spike bar (large wick).
-
MaxBodyRatio — Maximum body/range ratio on the spike bar (weak close).
-
RequireOppositeColor — If true , spike bar must close opposite to its direction
(e.g., up-spike should close bearish).
ATR Filters (optional)
-
UseATRFilter — Master switch for ATR-based thresholds.
-
ATRPeriod — ATR lookback.
-
SpikeATRMult — Spike bar range must be ≥ ATR × this multiplier.
-
MomentumBodyATRMult — Momentum bar body must be ≥ ATR × this multiplier (set 0 to disable).
Momentum
-
MinMomentumBodyRatio — Minimum body/range ratio for the momentum bar (strength filter).
Risk Management
-
RiskPercent — % of balance risked per trade. If 0 , uses fixed lot.
-
FixedLot — Lot size used when RiskPercent = 0 .
-
RiskRewardRR — Take-profit = RR × stop-loss distance.
-
SLBufferPips — Extra buffer added beyond the spike wick (helps with spread/slippage and stop rules).
Misc
-
PrintDebug — Verbose logging to Journal (helpful during testing/optimization).
Execution details & safeguards
-
Order type: Market entries at the next bar open.
-
Checks before sending:
-
Margin ( OrderCalcMargin )
-
Stops/Freeze levels and spread threshold
-
Broker slippage via DeviationPoints
-
-
No repainting: Signals are built from closed candles only (shift=2 for spike, shift=1 for momentum).
-
Digits-aware pip math: The EA internally maps pips to price according to symbol digits.
-
Single-symbol lock (optional): Prevents over-exposure if OnePositionPerSymbol = true .
-
Cooldown: Avoids immediate re-entries after a trade.
Practical tips
-
Timeframes: Start with M1–M5.
-
Symbols: EURUSD (tight spreads); XAUUSD (require stronger spike filters).
-
Optimization order: Spike shape → Momentum strength → ATR gates → Swing parameters → RR → Session & Spread.
-
News: The EA purposely uses wick/weak-close logic to fade failed news spikes, but wide spreads can still disqualify many signals (as intended).
Risk Disclosure
Trading leveraged products involves substantial risk of loss and is not suitable for every investor. Before using this EA:
-
No performance guarantees. Historical/backtest results are not indicative of future performance.
-
Execution risk. Slippage, requotes, widened spreads, stops/freeze levels, and partial fills can materially alter live results versus backtests.
-
Broker differences. Symbol names, tick size/value, digits, contract specifications, timezones, and liquidity vary across brokers. Validate on a demo with your broker first.
-
News & volatility. Extremely fast markets (news releases, flash moves) can bypass stops and increase realized risk.
-
Technology risk. VPS stability, platform updates, network outages, and symbol session changes can impact execution.
-
Position sizing. If you enable RiskPercent , ensure the risk per trade aligns with your plan. Using too large a risk can quickly lead to large drawdowns or account loss.
-
User responsibility. You are solely responsible for how you configure and run this EA, including compliance with your broker’s terms and applicable regulations.
Strong recommendation: Test on demo first, validate symbol parameters (digits, tick size/value), and verify that spreads and stops rules are satisfied in live conditions before deploying on a real account.
