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.
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.
Read from OandaTDeskDrone.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
externDash0
string
DASHBOARD SETTINGS
EveryTickMode
TickMode
true
When to allow new trades
EveryTickTimeFrame
ENUM_TIMEFRAMES
PERIOD_M15
"At New Candle" timeframe
ShortPandLOffset
double
0.0
Offset to Adjust Short P/L Reported by Oanda
LongPandLOffset
double
0.0
Offset to Adjust Long P/L Reported by Oanda
AutoTradingAll
AutoTrade
0
When AutoTrading button is pressed:
spacer1
string
.
externNotify1
string
NOTIFICATIONS
externNotify2
string
note: Notifications must be set up in MT4
NotifyWarning
bool
true
Notify of Warning Messages?
NotifyTradeOpen
bool
true
Notify when Opening Trades?
NotifyTradeClose
bool
true
Notify when Closing Trades?
Show all 40 inputs
Name
Type
Default
Description
NotifyStart
int
5
Hour Notification Start (local time)
NotifyEnd
int
20
Hour Notification End (local time)
spacer2
string
.
externSignal0
string
SIGNAL SETTINGS
TDeskSignalIntervalSeconds
int
5
Seconds between TDesk signal checks
MaxSignalAgeMinutes
int
60
Minutes to Consider Signal Valid
spacer3
string
.
externLotCalc0
string
LOT CALCULATIONS
LotCalculation
LotCalc
MaxLotSize
Lot Calculation Method
SetLotSize
int
1000
Fixed: Lot Size (1000 = 0.01)
AveragePipLoss
int
20
Risk: Avg Loss in Pips
RiskPercent
double
2
Risk: Percent Risk per Trade
PercentReserveMargin
int
20
Risk/Max: % Acct Balance Not used in Calculations
NumberOfTradesPerPair
int
2
Risk/Max: Max Num Trades/Pair for Calculations
UseIncrementalLotSizing
bool
false
Increment the Size of Each Trade?
LotIncrement
int
1
Increment Amount
Spacer4
string
.
externTradeEntry
string
TRADE ENTRIES
MaxTradesAllowed
int
5
Max Trades Allowed Per Pair
MinDistanceBetweenTradesPips
int
30
Min Pip Distance Between Trades
MinMarginLevelToTrade
double
50
Min Margin Level to Trade (0 = disable)
MaxPairsAllowedToTrade
int
0
Max Number of Pairs to Trade (0 = disable)
Spacer5
string
.
externTradeExit
string
TRADE EXITS
CloseOnOppositeSignal
bool
true
Close Trade on Opposite Signal?
CloseTradesOnFlatSignal
bool
false
Close Trade on Flat Signal?
UseMarginLevelClosure
bool
true
Use Margin Level Closure?
CloseBelowMarginLevel
double
25
Close Below Margin Level
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone LonnieCoffman/OandaTDeskDrone from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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
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
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