
This page gives you the Hydra EA free source code, the .mq5 file itself and not a compiled robot you have to trust. The strategy behind it is TSI and optional recovery, written in plain MQL that you can read in one sitting.
- Platform: MetaTrader 5, a single .mq5 file
- Strategy: TSI and optional recovery
- Price: free, a free account is all you need
- Licence: study it, edit it and, if you want, rebrand it
In short, you get exactly the file we publish, and therefore nothing stops you from rebuilding any part of it.
How the Hydra strategy works
The True Strength Index smooths momentum twice, so it answers whether the push behind price is growing or fading without the jitter of a raw oscillator. The robot reads its direction and its crossings with the signal line.
Recovery logic increases the size of the next order after a loss, betting that the market will hand the money back on the turn. It looks smooth for a long time and then asks for the whole account in one afternoon, so the multiplier and the ceiling matter more than the entry.
Each filter removes a group of bad entries and, at the same time, a few good ones. Reading the code is the only honest way to judge that balance for your own market.
What is inside the Hydra EA free source code file
- The TSI calculation, with both smoothing periods and the signal line.
- The recovery block, with the multiplier and the limit on how far it may go.
- The risk block, with the lot sizing, the stop loss and the take profit.
- Finally, every input with its default value, so you can compare it against your own broker.
How to compile and run it
- First, download the .mq5 file from the button at the end of this page.
- Then open MetaEditor 5 from MetaTrader 5, with F4 or the editor button.
- After that, save the file inside MQL5 and then Experts, and press Compile.
- Finally, refresh the Navigator and drag Hydra onto a chart.
- Run it on a demo account first, and read every input before you go live.
If the compiler complains, our guide on compiling MQL source covers the usual causes. In most cases it is simply a missing include or the wrong folder.
What you can change
The second smoothing is what separates a calm reading from a nervous one. Increase it if the robot enters too early, reduce it if it always arrives late.
Before any of that, however, look at the risk block. After all, a good entry with the wrong lot size still empties an account, and therefore the sizing deserves the first pass rather than the last.
More robots like this one are in the grid and martingale source code, and the paid catalogue with documentation and support lives in the MT5 source code section. The idea behind the true strength index is explained well on this reference page.
Questions about the Hydra EA free source code
Which platform is it for? MetaTrader 5.
Is the file complete? Yes, we remove nothing and we encrypt nothing.
Where should I start? On a demo account with the defaults, so you can see its natural rhythm before you change anything.
Does the broker matter? It does, especially the spread and the execution. Compare two before you judge the strategy.
Download the Hydra EA free source code
The file below is the complete .mq5. First of all, create a free account or log in. Then download it and, finally, open it in MetaEditor 5.
Free source code. Log in or create a free account to download the Hydra EA Source Code source files.
Premium Source Codes
Full editable MQL4 / MQL5 source code. Looking for a more advanced strategy?
Source CodeAria AI Connector MT5 EA – Source Code
$5,000.00
Source CodeHFT AI Fast M1 Gold Scalper MT5 EA – Source Code
$3,500.00
Source CodeFast M1 Gold Scalper Deluxe Edition MT4 – Source Code
$3,500.00
Source CodeFast M1 Gold Scalper Deluxe Edition MT5 – Source Code
$3,500.00
Source CodeAurum Apex MT5 – Source Code
$2,500.00
Source CodeAurum Apex MT4 – Source Code
$2,500.00
Source CodeHFT FAST M1 GOLD SCALPER v8.22
$2,000.00
Source CodeFast M1 Gold Scalper MT5 – Source Code
$1,800.00
Source CodeFast M1 Gold Scalper MT4 – Source Code
$1,800.00
Source CodeStrike Scalper Pro EA
$1,800.00
Source CodeGreedy King EA MT5 – Source Code
$1,700.00
Source CodeProfit 20 PRO EA
$1,700.00
Source CodeReal Profit Maker EA
$1,700.00
Source CodeGreedy King EA MT4 – Source Code
$1,700.00
Source CodeEuro Scalper V10 EA
$1,600.00
Source CodeXAU Daily Predator MT4 – Source Code
$1,600.00
Source CodeXAU Daily Predator MT5 – Source Code
$1,600.00
Source CodeSuper Signals EA
$1,600.00
Source CodeTHUNDERDOMINATOR EA
$1,600.00
Source Code
