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

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 7 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 6 weeks ago None stated GitHub repository of RiskGuard Pro

Tabranij Gold EA

by surgabot
1 stars

Tabranij Gold EA is an MT5 expert advisor that trades XAUUSD gold using multiple strategies including breakout, martingale averaging, grid layering and zigzag bounce entries. It scales lots with a multiplier up to five steps then stops. Exits use fixed stop loss and take profit distances or ATR-scaled signals. Built-in

MT5 Trading robot BreakoutMartingaleGrid High risk
Updated 2 months ago None stated GitHub repository of Tabranij Gold EA

The Gold Reaper

by naming1086
1 stars

The Gold Reaper is a multi-strategy expert advisor for MetaTrader 4 and 5. It trades gold pairs using breakout and reversal entries based on fractals and ATR. Trades enter when spread and frequency conditions are met and exit via trailing stops or time-based rules. The EA includes NFP filters to pause during economic e

MT4MT5 Trading robot BreakoutTrend followingScalping High risk
Updated 6 weeks ago None stated GitHub repository of The Gold Reaper

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

More martingale EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers