Trading robot · MT4

Oanda TDesk Drone

by LonnieCoffman

Oanda TDesk Drone is a MetaTrader 4 expert advisor designed to execute trades based on signals from the TDesk dashboard via the Oanda FXtrade platform.

High risk

GitHub stars4
Forks1
Last update7 years ago6 Jan 2019
LicenceNone stated

Overview

Oanda TDesk Drone functions as a bridge, using an external Python script and file-based data exchange to facilitate order placement. The EA is specifically designed to support fractional lot sizes smaller than standard micro-lots, making it suitable for small accounts. Risk management includes margin level monitoring, percentage-based lot sizing, and automated trade closure on signal reversals. It also supports dual-account configurations to enable hedging for regulated users.

Details

Author

LonnieCoffman on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Multi-strategy, Grid, Hedging

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Opens a grid of orders: exposure builds up in a trend
  • Holds opposite positions at once

Input parameters

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

NameTypeDefaultDescription
externDash0stringDASHBOARD SETTINGS
EveryTickModeTickModetrueWhen to allow new trades
EveryTickTimeFrameENUM_TIMEFRAMESPERIOD_M15"At New Candle" timeframe
ShortPandLOffsetdouble0.0Offset to Adjust Short P/L Reported by Oanda
LongPandLOffsetdouble0.0Offset to Adjust Long P/L Reported by Oanda
AutoTradingAllAutoTrade0When AutoTrading button is pressed:
spacer1string.
externNotify1stringNOTIFICATIONS
externNotify2stringnote: Notifications must be set up in MT4
NotifyWarningbooltrueNotify of Warning Messages?
NotifyTradeOpenbooltrueNotify when Opening Trades?
NotifyTradeClosebooltrueNotify when Closing Trades?
Show all 40 inputs
NameTypeDefaultDescription
NotifyStartint5Hour Notification Start (local time)
NotifyEndint20Hour Notification End (local time)
spacer2string.
externSignal0stringSIGNAL SETTINGS
TDeskSignalIntervalSecondsint5Seconds between TDesk signal checks
MaxSignalAgeMinutesint60Minutes to Consider Signal Valid
spacer3string.
externLotCalc0stringLOT CALCULATIONS
LotCalculationLotCalcMaxLotSizeLot Calculation Method
SetLotSizeint1000Fixed: Lot Size (1000 = 0.01)
AveragePipLossint20Risk: Avg Loss in Pips
RiskPercentdouble2Risk: Percent Risk per Trade
PercentReserveMarginint20Risk/Max: % Acct Balance Not used in Calculations
NumberOfTradesPerPairint2Risk/Max: Max Num Trades/Pair for Calculations
UseIncrementalLotSizingboolfalseIncrement the Size of Each Trade?
LotIncrementint1Increment Amount
Spacer4string.
externTradeEntrystringTRADE ENTRIES
MaxTradesAllowedint5Max Trades Allowed Per Pair
MinDistanceBetweenTradesPipsint30Min Pip Distance Between Trades
MinMarginLevelToTradedouble50Min Margin Level to Trade (0 = disable)
MaxPairsAllowedToTradeint0Max Number of Pairs to Trade (0 = disable)
Spacer5string.
externTradeExitstringTRADE EXITS
CloseOnOppositeSignalbooltrueClose Trade on Opposite Signal?
CloseTradesOnFlatSignalboolfalseClose Trade on Flat Signal?
UseMarginLevelClosurebooltrueUse Margin Level Closure?
CloseBelowMarginLeveldouble25Close Below Margin Level

How to install it

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

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
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

MultiTrader

by mazmazz
14 stars

MultiTrader is a multi-currency expert advisor for MetaTrader 4 and MetaTrader 5 that executes trades across multiple forex instruments concurrently. It uses a modular system of filters to generate entry and exit signals based on various technical indicators. The EA manages risk through fixed or trailing stop losses, b

MT4MT5 Trading robot GridMulti-strategy High risk
Updated 5 years ago GPL-3.0 GitHub repository of MultiTrader

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage

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