GALERY II

Kamis, 31 Juli 2008

Forex Expert Advisor Information

A Forex Expert Advisor (a.k.a. Forex Trading Robot, EA, MT-4 EA, Automated Forex Trading Software) is a mechanical trading system written in the MQL-4 programming language and designed to automate trading activities on the MetaTrader 4 platform. Expert Advisors can be programmed to alert you of a trading opportunity and can also trade your account automatically managing all aspects of trading operations from sending orders directly to your broker’s server to automatically adjusting stop loss, trailing stops and take profit levels.

Expert Advisors for MetaTrader 4 are all unique and different in the rules they follow to enter and exit the market. Expert Advisors eliminate emotional trading decisions that cripple novice trading accounts. Forex Expert Advisors allow investors to exercise a very strict trading system without falling outside pre-programmed parameters and it is this rock solid consistency one of the features that make these programs so attractive to serious investors. Am Expert Advisors can also eliminate the emotional trading decisions that usually cripple novice Forex trading accounts. Forex Expert Advisors exercise unmatched discipline when trading and can be designed to evaluate more parameters at the same time than any human could keep an eye on at once.





All of the technical indicators that are available in the MT-4 platform can be brought to bear in the logic used by an Expert Advisor in almost any way that one can think of thanks to the MQL-4 programming language. All types of moving averages (simple, exponential, etc.), RSI, CCI, etc. You can also create your own custom indicator and call upon it from an Expert Advisor.

There are many different types of MT-4 Expert Advisors depending on their intended application. Some are designed specifically to trade news events and remain out of the market all other times while other MT-4 Expert Advisors are meant to remain active 24x7. Experienced traders who have their own fine tuned manual trading systems sometimes hire MQL-4 programmers to automate their systems thereby creating custom MT-4 Expert Advisors. All expert advisors have the same goal and that is to automate trading operations and generate a profit while doing so.

Expert Advisors make use of technical indicators in order to assess market conditions and make trading decisions. In order for the Expert Advisor to work, it must be attached to an individual chart on the MetaTrader 4 Forex trading platform. An MT-4 Expert Advisor can take into consideration dozens of different factors in an instant in order to decide what to do next. This ability to consider such a broad range of price influencing factors coupled with the discipline of a mechanical trading system devoid of emotion leads to a very successful trading combination.

Throughout the pages of this web site you will find more detailed information about Forex Expert Advisors. If you have a question about Forex Expert Advisors for the MetaTrader 4 platform and you don’t see it here please send us an email and we will try our best to respond as soon as possible.


How does a Forex Expert Advisor work ?


The program works by calculating the different indicators that it was designed to use and take actions when the market conditions meet the correct criteria as described in the source code of the Expert Advisor.

Fore Example. A simple expert advisor may say something like this:

"If the 9 and 20 day moving averages cross with the 9 day MA above the 20 MA and the RSI is higher than 50 then open a long position (buy)"

That is just an example. You can assign countless conditions for entering and exiting the market as well as managing trades for trailing stops and multiple take profit levels.

An MT-4 Expert Advisor is usually divided into three parts: A startup or ‘init’ function, a main function and a ‘deinit’ or cleanup function. The Expert Advisor will run through its startup function once upon startup and will run through its ‘deinit’ or clean-up function once at the end. In the mean time, the MT-4 Expert Advisor program runs through a cycle of its main function over and over with every incoming tick while it is attached to a chart and active. Once running, the Expert Advisor will not start another cycle for a new tick if it is still in the middle of processing the previous one.

Here is a simple outline of what a simple expert advisor could be programmed to do.

(This would be the 'main' part of the EA and takes place every time a tick comes in.)

1- Check my account. Is there enough equity to open a trade? if so, continue. If not, end.

2- Are there any open trades right now?

2a- If there are, do they need to be closed or do they need their trailing stop adjusted? (do so if needed and exit.)

2b- If there are no open trades, are the market conditions right to open one? (do so if needed and exit. )

3- End.



How to use an Expert Advisor

In order to make use of an Expert Advisor you have to install it on MetaTrader and then attach it to the appropriate chart on MetaTrader 4. This is fairly simple as will be described below. If there are any instructions included with your Expert Advisor you should read them in their entirety.

#1- First, you have to put the Expert Advisor in a place where MetaTrader 4 will be able to use it. In most installations of MetaTrader 4 that place is C:\Program Files\MetaTrader 4\experts The actual Expert Advisor is a file without an icon that ends with .EX4

#2- Now that the Expert Advisor is in the correct location within your computer, re-start MetaTrader 4.

#3- When MetaTrader 4 starts up again you will now see the new Expert Advisor on the left navigation menu.


Learn to Make your own Expert Advisors

In order to make your own expert advisor you have to learn the MQL-4 programming language. If you already know C programming then MQL-4 will be very easy as they are quite similar. If you do not know either language, it would be prudent to take a course in C programming. Then, once you understand the structure of C language, MQL-4 will be a snap. If you are not a programmer, do not let this stop you from learning to make your own Expert Advisors.

The following web site has all the official documentation on the MQL-4 programming language.

http://docs.mql4.com



The Different Types of Expert Advisors


There are various different types of Expert Advisors for the MetaTrader 4 platform. Here we will discuss some of the more common types. This is by no means a comprehensive list. There can be other types of Expert Advisors based on the creativity of the programmers who make them.

News Expert Advisor - This is a type of hedging EA. The News EA is designed to take advantage of news events and the large price shifts that can occur during financial news releases.

Breakout Expert Advisor - Designed to open a trade when the price breaks through predefined support and resistance levels.

Hedge Expert Advisor - This is any EA that plays two separate and opposing positions and minimizes the loss on one while facilitating maximum profit on the good trade.

Scalper Expert Advisor - This is the type of EA that will get your account canceled or at least heavily restricted by a broker. It aims to secure small profits as soon as they are available.


What is MQL-4 ?

MQL-4 is short for Meta Quotes Language version 4. This is the programming language created by MetaQuotes Software Corp. (http://www.metaquotes.net) that automates the MetaTrader client terminal.

The following web site has all the official documentation on the MQL-4 programming language.

http://docs.mql4.com


*What is MetaTrader 4 ?

MetaTrader 4 is a free trading platform developed by MetaQuotes Software Corp. (http://www.metaquotes.net) and supported by many different Forex brokers all over the world. MetaTrader 4 easy to learn and very user friendly.

One of the unique qualities of MetaTrader 4 is the ability to automate trading activities through the use of an Expert Advisor.


Can I run more than one Expert Advisor on the same account/client terminal ?

Yes. You can run multiple instances of an Expert Advisor on the same MetaTrader 4 client terminal. As long as all of the Expert Advisors that you are running in the same client terminal have been designed to get along with each other on the same terminal. (not all Expert Advisors can get along on the same terminal) Mainly because they will try to manage each other’s open trades. Programmers get around this by using magic numbers in the market entrance part of the source code of the Expert Advisor.

There are also platform limitations. Only one Expert Advisor can communicate with the trading server at any one time. If multiple Expert Advisors are active on the same terminal and more than one try to communicate with the trading server you will get "Trade context busy" errors in the logs when this happens if you have too many Expert Advisors on one client terminal.

Selasa, 29 Juli 2008

What is Money Management System?

Money management system is the subsystem of the forex trading plan which controls how much you risk when you get an entry signal from your forex trading system. One of the best money management methods used by many professional forex traders is to always risk a fixed percentage of your equity (e.g. 3%) per position. By using this method a trader gradually increases the size of his trades while he is winning and decreases the size of his trades when he is losing. Increasing the size of bets during a winning streak allows for a geometric growth of the trader's account (also known as profit compounding). Decreasing the size of bets during a losing streak minimizes the damage to the trader's equity. You can view interactive demonstration of this technique by opening the forex trading simulator (Please note: The size of this page is 0,6 Mbs and it requires that you have Flash installed and Javascript enabled in your browser).

Trading on forex allows to multiply your account over time - or to make it grow geometrically. Geometric capital growth is produced when the profits are reinvested into the trading which leads to progressively larger positions being taken and, consequently, to bigger profits and losses. The pace at which the account grows is controlled by the size of the profits and by their frequency (which should always be remembered by forex trading system developers). While the geometric equity growth can and should be smooth (i.e. consistent), some traders try to accelerate it by artificially inflating the size of their profits by risking very high percentages of their account. Because the actual sequence of the winning and the losing trades can never be predicted in advance, such practice results in very erratic trading performance (i.e. sharp equity fluctuations). Among other things this practice betrays the trader's lack of confidence in his or her trading system's long-term profit potential. As long as the trader is confident about his trading system he can risk small percentages (%1 to 3%) of his account on every trade and simply watch the system realize its potential. It should be noted that only the geometric capital growth allows to make regular profit withdrawals from an account (as a certain percent of the equity) without seriously affecting a trading system's money making ability. This contrasts sharply with the fixed-dollar-bet money management system (e.g. always risk $500 per trade) whose profits grow arithmetically and where each withdrawal from the account puts the system a fixed number of profitable trades back in time.

Both proper money management and sound trading system are required for a smooth geometric capital growth. The speed (i.e. "geometricity") and the smoothness of the account's growth depend on how much you risk per trade (as set by the money management system) and on the trading system's accuracy and the payoff ratio parameters (trading system's mathematical expectation). Apart from the controlling equity fluctuations by setting a fixed percentage of the capital to be risked on any trade, money management system can also reduce equity swings through diversification (splitting your risk capital among unrelated currency pairs/trading systems).

Quote: "..analysis is the door to fabulous riches, while money management is the key that opens that door.", Robert Balan, in his book, "Elliott wave principle applied to the foreign exchange markets".

How Much to Risk?

Quote: "There is no return without risk", the 1st rule of the 9 Rules of Risk Management, by RiskMetrics.

Trading on the forex market can be a very profitable business. Armed with this fact some traders start determined to make huge sums of money in as little time as possible - by risking too much. In other words, they are aiming for fast geometric growth of their accounts with no regard for the smoothness of the equity curve. Doing so invariably results in severe drawdowns or complete wipe-outs as can be easily seen if you enter values larger than 10 as the “Percent Risked” in the forex trading simulator (Please note: The size of this page is 0,6 Mbs and it requires that you have Flash installed and Javascript enabled in your browser) and model a few equity scenarios with this setting. Risking high percentage of your account might indeed have dramatic effect on the geometric growth of your account balance in the very short-term. However, winning streaks (however long) are always followed by losing streaks (however short) and much of what was “given” by the high percentages is very likely to be “taken away” by the same percentages.

For example, if you risk 25% of your account balance per trade with the system accuracy of 50% and the payoff ratio of 2 you can expect to double your account in 6 trades (as you can see from the "Exp # of trades to TR" cell on the forex trading simulator when you use such settings). You can also expect to give away most or all of these profits in the next few traders – as the same percentages will now cut deep into your profits when your trading system generates losing signals. Now try to imagine how you would feel if your car accelerates to a 500 miles per hour in a few seconds then suddenly reverses and flies back at the same speed. You would achieve similar effect on your feelings or your investors' if you got your account up to 100% in a few trades and then lost all of the profits in the very next few trades.

It certainly pays to keep the speed (percent risked) of your car (forex trading system) within reason so that you can reach your destination (e.g. doubling you account balance) without submitting your emotional and financial well-being to excessive risks - as both your financial and emotional strength tends to be limited. At lower percentages of equity risked a winning or a losing streak simply does not have as spectacular impact on the equity curve which results in smoother capital appreciation (and much less stress for the trader or for the investor). This is because when you risk small fractions of your equity (up to 3%) each trade is given less "power" to affect the shape of your equity curve which leads to smaller drawdowns and consequently greater ability to capitalize on the winning signals in the future. In other words, the size of drawdowns is directly proportional to the percent risked. You can see this if you enter progressively larger values in the "Percent Risked" filed in the forex trading simulator and then compare the resultant maximum drawdowns (in "Max DrawDown in %" field) for each of percent values that you entered. In addition to being directly proportional to the % risked, drawdowns are inversely proportional to both the accuracy and the payoff ratio (average win/average loss) of a trading system (as you can see if you enter different accuracy and payoff ratio values in the forex trading simulator). This relationship can be clearly seen with the help of the three 3D charts shown below which plot the combined effect of the payoff ratio and the accuracy of a trading system on the maximum percent drawdown, as seen during 15,000 trading scenarios modelled on the forex trading simulator (5,000 for each of the three different "perecent risked" settings which were tested - 1%, 3% and 5%).

ForexHit Table

Quote: "..the final return is only a function of how well you would like to sleep at night", Thomas Stridsman, in his book "Trading Systems That Work: Building and Evaluating Effective Trading Systems".

A drawdown is the distance from the lowest point between two consecutive equity highs to the first of these highs. For example, if your account increases from $10,000 to $15,000 (first equity high) then drops to 12,000 (lowest point between equity highs) and then rises again to $20,000 (second equity high) your drawdown will be $3,000 ($15,000-$12,000) or 20% ($3,000/$15,000). When deciding on the percent to be risked on each trade you should keep in mind that as the drawdown grows arithmetically, the profits (and psychological fortitude to stick to the system) required to get out of it increase geometrically (as you can see from the chart below). You can also use the following calculator to model the effect of a losing streak on the equity and the profit required to recoup the loss. The "%" stands for the percent of the equity risked per trade. The "#" stands for the number of consecutive losses. The "loss" column calculates the cumulative damage to the equity in percentage terms. The "recoup" column shows how much profit is required to return to the breakeven. Alternatively, you can just enter the value of loss into the cell below the "Loss" heading to calculate the size of the profit necessary to recoup it.

Calc Info

Chart

As can be readily seen from the above calculator it takes only a few trades to severely damage your prospects as a currency trader - if you risk too much in your trading. With this information in mind it is best to always risk a maximum of 1% of the equity if you are managing other people's money and a maximum of 3% of the equity if you are trading with your own funds. As a general rule the higher the accuracy of a trading system AND the higher its payoff ratio the safer it is to risk more per trade. This principle is the basis for the money management calculator (Please note: This calculator requires that Javascript is enabled in your browser) located in the trade forex section of the site.

Note: It is best not to rely too much on the theoretical probability of a large number of losing trades happening in a row. In other words, because the probability of a few losses happening in a row is very low it doesn't mean this cannot happen in your trading. Suppose you trade a system which generates 60 winning trades out of 100 on average. The probability of a profitable trade is always 60%, while the probability of a losing trade is always 40% with such a system. The chances of 5 consecutive losses can be calculated by multiplying 0,4 five times by itself or 0,4*0,4*0,4*0,4*0,4 which results in 1,02%. Even if the probability of roughly one percent does look very remote this is not a zero probability and quite likely to happen in real trading - as you will quickly see if you model just a few equity scenarios in the forex trading simulator with system accuracy set to 60% (be sure to check the "Max. Consec.Losses" cell). Moreover, given that the outcome of any single trade can be considered random there is nothing in the world that can guarantee that your system's next five trades will not be all losses or all profits, for that matter. Therefore, it is best to be prepared for such an outcome in advance by risking less of your account per each trade. Closely related to this is the idea of luck in trading, which can be defined as the clustering of large number of profitable trades in narrow periods of time. For example, you can easily generate a string of 12 winning trades on the forex trading simulator with the system accuracy set to 60%. The probability of such an event is equal to 0,6 raised to the 12'th power or 0,2% or 1 in 500. Despite such a low probability you can expect to see 12 or more successive winners in your trading (be sure to check the "Max. Consec.Wins" cell on the forex trading simulator as you perform the above simulation) when you trade long enough with a system that has success rate equal to %60. Even if the short-term effect on the equity (and trader morale) of such a long series of successful trades can be quite dramatic, it plays little role in the long-term success as a currency trader. In other words, the fact that your trading system has just generated a long run of profitable trades doesn't say very much about its long-term profit potential, which should instead be measured by its mathematical expectation.

Money management system is similar to the forex trading system in that sticking to it is vital to the long-term success in currency trading. Once you decide on the percentage of equity that you will risk per position you should never deviate from this number and try to stay as close to it as possible - no matter how bad or good your system performance is. This question becomes especially important when you decide on the type of account that you open - if it will be a mini or a standard trading account. As you can see from the allocation efficiency calculator (Please note: This calculator requires that Javascript is enabled in your browser) mini accounts are vastly superior to the standard accounts (especially with account balances less than $50,000) when it comes to meeting the constraints of both your money management system (% risked) and your trading system (size of the stop-loss).

Note: When you select the account type you should pay close attention to the level of the leverage offered by your forex broker. Even if high leverage (from 1:100 and up) allows to trade multiple lots with very little money of your own, it can be dangerous when it forces you to overtrade - to assume positions which risk more than the percentage value set by your money management system. For example, you might be compelled to risk $400 (40 pip stop-loss) on a very attractive EUR/USD trade while on a standard account with the maximum allowable risk per trade set at 3% of $10,000 or $300. The only way to stick to your money management system would be to bypass this trade and therefore undermine your system's profitability (and your morale). You wouldn't need to avoid this signal or use smaller stop-loss than the one suggested by your system if you traded at half the leverage (which would mean only $200 risk per trade) or if you traded on a mini account altogether - as is shown by the allocation efficiency calculator.

Mathematical Expectation of a Forex Trading System

Mathematical expectation of a forex trading system is how much of the risked capital you can expect to earn per trade on average. You can calculate the mathematical expectation of a system by the following formula:

Mathematical Exectation= (1+average win/average loss)*(system accuracy) -1

This formula requires that you take into account both the success rate (percent of winning signals) and the payoff ratio (average win/average loss) of any trading system when estimating its long-term profit potential. For example, a system with 50% accuracy and the 2 to 1 payoff ratio has the expectancy equal to +0,5. This means you can expect to earn 50% of the amount that you risk per trade on average. If you risk 2% of your capital per trade you can expect to earn 1% per trade (50% of 2%) on average with such a system. Negative mathematical expectation (e.g. casino roulette) means you will lose your money over the long-term no matter how small or big your positions are. Zero expectation means you can expect your account to fluctuate around breakeven for ever.

Quote:"The difference between a negative expectation and a positive one is the difference between life and death. It doesn't matter so much how positive or how negative your expectation is; what matters is whether it is positive or negative." Ralph Vince in his book "The Mathematics of Money Management: Risk Analysis Techniques for Traders".

You can model various equity development scenarios under the positive, the negative or the zero mathematical expectations by entering the following accuracy and the payoff values in the system controls on the forex trading simulator:

Calculator ForexHit

This table demonstrates the value of letting your profits run and cutting your losses short when you start to trade and don’t yet have a reliable currency trading system to follow. When you begin to trade your accuracy tends to be low. To compensate for the larger number of losses you absolutely have to let your profits run and keep you losses small. This will ensure that the profits from the few winners that you are able to capture will more than cover the total loss from all the losses that you take. Not allowing your profits to run at the start of your trading career would simply be "suicidal". This boils down to selecting the trades only with high reward/risk ratios. This will help to improve your payoff ratio and, therefore, your profit potential.

As you can also see from the table above, systems with different accuracy and payoff ratios can have identical mathematical expectations. This means, for example, that in the long run the profit that you can achieve with the system that is the first in the table will be equal to the profit that you will make using the second system - even if the second system is twice as accurate as the first one. You can compare how the equities develop for both of these systems by using the currency diversification simulator (Please note: The size of this page is 0,7 Mbs and it requires that you have Flash installed and Javascript enabled in your browser). Enter 40 in "past accuracy" field for system A and 80 for system B. Payoff ratio should be set to 3 for A and to 1 for B and set the "Percent Risked" to 1. If you wish to compare B with a more dissimilar trading system you can enter 20 as the accuracy and 7 as the payoff ratio on the A's control panel.

The closer the simulated equity performance (shown in the "Actual Accuracy" field) is to the past accuracy of each of the systems the clearer you will see that both systems tend to converge at the same final equity level. Because geometric capital growth is highly dependent on the frequency of the profits - when you increase the Percent Risked - a system with substantially higher accuracy will outperform a less accurate system even if both of them have identical mathematical expectations. This is one of the reasons to strive for the highest possible rate of accuracy in your trading. The other reason is that drawdown duration and size (in both absolute and percentage terms) tend to be much larger with the lower accuracy systems which leads to lower reward-to-risk ratios - as you can quickly see if you check the ""Drawdown time", the "Max Drawdown" and the "Max % Drawdown" fields in the diversification simulator when you do the simulation described above. As a third reason, it is always necessary to give a trading system some "room for error" in real-life trading - or excpect it to trade with accuracy lower than the past accuracy. Very low accuracy and high payoff ratio systems simply do not offer this - which means you should be prepared to sit through very long losing streaks before you see any profit. In contrast, higher accuracy forex trading systems make the currency trading less stressful by ensuring that you take smaller yet much more regular profits.

It stands to reason that the higher the mathematical expectation of a trading system the faster your account will grow. Very good trading systems have mathematical expectation close to 0,8. Common definition of an excellent trading system is that its payoff ratio is one point better than the payoff ratio of a breakeven system with the accuracy of 10 percent less. For example, the payoff ratio for a breakeven system with 40% success rate is 1,5, therefore an optimal system with 50% accuracy will have 1,5+1 = 2,5 payoff ratio. The following calculator allows you to compute the payoff ratio for a breakeven system and an optimal system:


Calculator ForexHit

Quote: "The first part of your system design should focus on building the highest possible expectancy into your system" by Van K. Tharp in his "Special Report on Money Management".

Note: You can get the most reliable measure of mechanical expectation of a trading system when you can translate it into computer code. One example of a simple trading system which can be readily backtested to calculate its expectancy is the moving average crossover system. Most of the advanced forex charting packages (e.g. FXtrek IntelliChart™ Copyright 2001-2007 FXtrek.com, Inc.) allow to construct wholly mechanical trading systems and to backtest them over historical price data. If you are using interpretive technical analysis tools in your trading (like price patterns, trendlines) you can only generate the statistics required for the calculation of your system's expectation by using the information from your trading log (where you enter individual trade results when you test-trade your trading system on a demo account). However, since these statistics are generated using interpretive analysis methods their validity will stay the same only if you continue to interpret price formations in exactly the same manner as you did before. Because signals of mechanical trading systems are never open to conflicting interpretation, their mathematical expectation is more reliable measure of future system performance than the expectation of interpretive trading systems.

Diversification in Currency Trading

Diversification is the distribution of the risk capital across unrelated currency pairs and/or trading systems for the purpose of increasing the consistency of trading performance. For example, if you trade one system on two unrelated currency pairs you can protect yourself against long losing streaks that any of these pairs can go through on its own. When you get a losing signal on the first pair, the second pair might generate a winning trade which will cover the loss of the first pair or vice versa. By splitting the risk capital (% of your equity) among two pairs you can be sure that when both pairs generate losing trades at the same time your total risk will not exceed the maximum value set by your money management system. This way you can achieve smoother capital appreciation than you would be able to do if you traded only one pair. For an interactive demonstration this concept please visit the currency diversification simulator. It should be noted that this calculator assumes zero correlation between the pairs or systems (more on correlation below).

Be sure to compare the values in the "Consistency" cells for each of the pairs when they are traded separately with the value of consistency achieved when trading them together (in the "Trading A&B" column). The combined consistency will almost always exceed the consistency of either of the pairs when they are traded individually.

The more unrelated pairs or systems you add to your portfolio the better protection you can have against the risk. For example, when trading one trading system on two absolutely uncorrelated currency pairs you decrease the probability of a losing trade (two pairs generating a losing trade simultaneously) by the percentage value equal to the system's accuracy. Suppose your system has the success rate of %60, therefore the probability of a losing trade for each pair is %40. The probability that both pairs will generate a losing signal is calculated by multiplying %40 by itself - which results in %16. This is the %60 decrease (24/40=0,6) in the probability of a losing trade achieved when you trade both pairs simultaneously. If your system has %70 success rate you can reduce the probability of a loss by %70 if you trade two unrelated pairs instead of one. The probability of a losing trade occurring for both pairs at the same time is %9 (%30*%30) which is a %70 decrease in the likelihood of a loss if you traded only one pair (21/30=0,7). I will note that even if you diversify into two or more weakly correlated currencies/trading systems, this won't eliminate the drawdowns completely. However weak is the correlation between the pairs or trading systems, they are likely to go through the losing streak all at once, at some point in the trading. You can see this by modelling the performance of two similar trading systems with the help of the currency diversification simulator (e.g. set accuracy to 40 and payoff ratio to 2 for both A and B) and checking if the yellow curve on the DRADOWN chart is moving in sync with the other two curves.

There is a weak relationship between two pairs if the absolute value of their correlation coefficient (usually denoted by r) doesn't exceed 0,3 (i.e. it can be anything from -0,3 to +0,3). A medium strength relationship exists when the absolute value of the coefficient is greater than 0,3 but less than 0,5. There is a strong relationship between two pairs if r is greater than 0.5 in absolute terms (i.e. bigger than 0.5 or less than –0.5). Currencies are said to be highly correlated if the absolute value of their correlation coefficient is equal to or bigger than 0,8. You can visualize these concepts with the help of the interactive correlation simulator. (Please note: This calculator requires that you have Flash installed and Javascript enabled in your browser)

Suppose you trade two currency pairs which are highly positively correlated like the EUR/USD and the GBP/USD (daily r is equal to 0,8 on average). When you get a sell signal for EUR/USD your system is likely to generate the same signal for the GBP/USD. If the first signal results in a loss this increases the probability that the second signal will not be profitable either. The same holds if you are trading very negatively correlated pairs with the same system - like EUR/USD and USD/CHF (daily r is equal to -0,9 on average). Selling one lot of EUR/USD and buying one lot of USD/CHF at the same time (e.g. on the break of a trendline which usually is simply a mirror image of the trendline visible on the other pair's chart - e.g. set "Target Correlation" to -0,9 on the correlation simulator and notice how similar are the imaginary trendlines for A and B) amounts roughly to selling 2 lots of EUR/USD or buying 2 lots of USD/CHF individually - with no reduction in risk whatsoever.

Quote:"Through bitter experience, I have learned that a mistake in position correlation is the root of some of the most serious problems in trading. If you have eight highly correlated positions, then you are really trading one position that is eight times as large." Bruce Kovner in Jack D. Schwager's book "Market Wizards: Interviews with Top Traders ".

In contrast, when you trade two uncorrelated or loosely correlated pairs you can expect your system to perform differently on each pair which should result in smoother overall trading performance. As an example you can buy a touch of a uptrendline on one pair (e.g. USD/JPY) and sell the top of the range on another unrelated pair (e.g. GBP/CHF, which has an average r of 0,3 with USD/JPY) without having to worry that price developments in USD/JPY might "spill over" into GBP/CHF (or the other way round) and by doing so spoil your whole trading setup. As the next best alternative, you can reduce the risk by opening opposing trades in the positively correlated pairs or same direction trades in the negatively correlated pairs - by using a different system for each of the pairs, as is described below. Yet another way you can use correlation is to select among highly correlated pairs that pair which offers the highest reward potential under the current market conditions and trade only it.

You can monitor the correlations between the currency pairs that you trade by using the information on the currency correlations page (which contains most up-to-date correlation data for the commonly traded currency pairs). I will note that it is best to keep the number of the currency pairs in your portfolio to a minimum because the number of the correlations to be tracked and the time required for this rises geometrically with the addition of each new pair. The formula for calculating the number of correlations between n number of pairs is [n*(n-1)]/2. You can start with one currency pair and gradually increase to a maximum of four pairs (with 6 correlations to monitor) as your experience grows.

When you diversify into different trading systems you should look for a combination of systems which results in the lowest possible correlation between their returns. Ideally you would trade only two systems which are perfectly negatively correlated (r=-1). This means that whenever one system generated a losing signal the other would produce a winning signal and vice versa. Examples of this possible combination are a mean-reversion system (e.g. RSI) and a trending system (e.g. Moving average) - for more examples please consult Richard L. Weissman's book "Mechanical Trading Systems: Pairing Trader Psychology with Technical Analysis". If you could find such a perfect combination of systems you would not see a single loss (as their net result) because the loss of one system would always be covered by the profit of the other. You can see how this works if you enter minus one into "Target Correlation" cell on the system correlation simulator (Please note: The size of this page is 0,7 Mbs and it requires that you have Flash installed and Javascript enabled in your browser). In practice, it is extremely hard to find perfectly negatively correlated systems. Nevertheless, even if systems traded are only mildly negatively correlated the trader can expect to benefit from the risk reduction offered by the diversification.

Quote: "The correlations of the different market systems can have a profound effect on a portfolio. It is important that you realize that a portfolio can be greater than the sum of its parts (if the correlations of its component parts are low enough). It is also possible that a portfolio may be less than the sum of its parts (if the correlations are too high)." Ralph Vince in his book "The Mathematics of Money Management: Risk Analysis Techniques for Traders".

Note: You can create and autotrade your own portfolio of loosely related trading systems created by the top forex signal providers with the help of the firms listed in the invest in forex section of our site.

Mastering Money Management in Forex Trading

The key to mastering money management is shifting your attention from the dollar value of your profits and losses to their percentage value of your account balance. Once you have trained yourself to think of your profits and losses exclusively in percentage terms it will be a simple mathematical task to stick to your money management system (e.g. just enter your constraints into the money management calculator and it will give you the number of lots to trade). As you account grows this practice will help you to avoid the hesitation in placing the trades when the absolute value of the dollars risked becomes very large - since you will know at that moment that you are still risking no more than amount dictated by your money management system (which will have played a major role in getting your account to that level in the first place).

You should also remember that the outcome of any single trade is almost always random. It is, therefore, not practical to attach yourself too strongly - either emotionally or financially (by risking too much)- to the result of any one trade or a series of trades. This concept of randomness is incorporated into all the trading simulators on this site which use random number generators to determine if any single trade is profitable or not.

As with the forex trading system, you can receive protection from your own destructive tendencies by closely following your money management system. It will protect you from greed and pride (which always demand that you overtrade) when your system generates unusually large number of winning signals in a row. It will also protect you from trader paralysis (inability to open new positions) when your system goes through a losing streak because you will know that, as long as you risk a small fraction of your equity per each trade (as is set by your money management system) and use a currency trading system with positive mathematical expectation, no string of losses can wipe out your trading account.

Senin, 28 Juli 2008

Five Guiding Principles of Trading Psychology

by :Brett N. Steenbarger, Ph.D


When I recently participated in an online chat presentation for John Forman, I assembled my ideas into ten basic principles that have guided my thinking about the psychology of traders and the psychology of markets. In the very near future, if my testing continues to be promising, I hope to present a market indicator for swing traders that rests firmly upon these principles. Stay tuned! In the interim, here are the five principles that pertain specifically to trading psychology. Next up will be five principles for trading the markets.

Principle #1: Trading is a performance activity - This is the core idea behind my most recent book. Like the playing of a concert instrument or the playing of a sport, trading entails the application of knowledge and skills to real time performances. Success at trading, as with other performances, depends upon a developmental process in which intensive, structured practice and experience over an extended time yield competence and expertise. Many trading problems are attributable to attempts to succeed at trading prior to undergoing this learning process. My research suggests that professional traders account for well over three-quarters of all share and futures contract volume. It is impossible to sustain success against these professionals without honing one's performance--and by making sure that you don't lose your capital in the learning process. Confidence in one's trading comes from the mastery conferred by one's learning and development, not from psychological exercises or insights.

Principle #2: Success in trading is a function of talents and skills - Trading, in this sense, is no different from chess, Olympic events, or acting. Inborn abilities (talents) and developed competencies (skills) determine one's level of success. From rock bands to ballet dancers and golfers, only a small percentage of participants in any performance activity are good enough to sustain a living from their performances. The key to success is finding a seamless fit between one's talents/skills and the specific opportunities available in a performance field. For traders, this means finding a superior fit between your abilities and the specific markets and strategies you will be trading. Many performance problems are the result of a suboptimal fit between what the trader is good at and how the trader is trading.

Principle #3: The core skill of trading is pattern recognition - Whether the trader is visually inspecting charts or analyzing signals statistically, pattern recognition lies at the heart of trading. The trader is trying to identify shifts in demand and supply in real time and is responding to patterns that are indicative of such shifts. Most of the different approaches to trading--technical and fundamental analysis, cycles, econometrics, quantitative historical analysis, Market Profile--are simply methods for conceptualizing patterns at different time frames. Traders will benefit most from those methods that fit well with their cognitive styles and strengths. A person adept at visual processing, with superior visual memory, might benefit from the use of charts in framing patterns. Someone who is highly analytical might benefit from statistical studies and mechanical signals.

Principle #4: Much pattern recognition is based on implicit learning - Implicit learning occurs when people are repeatedly exposed to complex patterns and eventually internalize those, even though they cannot verbalize the rules underlying those patterns. This is how children learn language and grammar, and it is how we learn to navigate our way through complex social interactions. Implicit learning manifests itself as a "feel" for a performance activity and facilitates a rapidity of pattern recognition that would not be possible through ordinary analysis. Even system developers, who rely upon explicit signals for trading, report that their frequent exposure to data gives them a feel for which variables will be promising and which will not during their testing. Research tells us that implicit learning only occurs after we have undergone thousands of learning trials. This is why trading competence--like competence at other performance activities such as piloting a fighter jet and chess--requires considerable practice and exposure to realistic scenarios. Without such immersive exposure, traders never truly internalize the patterns in their markets and time frames.

Principle #5: Emotional, cognitive, and physical factors disrupt access to patterns we have acquired implicitly - Once a performer has developed skills and moved along the path toward competence and expertise, psychology becomes important in sustaining consistency of performance. Many performance disruptions are caused when shifts in our cognitive, emotional, and/or physical states obscure the felt tendencies and intuitions that lie at the heart of implicit learning. This most commonly occurs as a result of performance anxiety--our fears about the outcome of our performance interfere with the access to the knowledge and skills needed to facilitate that performance. Such performance disruptions also commonly occur when traders trade positions that are too large for their accounts and/or do not maintain sound risk management with their positions. The large P/L swings cause shifts in emotional states that interfere with the (implicit) processing of market data. Cognitive, behavioral, and biofeedback methods can be very useful in teaching traders skills for maintaining the "Yoda state" of calm concentration needed to access implicit knowledge.

The most important question I can ask an aspiring trader is: Are you engaged in a structured training process? Education--simply reading articles in magazines, websites, blogs, and books--is important, but it is not training. Training is the systematic work on oneself to build skills and hone performance. It requires constant feedback about your performance--what is working and what isn't--and it requires a steady process of drilling skills until they become automatic. No amount of talking with a coach or counselor will substitute for the training process: not in trading, not in athletics, and not in the dramatic arts. Training yourself to proficiency is the path to a positive psychology.

.

Psychology of the trader

One of most trading prominent aspects is psychological preparation for trade on financial markets and market FOREX. For many traders the psychology is, perhaps, the most basic problem, to overcome which is received not by all.

It would seem, all is very simple - has purchased on a maximum, has sold on a minimum, has put a round sum in a pocket. Basic your problem and all that you should do is to reduce the losses and to find the trading system, which will allow to earn more than to lose.

Reading the best and known books from eminent traders in whom they paint advantages of indicators and do the application that the big money earns, not leaving from the house. You are signed on journals, dispatches in which under reports all looks very beautifully and harmoniously. You speak to yourselves: "I am able to do it, I am ready to real trade. I use the savings and, trading, I will transform them into millions". So, you are going to to do the millions and to live "a beautiful life"! You purchase the last trading system which promises the big profit. Any spending of time for a demo-trade or for development of your trading skills - you should start to gain money here and now because the income is necessary to you and you wish to show to all, that you have succeeded.

But all is illusion which traps so many beginning traders. The validity consists that is very difficult to trade with constant profit. Actually, 90 percent of all traders lose money in trade! The majority of beginning traders is lost by the money within the first 3-6 months. So why trade is so difficult and dangerous to your purse and health?

Responsibility, discipline, judiciousness, concentration, persistent job, practice and time is required to become the profitable trader. It does not depend on trading systems because the best trading systems are a by-product of reliance of the trader. The beginning trader should aspire to develop the reliable trading approach based on its belief and to carry out the strict control over risk and proper management of capital. The trader should have discipline to operate itself and the trade. Only for one this reason leaves many beginning traders. Still much depends on struggle against the psychology and the reaction to market events which clear up fear and greed.

To work over itself, overcoming difficulties hard, but it will help you with trade and becomes a primary factor in job in market FOREX, helping to make instant correct decisions and not to become despondent or euphoria at losses and profits.

Minggu, 27 Juli 2008

Penempatan Horizontal line

Setelah anda memasang ganngrid selanjutnya anda pasang horizontal line di setiap persilangan ganngridnya ( panah kuning ) , setelah terpasang kalau anda mulai luaskan pandangan dan meneliti sudah mulai tampak pemetaan pergerakannya, perhatikan sekitar garis-garis horizontal dan garis-garis ganngrid.

ganngrid dan horizontal line


Selanjutnya inilah sesi yang perlu anda betul meluaskan pandangan, arahkan semua pandangan ke berbagai sudut atau berbagai area, saya akan gambarkan berbagai sudut pandang , harap perhatikan baik-baik :

Cara pandang A :



Cara pandang B :



Cara pandang C :



Cara pandang D :


Saya telah membuat cara pandang dari A - D, untuk dapat diperhatiakn dulu , selanjutnya akan kami jelaskan bagaimana sudut-sudut pandang itu " setia bersama kami "

Sabtu, 26 Juli 2008

GANNGRID ANALYSIS

Apa itu ganngrid ? ganngrid adalah semacam grid yang tampak pada saat kita membuka meta4 pada tampilan chart, terlihat back ground yang kotak kotak pertemuan antara garis vertical dan horizontal , dan ganngrid mirip seperti itu tetapi garis-garisnya bersilang secara diagonal. Mencari cara bagaimana memasang sebuah ganngrid tidak akan pernah ditemui di ebook manapun karena bukan sebuah indicator tetapi hanyalah sebuah object list, mungkin ada tapi berbeda cara peletakannya. Apakah fungsi ganngrid ? fungsinya saya kira sama dengan grid , sebagai pembatas-pembatas atau memblok setiap area dari sebuah tampilan, contoh apabila seseorang ingin melukis ataupun akan mencontoh membuat sebuah peta maka akan di buat blok - blok untuk memudahkan menggambarkannya, tentunya yang kita blok disini adalah tampilan sebuah chart. artinya kita akan memetakan sebuah pergerakan dengan ganngrid. Apabila trading menggunakan flatform metaTrader bisa kita lihat pada menu seperti gambar.

Menu Ganngrid pada meta4.


Bagaimanakah meletakan Ganngrid ?

Berdasarkan apa yang telah saya jelaskan mengenai Channel dan trendline , dan berlandaskan itu juga saya meletakkan ganngrid, berlandaskan atau berdasar apakah? berdasarkan pengalaman saya mengamati sebuah pergerakan channel dan trendline sekitar 4 tahun, saya melihat bahwa sebelum terjadi pergerakan ke arah sudut ( triangle ) peluang break akan terjadi, begitulah saya mengawali memasang/meletakkan ganngrid. Lihat gambar bagaimana atau di daerah mana untuk meletakkan ganngrid.



Perhatikan baik-baik peletakan ganngrid saya letakan pada pergerakan yang mengalami sebuah break yang cukup kuat ( panah magenta ) , lingkaran merah adalah wilayah saya meletakannya, cara meletakan lihat panah kuning pantulan itu saya sesuaikan dengan garis ganngrid , selanjutnya letakan break ( lingkaran kuning kecil ) pada setengah dari ganngrid ( kotak biru ), Anda tidak perlu kuatir berapa besarnya ganngrid atau panjangnya sudut apabila anda menyesuaikan dengan baik otomatis akan terbentuk. Tidak ada aturan yang memasangnya di TF berapa, terserah anda anda boleh memasangnya di tf mana saja, kalau saya sendiri biasanya saya meletakkannya di tf 15 dan H1 ,kapankah saat memasang ganngrid ? pasanglah di 1 hari yang lalu, seminggu ataupun sebulan yang lalu, yang terpenting pasang di syarat-syarat yang telah saya beritahukan. Kapankah sebuah ganngrid perlu di refresh? apabila terlihat sudah terlalu kecil ataupun sudah terjadi/ terrlihat hanya satu garis diagonal. Untuk terlalu kecil anda boleh merefreshnya atau membuat ganngrid baru, bila terlihat cuman satu garis diagonal anda boleh membalik arah ganngridnya , yaitu garis awal kecil di letakan ke bagian bawah. " kita akan lanjutkan berikutnya " stay tune in my blog "

Rabu, 23 Juli 2008

Ulasan Equidistant Channel and Trendline

saya sudah ulas tentang EC dan trendline , untuk itu untuk mempermudah mendalaminya sering - sering latihan, dan anda bisa lihat sendiri kekuatan dari sebuah triangle terjadi break , sampai detik ini GU masih naik terus ( jam saya menulis ini ), lihat pos sebelumnya. Selanjutnya saya akan mengulas tentang style GANNGRID , berdasarkan EC dan trendline itulah muncul analisa berupa GANNGRID , anda tidak akan pernah dapat ebook tentang ini karena ini memang hasil dari analisa saya sendiri. Semoga nantinya analisa saya ini bisa jadikan bahan ataupun inspirasi untuk dapat menimbulkan style anda masing-masing. Mungkin anda bertanya mengapa saya tidak menggunakan analisa tehnikal yang berdasarkan indicator list , jawaban saya adalah saya sudah pernah memakainya bahkan berbagai macam jenis, mungkin tidak cocok untuk saya sehingga saya memilih analisa yang saya anggap sampai saat ini memberikan profit, tetapi indicator juga ada sebagian yang masih saya pakai. Mungkin karena dr hasil sendiri maka saya suka memakainya, karena suka menjadi enjoy buat trading. Semoga apa yang bisa saya sampaikan dapat bermanfaat pesan saya janganlah di buat ebook apa yang saya kembangkan apalagi sampai di komersilkan. " sampai jumpa di GANNGRID STYLE "

Selasa, 22 Juli 2008

Triangle formation tf 15

Kita sudah mendapatkan bagaimana cara penempatan channel sebagai dasar sebuah pergerakan dan juga mendapatkan acuan dr sebuah break, karena kita menggunakan Tf15 maka apabila terjadi pergerakan yang menciptakan channel baru , seharusnya kita mulai membuatnya lagi, seperti contoh gambar :


selanjutnya dimanakah kita open posisi ? karena kita saat menggunakan Tf15 dan pergerakan saat ini tidak terlihat dalam sebuah triangle maka kita dapat menggunakan trendline sebagai garis bantu untuk membentuk pola triangle. lihat gambar :


selanjutnya kita akan bahas lebih dalam lagi , seperti biasa " tunggu pos berikutnya ".

Triangle formation




Perhatikan baik2 formasi triangle, lihat gambar yang di atas kita menggunakan Tf15 , yang saya beri tanda kotak merah adalah formasi triangle yang menghasilkan sebuah break di mana formasi nya di dapatkan dari garis-garis yang kita bentuk dari monthly , garis tf lain bertemu dengan tf lain juga menghasilkan break , lihat di H1 triangle terbetuk dari pertemuan antara garis channel H1 dan M30. " pesan : tunggu pos berikutnya "

Senin, 21 Juli 2008

kemanakah pergerakan ?

Kita lanjutkan lagi pembahasan dari hasil-hasil Equidistant Channel and trendline , kita sekarang menggunakan M15 ( time frame ) , bila kita fokus ke m15 artinya kita fokus ke garis warna putih karena itu adalah channel terbentuk dari M15. Perhatikan gambar di mana pergerakan harga berada di posisi m15 ( warna putih ) yang saya beri tanda merah, awalnya pergerakan mengikuti channel m15 yang merangkak keatas ternyata pergerakan menuju ke bawah ke m15 yang menuju ke bawah, tetapi ternyata pergerakan masuk ke pola M30 ( tomato ) dengan garis kuning.


Berlandaskan dari pergerakan yang demikian sering terjadi para trader saling membenarkan pendapatnya ( analisa ) masing-masing, ada yang teriak buy dan ada yang teriak sell, apakah antara buy dan sell salah ? dan kadang yang terjadi saling menyalahkan bahkan mungkin menganggap analisa trader lainnya tidak tepat, selama menggunakan analisa untuk mengambil sebuah keputusan untuk melakukan open posisi baik itu buy ataupun sell , saya tegaskan tidak ada yang salah. mengapa? kemungkinan trader A berlandaskan analisa TF15 ( misal ) dan B TF30, atau C Tf yang lebih besar, seperti contoh gambar TF 15 mengatakan tetap sell tapi tf 30 mengatakan buy. Kita tidak tau sebenarnya arah pergerakan mau kemana, nah berdasar inilah lalu muncul support, resistant , pivot. Selanjutnya saya sendiri memutuskan kemana sebuah pergerakan dengan menggunakan TRIANGLE , mengapa? karena menurut saya di daerah triangle inilah dimana tempatnya sebuah pertarungan antara buy dan sell, saat di menangkan salah satunya harga akan BREAK apakah ini akan benar ? belum tentu juga. " selalu setia dengan blog saya akan saya pos lagi berikutnya ".

Minggu, 20 Juli 2008

Don't close your eyes

Dari pos sebelumnya kita sudah dapatkan garis channel dari monthly sampai Tf15 , selanjutnya apakah fungsi dari channel-channel itu? kalau kita lihat bersama tampak bahwa perjalanan sebuah pergerakan akan mengikuti arah channel, jika kita perhatikan perjalanan monthly channelnya juga mengikuti tf-tf kecil dibawanya, dan juga sebaliknya dari channel-channel tf kecil menuju ke channel tf besar. Selanjutnya bagaimanakah mengetahui pergerakan itu menuju kesebuah channel tf besar atau bahkan menuju ke tf kecil? nah hal ini saya beri nama " break". Break inilah yang akan saya jadikan sebuah kesempatan untuk mendulang profit. Break seperti apakah saat yang tepat ? sekarang perhatikan baik-baik kedua gambar ini, saya contohkan monthly tetapi juga berlaku untuk semua TF ( time frame ).

Gambar 1


Gambar 2


Perhatikan gambar 1 , perhatikan channel monthly ( kuning ) , dan selanjutnya saya mulai memainkan garis trendline pendek ( biru ) , saya akan membuat garis trendline pendek 2 buah, yang pertama berlabel 1 dan yang kedua berlabel 2 , yang pertama saya buat sesuai dengan kemiringan channel yang terjadi ( warna kuning ) dan yang ke dua mengikuti pantulan pergerakan. Dan yang di beri lingkaran adalah yang saya namakan dengan " BREAK " bisa terlihat bahwa aturan break ini terjadi bila arah pergerakan menuju ke sudut ( mengerucut kekanan ) atau seperti piramida yang sudutnya kesamping, ini jugalah yang saya namakan triangle versi saya. Lihat trendline pendek label 2 saat bertemu dengan channel ( kuning ) terjadilah sebuah break.

Selanjutnya perhatikan gambar 2, pada gambar dua dengan keadaan trendline yang sama seperti pada gambar 1 saya tempatkan di berbagai macam kesempatan lihat dari label 1 sampai dengan 6, apa yang terjadi? semua membentuk sebuah triangle dan juga terjadi break sebelum kearah sudut . yang di maksud sudut adalah yang saya beri tanda dengan kotak. Perhatikan label 4 dan 5 saat break dari sebelumnya terjadi pantulan-pantulan dan kedua trendline pendek saya kepungkan di pantulan itu dan apa yang terjadi juga mengalami break. Perhatikan sekarang trendline trendline pendek itu ( warna biru ) apabila dirapikan dan perlahan di satukan contoh label 3 dan 2 maka akan terjadi juga hanya satu trendline panjang bahkan sampai ke pantulan trendline pendek di label 5, artinya semua saling berhubungan, tugas kita adalah mencari posisi triangle. Semoga sampai disini dapat di mengerti dan selanjutnya saya akan test langsung di tf15 bagaimana open posisi dan juga dari berdasarkan ini juga munculah sebuah analisa ganngrid dan sekaligus sebagai pedoman cara penempatan ganngrid. " jangan lupa tetap setia bersama blog kami, berikan komen untuk menambah semangat " sampai jumpa di pos berikutnya.

Minggu, 13 Juli 2008

Equidistant Channel dan Trendline

Saya akan menggunakan channel untuk memetakan sebuah pergerakan dari mulai time frame ( TF ) Monthly sampai dengan TF15, fungsi dari channel ini akan memetakan atau sebagai pembatas untuk mengetahui sebuah pergerakan, yang mana saya akan tetap berpatokan dengan open posisi atau mengambil sebuah keputusan di Tf15. Channel ini bisa di gunakan di pair apa saja EUR/USD , GBB/USD , GBP/JPY , USD/JPY , sebagai contoh saya akan menggunakan GBP/USD. Semoga ini nanti bermanfaat untuk anda.

Channel Monthly ( warna kuning )
cara membuatnya seperti saya beri tanda panah, menempatkan channel di setiap pantulan atas maupun bawah yg memilki kesamaan arah.



Channel Weekly ( merah )




Channel Daily ( biru )


Channel H4 ( Magenta )


Channel H1 ( Aqua )


Channel M30 ( tomato )


Channel M15 ( putih )


Sekarang kita sudah dapatkan channel dari mulai monthly sampai dengan TF15 , selanjutnya sebagai dasar untuk mengambil keputusan adalah TF15, tetapi dengan melihat keseluruhan channel yang terbentuk dari monthly , bisa anda perhatikan di tf15 nya , terlihat lintasan channel dari tf di atasnya. Bagaimanakah proses membacanya ? ikuti post kami berikutnya.