第五章 外汇交易基础
对的,上来就给你看技术指标,绝对没错!
5.1 技术指标
Bill Williams Indicators
Acceleration/Deceleration Oscillator(AC)
Acceleration/Deceleration (AC) technical indicator signals the acceleration or deceleration of the current market driving force.
How to Use Acceleration/Deceleration
The indicator is fluctuating around a median 0.00 (zero) level which corresponds to a relative balance of the market driving force with the acceleration. Positive values signal a growing bullish trend, while negative values may be qualified as a bearish trend development. The indicator changes its direction before any actual trend reversals take place in the market therefore it serves as an early warning sign of probable trend direction changes.
The indicator color changes alone are very important as the current green line (irrespectively of the value) warns against long positions the same way as the red one would against selling.
To enter the market along with its driving force one needs to watch for both value and color. Two consecutive green columns above the zero level would suggest you to enter the market with a long position while at least two red columns below the zero level might be taken for a command to go short.
Fake signals prevail in timeframes smaller than 4 hours.
```{image} ../images/AcceleratorDecelerator.jpg :align: center
1 2 3 4 5 6 7 8 |
|
Alligator
Alligator is an indicator designed to signal a trend absence, formation and direction. Bill Williams saw the alligator's behavior as an allegory of the market's one: the resting phase is turning into the price-hunting as the alligator awakes so that to come back to sleep after the feeding is over. The longer the alligator is sleeping the hungrier it gets and the stronger the market move will be.
How to Use Alligator Indicator
The Alligator indicator consists of 13-, 8- and 5-period smoothed moving averages shifted into the future by 8, 5 and 3 bars respectively which are colored blue, red and green representing the alligator’s jaw, teeth and lips.
The Alligator is resting when the three averages are twisted together progressing in a narrow range. The more distant the averages become, the sooner the price move will happen.
The averages continuing in an upward direction (green followed by red and blue) suggest an emerging uptrend which we interpret as a signal to buy.
The averages following each other in the reversed order down the slope are a strong signal of an unfolding downtrend so selling at this point would be more than appropriate.
```{image} ../images/Alligator.jpg :align: center
1 2 3 4 5 6 7 8 |
|
Awesome Oscillator(AO)
Awesome Oscillator (AO) is a momentum indicator reflecting the precise changes in the market driving force which helps to identify the trend’s strength up to the points of formation and reversal.
How to Use Awesome Oscillator
There are three main signals which may be seen:
- Saucer - three consecutive columns above the nought line the first two of which must be colored red (the second one is lower than the first one) while the third one is colored green and higher than the previous (second) one. Such a formation would be a clear Buy signal whilst inverted and vertically flipped formation would serve as a Sell signal.
- Nought line crossing - the histogram crosses the naught line in an upward direction changing its values from negative to that of positive ones. In this situation we have a Buy signal. The Sell signal would be a reversed pattern.
- Two pikes - the indicator displays a Buy signal when the figure is formed by two consecutive pikes both of which are below the naught line and the later-formed pike is closer to the zero level than the earlier-formed one. The Sell signal would be given by the reverse formation.
```{image} ../images/AwesomeOscillator.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Fractals
Fractals is an indicator highlighting the chart’s local heights and lows where the price movement had stopped and reversed. These reversal points are called respectively Highs and Lows.
How to Use Fractal Indicator
Bill Williams' Fractals are formed around a group of five consecutive bars the first two of which are successively reaching higher (or diving deeper) and the last two descending lower (or growing higher) with the middle one being the highest (or the lowest) result in the group accordingly.
Buy fractal is an arrow pointing to the top
Sell fractal is an arrow pointing to the bottom
```{image} ../images/Fractals.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
Market Facilitation Index
The Market Facilitation Index is designed for evaluation the willingness of the market to move the price. The indicator's absolute values alone cannot provide any trading signals unlike it's dynamics in relation to the dynamics of the volume.
How to Use Market Facilitation Index
The absolute values of the index are represented by the histogram's bars while the comparison of the index and volume dynamics are given in colors which are vital in terms of reading the indicator signs.
Green bar - both MFI and volume are up. Increasing trading activity means market movement acceleration. We may join the trend.
Blue bar - MFI indicator is up, volume is down. The movement is continuing although the volume has dropped. The trend will soon be reversing.
Pink bar - MFI indicator is down, volume is up. The slowing down movement while volume is raising may indicate a possible break through, often a U-turn.
Brown bar - both MFI and volume are down. The market is no longer interested in the current direction and is looking for signs of a future development.
```{image} ../images/MarketFacilitationIndex.jpg :align: center
1 2 3 4 5 |
|
Oscillator
Aroon
Developed by Tushar Chande in 1995, Aroon is an indicator system that determines whether a stock is trending or not and how strong the trend is. “Aroon” means “Dawn's Early Light” in Sanskrit. Chande chose this name because the indicators are designed to reveal the beginning of a new trend. The Aroon indicators measure the number of periods since price recorded an x-day high or low. There are two separate indicators: Aroon-Up and Aroon-Down. A 25-day Aroon-Up measures the number of days since a 25-day high. A 25-day Aroon-Down measures the number of days since a 25-day low. In this sense, the Aroon indicators are quite different from typical momentum oscillators, which focus on price relative to time. Aroon is unique because it focuses on time relative to price. Chartists can use the Aroon indicators to spot emerging trends, identify consolidations, define correction periods and anticipate reversals.
Calculation
The Aroon indicators are shown in percentage terms and fluctuate between 0 and 100. Aroon-Up is based on price highs, while Aroon-Down is based on price lows. These two indicators are plotted side-by-side for easy comparison. The default parameter setting in SharpCharts is 25 and the example below is based on 25 days.
1 2 |
|
```{image} ../images/aron-1-spyexam.png :align: center
1 2 3 4 |
|
Interpretation
The Aroon indicators fluctuate above/below a centerline (50) and are bound between 0 and 100. These three levels are important for interpretation. At its most basic, the bulls have the edge when Aroon-Up is above 50 and Aroon-Down is below 50. This indicates a greater propensity for new x-day highs than lows. The converse is true for a downtrend. The bears have the edge when Aroon-Up is below 50 and Aroon-Down is above 50.
A surge to 100 indicates that a trend may be emerging. This can be confirmed with a decline in the other Aroon indicator. For example, a move to 100 in Aroon-Up combined with a decline below 30 in Aroon-Down shows upside strength. Consistently high readings mean prices are regularly hitting new highs or new lows for the specified period. Prices are moving consistently higher when Aroon-Up remains in the 70-100 range for an extended period. Conversely, consistently low readings indicate that prices are seldom hitting new highs or lows. Prices are NOT moving lower when Aroon-Down remains in the 0-30 range for an extended period. This does not mean prices are moving higher though. For that we need to check Aroon-Up.
New Trend Emerging
There are three stages to an emerging trend signal. First, the Aroon lines will cross. Second, the Aroon lines will cross above/below 50. Third, one of the Aroon lines will reach 100. For example, the first stage of an uptrend signal is when Aroon-Up moves above Aroon-Down. This shows new highs becoming more recent than new lows. Keep in mind that Aroon measures the time elapsed, not the price. The second stage is when Aroon-Up moves above 50 and Aroon-Down moves below 50. The third stage is when Aroon-Up reaches 100 and Aroon-Down remains at relatively low levels. The first and second stages do not always occur in that order. Sometimes Aroon-Up will break above 50 and then above Aroon-Down. Reverse engineering the uptrend stages will give you the emerging downtrend signal. Aroon-Down breaks above Aroon-Up, breaks above 50 and reaches 100.
```{image} ../images/aron-2-csxtrend.png :align: center
1 2 3 4 5 6 7 8 |
|
The chart above shows Omnicom (OMC) with the Aroon indicators moving below 50 in a parallel decline. The width of the channel could be narrower, but we can see the consolidation taking shape on the price chart for confirmation. Both Aroon-Up and Aroon-Down were below 50 in the yellow area. Aroon-Up then broke out and surged to 100, which was before the breakout. Further confirmation came with another Aroon-Up surge at the breakout point. This surge/breakout signaled the end of the consolidation and the beginning of the advance.
```{image} ../images/aron-4-lpntflat.png :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
Advantages of RSI-Bars oscillator
In contrast to the classical Relative Strength Index, developed by J.Wilder, RSI-Bars evaluates an internal volatility. Minimal and maximum limits of bars are constructed on the basis of 4 prices (OHLC). A calculated set is used for the selection of a minimum and maximum value of RSI-Bars. Then a bar structure is formed.
```{image} ../images/rsiformula.jpg :align: center
1 2 3 4 5 6 7 8 |
|
Application
The oscillator works most efficiently in a flat motion. A lower and higher bounds of oscillator values are introduced subjectively (for example 30% and 70%) and correspond to overbought and oversold levels;
- RSI-Bars can take extreme values during a trend motion. That’s why in this case a use of overbought and oversold levels is incorrect;
- RSI-Bars allows a definition of standard chart analysis instruments - figures, lines of support and resistance, etc. In this case the indicator should be used for a confirmation of technical analysis. We should take into account that RSI-Bars can give preliminary signals of a trend change;
- Divergence is the strongest signal of RSI-Bars – opposite directions of price and oscillator movements are detected in this case. This signal is a harbinger of a possible trend weakening;
- Values of RSI-Bars lie between 0% and 100%.
Average True Range(ATR)
The Average True Range (ATR) indicator was introduced by Welles Wilder as a tool to measure the market volatility and volatility alone leaving aside attempts to indicate the direction. Unlike the True Range, the ATR also includes volatility of gaps and limit moves. ATR indicator is good at valuating the market's interest in the price moves for strong moves and break-outs are normally accompanied by large ranges.
How to Use ATR Indicator
The ATR is used with 14 periods with daily and longer timeframes and reflects the volatility values that are in relation to the trading instrument's price. Low ATR values would normally correspond to a range trading while high values may indicate a trend breakout or breakdown. Average True Range Indicator
```{image} ../images/AverageTrueRange.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Bollinger Bands Trading Strategy
Bollinger Bands trading strategy aims to profit from oversold or overbought conditions on the market. Prices are considered overextended on the upside when they touch the upper band (overbought). They are overextended on the downside, when they touch the lower band (oversold). This strategy is used as an immediate signal to buy or sell the security. The usage of upper and lower bands as price targets is referred to as the simplest way of using Bollinger Bands strategy. If prices cross below the average, the lower band becomes the lower price target. If the prices cross above the same average, the upper band identifies the upper price target.
In a Bollinger Band trading system an uptrend is shown by prices fluctuating between upper and middle bands. In such cases if prices cross below the middle band, this warns of a trend reversal to the downside indicating a sell signal.
In a downtrend, prices fluctuate between middle and lower bands, and the price crossing above the middle band warns of a trend reversal to the upside, indicating a buy signal.
Bollinger Bands Formula (Calculation)
1 2 3 4 5 6 7 8 9 10 |
|
Commodity Channel Index(CCI)
The Commodity Channel Index is an indicator by Donald Lambert. Despite the original purpose to identify new trends, it’s nowadays widely used to measure the current price levels in relation to the average one.
How to Use CCI Indicator
Commodity Channel Index indicator oscillates around the naught line tending to stay within the range from -100 to +100. The naught line represents the level of an average balanced price. The higher the indicator surges above the naught line the more overvalued the security is. The further the CCI indicator plunges into the negative area the more potential for growth the price may have.
Still the unbalanced price alone may not serve as a clear indicator neither to the direction the price is following nor to its strength. There are critical values and the crossing directions which need to be looked at closely:
- Exceeding past the 100 level suggests a possible further upward movement
- Decreasing past the 100 level indicates a U-turn and serves as a signal to sell.
- Decreasing past the -100 level suggests a possible further downward movement
- Exceeding past the -100 level indicates a U-turn and serves as a signal to buy.
- Crossing the naught line upwards from below serves as a confirmation to buy
- Crossing the naught line downwards from above serves a confirmation to sell.
Smaller CCI indicator period increases its sensitivity. Shifting critical levels to 200 allows to exclude insignificant price fluctuations.
```{image} ../images/CommodityChannelIndex.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
There are four steps to calculating the Mean Deviation. First, subtract the most recent 20-period average of the typical price from each period's typical price. Second, take the absolute values of these numbers. Third, sum the absolute values. Fourth, divide by the total number of periods (20).
Lambert set the constant at .015 to ensure that approximately 70 to 80 percent of CCI values would fall between -100 and +100. This percentage also depends on the look-back period. A shorter CCI (10 periods) will be more volatile with a smaller percentage of values between +100 and -100. Conversely, a longer CCI (40 periods) will have a higher percentage of values between +100 and -100.
```{image} ../images/cci-1-msftsheet.png :align: center
1 2 3 4 5 6 7 8 9 10 11 12 |
|
DeMarker Indicator Formula (Calculation)
The DeMarker indicator is the sum of all price increment values recorded during the "i" period divided by the price minima:
1 2 3 4 5 6 |
|
Envelopes
The Envelopes indicator reflects the price overbought and oversold conditions helping to identify the entry or exit points as well as possible trend break-downs.
How to Use Envelopes Indicator
The Envelopes indicator consists of two SMAs that together form a flexible channel in which the price evolves. The averages are plotted around a Moving Average in a constant percentage distance which may be adjusted according to the current market volatility. Each line serves as a margin of the price fluctuation range.
In a trending market take only oversold signals in an uptrend conditions and overbought signals in a downtrend conditions.
In a ranging market the price reaching the top line serves as a sell signal, while the price at the lower line generates a signal to buy.
```{image} ../images/Envelopes.jpg :align: center
1 2 3 4 5 6 7 8 9 10 |
|
Force Index
The Force Index indicator invented by Alexander Elder measures the power behind every price move based on their three essential elements, e.g., direction, extent and volume. The oscillator fluctuates around the zero, i.e., a point of a relative balance between power shifts.
How to Use Force Index
The Force Index allows to identify the reinforcement of different time scale trends:
- The indicator should be made more sensitive by decreasing its period for short trends.
- The indicator should be smoothed by increasing its period for longer trends.
The Force Index may strongly imply a trend change:
- Break-down of an uptrend when the indicator's value is changing from positive to negative and price and indicator show divergence.
- Break-down of a downtrend when the indicator's value is changing from negative to positive and price and indicator show convergence.
Together with a trend-following indicator the Force Index can help identify trend corrections:
- An uptrend correction when the indicator bounces off the low.
- A downtrend correction when the indicator slides from a pike.
```{image} ../images/ForceIndex.jpg :align: center
1 2 3 4 5 6 |
|
Ichimoku
The Ichimoku Kinko Hyo (Equilibrium chart at a glance) is a comprehensive technical analysis tool introduced in 1968 by Tokyo columnist Goichi Hosoda. The concept of the system was to provide an immediate vision of trend sentiment, momentum and strength at a glance perceiving all the Ichimoku's five components and a price in terms of interactions among them of a cyclical type related to that of human group dynamics.
How to Use Ichimoku Indicator
The Ichimoku indicator consists of five lines which may all serve as flexible support or resistance lines, whose crossovers may as well be assumed as additional signals:
- Tenkan-Sen (Conversion line, blue)
- Kijun-Sen (Base line, red)
- Senkou Span A (Leading span A, green boundary of the cloud)
- Senkou Span B (Leading span B, red boundary of the cloud)
- Chikou Span (Lagging span, green)
Kumo (Cloud) is a central element of the Ichimoku system and represents support or resistance areas. It is formed by Leading Span A and Leading Span B.
Determining the trend persistence and corrections:
- Price moving above the cloud indicates an uptrend
- Price moving below the cloud indicates a downtrend
- Price moving within the cloud indicates a sideways trend
- Cloud turning from green to red indicates a correction during an uptrend
- Cloud turning from red to green indicates a correction during a downtrend
Determining support and resistance:
- Leading span A serves as a first support line for an uptrend
- Leading span B serves as a second support line for an uptrend
- Leading span A serves as a first resistance line for a downtrend
- Leading span B serves as a second resistance line for a downtrend
Strong Buy/Sell signals occurring above the cloud:
- Conversion line crosses Base line up from below is a signal to buy
- Conversion line crosses Base line down from above is a signal to sell
Less reliable Buy/Sell signals occurring within the cloud:
- Conversion line crosses Base line up from below is a signal to buy
- Conversion line crosses Base line down from above is a signal to sell
```{image} ../images/Ichimoku.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
MACD
Moving-Average Convergence/Divergence Oscillator, commonly referred to as MACD indicator, is developed by Gerald Appel which is designed to reveal changes in the direction and strength of the trend by combining signals from three time series of moving average curves.
How to Use MACD Indicator
Three main signals generated by the MACD indicator (blue line) are crossovers with the signal line (red line), with the x-axis and divergence patterns.
Crossovers with the signal line:
- If the MACD line is rising faster than the Signal line and crosses it from below, the signal is interpreted as bullish and suggests acceleration of price growth;
- If the MACD line is falling faster than the Signal line and crosses it from above, the signal is interpreted as bearish and suggests extension of price losses;
Crossovers with the x-axis:
- A bullish signal appears if the MACD line climbs above zero;
- A bearish signal presents if the MACD line falls below zero.
Convergence/Divergence:
- If the MACD line is trending in the same direction as the price, the pattern is known as convergence, which confirms the price move;
- If they move in opposite directions, the pattern is divergence. For example, if the price reaches a new high, but the indicator does not, this may be a sign of further weakness.
```{image} ../images/MACD.jpg :align: center
1 2 3 4 5 6 7 |
|
Momentum
Momentum Oscillator is an indicator that shows trend direction and measures how quickly the price is changing by comparing current and past prices.
How to Use Momentum Indicator
The indicator is represented by a line, which oscillates around 100. Being an oscillator, momentum should be used within price trend analysis.
Crossing the x-axis:
- It is believed that if the indicator climbs above 100 during an uptrend, it is a bullish signal;
- Otherwise if the indicator falls below 100 during a downtrend, a bearish signal appears.
Falling out of its normal range:
- Extreme points mean that the price has posted its strongest gain or loss for a particular number of moving periods, supporting trend strength;
- At the same time if the price movement was too rapid, they may indicate possible overbought and oversold areas.
Divergence patterns:
- If the price hits a new high, but the indicator does not, that could mean that investor sentiment is actually lower;
- And on the contrary if the price falls to a new low, but the indicator does not support the drop, it is a signal that the trend may end soon.
```{image} ../images/Momentum.jpg :align: center
1 2 3 4 5 |
|
Relative Vigor Index(RVI)
Relative Vigor Index, developed by John Ehlers, is a technical indicator designed to determine price trend direction. The underlying logic is based on the assumption that close prices tend to be higher than open prices in a bullish environment and lower in a bearish environment.
How to Use RVI Indicator
The Relative Vigor Index allows to identify the reinforcement of price changes (and therefore may be used within convergence/divergence patterns analysis):
- Generally the higher the indicator climbs, the stronger is the current relative price increase;
- Generally the lower the indicator falls, the stronger is the current relative price drop.
Together with its signal line (Red), a 4-period moving average of RVI, the indicator (Green) may help to identify changes in prevailing price developments:
- Crossing the signal line from above, the RVI signals a possible sell opportunity;
- Crossing the signal line from below, the RVI signals a possible buy opportunity.
```{image} ../images/RVI.jpg :align: center
1 2 3 4 5 6 |
|
Relative Strenth Index(RSI)
Relative Strength Index is an indicator developed by Welles Wilder to assess the strength or the weakness of the current price movements and to measure the velocity of price changes by comparing price increases with its losses over a certain period.
How to Use RSI Indicator
The Relative Strength Index allows to identify possible overbought and oversold areas, but should be considered within trend analysis:
- Generally if the RSI indicator climbs above 70, the asset may be overbought;
- If the RSI indicator drops below 30, the asset may be oversold.
Leaving extreme areas the indicator may suggest possible corrections or even trend changes:
- Crossing the overbought boundary from above, the RSI signals a possible sell opportunity;
- Crossing the oversold boundary from below, the RSI signals a possible buy opportunity.
Convergence/divergence patterns may indicate possible trend weakness:
- If the price climbs to a new high, but the indicator does not, that may be a sign of the uptrend weakness;
- If the price falls to a new low, but the indicator does not, that may be a sign of the downtrend weakness.
```{image} ../images/RSI.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Stochastic
Stochastic indicator is introduced by George Lane to identify price trend direction and possible reversal points by determining the place of the current close price in the most recent price range, as in a sustainable uptrend close prices tend to the higher end of the range and to the lower end in a downtrend.
How to Use Stochastic Oscillator
The Stochastic oscillator allows to identify possible overbought and oversold areas, but should be considered within trend analysis:
- Generally if the indicator climbs above 75, the asset may be overbought;
- If the indicator drops below 25, the asset may be oversold.
Leaving extreme areas the indicator may suggest possible turning points:
- Crossing the overbought boundary from above, the Stochastic signals a possible sell opportunity;
- Crossing the oversold boundary from below, the Stochastic signals a possible buy opportunity.
Crossovers of the indicator with its smoothened signal line, usually a 3-period moving average, may also detect deal opportunities:
- The indicator suggests going long when crossing the signal line from below;
- The indicator suggests going short when crossing the signal line from above.
Convergence/divergence patterns may indicate possible trend weakness:
- If the price climbs to a new high, but the indicator does not, that may be a sign of the uptrend weakness;
- If the price falls to a new low, but the indicator does not, that may be a sign of the downtrend weakness.
```{image} ../images/Stochastic.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Williams Percent Range(WPR,%R)
Williams Percent Range (%R) is a technical indicator developed by Larry Williams to identify whether an asset is overbought or oversold and therefore to determine possible turning points. Unlike the Stochastic oscillator Williams Percent Range is a single line fluctuating on a reverse scale.
How to Use %R
The main goal of Williams Percent Range is to identify possible overbought and oversold areas, however the indicator should be considered within trend analysis:
- Generally if the indicator climbs above -20, the asset may be overbought;
- If the indicator drops below -80, the asset may be oversold.
Leaving extreme areas the indicator may suggest possible turning points:
- Crossing the overbought boundary from above, Williams Percent Range signals a possible sell opportunity;
- Crossing the oversold boundary from below, Williams Percent Range signals a possible buy opportunity.
Divergence patterns are rare, but may indicate possible trend weakness:
- If the price climbs to a new high, but the indicator does not, that may be a sign of the uptrend weakness;
- If the price falls to a new low, but the indicator does not, that may be a sign of the downtrend weakness.
```{image} ../images/Rpercent.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Trend Indicators
Average Directional Index(ADI)
Average Directional Index (ADX) is a technical indicator developed by Welles Wilder to estimate trend strength and determine probable further price movements by comparing the difference between two consecutive lows with the difference between the highs.
How to Use ADX Indicator
ADX is a complex indicator, which results from calculation of the Plus Directional Indicator (+DI – green line) and the Minus Directional Indicator (-DI – red line), but all of them may be used for trend analysis.
In general the indicator (bold line) move is believed to reflect current trend strength:
- Rising ADX (usually climbing above 25) suggests strengthening market trend – trend following indicators are becoming more useful;
- Falling ADX suggests the trend development is doubtful. ADX values below 20 may indicate neutral trend is present – oscillators are becoming more useful.
Use of complex ADX trading system may require additional confirmation signals:
- Normally if +DI (green line) climbs above -DI (red line), a buy signal is generated;
- Normally if -DI climbs above +DI, a sell signal is generated.
```{image} ../images/ADX.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Moving Average(MA)
Moving Average is a technical analysis tool that shows average price over a given period of time, which is used to smoothen price fluctuations and therefore to determine trend direction and strength.
Depending of the method of averaging, distinguish between simple moving average (SMA), smoothed moving average (SMMA) and exponential moving average (EMA).
How to Use Moving Average
Generally moving average curves analysis includes the following principles:
- Direction of moving average curve reflects prevailing trend over a period;
- Low-period averaging may give more false signals, while large-period averaging tend to be lagging;
- To increase (decrease) sensitivity of the curve one should decrease (increase) the period of averaging;
- Average curves are more useful in trending environment.
Comparing moving average with price movements:
- A strong buy (sell) signal arise if price crosses from below (from above) its rising (falling) moving average curve;
- A weak buy (sell) signal arise if price crosses from below (from above) its falling (rising) moving average curve.
Comparing moving average curves of different periods:
- A rising (falling) lower-period curve crossing from below (above) another rising (falling) longer-period curve gives a strong buy (sell) signal;
- A rising (falling) lower-period curve crossing from below (above) another falling (rising) longer-period curve gives a weak buy (sell) signal.
```{image} ../images/MA.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
SMA
Generally, the term ''Moving Average'' refers to Simple Moving Average. The latter does not predict price direction; it is a lagging indicator and rather defines the current direction. It is an indicator that shows the average value of the instrument's price over a specified period of time.
Simple Moving Average Example
An SMA is calculated by adding the closing price of the instrument to the number of time periods and then dividing the total number by the number of time periods. The result will be the average price of the instrument over a certain time period. Thus, in order to calculate a 10-day SMA, it's necessary to add closing prices over a 10-day period and divide the total number by 10. As the term ''moving'' implies, prices move according to the point on the chart. This means that always a new calculation is needed that can correspond to the time period of the average used. Thus, you can recalculate a 10-day average by adding the new day and missing out the 10th day and so on.
Though simple moving average is used by most traders and analysts, it is criticized by two reasons. The first criticism is that only the time period covered by the average is taken into consideration. And secondly, the SMA gives equal weight to each day's price.
Nevertheless, Simple Moving Average has become a preferred method for tracking prices due to its simplicity and quick calculation. By the same simplicity early market analysts performed the market analysis without using complicated chart metrics that are widely applied today. They mainly relied on market prices as the main means of tracking trends and market direction. This process was boring but was confirmed to be profitable and reliable, and up till now it continues to be a popular technical analysis tool extensively used by most traders.
Moving Average of Oscillator(OsMA)
Moving Average of Oscillator (OsMA) is a technical analysis tool that reflects the difference between an oscillator (MACD) and its moving average (signal line).
How to Use OsMa Indicator
Extremum points:
- OsMA switching from falling to rising in extreme areas may be a sign of bullish reversal;
- OsMA switching from rising to falling may be a sign of bearish reversal.
Crossing zero axis:
- OsMA rising above zero (corresponds to MACD crossing from below its signal line) generates a buy signal;
- OsMA falling below zero (corresponds to MACD crossing from above its signal line) generates a sell signal.
```{image} ../images/OsMA.jpg :align: center
1 2 3 4 5 |
|
Parabolic(SAR)
Parabolic is a trend following indicator developed by Welles Wilder and designed to confirm or reject trend direction, to determine trend end, correction or flat stages as well as to indicate possible exit points. The underlying principle of the indicator can be described as “stop and reverse” (SAR).
How to Use Parabolic SAR
When using the indicator we should take into consideration its positioning against the price chart as well as its acceleration factor which increases together with the trend. Despite being a popular tool of analysis, it has limitations and may give false signals in frequently changing market conditions.
The indicator may signal the following:
Trend confirmation
- If the indicator is plotted below the price graph, it stands for an uptrend;
- If the indicator is plotted above the price graph, it confirms a downtrend.
Exit points determination
- If the price drops below Parabolic line during an uptrend, there may be sense in closing long positions;
- If the price rises above Parabolic curve during a downtrend, there may be sense in closing short positions.
Signal significance is determined with the use of the acceleration factor. The acceleration factor increases each time the close price is higher than its previous value in an uptrend and lower in a downtrend. It is believed that the indicator is more reliable when the price’s and the indicator’s moves are parallel and less reliable when they converge.
```{image} ../images/Parabolic.jpg :align: center
1 2 3 4 5 6 7 8 9 10 |
|
ZigZag
The ZigZag feature on SharpCharts is not an indicator per se, but rather a means to filter out smaller price movements. A ZigZag set at 10% would ignore all price movements less than 10%. Only price movements greater than 10% would be shown. Filtering out smaller movements gives chartists the ability to see the forest instead of just trees. It is important to remember that the ZigZag feature has no predictive power because it draws lines base on hindsight. Any predictive power will come from applications such as Elliott Wave, price pattern analysis or indicators. Chartists can also use the ZigZag with retracements feature to identify Fibonacci retracements and projections.
Calculation
The ZigZag is based on the chart “type.” Line and dot charts, which are based on the close, will show the ZigZag based on closing prices. High-Low-Close bars (HLC), Open-High-Low-Close (OHLC) bars and candlesticks, which show the period's high-low range, will show the ZigZag based on this high-low range. A ZigZag based on the high-low range is more likely to change course than a ZigZag based on the close because the high-low range will be much larger and produce bigger swings.
The parameters box allows chartists to set the sensitivity of the ZigZag feature. A ZigZag with 5 in the parameter box will filter out all movements less than 5%. A ZigZag(10) will filter out movements less than 10%. If a stock traded from a reaction low of 100 to a high of 109 (+9%), there would not be a line because the move was less than 10%. If the stock advanced from a low of 100 to a high of 110 (+10%), there would be a line from 100 to 110. If the stock continued on to 112, this line would extend to 112 (100 to 112). The ZigZag would not reverse until the stock declined 10% or more from its high. From a high of 112, a stock would have to decline 11.2 points (or to a low of 100.8) to warrant another line. The chart below shows a QQQQ line chart with a 7% ZigZag. The early June bounce was ignored because it was less than 7% (black arrow). The two pullbacks in July were ignored because they were much less than 7% (red arrows).
```{image} ../images/zigz-1-qqqqexam.png :align: center
1 2 3 4 |
|
Elliott Wave Counts
The ZigZag feature can be used to filter out small moves and make Elliott Wave counts more straight-forward. The chart below shows the S&P 500 ETF with a 6% ZigZag to filter moves less than 6%. After a little trial and error, 6% was deemed the threshold of importance. An advance or decline greater than 6% was deemed significant enough to warrant a wave for an Elliott count. Keep in mind that this is just an example. The threshold and the wave count are subjective and dependent on individual preferences. Based on the 6% ZigZag, a complete cycle was identified from March 2009 until July 2010. A complete cycle consists of 8 waves, 5 up and 3 down.
```{image} ../images/zigz-4-spyelliott.png :align: center
1 2 3 4 5 6 |
|
As you may have guessed, seeing these lines as a percentage of the prior lines makes it possible to assess Fibonacci retracements Fibonacci projections. The August decline (Line 2) retraced around 61.8% of the June-July advance (Line 1). This is a classic Fibonacci retracement. The advance from early September to early November was 1.646 times the August decline. In this sense, the ZigZag (Retrace.) can be used to project the length of an advance. Again, 1.646 is close to the Fibonacci 1.618, which is the Golden Ratio used in many projection estimates. See our ChartSchool article for more on Fibonacci retracements.
Conclusions
The ZigZag and ZigZag (Retrace.) filter price action and do not have any predictive power. The ZigZag lines simply react when prices move a certain percentage. Chartists can apply an array of technical analysis tools to the ZigZag. Chartists can perform basic trend analysis by comparing reaction highs and lows. Chartists can also overlay the ZigZag feature to look for price patterns that might not be as visible on a normal bar or line chart. The ZigZag has a way of highlighting the important movements and ignoring the noise. When using the ZigZag feature, don't forget to measure the last line to determine if it is temporary or permanent. The last ZigZag line is temporary if the current price change is less than the ZigZag parameter. The last line is permanent when the price change is greater than or equal to the ZigZag parameter.
Volume Indicators
Accumulation/Distribution(AD)
Accumulation/Distribution is a volume-based technical analysis indicator designed to reflect cumulative inflows and outflows of money for an asset by comparing close prices with highs and lows and weighting the relation by trading volumes.
How to Use Accumulation/Distribution
The Accumulation/Distribution line is used for trend confirmation or possible turning points identification purposes.
Trend confirmation:
- An uptrend in prices is confirmed if A/D line is rising;
- A downtrend in prices is confirmed if A/D line is falling.
Divergence pattern analysis:
- Rising A/D line along with decreasing prices indicates the downtrend may be weakening to a bullish reversal;
- Falling A/D along with rising prices indicates the uptrend may be weakening to a bearish reversal.
```{image} ../images/AD.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Money Flow Index(MFI)
Money Flow Index (MFI) is a technical indicator developed to estimate money inflow intensity into a certain asset by comparing price increases and decreases over a given period, but also taking into consideration trading volumes. How to Use Money Flow Index
The indicator can be used to identify whether an asset is overbought or oversold, as well as to determine possible turning points.
Analyzing extreme (overbought/oversold) areas:
- If MFI climbs above 80, the asset is generally considered to be overbought. A sell signal appears if MFI crosses the overbought area boundary from above;
- If MFI drops below 20, the asset is generally considered to be oversold. A buy signal appears if MFI crosses the oversold area boundary from below.
Divergence patterns analysis:
- Rising MFI along with decreasing prices indicates the downtrend may be weakening;
- Falling MFI along with rising prices indicates the uptrend may be weakening.
```{image} ../images/MFI.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
On-Balance Volume(OBV)
On-Balance Volume (OBV) is a cumulative volume-based tool intended to show the relation between the amount of deals and asset’s price movements.
How to Use On Balance Volume
The On-Balance Volume line is used for trend confirmation or possible turning points identification purposes.
Trend confirmation:
- An uptrend in prices is confirmed if the line is rising;
- A downtrend in prices is confirmed if the line is falling.
Divergence pattern analysis:
- Rising OBV line along with decreasing prices indicates the downtrend may be weakening to a bullish reversal;
- Falling OBV along with rising prices indicates the uptrend may be weakening to a bearish reversal.
```{image} ../images/OBV.jpg :align: center
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Volumes
Volume indicator is a technical analysis tool, which reflects trading activity of investors for a given time period.
How to Use Volume Indicator
Volume indicator is generally used together with price analysis to confirm trend strength or highlight its weakness and therefore identify possible upcoming reversals.
Trend confirmation:
- Rising trading volumes during an uptrend confirms bullish mood;
- Rising trading volumes during a downtrend confirms bearish mood.
Trend weakness:
- If volumes are falling while prices are increasing, that may be a sign of uptrend weakness, as demand for the asset may cease at higher prices.
```{image} ../images/Volumes.jpg :align: center
1 2 3 4 5 |
|
5.2 自动交易基础
笔者编写了一些交易脚本,包括EA和script,可访问https://github.com/lofyer/mt4-scripts进行下载。
5.3 基本分析基础
央行测量啦、社会指标啦、等等啦啦啦