Heiken Ashi Trading System

Heiken Ashi (or Heikin Ashi, Heikin-Ashi) is the method of representing the charts using the Japanese technique of the balanced bars. Compared to the traditional Japanese candlestick charts the Heiken Ashi charts are more easily read, provide clearer picture of the market and allow easy trend spotting. What is good about this method is that it’s included into the standard set of the MetaTrader 4 indicators. You can find it there under the Custom submenu. I won’t explain how to calculate those candlesticks here because MT4 does it all automatically for you and you don’t have to worry about how those candles are drawn. Here I will tell you how to use Heiken Ashi in trading the trends. You can see the example Heiken Ashi chart:

Heiken Ashi Chart Example

As you see, white bodies are the uptrend candles and the red bodies are the downtrend candles. The upper shadows are usually absent on the downtrends and the lower shadows are absent when the trend is going up. There are 5 Heiken Ashi scenarios for trends:
  1. Trend is normal. Rising white bodies signal ascending trend and falling red bodies signal descending trend.
  2. Trend is getting stronger. Rising longer white bodies with no lower shadows for ascending trend; falling longer red bodies with no upper shadows for descending trend.
  3. Trend is getting weaker. Candle bodies become shorter and for ascending trends lower shadows occur, for descending trends — upper shadows.
  4. Trend consolidation. Small candle bodies with both upper and lower shadows.
  5. Trend is changing (not accurate signal). Very small candle body with long upper and lower shadows.

That’s all you have to know to trade on the trends successfully if you are using Heiken Ashi charting method. But I also recommend reading some other article on Heiken Ashi if you want to learn more about using it.

Last Week's Results

I can hardly believe it myself, but last week my NAV gains totaled 97.5%, which is entirely incredible. Too bad I'm such a small participant.No, unfortunately, this had nothing to do with my recent forays into developing an expert advisor. It seems that I've stumbled across some charting factors that provide me some measure of insight into market movements.The market doesn't always behave, but


After more than 2 years of trading, I can tell you a story about forex system. Forex system is a way to trade to have higher chances of profit. Unfortunately not all forex system works. This is because its not the system that is not working. It is you.

What if I tell you that I have a system that consist of Moving Average only. The system can make profit and will minimize you loses or even give you a chance to break even during hard times.

You would be thirll to test it out only to find out that in the end you are losing money and you say the system is crap. The truth is if one person is making money using the exact same system yet you are losing money. So where do you think the fault is? Is it with the system or is it with yourself?

You can never gain profit in Forex until you figure out what is wrong with you. Most of the time when you are losing money you would blame it on the market, news, system etc but never on yourself. Until you figure out what you did wrong, any system no matter how good will fail in your hands. After you realize what you did wrong, then you can make money, seriously.

When you know what not to do, you can trade without any indicator. I myself is trading using only MA now. Took me a while to understand but once you see it, you no longer depending on any indicator. It is your judgement that counts.

I never know what I would learn the further I go in this world or Forex. Right now I am starting to understand why some traders trade without any indicator. The best indicator is in your brain. You just need to develope it. It will take some time. No hurry.

Sample MQ4 Code

Here is a bit of code that demonstrates what I've been blogging about. It's a simple way to manage pending position requests. The idea is that a signal his been raised but that this code will let you wait for an improvement in the price before actually opening a position.// *******************************************************************// Name: AMS_PEND.MQ4// Date: 01-Mar-2009// Prog: Rookie

Expert Adviser Weekend

Finally, the weekend is almost here. I've been stealing a few moments here and there during the week but it's not that productive.Basically, I've limited myself to testing various "opening" strategies. What I've found is that I can increase earnings across the test set -- but generally at the expense of a bigger draw down. I'd like to come up with a system that tests out a tripling of the
With most Forex brokers when you leave a currency pair position open over the night you’ll get a swap or an interest payment for it. It can be positive (you actually gain money) or negative (you lose money). That payment is usually very small and the majority of the beginning traders just don’t pay any attention to it, since their direct profit or loss from the trading is much greater than this rollover interest. But why do the brokers pay and take this overnight interest payment or swap? And why do some brokers promote interest-free accounts?

The origin of the overnight interest is the fact that in the retail Forex market the physical delivery of the currencies is absent. If you buy €100,000 with your leveraged $1,000 the broker won’t transfer those €100,000 to your bank account. But you’ve paid $100,000 for those euros, even if you borrowed them from your broker. So, if the Forex broker doesn’t deliver the currency to you they technically borrow it from you. In the abovementioned example you borrow $100,000 from the broker and the broker borrows €100,000 from you. And where you have the debt and the loan, there you have the interest rates. The interest rates for the overnight interbank lending (and that’s what you are doing when trading Forex on leverage) are set by the central banks. For example, the rate that you pay for borrowing the dollars from your broker is set by the Federal Reserve System, while the interest rate that the broker pays to you for borrowing the euros from you is set by the European Central Bank. The difference between those two rates is the final overnight interest or swap rate.

Let’s look at this rate calculation. You buy a standard lot (100,000 units) of EUR/USD with your account being in the U.S. dollars with the leverage of 1:100. The current Fed rate is 0.25% and the current ECB rate is 1.5%:
  1. You use $1,000 as the margin.
  2. You borrow $100,000 from your Forex broker.
  3. You buy €100,000 with the borrowed money.
  4. You lend €100,000 to your broker (because it won’t deliver the currency to you, anyway).
  5. You need to pay 0.25% yearly or 0.00068% daily for your borrowed $100,000.
  6. Your Forex broker needs to pay 1.5% yearly or 0.00411% daily for its €100,000 borrowed from you.
  7. In the end, the broker needs to pay the difference between €4.11 and $0.68 for each day that your position is open. That’s your positive swap or overnight interest.

What would happen if you didn’t buy that standard lot of EUR/USD but went short on it instead? You’d have to pay that difference to your broker.

The problem is that in reality brokers don’t pay or take the exact amounts for the overnight interest. They minimize the swap if they pay it out and maximize if you do. That way they try to avoid the risks. But that’s certainly not very fair.

Why do some of the brokers claim that they don’t pay or take overnight interest? Because the interest is viewed inappropriate by one of the most popular religions in the world — Islam. Some Forex brokers offer interest-free accounts by request and charge a fixed commission per trade to compensate their interest-based losses. Some brokers provide only interest-free accounts and usually don’t charge any commissions in that case.

How can you gain advantage from the overnight interest? First, you can use it for carry trade. When you feel that the currency pair with the big positive interest rate difference is going to remain stable or move in your favor for a long period of time you can use the broker’s leverage to receive some ridiculously high interest rate from the swaps only. Another way is to open an account with two brokers — one that offers no-interest policy and another — with the common Forex broker. This way you can hedge your positive interest rate difference position with the no-interest rate position on another broker. In this case you won’t be bothered by the market movement but at the same time you will gain advantage from the positive overnight interest. Of course, such practice is usually considered illegal by the brokers with no swaps, so, I wouldn’t recommend using it.

EA Development by Component

Okay, I've got a few EA components under my belt now.First, I've made myself a trivial system to determine potential entry points. Basically, this system raises a signal when the price is above or below a moving average for some period of time and then crosses over. Remember, I'm only concerned about making an easy to manage framework at this point.Second, signals raised above are tossed into a

EA Development

I was able to put some serious effort into developing an expert adviser over the weekend. At this stage I believe I can build something that will be both relatively safe and profitable. This is not an easy task!Anyway, I do want to assure you that I have no intention of ever selling an EA. If it works I'll use it for myself. If it doesn't work, then I'd have nothing worth selling in any case.