Trading robot · MT5

Currency Strength EA

by drdz9876

This MetaTrader 5 expert advisor utilizes a multicurrency strength system to identify trading opportunities by comparing relative currency values.

High risk

GitHub stars6
Forks3
Last update4 years ago18 Apr 2022
LicenceGPL-3.0

Overview

Currency Strength EA calculates strength based on a configurable lookback period, typically using H4 data, and includes triangular weighting and smoothing options. The robot manages exits using either fixed point values or ATR-based calculations for stop loss and take profit. It incorporates a martingale lot scaling system for position averaging. Risk management features include automated lot sizing based on account balance and a daily target profit percentage limit.

Details

Author

drdz9876 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Martingale, Multi-strategy, Grid

Markets

Forex

Timeframes

M15-H1, H4 and above

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend
  • Trades without a fixed stop loss

Input parameters

Read from Currency Strength EA 3.0.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Timerconst string//---------------- Time Settings ----------------//
TimeModetimerServerTime Mode
StartTimestring10:00Opening Time
EndTimestring16:00End Time
CStrengthconst string//---------------- Currency Strength Settings --------------
tmfENUM_TIMEFRAMESPERIOD_H4Strength Period Calculation
NumberOfCandlesint55Number of Candle to Calculate
ApplySmoothingbooltrueApply Smoothing
TriangularWeightingbooltrueTriangular Weighting
HistoricalShiftint0Shift
UpperLimitdouble7.2Upper Limit Value
LowerLimitdouble3.3Lower Limit Value
Show all 40 inputs
NameTypeDefaultDescription
Indiconst string//---------------- Indicator Settings ----------------//
ATRTFENUM_TIMEFRAMESPERIOD_CURRENTATR Timeframe
ATRPeriodint14ATR Period
SLTPStepModeinATRSLTP Type
Stoplossdouble0.0Stoploss
Takeprofitdouble1.0Takeprofit
TrailingStopint30Trailing Stop (in Points)
TrailingStepint5Trailing Step (in Points)
Martingaleconst string//---------------- Martingale Settings ----------------//
EnableAveragingbooltrueEnable Martingale
Multiplierdouble1.3Lot Multiplier
PipStepModeStepModeinATRPipStep Type
PipStepdouble0.8Pip Step
TPPlusint20TP Average in Pips
MMconst string//---------------- Money Management Settings ---------------
AutolotbooltrueEnable AutoLot
Lotdouble0.01Constant Lot
RiskPercentdouble0.1Risk in Percent
UseTargetPercentbooltrueUse Daily Target Percent
ProfitTypePTypeinPercentProfit Close Type
DailyProfitdouble0.05Daily Target Profit Percentage
Otherconst string//---------------- Other Settings ----------------//
iMagicNumberint227Magic Number
iSlippageint3Slippage
CommentarystringCurrency Strength EAOrder Comment
prefixstringIf have Prefix, else leave Blank
postfixstringIf have Postfix, else leave Blank
maxTradedSymbolsint2Max Simultaneous Traded Symbols

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone drdz9876/Currency-Strength-EA-MT5 from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  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

MultiSignal DCA CCBSN

by 26730023-PhamPhuNguyenHung
2 stars

This MetaTrader 5 expert advisor provides a versatile trading framework featuring nine selectable entry signals, including Ichimoku, RSI, Bollinger Bands, and EMA crossovers. It employs a Dollar Cost Averaging strategy with configurable lot multipliers and distance scaling to manage positions. A notable feature is the

MT5 Trading robot Trend followingGridMartingale High risk
Updated 6 months ago None stated GitHub repository of MultiSignal DCA CCBSN
1 stars

This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage

MT5 Trading robot AI / machine learningMulti-strategyScalping High risk

RiskGuard Pro

by farhadiamirali403-lab
1 stars

RiskGuard Pro is a multi-strategy expert advisor for MetaTrader 5 that combines automated trade execution with comprehensive risk management. It features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and perc

MT5 Trading robot Multi-strategyGridMartingale High risk
Updated yesterday None stated GitHub repository of RiskGuard Pro

Profit Hunter

by phpkadir
5 stars

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading. It utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or c

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Profit Hunter

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way

Forex Brother Algo 1

by hkmarquix
1 stars

This MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin

MT4 Trading robot Multi-strategyMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Forex Brother Algo 1

More trading robots

Need a broker for MT5?

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

Compare brokers