Hurricane EA (a.k.a. BlueDog Hedge) MT5 Source Code

Hurricane EA (a.k.a. BlueDog Hedge) MT5 Source Code

Pinned Monthly Influencer MT5v1.2

SuperTrend trend filter + trend-following first order + counter-trend grid averaging + virtual orders + hedge + trend-reversal handling + intraday wrap-up + daily target + full button panel. Good for trend and pullback markets.

Views 935 Downloads 187 File 61.6 KB Updated 2026-10-09

Details & Usage Instructions

Core Features
1. SuperTrend Trend Filter (M15)
Based on ATR (default period 100, multiplier 2.0).
Previous M15 candle's trend direction decides opening direction:
Uptrend → only long allowed.
Downtrend → only short allowed.
Computed once per candle, minimal overhead.
Can be turned off in params.

2. Trend-following First Order + Counter-trend Averaging
First order: along SuperTrend direction.
Averaging: counter-trend grid by spacing (price reverse N points → add one).
Max averaging count adjustable (default 15).
After max, no more same-direction averaging.

3. Tiered Grid Spacing
Low segment (orders< grid threshold): spacing = GapLow (default 20 points). Mid segment (threshold ~ threshold+5): spacing = GapHigh (default 5 points). High segment: back to GapLow. Grid threshold adjustable (default 7). 4. Martingale Averaging Lot First lot Lot0. Averaging: Lot0 × LotMult^n. Max single lot BalMaxLot. Auto-scale by balance: balance / 20000 × BalMaxLot. 5. Virtual Orders (VirtOn) When on, the first N orders are not sent to the platform, only marked on chart. Real order placed only when hidden count reached and order size ≥ platform min. Reduces frequent small-account orders, lowering fees. Max 30 hidden orders. 6. Trend-reversal Handling On SuperTrend flip: No action: only record. Close counter-trend: close positions against current trend. Open hedge: open one reverse order by multiple of counter-trend total lots, independent magic. Settable floating-loss threshold: only execute when counter-trend holding loss reaches threshold. 7. Hedge (HedgeOn) After max counter-trend averaging count, can open reverse hedge orders. Hedge spacing, hedge lot multiplier, hedge SL, hedge TP all adjustable. Independent magic (Magic + 1), isolated from main strategy. 8. Close System One-side TP points: average + N points close that side. One-side TP amount: close that side when profit reaches amount. One-side SL amount: close that side when loss reaches amount. Hedge overall TP: main + hedge combined profit target → close all. Intraday wrap-up: stop new opens in set session, wait for close. Daily target: after today closed + floating profit reaches target, lock. 9. Multi-layer Filter Trading session (local / platform / Beijing). Intraday wrap-up session. Daily profit target. Hedge active → forbid averaging (optional). Account limit, time limit. Panel Left info panel Balance, equity, margin ratio Yesterday closed, target, today closed, today progress, target remaining Today's max floating loss SuperTrend 15M direction (up / down / no data) Strategy config summary Long count, lots, P/L, average Short count, lots, P/L, average Floating P/L Platform time, Beijing time Right buttons (2 cols × rows) Stop EA Profit-close pause (tradable after pause) Immediate pause (no new opens) Close all Close short Close long Pause short Pause long Manual add short Manual add long Clear junk (clean chart arrows / trend lines) Show / hide info Suitable Market Good for markets with clear trends and pullbacks. Not for extreme one-sided, no-pullback, frequent-gap markets.

1.jpg

Risk Warning:Resources on this site are for learning, research and technical exchange only, and do not constitute any investment advice. Before running any EA on any account, please do thorough forward-testing on a demo account first; no strategy can guarantee profits.