H4 Trend Rider EA

  • 专家
  • Abdullah Al-murad
    Abdullah Al-murad
    I build Expert Advisors and utilities for MetaTrader 5, mainly for gold (XAUUSD), forex and crypto.
    How I build my products:
    - Every robot sends each order with a stop loss. No martingale, no grid averaging, no hidden rules.
    - Signals are calculated on closed bars, so they are not redrawn.
  • 版本: 1.0
  • 激活: 5

H4 Trend Rider EA is a trend-following robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It enters on new highs in an uptrend and lets the trade run behind a trailing stop.

HOW IT WORKS

  • Entry: an H4 candle closes above the highest high of the previous 20 candles while price is above the 100-period EMA.
  • Initial stop loss: 2 x ATR(14). Take profit: 8 x ATR(14).
  • Trailing stop: 3 x ATR below the best price reached since the entry; it only moves in the trade's favour.
  • Early exit: a close below the lowest low of the previous 10 candles.
  • Sells (the mirror rule) are available as an input and are off by default, because the indices were tested long only.

Few, longer trades. The EA reads H4 data itself, so it can be attached to a chart of any timeframe.

INPUT PARAMETERS

Signal
  Working timeframe                       H4
  Breakout channel, bars                  20
  Trend filter EMA period                 100
  Allow buys / sells                      true / false
Exit
  Initial stop loss, x ATR(14)            2.0
  Trailing stop, x ATR(14)                3.0
  Take profit, x ATR(14)                  8.0
  Exit channel, bars                      10

HISTORICAL SIMULATION (US100 and US30, H4, 2019-05 to 2026-12, fixed 0.10 lot)

The default settings were chosen on the first two thirds of the history only. The last third (from 2024-10) was not used for tuning. Spread is included, swap is not.

  US100    built:  120 trades,   +1065 USD   |   unseen:   72 trades,     +32 USD
  US30     built:  127 trades,    +759 USD   |   unseen:   63 trades,    -400 USD
  TOTAL    built:  247 trades,   +1824 USD   |   unseen:  135 trades,    -368 USD

Honest reading: strongly positive in the first period (the 2019-2024 bull run), about flat on US100 and negative on US30 in the unseen period. Trend following earns in long trends and gives back in choppy markets; this simulation does not prove that the edge continues. Positions are held over nights and weekends, and swap is not included in the figures.

RISK MANAGEMENT (same on every order)

  • A stop loss and a take profit are attached to every trade.
  • Fixed lot (default 0.01) or risk as a % of equity per trade.
  • Max loss at the stop: if the lot would lose more than the set % of equity at the stop, the stop (and the target, same ratio) is moved closer.
  • Margin check: no trade if it needs more than half of the free margin.
  • Volume is checked against the symbol's minimum, maximum, step and limit.
  • Broker stop level and freeze level are respected when opening, trailing and closing.
  • Works on hedging and netting accounts; one position per symbol, identified by its magic number.
  • No martingale, no grid, no averaging. No DLL and no external connections.
Money management inputs
  Fixed lot                               0.01
  Risk per trade, % of equity             0.0 (0 = fixed lot)
  Max loss at the stop, % of equity       5.0
  Max spread in points                    0 (0 = no limit)
  Magic number                            26120603

IMPORTANT

This Expert Advisor does not guarantee profit. The figures above come from the developer's own bar-by-bar simulation on historical prices, not from live trading; past results do not guarantee future results. Trading leveraged products involves a high risk of loss. Test on a demo account first and use only money you can afford to lose.

作者的更多信息
PendingStops
Abdullah Al-murad
PendingStops places a set of Buy Stop orders above the price and Sell Stop orders below it, then manages the trade that triggers. It is built for breakout moves: when the price breaks out in one direction, the stop orders on that side fill and the orders on the other side are removed. HOW IT WORKS When nothing is open, the robot places your chosen number of Buy Stop orders above the Ask and Sell Stop orders below the Bid. The first order sits at the distance you set; the next ones are spaced by
You decide when to enter. GA Trade Manager takes care of everything after that. Attach it to any chart and it starts protecting the trades you open by hand, on that symbol or on all symbols. It works with gold, forex, indices and crypto, on any broker and any timeframe. It never opens a trade by itself. WHAT IT DOES FOR EVERY TRADE - Missing stop loss? It adds one at the distance you choose (in points). - Missing target? It adds a take profit at the distance you choose. - Break-even: after th
This robot puts nine well-known chart strategies into one robot, so you can choose which ones trade and how they work together. THE NINE STRATEGIES Scalp Pro - MACD-style line crosses on closed bars. Scalper Pro Gold - a breakout of the last swing after a quiet range, stop at the opposite swing, target at twice the risk. Liquidity Hunter - a sweep of the last swing high or low and a close back inside. Mxwll SMC - market structure: a change of character, stop at the opposite swing. Measured Move
Crypto Trend Breakout follows one clear rule on 4-hour candles: trade a breakout in the direction of the long trend, and let a trailing stop close the trade. HOW IT ENTERS Buy: a candle closes above the highest high of the previous 55 candles and above the EMA 200. Sell: a candle closes below the lowest low of the previous 55 candles and below the EMA 200. The order is sent in the first 30 minutes of the next H4 candle. Signals use closed candles only, so they are not redrawn. HOW IT EXITS The f
Forex Mean Reversion EA trades the statistical tendency of currency pairs to return to their recent average after extreme deviations. The strategy is based on a Z-score filter: when the closing price moves more than 2.5 standard deviations away from its 50-bar rolling mean on the H4 chart, the EA enters against the extreme move and targets a return toward the mean. HOW THE SIGNAL WORKS The EA computes, at the close of each H4 bar: Rolling mean of the last 50 close prices Rolling standard deviati
Trend Dip Buyer EA
Abdullah Al-murad
Trend Dip Buyer EA is a pullback robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It buys short, sharp dips while the long-term trend is up, and sells the bounce a few days later. HOW IT WORKS Trend filter: the daily close must be above its 200-day simple moving average. Below it the EA stands aside. Dip: a 2-period RSI below 20 at the close of the day. Entry: buy at the open of the next day. Exit: when a daily close is above the 10-day moving average
London Breakout EA is a session breakout robot for major forex pairs (EURUSD, GBPUSD, USDCAD, EURJPY, AUDUSD and others). It takes at most one trade a day per pair and closes it the same day. HOW IT WORKS Asian range: the high and low between 01:00 and 09:00 broker server time. Entry window 09:00 to 13:00: the first M15 candle that closes above the range high is bought, below the range low is sold. Stop loss: the other side of the range. Take profit: 1.5 x the stop distance. Days when the range
Forex Trend Pullback EA trades major forex pairs in the direction of the H4 trend, entering on pullbacks instead of chasing breakouts. HOW IT WORKS Trend: EMA 50 above EMA 200 and price above EMA 200 is an uptrend; the mirror is a downtrend. Pullback: in an uptrend the 3-period RSI falls below 15 (buy); in a downtrend it rises above 85 (sell). The signal is taken only on the candle where RSI crosses the level. Stop loss: 1.5 x ATR(14). Take profit: 1.5 x the stop distance. Time exit after 30 bar
NY Open Breakout EA
Abdullah Al-murad
NY Open Breakout EA is an opening-range breakout robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It takes at most one trade a day and never holds a position overnight. HOW IT WORKS At the New York cash open (16:30 broker server time on most brokers) the EA records the high and low of the first 30 minutes: the opening range. After the range is complete it waits for an M15 candle to close above the range high (buy) or below the range low (sell). Stop lo
Bollinger Squeeze Breakout EA is a volatility breakout robot for major forex pairs on the H1 chart. Quiet markets are followed by active ones: the EA waits for the Bollinger Bands to tighten and trades the move that follows. HOW IT WORKS Squeeze: the width of the Bollinger Bands (20, 2.0) is in the lowest 10% of its last 120 bars. Entry: within 6 bars of a squeeze, an H1 candle closes above the upper band (buy) or below the lower band (sell). Stop loss: 2 x ATR(14). Take profit: 3 x the stop dis
筛选:
无评论
回复评论