Trading robot ยท MT4

Quiet Time Strategy

by daveh551

This MetaTrader 4 expert advisor automates a session-based trading strategy focused on the New York quiet period.

GitHub stars1
Forks2
Last update13 years ago4 Aug 2013
LicenceNone stated

Overview

Quiet Time Strategy captures a reference price during a specific late-afternoon window and triggers trades when the market deviates by a set number of pips. The robot utilizes a moving average crossover and an ATR filter to validate entries. Risk management features include percentage-based lot sizing, fixed stop losses, take profits, and a spread filter. It also features a termination time to close positions before the next trading day.

Details

Author

daveh551 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Breakout, Indicator crossover, Trend following

Markets

Forex

Timeframes

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 Quiet Time Strategy.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
TimesInfostringThese times should be set (in 24 Hour time) for your local t
TimesInfo2stringThey should correspond to 3:00PM and 7:00PM New York Time
QuietTimeStartstring15:00
QuietTimeEndstring19:00
TimesInfo3stringThis should correspond to 2:00AM New York Time
QuietTimeTerminatestring02:00
TradeSundayboolfalse
TradeFridayboolfalse
TriggerPipsFromQTEntryint15
PercentRiskdouble1.0
StopLossPipsint12
TargetPipsint10
Show all 23 inputs
NameTypeDefaultDescription
MaximumSpreadint6
MagicNumberint123456
TradeCommentstring
StealthModeboolfalse
Testingboolfalse
UseATRFilterbooltrue
ATRPeriodint1
ATRAveragingint5
ATRRatioToSLLimitdouble0.5
SlowMAPeriodint10
FastMAPeriodint3

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone daveh551/QuietTimeStrategy 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

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout

Ichimoku EA

by anwarminarso
2 stars

This MetaTrader 4 expert advisor executes trades based on the Ichimoku Kinko Hyo indicator. It incorporates four distinct trading methods: the Ideal Strategy, Tenkan-Kijun-Chikou crossing, Kumo breakout, and Chikou Span crossing. The robot manages risk through fixed stop loss and take profit levels, a maximum trade lim

MT4 Trading robot Trend followingBreakoutIndicator crossover
Updated 6 years ago None stated GitHub repository of Ichimoku EA

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

New Ichimoku

by mannnoplay
1 stars

This MetaTrader 4 expert advisor implements a classic Ichimoku Kinko Hyo strategy, primarily optimized for the Nasdaq 100. It enters trades based on price breakouts through the Kumo cloud, SMA 50, and EMA 200, with additional confirmation from the Chikou Span and higher timeframe H4 Kijun levels. The robot handles trad

MT4 Trading robot Trend followingBreakoutIndicator crossover
Updated 1 year ago None stated GitHub repository of New Ichimoku
3 stars

This MetaTrader 5 expert advisor executes trades based on the Ichimoku Kinko Hyo system, specifically targeting cloud breakouts. It incorporates several technical filters including Average True Range for volatility and Average Directional Index for trend strength to refine entries. Risk management is handled through pe

MT5 Trading robot Trend followingBreakoutIndicator crossover
Updated 3 years ago None stated GitHub repository of Ichimoku Cloud Breakout AR
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover

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