Loading…

TSD V1x MT4 HDB V10

From the Old Kings archive: TSD V1x MT4 HDB V10, an expert advisor (trading robot) for MetaTrader 4. The file name marks it as version 10. In the code it works with MACD and an oscillator. It places pending orders, moves the stop behind price and trades breakouts. It has 22 settings, for example Magic Number (default 7000), Name (default TDS-v1x-MT4-HDB-v10) and Lots (default 1.0). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Expert advisor · MT4 · v1x · Free

About TSD V1x MT4 HDB V10

TSD V1x MT4 HDB V10 is an expert advisor (trading robot) for MetaTrader 4 based on MACD and Oscillator. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and trades breakouts. It has 22 settings, such as Magic number, Name and Lots. MQL source code included.

Files in the download: TSD-v1x-MT4-HDB-v10.mq4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
Magic number7000Magic number of the trades. must be unique to identify
NameTDS-v1x-MT4-HDB-v10name of EA to put in order commet
Lots1.0Trade size in lots
Take profit100Take profit distance
Stoploss0Stop loss distance
Trailing stop60Trailing stop distance or switch
Slippage5Maximum slippage allowed when opening a trade
Start year2005in back testing, blocks trades before this year
MM0,Leverage=1,AcctSize=10000MM, etc. is not implemented
Long periodPERIOD_W1this is the time constant for the weekly variables
Short periodPERIOD_D1this is the time constant for the daily variables
Breakout periodPERIOD_D1for the high / low used for buy / sell stops
Tsd long method10 = MACD, 1 = OsMA, 2 = Williams, 3 = Force
Tsd short method30 = MACD, 1 = OsMA, 2 = Williams, 3 = Force
Williams h-25Williams high limit
Williams l-75Williams low limit
Williams p24Williams period for short time frame entry
Force p2Force period for short time frame entry
Long p112Oscillator P1 for long time frame direction
Long p226Oscillator P2 for long time frame direction
Long p39Oscillator P3 for long time frame direction
Pips from current16minimum distance between current price and stop order

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Pending Orders · Trailing Stop & Break-even · Breakout · MACD · Oscillator · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria