Skip to content
Algo Samurai EA Source Code (MQ4) for MT4 – EABuild product box
  • MetaTrader 4
  • Expert Advisor
  • latest
  • Updated: 11/09/2026

Algo Samurai EA Source Code (MQ4)

MT4 source code of a martingale, hedging and grid EA set up for EURUSD and USDJPY on M30, with one set file

  • MetaTrader 4 source code in MQL4
  • 1 editable source file and 1 set file
  • EURUSD and USDJPY on the M30 timeframe
  • Martingale, hedging and grid strategy
  • DLL: no

Choose how to get it

$39

Digital product — download after payment

Build a similar strategy in StudioFree to try · no code

Free to try: edit it in the Builder, backtest, download the EA.

Builds an MT5 version

Download right after payment

Refund policy

Refunds within 7 days of purchase for a broken or mismatched file, a duplicate charge, or a paid order without download access. No refund once a working file is downloaded, and no profit guarantee.

Read the refund policy

This download is the editable MQL4 source code of the Algo Samurai expert advisor, written for MetaTrader 4. You open it in MetaEditor, read or adjust the logic and compile it yourself.

  • Platform: MetaTrader 4
  • Symbols: EURUSD, USDJPY · Timeframe: M30
  • Strategy: martingale, hedging, grid · Grid/martingale: yes
  • Recommended minimum deposit: $100
  • In the package: full MQL4 source code (editable), 1 set file

This package is the algo samurai source code mq4: the editable MQL4 file of the Algo Samurai EA for MetaTrader 4, not a ready-made compiled file. It is a source-code product: you compile it in MetaEditor before it can run on a chart.

The listed strategy combines martingale (increasing the lot size after a losing trade), hedging (holding buy and sell positions on the same symbol) and a grid (extra orders opened at set price steps). The listing names EURUSD and USDJPY on the M30 timeframe.

It suits traders and developers who use MT4 and want to read the order logic, change inputs or adapt the code in MetaEditor. We cannot promise that any change you make will work as intended.

The download contains one source file and one set file. There is no compiled file, no PDF and no DLL. See the Strategy & Settings tab for the symbols, timeframe and deposit details, and Installation for the compile steps.

You get the files as an instant digital download after payment. The product is also included in the membership.

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

Reviews

No reviews yet.

This product is in the membership. From $10.75/month.

Tags: EA Source Code

$39

Offer ends inhm$249 lifetime →