HM Sniper
- Experts
- Versione: 1.0
HM Sniper: automated trading using price structure and candle patterns
HM Sniper is an Expert Advisor for MetaTrader 5. It checks the market on closed 15-minute candles, looks for two kinds of trade setup, and opens and manages the trades for you.
How it finds trades
Smart Money setup (SMC). The EA tracks swing highs and lows. When price breaks one with a strong candle, it marks the last opposite candle before the move as an "order block". It waits for price to return to that zone for the first time and enters if the candle confirms the direction. The stop loss sits just beyond the zone, and the take profit is a multiple of the risk (default 2 to 1).
Candle-pattern setup. It looks for engulfing candles and hammers, checked against a 50-period moving average and the RSI. Stop loss and take profit follow recent volatility (ATR).
If the two setups disagree on the same candle, the Smart Money signal wins.
Features
- Trend filter: Trades only in the direction of the H1 and H4 trend.
- One trade at a time: Optional, with a waiting period of a set number of bars between signals.
- Flexible lot size: Risk a percentage of your balance (default 1%) or use a fixed lot. Lots never go below the broker's minimum, and you can set a maximum lot per trade.
- Daily loss limit: Stops trading for the day after a loss you choose.
- Spread and hours filters: Skips trades when the spread is too wide or outside your chosen hours.
- Time exit: Closes a trade that stays open too long (default 100 bars).
- Works on any chart: It uses its own signal timeframe, whatever chart it is attached to.
- Quick start: It reads about 1,500 past candles at startup so market structure is ready right away.
Built-in safety checks
- It does not send orders while the market is closed or near the daily break.
- It limits the lot to what your free margin and the broker's volume limit allow, and skips the trade if even the minimum lot can't be afforded.
- It skips a trade if price has already passed the stop or target, or if the stops are closer than your broker allows.
- It makes sure the symbol is available and its history is loaded before it starts.
Recommended setup
- Recommended pair: BTCUSD
- Minimum equity: $150
- Account: Test on a demo account first. Attach the EA to one chart per symbol and give each chart its own magic number.
Getting started
- Attach it to a BTCUSD chart and turn on Algo Trading.
- Test it in the Strategy Tester, then on a demo account.
- Check the lot size and risk with your broker's BTCUSD settings before trading live.
Risk warning
Trading carries a high risk of loss. Past or simulated results do not guarantee future results. Test on a demo account before using real money, and only risk money you can afford to lose.
