

With trade entry parameter range extended, GBP/USD optimum moves closer to the rest 
Written by Forex Automaton  
Monday, 29 June 2009 09:40  
With the tradeentry parameter range extended into the more conservative area, the GBP/USD optimization results begin to look more like those of other currency pairs, with arguably a better optimum. 1. The basicsThe basic framework remains the same: a run of the program included simulations of trading histories of 27608 independent "virtual traders" (forex robots), each of them being an incarnation of the same algorithm, differing by the setting of the adjustable knobs. As in all other published studies so far, the trading is performed on onedecisionaday time scale, with 1:100 leverage, risking no more than 10% of the trading capital at any point in time. This report uses the GBP/USD day scale data covering the time interval from August 20, 2002 to March 23, 2009, with the actual trading starting in March 2006 (when the initial "training" of the system was completed). The key concepts of conditional projection distributions and profile histograms have been explained before. The trading system control parameters remain as previously defined. The current mode of the market analysis, when the various exchange rates are being treated by the algorithm in isolation from one another, is not the way the production trading system will operate. However, understanding the markets in isolation and optimizing the system in this simpler problem setting is seen as the first step towards optimization of the more complex algorithm where the amount of information at every point in time will be radically increased by combining multiple exchange rates and the crossmarket, as well as intramarket patterns will be taken advantage of. In addition, repetition of the optimization analysis on the independent markets is a great validity test for the entire idea: ideally, if the problem is treated correctly, the algorithmic optimization must deal with bare essentials of the market predictability, with all the transient and nonessential specifics and particulars of the individual exchange rates being left behind and "abstracted" away. Are we indeed dealing with such essentials? If the "best" solutions for the different markets and the very landscape of the optimization problem look different market to market, then the answer is no. The good news is that we see a lot of similarity between such landscapes, and the best way to verify that is to compare our "Optimizing the forex trading system..." reports for the different exchange rate markets. The more justifiable cutandpaste you see between such reports, the better. The Forex Automaton genre is different from journalism: reused content is a signature of failure there and a signature of success here! With the Fred (the forecasting control parameter) optimum in the range 14 to 23 according to the previous report, GBP/USD looked like an outsider to the club of USD/JPY, AUD/USD, USD/CAD, EUR/USD, and finally, USD/CHF  all having the optimum Fred in the right half of the Fred range. By extending the range of the trade entry parameter, this report changes the situation. 2. Stoploss optimizationWhat is the best stoploss parameter to use in GBP/USD? The answer depends on the time scale of trading, since so does the distribution of returns. The distribution of returns gets broader with time scale; in the random walk problem, your expected rootmeansquare departure from the origin grows with time as a square root of time. My stoploss parameter is not expressed in pips or dollars. Instead, it is a fraction of the rootmeansquare of the series of linear returns (price differences) in the nearest subset of the price series. By keeping it in the units of the market volatility, I hopefully can have appletoapple comparisons between different markets, different time frames and different time periods.
The more conservative values of the tradeentry parameter are seen to increase the magnitude of the average return for such a marginal distribution, in particular, for the lower stoploss settings. Contrary to what was seen for EUR/USD, the shape of the curve remains similar for the various symbol types as the entry threshold is varied. The local maximum of the return in the vicinity of 1.167 on the STOPLOSS axis initially grows as the entry requirement becomes more conservative, indicating, as was noted in the EUR/USD report just mentioned, that those more conservative values increase the relative weight of the situations where tighter stoploss makes sense  a welcome development, consistent with presence of intelligence in the forecast signal to which the entry threshold is applied. Same growth has been seen in USD/CAD and AUD/USD, USD/CHF optimizations  the only other ones looked at in enough detail so far to discuss the point. Fig.2.1 shows that the importance of the trade entry parameter grows as the stoploss gets tighter (up to a certain point, until everything seems to become a losing strategy with a very tight stop loss). Somewhat counterintuitively, it is the traders using tight stoploss who need to be particularly conservative about when to enter a trade. The tight stoploss is not a replacement for being critical and selective! 3. Trade entry and exit thresholds
The entry and exit threshold parameters have been explained elsewhere. In Figures 3.1 and 3.2 I present data for the trade entry and trade exit parameters, respectively, grouped and colorcoded according to the value of the trade entry parameter. Compared to the previous GBP/USD optimization study, the range of entry parameter has been extended from 0.009 to 0.016. The dynamics of the annualized return in Fig.3.1 is understandable: lack of selectiveness in the trade ideas leads to decreased returns. The extreme conservatism, on the other hand, leads to the situation when trades are made so seldom that it is hard to expect returns. Thus, a maximum is to be expected; it seems like we reach it with the ENTRY values in the 0.0100.012 range, and begin to see the rightside tail of falling returns with more conservative ENTRY values.
Speaking of the exit parameter, the shape of the annualized return dependence on it for GBP/USD, seen in Fig.3.2, encourages keeping the position, and the more so, the less conservative the entry decision tends to be. Apparently, GBP/USD is a "flegmathic" market where if a robot is not very conservative when taking the entry decision, she can compensate for that to some extent by being conservative about the exit decision (sounds counterintuitive, doesn't it?) These are the conclusions on the basis of the data in front of you alone. (How does this compare to your impression from trading "cable"? I am only analysing onedecisionaday trading and the situation may be different for other time frames). 4. Optimizing the forecasting parameterWe optimize the forecasting quality parameter, the least trivial of all, by playing with the combined (simultaneous) cut on the parameters inspected so far. The parameter is euphemistically called Fred to avoid disclosing its nature.
The bottom panel of Fig.4.1 shows the "new" optimum, with the entry parameter shifted into the newlyexplored "conservative" area. The overall shape in that panel, with its two humps, still looks peculiar, but there is little double that we do see the second maximum in the area of larger Fred values, very close to where similar maxima were found for the USD/JPY, USD/CAD, EUR/USD, AUD/USD and USD/CHF. Since part of the rationale for these studies is to see how consistent the performancedriven selection results for the different currency combinations are, existence of shared optima among such different currency pairs is a good news.
Fig.4.2 is included to show you that the extra returns associated with the new maximum in the 6583 Fred range do not come at much of an extra cost in terms of risk. In Fig.4.2, the measure of risk is the RMS of the time series of the annualized monthly logarithmic returns. Based on this, I like Fred in the range 6583 for the new sweet spot. 5. The winnersWith this input, the preferred ranges of the trading system parameters (both old and new) are given in the Table. Still to be discussed is the risk associated with making a wrong choice of a robot, and how much value is added to the system by the selection of the forecasting parameter, the most problematic of all.
Regarding the figures of merit shown in the table, a walkthrough is now in order.
The Yellow optimum in the table looks superior to the Blue one in almost all respects.
Fig.5.1 presents the summary of progress accomplished so far, using the annualized return statistic. Entries in the histogram are the forex robots (algorithmic traders) and the statistic refers to their trading performance. In the course of the optimization, the initial sample of 27608 forex robots is reduced to 280 winners by trading system parameter cuts. From the analysis of various foreign exchange rates so far, it's evident that forecasting is the most tricky aspect of the trading system to optimize. We may end up with a single, compromise approach for all exchange rate or be forced to class exchange rates according to the similarity of the Fred optimization solutions. In either case, we must be prepared to face the worstcase scenario when we will have to admit that the Fred selection adds no value to the algorithm. That's why I am showing the black histograms in Fig.5.1. The blackcolor data represent the options on the table in the absence of any Fred selection, and show the effect of the money management style selection alone. The Fred selection shifts the return distribution in the positive direction considerably. Speaking of risk (within the risk vs return framework), there are two kinds of risk to discuss here: the risk of ending up with a "bad" robot which only seemed to be part of the "good" distribution, and the inherent risk of a given robot's strategy. The latter risk is the one commonly talked about, and it is not evident from the figures. Its measure is the Log annualized monthly return RMS mean in Table 5.1, as well as the Log annualized monthly return min mean, Log annualized monthly return max mean, and the spread between the latter two. While the mean of the distributions in Fig.5.1 is the measure of return, its RMS is the measure of risk associated with choosing a particular robot, or a particular version of the trading system, and its importance is hard to overestimate. One has to minimize the probability of ending up with a "lemon", a robot which belongs to the parent distribution and lands in the negative area of returns. For Gaussian distributions, a good measure of the probability that this happens is the ratio of mean to the RMS (or Sigma). The higher it is, the lower is the chance of a bad choice. This is, essentially, the rationale behind the Sharpe ratio (when different trading strategies, rather than different periods, are used to obtain the return estimate). Whatever it's worth, the ratio of Annualized return mean to the Annualized return RMS, as seen from Table 5.1, is in favor of the "yellow" optimum. An additional argument in favor of the yellow "sweet spot" is the proximity of its Fred range (6585) to the Fred ranges found to be good for USD/JPY, USD/CAD, EUR/USD, AUD/USD, and USD/CHF. 

Last Updated ( Monday, 04 January 2010 12:31 ) 