P
PipsGrowth
Trend FollowingOpen Source – Free

Pipsgrowth EX18079 TrendFollow

MT5 Expert Advisor (Open Source) · XAUUSD · M5

Pipsgrowth.com EX18079 HullGB_XAUUSD_5M — Hull MA + Gaussian Band breakout with multi-TF confirmation, full 12-layer stack.

Overview

Pipsgrowth EX18079 HullGB combines a three-line Hull moving average with a Gaussian volatility band to trigger breakout entries on XAUUSD M5. The Hull component is not a single line — it is a triplet built from the high, close, and low of the chart timeframe, each instance computed in-process from weighted moving averages of half-period and full-period LWMA components smoothed with a sqrt(period)-bar weighted average. The Hull lines shade green when their slope exceeds SidewaysThreshold (0.004) on the upside and pink when it falls below the negative threshold; gray means the slope is in the dead zone. EX18079's signal starts with a band breakout: the close of the last bar must print above (or below) the upper (lower) Gaussian band and the two bars before that must have closed on the opposite side, which is a real two-bar penetration rather than a tick breach. The breakout also has to travel at least MinBreakDistance (0.3) ATR away from the Gaussian line, sit on the correct side of the higher-timeframe EMA(50) trend filter, and show a positive Gaussian slope in the trade direction. That gives the base signal.

What makes the EA a heavyweight is the confirmation layer that sits on top of the base signal. Heiken Ashi is rebuilt in a custom class (CHeikenAshiCalc) that walks the last 20 bars to converge the running HA open/close and returns a green-or-red color for the most recent bar; the SuperTrend is also rebuilt in a class (CSuperTrendCalc) that walks the bar history bar-by-bar to compute upper/lower ATR envelopes and assigns a +1 or -1 direction. The SuperTrend period and multiplier are independent inputs (22 and 3.0 by default) and the source price is configurable across seven options. A separate IsStrongTrend() check uses the spread between Hull high and Hull low versus Hull close slope to filter for genuine directional pressure: both the band spread and the slope must exceed StrongTrendSpreadPercent and StrongTrendSlopePercent (0.03% and 0.01% by default). The breakout will not fire unless the user has toggled these filters on, and the Enable switches are individual so the operator can choose how many layers to run.

The multi-timeframe stack is unusual. Three independent timeframes can be activated (MultiTF1, MultiTF2, MultiTF3 defaulting to H4, H8, and Monthly), each running its own EMA(50) check via MultiTimeframeConfirmation(); all enabled timeframes must agree on the trade direction. The 10th input, MultiTFMAPeriod, sets the period on all three. This is a slow stack — the H8 and Monthly timeframes are essentially macro trend filters — so signals are infrequent but filtered for multi-day alignment. Optional extras include a volume filter that requires current bar volume to be at least VolumeThresholdPercent of the 20-bar average, an engulfing-pattern filter with volume confirmation, and a minimum-band-distance filter that blocks breakouts unless the price has moved MinBandDistanceATRFactor (0.2) ATR from the band.

Risk and trade management are separate. The lot is fixed via the Lots input (0.1 default) — there is no risk-percent sizing — and the SL is computed each tick as ATR_MultiplierSL (1.2) multiplied by the current ATR(14) reading. The TP is a fixed 160 points regardless of regime. Trailing stop, when enabled, ratchets the stop to bid-minus-1.2-ATR for longs (mirror for shorts) and only moves forward; breakeven moves the stop to entry once price has moved 1.2 ATR in profit. The dynamic lock-profit feature steps the stop up every LockProfitEvery_X_Pips (20 pips) of profit, pulling it back LockMinusBuffer_Pips (10 pips) from the latest step, so on a 60-pip profit the stop sits at 50 pips. Max open trades is capped at 5, and AllowOnlyProfitableAdditions blocks new entries unless every existing position on the symbol is at least MinProfitPerTradeAdd_Pips (50 pips) in the green — a stacking discipline rarely seen on retail EAs. A drawdown breaker shuts the EA off when floating drawdown exceeds MaxDrawdownPercent (10%) of balance. Consecutive-signal logic counts bars with the same base signal and only fires after RequiredConsecutiveSignals (2 default) bars agree, which trades frequency for cleanliness.

Session and operational gates: UseTimeFilter restricts trading to TradingStartHour–TradingEndHour server time (8 to 20), and Friday after 16:00 is always blocked. AvoidHighImpactNews is left as an input flag but the .mq5 has no actual news-event source wired in — it is a placeholder. AutoTuneFilters() recomputes MinATR, breakDistance, and band multiplier from the live spread and the broker's point size, an unusual feature for a M5 breakout EA. The on-chart info panel renders a 10-row table of live indicator states — Hull color, Heiken Ashi color, SuperTrend direction, strong-trend readouts, TF1/TF2/TF3 bull/bear flags, current volume, engulfing pattern status, and band distance — with per-row YES/NO badges so the operator can see which filter is currently blocking a signal. Magic number 22218079, comment string 'Psgrowth.com Expert_18079', deviation 30 points, 3-attempt 200 ms retry on close and 100 ms on modify for requote, timeout, price-off, and price-changed responses.

Strategy Deep Dive

EX18079 runs a custom in-process Hull triplet computed from high/close/low series via the sqrt(p)-weighted Hull formula, paints each line green or pink based on a SidewaysThreshold (0.004) slope gate, and overlays a Gaussian volatility band of Length 10 on close to define the breakout envelope. A base signal is logged when the last closed bar breaks the band by at least 0.3 ATR and aligns with the higher-timeframe EMA(50) and Gaussian slope. Six independent confirmation layers then each contribute a YES/NO vote: Heiken Ashi color (custom class), SuperTrend direction (custom class with ATR 22 / 3.0 default), 3-of-3 Hull-line color agreement, the strong-trend spread/slope filter, three optional multi-timeframe EMA(50) checks (H4/H8/MN defaults), and optional volume / engulfing / band-distance filters. The consecutive-signal counter requires 2 bars of agreement before the lot is sent, and the trade is sized at the fixed 0.1 lot. With the position live, the management loop applies a 1.2×ATR trailing stop, a 1.2×ATR breakeven, and the dynamic lock-profit ratchet that steps the SL up every 20 pips of profit minus a 10-pip buffer, while the drawdown breaker and the Gaussian-midline opposite-close rule sit on top.

Entry Signal

A buy signal triggers when the last closed bar prints above the upper Gaussian band (with the prior two bars below it), the close is at least 0.3 ATR beyond the Gaussian line, the price sits above the higher-timeframe EMA(50), and the Gaussian slope is rising. Sell signals mirror the same conditions on the lower band. Confirmation layers — Heiken Ashi color, SuperTrend direction, 3-of-3 Hull-line color agreement, the multi-TF EMA(50) stack on H4/H8/MN, and the strong-trend spread/slope filter — each have an enable switch, and the EA requires RequiredConsecutiveSignals (default 2) consecutive closed bars to agree before sending the order.

Exit Signal

Exits run on three independent triggers: a fixed TP at 160 points from entry, an emergency close when the current close crosses back through the Gaussian midline against the position direction, and the drawdown breaker that closes the EA when floating drawdown exceeds 10% of balance. The trailing stop ratchets the SL forward to 1.2× ATR behind price on every tick, the breakeven rule lifts the SL to entry once 1.2× ATR of profit is banked, and the dynamic lock-profit mechanism steps the SL up every 20 pips of profit (minus a 10-pip buffer) so locked profit accumulates as the trade runs.

Stop Loss

Stop loss is computed every tick as 1.2×ATR(14) below the entry (or above for shorts). The trailing stop ratchets the SL forward at the same 1.2×ATR distance, and the breakeven rule promotes the SL to entry once price has moved 1.2×ATR in profit. A drawdown breaker disables trading when equity drawdown exceeds 10% of balance.

Take Profit

Take profit is a fixed 160 points regardless of the current ATR or regime. The same 160-point target is attached to every order, so the EA does not scale targets to volatility — a setting that is consistent with the lock-profit mechanism that takes over once the trade is in profit.

Best For

Single-symbol XAUUSD M5 traders who want a heavily filtered breakout engine and can leave the EA running through the 8:00–20:00 server window. The $100 minimum deposit matches the EA's capital assumptions, and a low-spread ECN or raw-spread broker is required because the 0.3 ATR break-distance filter and the Gaussian band envelope will reject entries when spreads widen. The multi-TF stack (H4 / H8 / Monthly) makes this a slow-fire trend EA rather than a scalper, so it fits traders comfortable with positions that may take days to resolve.

Strategy Logic

Pipsgrowth EX18079 TrendFollow — Strategy Logic Analysis (from .mq5 source)

Family: TrendFollow Magic: 22218079 Version: 2.00

BRIEF: Volatility Gaussian Bands EA using Hull MA for trend direction and Gaussian filter bands for breakout detection. Adaptive breakout strategy with multi-g_Timeframe confirmation, SuperTrend filter, Heiken-Ashi filter, ATR-based SL, trailing stops, breakeven, and drawdown protection. 12 layers: REGIME, SIGNAL, ENTRY, CONFIRM, NO-TRADE, CAPITAL CAP, RISK, SIZING, MANAGE, EXIT, SCALING, OnTester

INDICATOR STACK:

  • Standard MT5 indicators

KEY FUNCTIONS:

  • GetBuffer()
  • GaussianFilter()
  • GetATR()
  • GetEMA_HTF()
  • EnsureRSIHandleCreated()
  • GetRSIValue()
  • PositionExists()
  • CloseOpposite()
  • AutoTuneFilters()
  • CheckMaxDrawdown()
  • PipFactor()
  • PipsToPrice()
  • ...and 24 more

INTERNAL CONSTANTS (3 total):

  • PANEL_BG_COLOR = clrNONE // Was C'32,32,32'
  • PANEL_HEADER_COLOR = clrNONE // Was C'40,40,40'
  • CONDITION_NOT_MET = clrRed // Panel settings

INPUT PARAMETERS (58 total across 10 groups):

  • [=== General Settings ===] Timeframe = 0 // Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
  • [=== General Settings ===] TrendFilterTF = 6 // Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
  • [=== Trading Setup ===] TradeDirection = TRADE_BOTH // Trade Direction
  • [=== Trading Setup ===] MaxOpenTrades = 5 // Maximum allowed open trades at the same time
  • [=== Trading Setup ===] AllowOnlyProfitableAdditions = true // Enable filter
  • [=== Trading Setup ===] LockProfitEvery_X_Pips = 20.0 // Lock profit every X pips
  • [=== Trading Setup ===] LockMinusBuffer_Pips = 10.0 // Lock profit minus X pips buffer
  • [=== Trading Setup ===] MinProfitPerTradeAdd_Pips = 50.0 // Minimum pips profit required per existing trade
  • [=== SL Setup ===] MaxDrawdownPercent = 10.0 // Max drawdown % allowed
  • [=== Hull Indicator Settings ===] HullPeriod = 21 // Hull Period
  • [=== Hull Indicator Settings ===] SidewaysThreshold = 0.004 // Sideways Threshold (pips)
  • [=== Hull Indicator Settings ===] SmoothingPeriod = 3 // Smoothing Period
  • [=== Hull Indicator Settings ===] SmoothingMethod = MODE_EMA // Smoothing Method
  • [=== Hull Indicator Settings ===] RequiredGreenHullLines = 3 // Required green Hull lines for buy (1-3)
  • [=== Hull Indicator Settings ===] RequiredPinkHullLines = 3 // Required pink Hull lines for sell (1-3)
  • [=== Gaussian Filter Settings ===] GaussianMethod = MODE_EMA // Gaussian MA Method
  • [=== Gaussian Filter Settings ===] GaussianPrice = 1 // Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Gaussian Applied Price
  • [=== Gaussian Filter Settings ===] GaussianShift = 0 // Gaussian Shift
  • [=== Time Filters ===] UseTimeFilter = true // Use time filters
  • [=== Time Filters ===] TradingStartHour = 8 // Trading start hour (0-23)
  • [=== Time Filters ===] TradingEndHour = 20 // Trading end hour (0-23)
  • [=== Time Filters ===] AvoidHighImpactNews = true // Avoid trading during high impact news
  • [=== Time Filters ===] RequiredConsecutiveSignals = 2 // Minimum consecutive signals needed
  • [=== Condition Filters ===] StrongTrendSpreadPercent = 0.03 // Default for USDJPY 1m
  • [=== Condition Filters ===] StrongTrendSlopePercent = 0.01 // Default for USDJPY 1m
  • [=== Condition Filters ===] EnableConsecutiveSignals = true // Add after your other input parameters in the "Condition Filters" section
  • [=== Condition Filters ===] EnableBandDistanceFilter = false // Enable Minimum Band Distance Filter
  • [=== Condition Filters ===] MinBandDistanceATRFactor = 0.2 // Min. distance from band (ATR multiplier)
  • [=== Condition Filters ===] EnableVolumeFilter = false // Enable Volume Filter
  • [=== Condition Filters ===] VolumeThresholdPercent = 100.0 // Volume must be >= X% of average (100=equal)
  • [=== Multi-g_Timeframe Confirmation ===] MultiTF1 = 6 // Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
  • [=== Multi-g_Timeframe Confirmation ===] MultiTF2 = 8 // Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
  • [=== Multi-g_Timeframe Confirmation ===] MultiTF3 = 9 // Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
  • [=== Multi-g_Timeframe Confirmation ===] MultiTFMAPeriod = 50 // Add to your input parameters
  • [=== Multi-g_Timeframe Confirmation ===] EnableEngulfingFilter = false // Enable Engulfing Pattern Filter
  • [=== Multi-g_Timeframe Confirmation ===] RequireStrongCandles = false // Require strong candles
  • [=== SuperTrend Filter ===] EnableSuperTrendFilter = true // Enable SuperTrend Filter
  • [=== SuperTrend Filter ===] SuperTrendATRPeriod = 22 // SuperTrend ATR Period
  • [=== SuperTrend Filter ===] SuperTrendMultiplier = 3.0 // SuperTrend Multiplier
  • [=== SuperTrend Filter ===] SuperTrendSourcePrice = 5 // Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // SuperTrend Source Price
  • [=== SuperTrend Filter ===] SuperTrendTakeWicks = true // SuperTrend Include Wicks
  • [=== Information Panel ===] ShowInfoPanel = true // Show information panel
  • [=== Information Panel ===] PanelCorner = 1 // Corner (0-3)
  • [=== Information Panel ===] PanelX = 20 // X position
  • [=== Information Panel ===] PanelY = 25 // Y position
  • [=== Information Panel ===] PanelHeaderHeight = 25 // Header height
  • [=== Information Panel ===] PanelRowHeight = 15 // Row height
  • [=== Information Panel ===] PanelFontSize = 10 // Font size
  • [=== Information Panel ===] PanelColWidth_Indicator = 100 // Width for "Indicator" column
  • [=== Information Panel ===] PanelColWidth_Status = 60 // Width for "Status" column
  • [=== Information Panel ===] PanelColWidth_TimeFrame = 30 // Width for "TimeFrame" column
  • [=== Information Panel ===] PanelColWidth_Value = 190 // Width for "Value" column
  • [=== Information Panel ===] PanelColWidth_Params = 190 // Width for "Parameters" column
  • [=== Information Panel ===] PanelColWidth_BuyMet = 50 // Width for "Buy Met" column
  • [=== Information Panel ===] PanelColWidth_BuyReq = 190 // Width for "Buy Req." column
  • [=== Information Panel ===] PanelColWidth_Separator = 50 // Width for the separator column
  • [=== Information Panel ===] PanelColWidth_SellMet = 50 // Width for "Sell Met" column
  • [=== Information Panel ===] PanelColWidth_SellReq = 190 // Width for "Sell Req." column
Pseudocode
// Pipsgrowth EX18079 TrendFollow — Execution Flow (from source analysis)
// Family: TrendFollow
// Volatility Gaussian Bands EA using Hull MA for trend direction and Gaussian filter bands for breakout detection. Adaptive breakout strategy with multi-g_Timeframe confirmation, SuperTrend filter, Heiken-Ashi filter, ATR-based SL, trailing stops, breakeven, and drawdown protection. 12 layers: REGIME, SIGNAL, ENTRY, CONFIRM, NO-TRADE, CAPITAL CAP, RISK, SIZING, MANAGE, EXIT, SCALING, OnTester

ON_INIT:
    Create indicator handles: standard set
    Initialize state variables
    Detect broker GMT offset

ON_TICK:
    1. Refresh indicator buffers (closed-bar shift=1)
    2. Manage existing positions:
       - Break-even check
       - ATR trailing stop
       - Profit lock ratchet
       - Time-based exit
       - Opposite-signal exit
    3. If new bar:
       a. ClassifyRegime() — ADX/ATR/BB regime detection
       b. NoTradeGate() checks:
          - Market open + session filter
          - Spread limit
          - Cooldown after loss
          - Consecutive loss limit
          - Kill switch
          - Max drawdown
          - Max concurrent positions
          - Daily/weekly loss limits
       c. GenerateSignal() — strategy-specific entry logic
       d. CheckConfirm() — HTF alignment + R:R + ADX minimum
       e. Calculate position size from risk %
       f. Execute with retry logic
       g. Mark bar to prevent duplicates

ON_TESTER:
    Custom fitness = weighted(RecoveryFactor, ROI, ProfitFactor, TradeCount, Sharpe, Drawdown)

Optimization Profile

Optimized Brokers:
ExnessIC Markets
Optimized Symbols:
XAUUSD
Optimized Timeframes:
M5

How to Install This EA on MT5

  1. 1Download the .mq5 file using the button above
  2. 2Open MetaTrader 5 on your computer
  3. 3Click File → Open Data Folder in the top menu
  4. 4Navigate to MQL5 → Experts and paste the .mq5 file there
  5. 5In MT5, right-click Expert Advisors in the Navigator panel → Refresh
  6. 6Drag the EA onto an H4 or Daily chart for best results
  7. 7Configure EMA periods, ADX threshold, and lot size in the dialog
  8. 8Enable Allow Algo Trading and click OK

EA Parameters

ParameterDefaultDescription
Timeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
TrendFilterTF6Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
TradeDirectionTRADE_BOTHTrade Direction
MaxOpenTrades5Maximum allowed open trades at the same time
AllowOnlyProfitableAdditionstrueEnable filter
LockProfitEvery_X_Pips20.0Lock profit every X pips
LockMinusBuffer_Pips10.0Lock profit minus X pips buffer
MinProfitPerTradeAdd_Pips50.0Minimum pips profit required per existing trade
MaxDrawdownPercent10.0Max drawdown % allowed
HullPeriod21Hull Period
SidewaysThreshold0.004Sideways Threshold (pips)
SmoothingPeriod3Smoothing Period
SmoothingMethodMODE_EMASmoothing Method
RequiredGreenHullLines3Required green Hull lines for buy (1-3)
RequiredPinkHullLines3Required pink Hull lines for sell (1-3)
GaussianMethodMODE_EMAGaussian MA Method
GaussianPrice1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Gaussian Applied Price
GaussianShift0Gaussian Shift
UseTimeFiltertrueUse time filters
TradingStartHour8Trading start hour (0-23)
TradingEndHour20Trading end hour (0-23)
AvoidHighImpactNewstrueAvoid trading during high impact news
RequiredConsecutiveSignals2Minimum consecutive signals needed
StrongTrendSpreadPercent0.03Default for USDJPY 1m
StrongTrendSlopePercent0.01Default for USDJPY 1m
EnableConsecutiveSignalstrueAdd after your other input parameters in the "Condition Filters" section
EnableBandDistanceFilterfalseEnable Minimum Band Distance Filter
MinBandDistanceATRFactor0.2Min. distance from band (ATR multiplier)
EnableVolumeFilterfalseEnable Volume Filter
VolumeThresholdPercent100.0Volume must be >= X% of average (100=equal)
MultiTF16Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
MultiTF28Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
MultiTF39Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
MultiTFMAPeriod50Add to your input parameters
EnableEngulfingFilterfalseEnable Engulfing Pattern Filter
RequireStrongCandlesfalseRequire strong candles
EnableSuperTrendFiltertrueEnable SuperTrend Filter
SuperTrendATRPeriod22SuperTrend ATR Period
SuperTrendMultiplier3.0SuperTrend Multiplier
SuperTrendSourcePrice5Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // SuperTrend Source Price
SuperTrendTakeWickstrueSuperTrend Include Wicks
ShowInfoPaneltrueShow information panel
PanelCorner1Corner (0-3)
PanelX20X position
PanelY25Y position
PanelHeaderHeight25Header height
PanelRowHeight15Row height
PanelFontSize10Font size
PanelColWidth_Indicator100Width for "Indicator" column
PanelColWidth_Status60Width for "Status" column
PanelColWidth_TimeFrame30Width for "TimeFrame" column
PanelColWidth_Value190Width for "Value" column
PanelColWidth_Params190Width for "Parameters" column
PanelColWidth_BuyMet50Width for "Buy Met" column
PanelColWidth_BuyReq190Width for "Buy Req." column
PanelColWidth_Separator50Width for the separator column
PanelColWidth_SellMet50Width for "Sell Met" column
PanelColWidth_SellReq190Width for "Sell Req." column
Source Code (.mq5)Open Source
Pipsgrowth_com_EX18079.mq5
#property copyright "Pipsgrowth.com"
#property link      "https://pipsgrowth.com"
#property version   "2.00"
#property strict
#property description "Pipsgrowth.com EX18079 HullGB_XAUUSD_5M — Hull MA + Gaussian Band breakout with multi-TF confirmation, full 12-layer stack."
#include <Trade\Trade.mqh>
CTrade trade;

// Add this enum definition before the input parameters
enum ENUM_TRADE_DIRECTION {
   TRADE_BOTH = 0,      // Both Long and Short Trades
   TRADE_LONG_ONLY = 1, // Long/Buy Trades Only
   TRADE_SHORT_ONLY = 2 // Short/Sell Trades Only
};

ENUM_TIMEFRAMES MapTimeframeInt(int tf)
{
   switch(tf)
   {
      case 1: return PERIOD_M1;
      case 2: return PERIOD_M5;
      case 3: return PERIOD_M15;
      case 4: return PERIOD_M30;
      case 5: return PERIOD_H1;
      case 6: return PERIOD_H4;
      case 7: return PERIOD_D1;
      default: return PERIOD_H1;
   }
}
ENUM_APPLIED_PRICE MapAppliedPriceInt(int ap)
{
   switch(ap)
   {
      case 1: return PRICE_CLOSE;
      case 2: return PRICE_OPEN;
      case 3: return PRICE_HIGH;
      case 4: return PRICE_LOW;
      case 5: return PRICE_MEDIAN;
      case 6: return PRICE_TYPICAL;
      case 7: return PRICE_WEIGHTED;
      default: return PRICE_CLOSE;
   }
}
ENUM_TIMEFRAMES g_Timeframe = PERIOD_H1;
ENUM_TIMEFRAMES g_TrendFilterTF = PERIOD_H1;
ENUM_TIMEFRAMES g_MultiTF1 = PERIOD_H1;
ENUM_TIMEFRAMES g_MultiTF2 = PERIOD_H1;
ENUM_TIMEFRAMES g_MultiTF3 = PERIOD_H1;
ENUM_APPLIED_PRICE g_GaussianPrice = PRICE_CLOSE;
ENUM_APPLIED_PRICE g_SuperTrendSourcePrice = PRICE_CLOSE;
input group "=== Identity ==="
input int    InpMagicNumber     = 22218079;
input string InpTradeComment    = "Psgrowth.com Expert_18079";

ENUM_TIMEFRAMES MapTimeframeInt(int tf)
{
   switch(tf)
   {
      case 1: return PERIOD_M1;
      case 2: return PERIOD_M5;

Full source code available on download

Educational purposes only. Do NOT use with real money. Test on demo accounts only.

Tags:ex18079trendfollowpipsgrowthfreemt5xauusd

Clear Warning: Educational Purposes Only

Clear Warning: This Expert Advisor is for educational and testing purposes only. Do NOT use it with real money. Test only on demo accounts. Trading with real money involves substantial risk of capital loss. This does not constitute investment advice.

Recommended Brokers for This EA

These EAs run on MT5 — use a regulated broker with fast execution and tight spreads

Community

Sign in to contributeSign In

Educational purposes only. Do NOT use with real money. Test on demo accounts only.

File NamePipsgrowth_com_EX18079.mq5
File Size72.1 KB
Versionv2.00
PlatformMetaTrader 5
File Type.mq5 Source
StrategyTrend Following
Risk LevelMedium Risk
Timeframes
M5
Currency Pairs
XAUUSD
Min. Deposit$100