Trading robot · MT4

Support Resistance EA

by jblanked

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels.

High risk

GitHub stars11
Forks2
Last update3 years ago3 Feb 2023
LicenceNone stated

Overview

Support Resistance EA includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled through fixed stop losses, take profits, and daily percentage-based equity targets or drawdown limits. Users can enable a martingale multiplier system for position scaling after losses. The robot also supports time-restricted trading and a reverse trend mode. The strategy is designed for flexible deployment across various currency pairs.

Details

Author

jblanked on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Mean reversion, Martingale

Markets

Forex

Timeframes

M15-H1, H4 and above

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
orderSengstring======= ORDER SETTINGS ======
StopLossdouble10Stop Loss
TakeProfitdouble600Take Profit
usepercentriskbooltrueUse risk per trade?
percentriskdouble0.10Percent risk
uselotsizeboolfalseUse lot size?
lotsizeedouble0.10Lot size
orderSetingstring======= TREND SETTINGS ======
MA_Periodint160Period for moving average
RSI_Periodint8Period for RSI
rsibuylevelint20RSI under which level to buy
rsiselllevelint80RSI above which level to sell
Show all 36 inputs
NameTypeDefaultDescription
reverseorderboolfalseReverse trend?
HODLboolfalseHODL til opposite setup?
BreakEvenSettingsstring--------TAKE PARTIAL SETTINGS-------
UseBreakEvenStopbooltrueUse take partials?
BEclosePercentdouble50.0Close how much percent?
breakstartdouble200Take partials after how many pips in profit (1)
breakstart2double300Take partials after how many pips in profit (2)
breakstart3double400Take partials after how many pips in profit (3)
breakstart4double500Take partials after how many pips in profit (4)
breakstopdouble20Move stop loss in profit X pips
BkEvnSettingsstring======= MARTINGALE SETTINGS =======
useMartingaleboolfalseUse martingale?
martinPipsdouble78Pips in between martingales
martinMULTIdouble5Martingale multiplier
timeSettingsstring======= TIME SETTINGS ======
UseTimerboolfalseCustom trading hours (true/false)
StartTime1string16:301 Trading start time (hh:mm)
StopTime1string16:311 Trading stop time (hh:mm)
DAILY_TARGETSstring======= Gain/Loss =======
dailyTargetPdouble10.0Daily Profit Target (%)
dailyLossPdouble0.4Daily Max DD (%)
orderSettinsstring======= OTHER SETTINGS ======
orderCommentsstringSupport/Resistance EAOrder Comment
magicnumbint918119Magic Number

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone jblanked/Support-Resistance-EA 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.
  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

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

Puer Tigris

by PuerTigris
1 stars

Puer Tigris is a MetaTrader 4 expert advisor that implements multiple entry strategies, primarily focusing on Bollinger Bands mean reversion. It features a martingale lot scaling system where position sizes are multiplied after a trade is closed, with a configurable limit on the number of recovery levels. The robot use

MT4 Trading robot MartingaleMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Puer Tigris

Axuusd Gold Advisor

by damozycodes
1 stars

This expert advisor is designed specifically for trading gold on the MetaTrader 4 platform. It employs a hybrid strategy approach, allowing users to toggle between trend following using moving average crossovers, mean reversion via RSI and Stochastic divergence, and breakout patterns. Trade management includes automate

MT4 Trading robot Trend followingMean reversionBreakout High risk
Updated 8 months ago None stated GitHub repository of Axuusd Gold Advisor

Vforce EA

by ggalboud
1 stars

Vforce EA is a versatile trading robot for MetaTrader 4 that utilizes a wide array of technical indicators to identify entry points. It integrates Stochastic, RSI, ADX, MACD, and Bollinger Bands, allowing traders to enable or disable specific signals via input parameters. The system manages risk through fixed lot sizin

MT4 Trading robot Indicator crossoverTrend followingMean reversion High risk
Updated 9 years ago None stated GitHub repository of Vforce EA

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper 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