Skip to main content

NonLagMA Expert Advisor

The RobotFX NonLagMA expert advisor is a trading tool designed for traders trading with the trend and whose forex trading strategy is defined by the “trend is your friend” motto. This Metatrader expert advisor is similar to the Fluid expert adviser and its main functions are basically the same. The EA can detect the trend and trade accordingly, as well as hedge and recover the losses from a losing trade. Of course, classic stop-loss, break-even and trailing stop are also possible.
RobotFX NonLagMA
NonLagMA EA trades with the trend, buys in uptrend and sells in downtrend
The trend can be defined by the color of the trend nonlagma, the price position regarding this nonlagma or both (see pic above) of these options. For the EA to consider closing a trade or a basket of trades at the non-lag moving average signal, the profit must be higher or equal to the MinProfit.

Technically the RobotFX NonLagMA EA can:

1. detect the trend (uses the nonlagma indicator color, price position or both)
2. enter (or exit a winning trade/basket) on the nonlagma indicator signal
3. trails the price - for the winning trades
4 hedges the zone recovery or with the trend - for the losing trades (a regular stoploss can also be used)
NonLagMA EA Forex Trade
NonLagMA EA Forex Trade

NonLagMA EA Forex Trade
NonLagMA EA Forex Trade

NonLagMA EA Forex Trade
NonLagMA EA Forex Trade

NonLagMA EA Forex Trade
NonLagMA EA Forex Trade

NonLagMA EA Forex Trade
NonLagMA EA Forex Trade

NonLagMA EA Forex Trade
NonLagMA EA Forex Trade
To trade using the expert advisor as it was designed to do, the trader must first choose an option for the EA to establish the trend. This will be accomplished by the trend nonlagma detector and it can be based on the indicator’s color (black=sell, white=buy), the price position regarding the nonlagma trend indicator (price above = buy, price below = sell) or both of these criteria.

The second nonlagma indicator is used to enter - and if the trader chooses so, to exit - a trade. Exiting a trade at the nonlagma reverse signal may ensure that the trader has closed the trade at the right moment, just before the trend would reverse.
For the experienced traders, there is the possibility to enable the martingale and to double/triple/etc the next trade’s lotsize, if the previous one was a loss.

RobotFX NonLagMA EA settings

Take your time to understand what each of these settings does. After you’ve done that, try to optimize the default settings based on the pairs you are trading, the time-frame you trade on, your equity and initial LotSize etc.
RobotFX NonLagMA EA settings

RobotFX NonLagMA EA settings

  • TrendDetector:
  1. Color - considers an uptrend if the nonlagma (TrendLength) color is up (default white) and downtrend if black
  2. Position - if the price is above the nonlagma (TrendLength) the EA will be allowed to buy, if it is below, to sell
  3. Both - both of the option above will be considered to determine the trend
  4. Disabled - the EA will open trades whenever the nonlagma (SignalLength) changes the color, regardless the trend nonlagma (TrendLength)
  • NonLagMA_Indicator_Name - this is the name of the non-lag moving average file (default RobotFX-NonLagMA-Indi since our indicator is RobotFX-NonLagMA-Indi.ex4)Try RobotFX [forex trading tools] at
Make sure that this indicator exists in the MetaTrader’s Indicators folder, otherwise the EA will not function properly.
  • TrendLength - the length of the nonlagma trend detector (please mind that in the strategy tester you must wait a while for this nonlagma to be created, if its length is too high)
  • SignalLength - the length of the signal nonlagma used to enter/exit trades
  • SwingZoneBars - the number of bars to determine the swing zone’s highs and/or lows)
  • PipsAwayFromLastSwing - EA will open new trades only if the nonlagma signal occurs this number of pips away from the last swing. Set to 0 to ignore the swing zone confirmation.
  • Trading - whether or not to allow the EA to open trades in a particular direction (Long, Short), any direction (BothWays) (this is ignored if AllowHedge = HedgeZone)
  • LotSize - the size of the first opened trade; starting from this the opposite (hedge) trades may double, triple etc based on your StopLoss and TakeProfit settings, if you are hedging
  • MinProfit - the minimum profit, in deposit currency, to close a trade or a basket of trades
  • StopLoss - the distance in pips from the first trade where the pending (hedge) opposite order will be placed (this is also the width/height of the recovery zone, if AllowHedge = HedgeZone) if you are hedging. If not hedging, this is a classic stoploss.
  • TakeProfit - Take profit distance in pips. The ratio between StopLoss and TakeProfit is also used to calculate the opposite hedging trades.
  • MaxOrders - the maximum numbers of allowed trades. When this number is reached, the EA will not open any other trades
  • UseHedgeMultiplier - whether or not to use a lotsize multiplier when hedging, instead of the ratio between the Stoploss/Takeprofit
  • HedgeMultiplier - the next (opposite) hedging order lotsize multiplier
  • AllowHedge:
  1. HedgeZone - hedges within a certain recovery zone area whose distance is given by the Stoploss (pips)
  2. HedgeFluid - after placing one opposite pending order at the Stoploss distance from the opened trade, it will hedge with the trend
  3. NoHedging - Stoploss and Takeprofit are set after the trade is opened
  • HedgeFirstHedgeFluidTrade - whether or not to place a pending hege order when AllowHedge=HedgeFluid
  • HedgeFailedHedgeZoneTrade - whether or not to automatically hedge an opened trade when the price skips a pending hedge order (such as when gaps occur during weekends)
  • TrailingStop - the EA will set the stop-loss at break-even as soon as the price is this number of pips away from the opening (plus the spread)
  • TrailingStep - the EA will move the stop-loss of the trade at the TrailingStop distance from the actual price, as soon as this is at TrailingStep distance from the opening price
  • Slippage - the buffer allowed when opening new trades or placing pending orders
  • Martingale - if set to true and the last trade closed with negative profit, the EA will set the lotsize of the second trade as LotSize x Multiplier
  • Multiplier - multiplies the lotsize of hte next trade, if Martingale is enabled
  • DeepLevel - the number of times the EA is allowed to multiply the lotsize in a row. After this number is reached, or if a martingale trade closed with a positive profit, the EA will resume trading with the initial LotSize
  • CloseTradesAtMaxOrders = whether or not to allow the EA to close all the trades on the chart as soon as this number is reached
  • WhenMinProfitIsReached - what to do when the profit reaches MinProfit ($$$.$$)
  • CloseTradesAtMinProfit = whether or not to allow the EA to close a trade or basket of trades as soon as the profit reaches MinProfit
  • CloseLosersAndSetBreakEven - close the losing trades and set a stop-loss for the winners
  • CloseTradesAtTakeProfit = whether or not to allow the EA to close a trade or basket of trades at TakeProfit level (MinProfit must be reached as well)
  • CloseTradesAtNonLagMA = whether or not to allow the EA to close a trade or basket of trades at NonLagMA signal (MinProfit must be reached as well)
  • AfterEAClosedTrades - after the EA closes a trade/basket, it could continue trading (DoNothing), remove itself from the current chart (RemoveEAFromChart) or close the trading terminal (CloseMT4Terminal)
  • ShowComment - whether or not to display the trading details on the chart
  • Alerts - whether or not to get notified (alerts, email, push notifications or all) when trades open/close
  • MagicNumber - change this when activating the EA on other charts of the same pair, otherwise the EA on one chart will execute its commands on the others. Leave to -1 to allow the EA to monitor/hedge trades opened manually

Watch how RobotFX NonLagMA works

RobotFX NonLagMA costs 398$.

Clients' Benefits:

- One time payment - no monthly/yearly/etc subscription fees
- All the indicators/experts/scripts/templates used in this strategy
- Free updates for life - per client's request

Remember that the FREE download offers the same functionality as the paid one, however it can only be used on DEMO accounts.


  1. Hi,
    2019.03.11 11:14:39.750 2019.02.28 12:20:00 RobotFX-NonLagMA-Indi EURUSD,M5: array out of range in 'RobotFX-NonLagMA-Indi.mq4' (98,12)

    Please advise the above notice.
    How many accounts can I use EA at the same time?
    Looking forward your reply
    Sun Minh Lay


Post a Comment


Most Downloaded (this month)

Auto Recovery Expert Advisor

RobotFX Auto Recovery is an expert advisor designed to recover the loss of a losing trade by opening an opposite trade, or more, if it’s the case. If you are familiar with, this is the trade management part of the RobotFX Fluid EA, with less features (HedgeZone). A very simple but effective way to hedge a losing trade so it will close if not in profit, at least at break-even. Basically it is a hedging expert advisor for MetaTrader.
Technically, the Auto Recovery EA places an opposite pending order at the Recovery Zone distance (in pips) from the opening price, using a higher lot size. This replaces the classic stoploss which, when hit, leads to a loss. If the price doesn’t go in your favor - and so TakeProfit is not reached to close the trade - but instead reverses and hits the pending order, that pending order becomes an active order. At the same time, the EA will open another pending order, at the same level with the first one and of the same kind, but with (again) a higher lot size…

Fluid Expert Advisor

RobotFX Fluid is a MetaTrader expert advisor capable of detecting the trend, opening/closing trades only within a defined price movement (at precise entry/exit levels), manage winning trades as well as recovering a lost trade.
The idea behind the RobotFX Fluid expert advisor is not only to spot the trading signals and open trades at the exact right moment, but also to help the traders with their money and trade management. This is where the 95% of the traders fail in forex. They have been indoctrinated with the necessity of using a stoploss and precise take profit targets, risk/reward ratios etc. Ask yourself this:
“If 95% of the traders are losing their money, do I really want to follow the same rules they do?!” That question should be the first thing to cross your mind when following anyone else’s advice, strategy, or even when you buy a trading tool such as this. It is well known that only a small percentage of the traders are successful in this branch. That is not only because mos…

Renko Expert Advisor

The RobotFX Renko Chart is an expert advisor that allows the creation and use of the renko bars charts on Metatader. As you probably know already, the Metatrader doesn’t have renko bars, its defaults being candlesticks, line and bars.
Before you load the EA on the chart it is recommended that you switch to the M1 time-frame and uncheck the autoscroll box (see above). Then keep pressing the Page Up button on your keyboard so the chart will scroll back a few months to load the history data. By default, the Renko EA will build renko charts of 10 pips bar size. You have the possibility to change the bar size with any other value (in pips) you want or use the automatically calculated ATR bars.
Don’t forget to click the MetaTrader’s AutoTrading button. After the expert advisor loads on the M1 chart and creates the offline renko bars chart (default timeframe is M2) you should see the instructions in the left corner of the M1 chart. Now click the menu File > Open Offline and choose the M2 …