Trading robot · MT4

NNFX Methodology Expert Advisor

by Yahao277

This MetaTrader 4 expert advisor implements the No Nonsense Forex (NNFX) trading algorithm.

GitHub stars12
Forks8
Last update5 years ago3 Feb 2021
LicenceNone stated

Overview

NNFX Methodology Expert Advisor utilizes a modular structure comprising a baseline indicator for trend direction, dual confirmation signals, and a volume filter to detect market volatility. The system includes specific NNFX rules such as the seven-candle rule, one-candle rule, and pullback entry logic. Risk is managed through fixed lot sizes with configurable stop loss and take profit levels. The repository contains various strategy versions and indicator modules for different components of the NNFX framework.

Details

Author

Yahao277 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following

Markets

Forex

Timeframes

H4 and above, M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from StrategyOneV3.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpMagicint1024
Deviationint50
x7string------Special Rules-----
ApplySevenCandleRuleboolfalse
ApplyOneCandleRulebooltrue
ApplyPullbackRulebooltrue
ApplyContinuationRulebooltrue
xstring----Baseline-----
InpKijun_bint26InpKijun
x2string------C1-----------
InpPeriods_C1int14InpPeriods
InpMethod_C1ENUM_MA_METHODMODE_SMAInpMethod
Show all 33 inputs
NameTypeDefaultDescription
x3string------C2-----------
InpModeStr_C2stringMode: 0 - RSI, 1 - Stoch
InpMode_C2int0InpMode
InpLength_C2int9InpLength
InpSmooth_Length_C2int2InpSmooth_Length
InpPrice_C2int0InpPrice
InpMethod_C2int0
x4string---------Volumen------
InpSensetive_vint150InpSensitive
InpDeadZonePip_vint30InpDeadZonePip
InpExplosionPower_vint15InpExplosionPower
InpTrendPower_vint15InpTrendPower
x5string---------Exit---------
InpSmoothing_Length_xint14InpSmoothing_Length
InpSmoothing_Method_xint0InpSmoothing_Method
InpSignal_Length_xint14InpSignal_Length
InpSignal_Method_xint0InpSignal_Method
x6string---------Monet management------
InpTakeProfitint100
InpStopLossint100
InpLotSizedouble0.05

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Yahao277/NNFX-EA-mql4 from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA
45 stars

SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of SuperMao Trading Robot

Box Breakout EA

by je-zhou
26 stars

This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R

MT4MT5 Trading robot BreakoutTrend following

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive

Tobiah Rex EA

by TobiahRex
17 stars

This MetaTrader 4 expert advisor is an automated trading system designed for technical analysis using trend and momentum indicators. It incorporates multiple exponential and simple moving averages, RSI with integrated smoothing periods, and MACD. The EA manages risk through dynamic lot sizing based on account percentag

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Tobiah Rex EA

More trading robots

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers