рефераты конспекты курсовые дипломные лекции шпоры

Реферат Курсовая Конспект

Diagnosing Market Trends

Diagnosing Market Trends - раздел Литература, Beyond Technical Analysis You Can Design A Profitable Trading Strategy If You Can Correctly And Con­sis...

You can design a profitable trading strategy if you can correctly and con­sistently diagnose whether a market is trending. In simple terms, the market exists in two states: trending and ranging. A market is trending if it moves steadily in one direction. If the market is going back and forth within a relatively narrow price range, then it is ranging.

Longer-term strategies are likely to succeed in trending markets, and shorter-term strategies in ranging markets. As always, the market may not make a crisp transition from trending to ranging and back again. Sometimes the market begins to range only to break out into a trend, or vice versa.

There are many different ways to determine if a market is trending. Clearly, you must make a number of trade-offs, and these trade-offs largely define your answer. For example, one well-known measure is the average directional index (ADX) developed by Welles Wilder Jr. (see bibliography for references). This is usually a built-in function in most technical analysis software programs. The ADX describes double-smoothed, absolute market momentum. A rising ADX line usually indi­cates trend. You have to choose the number of days to calculate the ADX; the sensitivity of the indicator decreases as the time increases. A


Diagnosing Market Trends 41

value of 14 days is common, although 18 days works well. You must also define two reference levels to screen out false signals. An ADX value of 20 is useful as a reference level—that is to say a market is not trending unless the rising 18-day ADX is above 20. A second useful barrier level is 40, which says that when the ADX rises above 40 and then turns down, a consolidation is likely. You will find that in particularly strong trends, the "hook" from above 40 often signals just a brief consolidation phase. The trend then has a strong second "leg" toward higher highs or lower lows.

Sometimes you will find that the ADX will rise above 20 in markets that are in a broad trading range. Another quirk is that the ADX can head lower even though prices march steadily and smoothly in either di­rection. In short, this is not a perfect indicator. The main difficulty with the ADX is that it has two levels of smoothing, which produces discon­certing lags between price movement and indicator response. Chapter 5 shows that the absolute level of the ADX indicator is not as useful for system design as is its trend.

An indicator that is more directly based on market momentum, and that responds more predictably than the ADX, is the range action veri­fication index (RAVI). This strategy, which focuses on identifying rang­ing markets, is different from the ADX, which looks at how much of to­day's price action is beyond yesterday's price bar.

To define RAVI, we begin by selecting the 13-week simple moving average, since it represents a quarter of a year. Because we want to use daily data, we convert the 13-week SMA into the equivalent 65-day SMA of the close. This is the long moving average. The short moving average is chosen as only 10 percent of the long moving average, which is 6.5 days, or, rounding up, 7 days. Thus, we use 7-day and 65-day sim­ple moving averages. This choice of lengths is purely arbitrary. Next, the RAVI is defined as the absolute value of the percentage difference be­tween the 7-day SMA (7-SMA) and the 65-day SMA (65-SMA):

RAVI = Absolute value (100 x (7-SMA-65-SMA)/65-SMA)

An arbitrary reference level of 3 percent means a market is ranging if the RAVI is less than 3 percent, and trending strongly if the RAVI is greater than 3 percent. In some markets, such as Eurodollars, this is too high a hurdle. Hence, you may want to experiment with a smaller level, such as 1 percent, or use a relative measure, such as a 65-day SMA of the

I RAVI. You can also require that the RAVI be above 3 percent and rising

I for there to be a strong trend.

I


Foundations of System Design

Note the following design features of the RAVI: (1) There is only one level of smoothing. (2) The 7-day moving average is relatively sen­sitive, so that the lags between price action and indicator action should be small. (3) Markets can still move more quickly than the RAVI indi­cates. You can verify this by looking at the currency markets. (4) Markets in a slowly drifting, choppy trend will pin the RAVI below 3 percent, in­dicating ranging action.

Figure 3.1 compares the 18-day ADX (bottom graph) to the RAVI (middle graph) with a horizontal line at the 3 percent RAVI level. There is a general similarity between the two indicators, with the RAVI re­sponding more quickly than the ADX because it has only one level of smoothing versus two levels for the ADX. A double-smoothed RAVI in­dicator created by smoothing the RAVI with a 14-day SMA is very simi­lar to the 18-day ADX, as shown in Figure 3.2. Thus the ADX closely describes double-smoothed momentum and can lag price movements.

We now compare the ADX and RAVI and use them both to meas­ure how often trends occur. In this example, we use continuous contracts from January 1, 1989, through June 30, 1995, a rising 18-day ADX above 20, and a rising RAVI greater than 3 percent. The ADX and RAVI are considered to be rising if today's value is greater than the value 10 days ago. These choices of length and reference levels are arbitrary.

Figure 3.1 Comparison between the ADX (bottom) and RAVI (middle) to meas­ure ranging behavior.


Diagnosing Market Trends 43

in Jul Aug Sep Oct Nov Dec

Figure 3.2 A double-smoothed RAVI (solid line) compared to the 18-day ADX (dotted line) shows that the two indicators are very similar.

The calculations shown in Table 3.1 suggest that markets seem to show some form oftrendiness about 20 to 40 percent of the time. Some markets, such as the 10-year T-note, have not shown very strong trends as measured by the RAVI. However, this may just be due to using a 3 percent barrier with the RAVI to measure trend strength. The "soft" markets, such as coffee and sugar, show the highest tendency to trend. Other fundamentals-driven markets, such as cotton, copper, and crude oil, also show a tendency to have strong trends, with a RAVI rating above 35 percent. The more mature markets, such as S&P-500 and U.S. bond markets, show fewer strong trends than the softs. RAVI calcula­tions correctly tagged the prolonged sideways ranging action in gold with a low rating of 15.8.

A separate calculation showed that the average length of these trending intervals was about 15 to 18 days in most markets, with values ranging from as low as 1 to more than 30. Thus, the trending phase of these markets was long enough to allow profitable trading. These calcu­lations show that markets have provided sufficient opportunities for trend-following systems in the "trendless nineties."

In summary, you can use momentum-based indicators to measure ranging or trending action. The calculations show that markets have trends lasting 15 to 18 days on average. Hence, trend-following strate-


44 Foundations of System Design

Table 3.1 Proportion of market days showing definite trend, using ADX and RAVI

– Конец работы –

Эта тема принадлежит разделу:

Beyond Technical Analysis

На сайте allrefs.net читайте: "Beyond Technical Analysis"

Если Вам нужно дополнительный материал на эту тему, или Вы не нашли то, что искали, рекомендуем воспользоваться поиском по нашей базе работ: Diagnosing Market Trends

Что будем делать с полученным материалом:

Если этот материал оказался полезным ля Вас, Вы можете сохранить его на свою страничку в социальных сетях:

Все темы данного раздела:

Developing New Trading Systems 73
Introduction 73 The Assumptions behind Trend-Following Systems 74 The 65sma-3cc Trend-Following System 75 Effect of Initial Money Management Stop 88 Adding Filter to the 65sma-3cc Syste

Selected Bibliography 253 Index 255 About the Disk 261
Preface This is a book about designing, testing, and implementing trading sys­tems for the futures and equities markets. The book begins by develop­ing trading systems and ends by def

Introduction
Хорошая система торговли удовлетворяет вашу индивидуальность. К счастью, самый быстрый способ находить каждый - через процесс испытания(суда) и ужаса(террора). Любое проверяющее система программное

РАЗВИТИЕ И ВНЕДРЕНИЕ ТОРГОВЫХ СИСТЕМ
На предмете. Привлекательная особенность - то большинство материала, первоначальное или новое. Эта книга разделена на две половины по четыре главы каждая. Первая часть посвящена проектированию торг

The Usual Disclaimer
Throughout the book, a number of trading systems are explored as ex­amples of the art of designing and testing trading systems. This is not a recommendation that you trade these systems. I do not c

What Is a Trading System?
A trading system is a set of rules that defines conditions required to in­itiate and exit a trade. Usually, most trading systems have many parts, such as entry, exit, risk control, and money manage

Comparison: Discretionary versus Mechanical System Trader
Table 1.1 compares two extremes in trading: a discretionary trader and a 100% mechanical system trader. Discretionary traders use all inputs that seem relevant to the trade: fundamental data, techn

Discretionary Trader 100% Mechanical System Trader
Subjective Objective Many rules Few rules Emotional Unemotional Varies

Why Should You Use a Trading System?
The most important reason to use a trading system is to gain a "statisti­cal edge." This often-used term simply means that you have tested the system, and the profit of the average trade—

Robust Trading Systems: TOPS COLA
A robust trading system is one that can withstand a variety of market conditions across many markets and time frames. A robust system is not overly sensitive to the actual values of the parameters

How Do You Implement a Trading System?
Begin with a trading system you trust. After sufficient testing, you can determine the risk control strategy necessary for that system. The risk control strategy specifies the number of contracts p

Who Wins? Who Loses?
Tewles, Harlow, and Stone (1974) report a study by Blair Stewart of the complete trading accounts of 8,922 customers in the 1930s. That may seem like a long time ago, but the human psychology of fe

Beyond Technical Analysis
The usual advice for technical traders is a collection of rules with many exceptions and exceptions to the exceptions. The trading rules are diffi­cult to test and the observations are hard to quan

Introduction
This chapter presents some basic principles of system design. "You should try to understand these issues and adapt them to your preferences. First, assess your trading beliefs—these b

What Are Your Trading Beliefs?
You can trade only what you believe; therefore, your beliefs about price action must be at the core of your trading system. This will allow the trading system to reflect your personality, and you a

Six Cardinal Rules
Once you identify your strongly held trading beliefs, you can switch to the task of building a trading system around those beliefs. The six rules listed below are important considerations in tradin

Rule 1: Positive Expectation
A trading system that has a positive expectation is likely to be profitable in the future. The expectation here refers to the dollar profit of the av­erage trade, including all available winning an

Rule 2: A Small Number of Rules
This book deals with deterministic trading systems using a small number of rules or variables. These trading systems are similar to systems people have developed for tasks such as controlling a che

Days since 08/01/95
Figure 2.2 SScP-500 closing data with regression using terms raised to the fifth power. (2.1) (2.2) Est Close = C0

More rules need more data
2 4 8 12 16 24 32 48 64 96 128 Number of rules

Rule 3: Robust Trading Rules
Robust trading rules can handle a variety of market conditions. The per­formance of such systems is not sensitive to small changes in parameter values. Usually, these rules are profitable over mult

Number of rules
Figure 2.5 Adding more rules delayed entries and exits, increasing maximum intraday drawdown. Note that the horizontal scale is not linear. today's high + 1 point on a buy

Number of rules
Figure 2.6 Increasing the number of rules decreased profits in the U.S. bond market from January 1, 1975 through June 30, 1995. Note that the horizontal scale is not linear.

Delay (» of days) after crossover
Figure 2.7 The effect on profits of changing the number of days of delay in accepting a crossover signal of a 3-day SMA by 12-day SMA system is highly de­pendent on the delay.

Here must be a Figure.
Figure 2.8 The August 1995 crude oil contract with curve-fitted system profitable trades. As many as 87 percent of all trades (20 out of 23) were profitable. A second clue

Rule 4: Trading Multiple Contracts
Multiple contracts allow you to make larger profits when you are right. However, the drawdowns are larger if you are wrong. You are betting that with good risk control, the overall profits w

Rule 5: Risk Control, Money Management, and Portfolio Design
All traders have accounts of finite size as well as written or unwritten guidelines for expected performance over the immediate future. These performance guidelines have a great influence over the

Equity Curve: 3SF vs SF+TY+CT
-3SF -SUM

Time (months)
Figure 2.11 This contrived jagged equity curve has a standard error of 2.25. The perfectly smooth equity curve has an SE of zero. The standard deviation of monthly returns is 33 pe

Rule 6: Fully Mechanical System
The simplest answer to why a system must be mechanical is that you cannot test a discretionary system over historical data. It is impossible to Summary37 for

Summary
This chapter developed a checklist for narrowing your trading beliefs. You should narrow your beliefs down to five or less to build effective trading systems around them. This chapter also

Introduction
This chapter examines many key system design issues. Now that you un­derstand some basic principles of system design, you can consider more complex issues. And as you understand these issues, you c

ADX Rising, RAVI Rising, Market (1/1/89-6/30/95) ADX>20 RAVI > 3
Coffee 30.2 43.3 Copper, high-grade 27.0 35.3 Cotton 29.2

To Follow the Trend or Not?
If you are not a large hedger or an institutional trader, you can follow either of two basic strategies when you design a trading system. You can be a trend follower, or you can take antitre

Profits of age of Winner Loser tive Drawdown
($) Trades Winners ($) ($) Losers ($) Coffee 1,837 27,065 -11,215

To Optimize or Not to Optimize?
If you have a computer, you can easily set up a search to find the "opti­mum" values for a system over historical data. The results can be truly astonishing. Imagine your profits if you c

Length of Optimized 3 mo. 1990 6 mo. 1990 9 mo. 1990 12mo.1990 SMA Relative Relative Relative Relative Relative (days) Rank Rank Rank Rank Rank

Initial Stop: Solution or Problem?
Many traders have raised stop placement to an art form because it is not clear if the initial stop is a solution or a problem. The answer depends on your experiences. Often, the stop acts as a magn

Day CHBOC with varying initial stop
S

Changes In MIDD for 20-day CHBOC on Coffee
-20000 -22000 S -24000 -26000 -28000 -30000 -32000 -34000 -36000

Changes In percent profitable trades, 20-day CHBOC on Coffee
>o o 10 o irt o io o io t- r- cm cm co ro ^t -a- Initial stop ($)

Cumulative frequency distribution average 10-day daily range in coffee
250 750 1250 1750 2250 2750 3250 3750 4250 4750 5250 Range ($)

Does Your Design Control Risks?
As you design your trading system, remind yourself that one of your key goals is to control the downside risk. You will quickly discover that risk is a many-splendored thing. This section br

Data! Handle with Care!
You have many choices when you select data for your system testing. You should therefore exercise great care in choosing your test data because they have a big influence on test results. C

Profit MIDD of Wins Win/Loss Data Type ($) ($) Trades (%) Ratio
Actual with rollovers 17,963 -21,663 111 40 1.80 Continuous type 38/13 18,450 -24,813 79 31 2.74 Continuous type 49/25 20,413 -22,137 77 31 2.89 Continuous type 55/25 20,

Choosing Orders for Entries and Exits
You have three basic choices for orders that you use to initiate or exit your trades: market, stop, or limit orders. There are three philosophies at work here. One says to get your price, implying

Understanding Summary of Test Results
This discussion of the detailed summary of test results found in technical analysis programs uses in part the report from Omega Research's TradeStation™ software. The purpose of the summary is to s

British Pound 38/13-dally 02/13/75 - 7/10/95 Performance Summary: All Trades
  Total net profit ($) 155,675.00 Gross profit ($) 266,918.75 Total number of trades 71 Number of winning trades 32 Largest winning trade

What the Performance Summary Does Not Show
The test summary leaves out some important information, highlighted below. You may wish to examine these factors in greater detail. One simple ratio is the recovery factor (RF). RF is abso

A Reality Check
This section sounds a note of warning before you proceed: Test results are not what they seem. You should recognize that trading systems are designed with the benefit of hindsight. This is true bec

Introduction
A trading system is only as good as your market intuition. You can for­mulate and test virtually any trading system you can imagine with today's software. The previous chapters studied the b

The Assumptions behind Trend-Following Systems
The basic assumptions behind a simple trend-following system are as follows: 1. Markets trend smoothly up and down, and trends last a long time. 2. A close beyond a moving average

The 65sma-3cc Trend-Following System
This section discusses how to formulate and test a simple, nonoptimized, trend-following system that makes as few assumptions as possible about price action. It arbitrarily uses a 65-day simple mov

Distribution of Trade P&L for 65sma-3cc: 2400 trades
tOU                    

Comparing frequency distribution of 65sma-3cc trades to standard normal distribution
  | 0.2

Frequency distribution of 65sma-3cc trades compared to a modified normal distribution
^-•-•^-T-OOOOOOOOOOOOOT-'- Z (standard deviations)

Maximum favorable excursion of 1,565 losing trades of 65sma-3cc system
800 700 600 500 400 300 200 100 0 s Maximum profit ($) Figure 4.9 A histogram of maximum profit in 1,565 losing trades over 20 ye

Cumulative Frequency of winning trades, 65sma-3cc system
2000 3000 Maximum pro

Effect of Initial Money Management Stop
Since the initial test of the 65sma-3cc model was encouraging, we can now do more testing. The first item of business is to insert an initial money management stop into this model. Our detailed ana

Number of trades Increases and levels off.
•US Bond -DM 750 1000 125

Volatility-based initial money management stop
Figure 4.13 The profits (upper line) increase as the initial money management stop is loosened. Eventually, the stop is too wide and profits begin to level off. The lower line is t

Profit and MIDD for LH as a function of initial MMS

Volatility-based initial MMS
Figure 4.14 The profits (upper line) increase as the initial money management stop is loosened. The lower line is the maximum intraday drawdown. Data are for the live hogs market.

Adding Filter to the 65sma-3cc System
So far, we have let the trading system generate pure signals without try­ing to filter the signals in any way. As we have seen, this system will gen­erate many short-lived or "false" sign

Largest losing trade increases as MMS Increases
-1000 -2000 -3000 <s.

Volatility based initial MMS for Sugar
Figure 4.15 Largest losing trade for sugar using the 65sma-3cc trading system increases as the volatility-based initial money management stop increases. also the short exi

Adding Exit Rules to the 65sma-3cc System
Selecting general and powerful exit rules is a difficult challenge in sys­tem design because the markets exhibit many different price patterns. One form of exit that is particularly easy to impleme

Channel Breakout-Pull Back Pattern
This section discusses a trading system based on a pattern observed in mature markets, that is, markets with a large volume of institutional ac­tivity. In these markets, the big players have a tend

An ADX Burst Trend-Seeking System
We have assumed that the market was about to trend in both the 65sma-3cc and the CB-PB systems, although we did not actually verify that the market was trending because it is difficult to measure t

A Trend-Antitrend Trading System
In this section we explore the trend-antitrend (T-AT) system, designed to switch automatically between an antitrend mode and a trend-follow­ing mode. You will like this system if you aggressively l

Gold-Bond Intermarket System
This section develops intermarket trading systems for trading negatively or positively correlated markets. We begin with a quick review of the difficulties of formulating intermarket models. The go

A Pattern for Bottom-Fishing
Market-specific systems work best on a particular market because they capture some unusual feature of that market. It is difficult to speculate why certain markets show signature patterns. We shoul

Time: 4/82-7/95
Figure 4.39 Equity curve for bottom-fishing pattern (9/82-7/95) with X = 1 and /= 0 (aggressive trades) for SScP-500 data with rollovers. Initial money man­agement stop was $2,000.

Identifying Extraordinary Opportunities
Once or twice a year, the futures markets provide extraordinary oppor­tunities for exceptional profits, and if you can take advantage of these opportunities, your account performance will improve s

Хотите получать на электронную почту самые свежие новости?
Education Insider Sample
Подпишитесь на Нашу рассылку
Наша политика приватности обеспечивает 100% безопасность и анонимность Ваших E-Mail
Реклама
Соответствующий теме материал
  • Похожее
  • Популярное
  • Облако тегов
  • Здесь
  • Временно
  • Пусто
Теги