s6_fundamental of technical analysis and algorithmic trading

Upload: sharktale2828

Post on 13-Apr-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    1/31

    Saeed Ebrahimijam

    Spring 2012-2013

    Faculty of Business and EconomicsDepartment of Banking and Financeu Akdeniz niversitesi

    FINA417

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    2/31

    How Trendlines Are Drawn Significance of Trendlines

    Validity of Trendlines Penetration

    Curved Trendlines Trendline Role reversal

    Trend Channel

    The Fan Principle

    2Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    3/31

    A trendline is simply a straight line thatconnects a series of security prices, eithertops or bottoms.

    3Fundamentals of Technical Anal sis and Al orithmic Tradin

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    4/31

    An up trendline is a straight line that connects a seriesof reaction lows.

    Note that the trendline appears at the bottom of the

    price pattern and is drawn up and to the right.

    4Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    5/31

    A down trendline is a straight line that connects a seriesof rally tops.

    Note that, in this case, the trendline is at the top of theprice pattern. It is drawn down and to the right.

    5Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    6/31

    There must be at least two tops or bottoms tobegin a trendline. (This makes sense, becauseone must have two points in order to draw astraight line.)

    After drawing a trendline based on two topsor bottoms, one will frequently find that ahigher top or lower bottom has been made,requiring the trendline to be redrawn.

    6Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    7/31

    The significance of a trendline is determinedby two factors:

    1- the number of points (tops or bottoms) thatthe trendline goes through.

    2- the length of time the trendline haspersisted without being penetrated.

    7Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    8/31

    The length of the trendline indicates theperiod of time that prices have remainedabove or below the trendline.

    Obviously, the longer that period lasts, thegreater the significance of the trendline.

    - For example, a trendline that has not beenpenetrated for 10 months is more significant

    than one that has held for 10 weeks or 10days.

    8Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    9/31

    In addition to the number of points that atrendline goes through and the length of time thetrendline has persisted, some technicians feel theangle of the trendline adds to the significance ofa trendline.

    In general, the closer to horizontal the trendlineis, the greater the significance of any penetrationthrough it.

    Very steep trendlines can easily be broken bybrief sideways consolidation moves;

    trendlines that are less steep are not subject tomany short-term price movements (that areoften inconsistent with the current trend).

    9Fundamentals of Technical Anal sis and Al orithmic Tradin

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    10/31

    Once a trendline has been established, achange in the direction of the trend issignaled by prices breaking through thetrendline.

    In the case of an up trendline, this occurs asillustrated in Figure 6-4. Figure 6-5 showsthe penetration of a down trendline.

    10Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    11/31

    11Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    12/31

    12Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    13/31

    Two criteria are used to determine the validity of trendlinepenetration.- The firstcriterion is the extent of penetrationhow farprices have moved past the trendline?

    There is no right answer to the question: How far do priceshave to move before the breaking of a trendline isconsidered valid? It depends to a great degree on thevolatility of the security. However, some technicians use a3 percent rule in regard to stocks. If the closing price forthe day is 3 percent lower (for an up trendline) or higher(for a down trendline), then the penetration is viewed as

    decisive and valid. The 3 percent move does not have tohappen in one day, although it is not unusual for prices todo so.

    13Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    14/31

    Some technicians also use a time filter.- For example, if prices close above an uptrendline or below a down trendline for twodays in a row, it is viewed as a validpenetration, and prices are likely to continuetheir reversal.

    14

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    15/31

    Price penetrate for a few hours(Intraday) and then

    close in itsprevious situation. It is not consideras trendline penetration. Because, at the end ofthe day analysts will look at the close prices.

    15

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    16/31

    The second criterion relates to the volume. The validity of a trendline penetration is

    enhanced if it is accompanied by expandingvolume (especially when down trendlines arebroken by high volume).

    However, it is not essential for volume toincrease for there to be a valid penetration.

    In other words, the extent of penetration(price) is more important than its volumecharacteristics.

    16

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    17/31

    17Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    18/31

    18Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    19/31

    A trendline is normally thought of as a straight line. It is not unusual for an advance or decline in prices to rapidlypick up momentum and move away from an established

    trendline in a curving fashion.- If this curving occurs after an extended rise in prices, it signals

    the potential for a buying climax blowoff).- On the other hand, if the curving action happens following anextended decline in prices, it warns you of the possibility of aselling climax. In both cases, as momentum accelerates and prices move almost

    vertically, volume typically reaches an abnormally high level. An upcurving trendline connects a series of reaction lows in an

    uptrend, while a downcurving trendline is drawn through a series

    of rally highs. Both can be drawn with a Frenchcurve. Significant penetration of a curved trendline is as valid as that of

    a straight trendline. It signals a change in the direction of thetrend.

    19Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    20/31

    Once a trendline is decisively penetrated, itnormally changes its role from one of support toone of resistance for an up trendline (see Figure6-7) or resistance to support for a down

    trendline (see Figure 6-8). More about supportand resistance is presented in Lesson 7.

    Note : in both Figures 6-7 and 6-8 that pricesfirst moved away from the trendline, then back to

    it, and then away again. This is called a pullbackand is not uncommon. Pullbacks offer investorsgreat entry points for buying or selling short

    20Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    21/31

    In many instances, prices repeatedly moveabout the same distance away from atrendline before returning to the trendline. Inthese cases, a straight line can be drawn

    connecting the peaks of rallies in an uptrendor the bottoms of declines in a downtrend.That line is often parallel to the trendline andis called a return or channel line. Togetherthe channel line and trendline create a trendchannel, a range within which prices aremoving.

    21Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    22/31

    Figures 6-9 and 6-10 illustrate trendchannels in an uptrend and downtrend,respectively Well-defined trend channelsappear most frequently in charts of actively

    traded securities. Thinly traded securities offer little

    opportunity for trend channels to develop.

    22Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    23/31

    23Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    24/31

    24Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    25/31

    Novice techniciansoften use trend channels todetermine good profit-taking levels.

    For example, in an uptrend, they will sell astock when it reaches the upper level of itstrend channel.

    25Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    26/31

    More experienced technicians watch pricemovements within the two boundary lines of thetrend channel looking for a warning signal thatthe trend direction is changing.

    If, in an upward trend channel, prices rally upfrom the trendline but fail to reach the upperchannel line, it signals a deterioration of thetrend and the probability that the lower line willbe broken.

    Frequently, the distance from the top of thefailed rally to the channel line equals the distanceby which the next move down penetrates thetrendline.

    26Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    27/31

    Similarly, in a downward trend channel, ifprices drop from the trendline but fail toreach the bottom channel line, it signals adeterioration of the trend and probability that

    the upper line will be broken. Likewise, the distance from the bottom of the

    failed attempt to reach the channel line to thechannel line often is equal to the distance bywhich the next rally penetrates the trendline.

    27Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    28/31

    If prices break through the upper line in an

    upward trend channel, an acceleration of theexisting uptrend is signaled. At this point,some investors will buy additional positions.

    On the other hand, if prices move through thebottom line of a downward trend channel, the

    existing downtrend appears to be picking upspeed. Short positions may be increased atthis point.

    28Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    29/31

    It is called the fan principle because it reflects the drawing ofthree trendlines that together look like a fan.In an upward trending fan: An initial trendline is drawn connecting the low prices in a

    normal fashion. The trendline is broken, and prices move to a lower point from

    which they rally back to the bottom of the trendline (which nowacts as resistance instead of support). A second trendline is drawn from the low beginning of the first

    trendline and the low of the penetration through the firsttrendline. Prices once again decline and break through thesecond trendline creating a new low. They then rally up to thebottom of the second trendline.

    The third and final trendline is drawn from the low beginning thefirst trendline and the low just created.

    When prices subsequently fall and break through the thirdtrendline a reversal in prices is signaled. at list in the Mid-t rm

    29Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    30/31

    30Fundamentals of Technical Analysis and Algorithmic Trading

  • 7/27/2019 S6_Fundamental of Technical Analysis and Algorithmic Trading

    31/31

    Similar to an upward trending fan, thebreaking of the third trendline is what signalsa reversal in prices.

    31