• Overview
  • Reviews
  • Comments (8)
  • What's new

Trend Samurai Heiken Ashi

Heiken Ashi Trend Samurai is an Expert Advisor that uses Heiken Ashi candles as the basis for identifying small and large trends to earn the maximum profit during the specified period identified.

Your code is optimized to identify false trends called Fake Outs, thereby protecting your assets and avoiding unnecessary market entries.

The Expert Advisor works on the daily chart (D1), so we recommend a minimum account of a $5 000,00 balance in order to operate it.

Heiken Ashi Trend Samurai features an automatic calculation of the order system for each type of trend identified. It uses a leverage of 1 to 10, depending on market opportunity, thereby avoiding unnecessary exposure to the customer.

It also has a risk calculation system, which calculates the size of the order according to the risk level that the user has chosen, from 1 to 100%.

Test results

Heiken Ashi Trend Samurai has been tested with the data found in Metatrader (1980) up today, in EURUSD currency. Over the past 35 years, it has assured its functionality in the market from the start with its very promising profits, without exposing the user account to huge losses.

That's it! The artificial intelligence of Heiken Ashi Trend Samurai has secured excellent results since 1980!

Using a $10 000,00 account for testing, we divided the test into three shares. You will find graphical reports in the attached images.

P.S. Historic data was downloaded from the MetaQuotes server. In some brokerage firms, the candle drawings may vary slightly which will require some adjustments in the EA. If you use a different broker, then you can contact the developer to aid in the settings.

Five tests over five years, starting with $10 000,00 from 1990:

  • 1990 - 1995: $40 117,00
  • 1995 - 2000: $29 486,00
  • 2000 - 2005: $17 799,00
  • 2005 - 2010: $39 689,00
  • 2010 - 2015/06: $55 157,00

Ten year tests, starting with $10 000,00 from 1985:

  • 1985 - 1995: $141 962,00
  • 1995 - 2005: $89 302,00
  • 2005 - 2015/06: $210 687,00

The entire period lasted 35 years, starting with $10 000 and a risk of 70%:

  • 1980 - 2015/16: $1 213 562,82

Input parameters

  • Aggressive Level Risk (%) -> Risk to enter the market ranging from 1 to 100%. The greater the risk, the greater the leverage used in operations. In contrast, the lower the risk, the lower the leverage and consequently the profit. In tests conducted between 1990 and 2015, the amount used was 100%, therefore, this value should be changed according to personal goals of each trader.
  • Slippage -> Price deviation: at maximum except to open the operation.
  • Enable Safe Mode -> Safe Mode is a mode where operations are carried out with a very low risk, near 0. When your balance reaches a certain value, transactions are entered into Safe Mode. There is a recommended value of $100 000,00 for this entry if a user wants to have a small return without risking their capital.
  • Advanced variables -> These variables should only be changed if you change the timeframe or the currency pair/broker, as the charts may be a little different. By default, it is already configured to operate in EURUSD.


  1. Never manually change any open market order made by our EA because our system makes various calculations based on the open orders. Manually changing orders can cause problems in the system logic, causing an asset loss.
  2. FOREX is a market risk. As much as our EA tends to be cautious and seeks to protect your money, we still recommend making periodical withdrawals to ensure that your money is protected.


Heiken Ashi Trend Samurai is a great product that was developed and tested extensively for six months with special attention to operating in FOREX safely and reliably in order to quickly earn the invested money back.

If you have any questions regarding this project, feel free to contact us. It will be our pleasure to help you!

Happy trading!

No reviews
Version 6.5 - 2015.06.29
- Changed margin calculation to be based on free margin and not on the balance.
- Changed default settings.
- Optimized strategies.
- Removed several unnecessary entries.
- Optimized code to work with more currency pairs. (EUR/USD - GBP/USD - USD/CHF - XAU/USD)