Tampilkan postingan dengan label metatrader. Tampilkan semua postingan
Tampilkan postingan dengan label metatrader. Tampilkan semua postingan

27 Jul 2009

The drawdown is a very important property of any Forex trading report, strategy or expert advisor. The drawdown characterizes the risk of the employed strategy. Profitability of a given strategy should always be considered in couple with the drawdown because otherwise you won’t take the risk into account and that’s a very bad thing to do. Forex is a probability-based activity and thus should be treated from the risk/reward perspective.

The drawdown is a difference between some local maximum point in your balance chart and the next following minimum point in that chart. It’s the risk amount by which your strategy can go down during a streak of losses. There are two types of drawdown that are considered to be the important properties of expert advisors (for instance, in MetaTrader platform) — absolute drawdown and maximal drawdown.

Absolute drawdown is the difference between the initial deposit and the minimal point below the deposit level during all test period. It tells you how big your loss can become compared to the initial deposit during the trading. If this value was 0 during the test, then your deposit wasn’t at risk at all.

Maximal drawdown is the maximal difference between the local maximum extremum in your equity chart and the next local minimum extremum in your equity chart. It tells you how low your strategy can go after getting some profit. It can also be called a depth of a losing streak. Generally it’s a good idea not to trade with EAs with the maximal drawdown higher than the profit. But I don’t recommend trading even with strategies or expert advisors that have maximal drawdown at levels higher than 25% of the net profit. Mind your own risk-to-reward ratio and don’t trade with EAs that don’t comply with it.

Now you know what drawdown is and how it’s calculated in Forex trading. Unfortunately, the current version of MetaTrader 4 (Build 225), the strategy tester incorrectly calculates the drawdowns, so if you are testing your EAs, it’s better to calculate both the absolute drawdown and the maximum drawdown manually.

If you have your own opinion or questions about maximal or absolute drawdown, feel free to leave it in a comment to this post.

6 Mei 2009

While I don't have any pictures to show, yet, I am working on an EA that trades AUDJPY based on the market price relative to the average price of positions held.The first few passes at this type of system were pitiful. My testing starts from September of last year to now while only opening long positions. As you can imagine this is a difficult period of time for a long only system!However, late

28 Apr 2009

Well, I spent last evening tracking down some problems in my next foray into programming expert advisers.It turns our that a simple logical test was using an '&' instead of an '&&' between two terms.This little horseshoe nail caused some position closing attempts to fail with an error 138 -- meaning that the price being used to close the position was too far away from the market price.I also ran

7 Apr 2009

The MetaTrader 4 is possibly the most recognized and efficient home broker trading application nowadays on the market. It is free and available for download from the MetaQuotes Software Corporation website, the producer of MetaTrader 4. If your broker offers the possibility of having MT4 as your main trading platform, it will be likely to provide a download link directly when you sign up for your trading account. Even if many brokers have their own platforms, MT4 it is still a powerful and reliable tool for Forex, stock, and commodity traders. If your broker doesn’t support MT4, you can freely access real data from several servers on MT4, the currency pair rates differ a bit from MT4 servers and your broker, but it is not something that will significantly affect your trading performance.

Once you have successfully downloaded and installed the MT4 software, launch it. It may seem a bit complex for beginners, but all the information is very clear and divided by windows that allow you to control all your orders and a different number of pairs simultaneously. From the Market Watch feature, normally positioned on the top left size, under the menu bar, you have all the pairs available on the server, and with a click and drag mouse movement you can make that pair to appear in any of your chart windows, making it easier and faster to switch from one pair to another, and you, as trader, know how decisive can time be, when you have more than one order opened, mainly during news and market events.

One of the best features that MT4 offers is the option to create templates that fit better each and every trader needs. The profiles can have one or multiple charts. For example, 3 EUR/USD charts with different timeframes, or 3 different pair charts, in which you can totally customize them using the indicators of your choice. From colors to templates, the MetaTrader 4 offers the trader full interaction with his orders, which is often not possible in many broker platforms.

The main disadvantage that MT4 has against other web-based trading platforms is the fact that you have to download it. Many traders have to often check their orders from different places, such as: office or university. So if your broker only offers the MT4 or other downloadable software, it can be quite complicated for you to manage your orders, if you fall into this category. The optimal situation would be the possibility of using MT4 while you are on your computer, and at the same time, the option to open or close orders through your browser, in situations where aren’t using your computer.

Finally MetaTrader 4 is, doubtlessly, a tool that every Forex trader should at least download and be familiar with, in most of the cases, you will make it part of your trading experience, considering its features, for the moment, MT4 has a wide superiority against other trading software.

23 Mar 2009

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.

7 Mar 2009

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

6 Mar 2009

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

3 Mar 2009

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

2 Mar 2009

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.

26 Feb 2009

I'm finding it takes a lot more time to program an EA than I would expect. Alternately, perhaps I am dumb enough to think that I could just throw together some ideas and have a profit machine?Anyway, after another night of testing I have some new software that is able to detect or indicate various conditions.I'm hoping that doing enough visual testing will clue me in enough, personally, to the

25 Feb 2009

Believe it or not I think I'm going to use a simple moving average crossover as a signal for my automated trading system.Obviously, and testing verifies this, there are two issues to manage:1) Getting whipsawed.2) Entering the trend too late.I believe that I can at least alleviate these issues somewhat. Technical indicators can provide clues about whether or not the market is currently trending

24 Feb 2009

As I develop and test more expert advisers I see just how tricky it is to translate common sense into a series of hard and fast rules.In short, my adviser does stupid things!When I trade Forex on my own I'll combine a "feel" for the current situation along with some technical indicators. For example, in recent times, if something funny is going on, then the market I'm trading almost always takes

23 Feb 2009

I love the fact that I can program the MT4 system. However, wouldn't it be nice if there was documentation in English? Well, yes, there is some, but it obviously wasn't written by somebody who speaks it fluently.Anyway, I spent much of the weekend fooling around with some custom expert advisers. One or two had promise, but obviously if it was easy to do then everyone would be doing it. It

19 Feb 2009

I've signed up for a second account. This one is at a broker that uses a dealing desk and an MT4 based trading platform.Why?Because I write software for a living. Because I sometimes have a decided lack of discipline. Because my life is stressful and I don't need to be glued to my screen worrying about charts, margins and limits.No, really, it's because I'd like to think that I can create a

Archives

 
Twitter Facebook Dribbble Tumblr Last FM Flickr Behance