Trading With The Heikin-Ashi Candlestick Oscillator

Similar documents
Trading Medium-Term Divergences

Trendline Tips And Tricks

Alerts & Filters in Power E*TRADE Pro Strategy Scanner

A Candlestick Primer. By Tom Bierovic

CHART PATTERNS.

Why the E.A.S.Y. Method?

Heikin-Ashi-two-Bar-Strategy Guide to Strategic and Tactical Forex Trading Pull the Trigger and Hit your Targets

Retracement Or Reversal. Kennsei Trading, Inc. Chief Trader Dinger

The Use of Trend Lines and Charting Patterns in Trading the Forex Markets

Golden Penny Stock Millionaires Golden Market Secrets For Trading Penny Stocks:

Stochastic Oscillator.

CHART TRADING GUIDE 1

Chapter 6 - Rahul Mohindar Oscillator System

Presents. The Trading Information Revealed Here is not the Same as the WizardTrader.com Methods -- But Together They Pack a Powerful Punch

A GUIDE TO WL INDICATORS

Simpler Options. Indicator guide. An informative reference for John Carter s commonly used trading indicators.

New Trendlens Indicators & Functions

Day Trade System EZ Trade FOREX

Candlesticks For Support And Resistance

Methods to Trade Forex Successfully for Quick Profits

THE CYCLE TRADING PATTERN MANUAL

The Trading System

Average True Range Trailing Stops

Disclaimer: The authors of the articles in this guide are simply offering their interpretation of the concepts. Information, charts or examples

Understanding the market


The Magic Momentum Method of Trading the Forex Market

Advanced Trading Systems Collection FOREX TREND BREAK OUT SYSTEM

Charting Glossary Version 1 September 2008

Timing the Trade How to Buy Right before a Huge Price Advance

Elliott-Wave Fibonacci Spread Trading

Ed Heath s Guerilla Swing Trading Plan (as of 1/22/13)

marketsurvival.net guide: The advanced guide to fibonacci trading How to trade stocks and Forex with Fibonacci numbers

A Practical Guide to Technical Indicators; (Part 1) Moving Averages

Class 2: Buying Stock & Intro to Charting. Buying Stock

CYCLE TIMING CAN IMPROVE YOUR TIMING PERFORMANCE by Walter Bressert, CTA

More informed trading Technical Analysis: Trading Using Multiple Time-frames

I Really Trade. Trading Patterns for Stocks & Commodities. Introducing The False Break Buy and Sell Pattern

Trading with the High Performance Intraday Analysis Indicator Suite

Using Formations To Identify Profit Opportunities

TRADING SECRET NO. 3 How to combine two simple tools to capture big trending moves, especially in currencies

CHAPTER 8. REVERSAL TRADING STRATEGIES

The Logic Of Pivot Trading

Table of Contents. Preface. Chapter 1: TRADING BASICS. Chapter 2: BASIC TOOLS. Chapter 3: ADX. Chapter 4: ACCUMULATION LINE

5min Forex Trade Strategy Imran Sait Version 1.2 updated on 16 th Nov 2007

Picking a Trading Timeframe Before You Make a Trade Identifying the Trend Randomness of Financial Markets The Thought Demons of Traders

Retracements With TMV

SYNERGY Trading Method. CompassFX, Rev

What we will cover. Types of orders How to place an order Instruc8ons from the DPR So>ware and what they mean

What You Don t Know About Candlesticks

Trend Determination - a Quick, Accurate, & Effective Methodology

The Moving Average W. R. Booker II. All rights reserved forever and ever. And ever.

High Probability Trading Triggers for Gold & Silver

Pivot Point Trading. If you would rather work the pivot points out by yourself, the formula I use is below:

Take it E.A.S.Y.! Dean Malone 4X Los Angeles Group - HotComm January 2007

Aggressive Day Trading Strategy for Forex

Professional Trader Series: Moving Average Formula & Strategy Guide. by John Person

atching Currency Moves with The Schaff Trend Cycle Indicator

The Best-Kept Secret of Forex

Technical analysis. Course 11

8 Day Intensive Course Lesson 3

2: NYSE 2 15 NYSE

Using Bollinger Bands. by John Bollinger

USING CANDLESTICK CHARTS TO TRADE FOREX

Reading Price Charts Bar by Bar

MATHEMATICAL TRADING INDICATORS

Trading with the Intraday Multi-View Indicator Suite

Action Forex Company Limited 2010

ANTS SuperGuppy. ANTS for esignal Installation Guide. A Guppy Collaboration For Success PAGE 1

Every trader has had the experience of selling a stock or commodity too soon during a rapid price

RISK DISCLOSURE STATEMENT / DISCLAIMER AGREEMENT

Chapter 23 THE CAMELBACK TECHNIQUE

An Objective Leading Indicator Fibonacci Retracements

Better Trading with the Guppy Multiple Moving Average

How I Trade Profitably Every Single Month without Fail

TRADING WITH THE GUPPY MULTIPLE MOVING AVERAGE

The 5 Exit Heroes. Exiting Your Forex Trades For Maximum Profits

TRADING GAPS TAIL STRATEGY SPECIAL REPORT #37

FOREIGN EXCHANGE CYCLES:

Chapter 2.3. Technical Analysis: Technical Indicators

RSI PRO Forex Trading System

Pivot Trading the FOREX Markets

Channel Lines. Charts of futures price

Simple & Consistent Fibonacci Method Prepared by: Simone Guy. {Free learning resource: NOT FOR RESALE}

Candlesticks. Bar Charts CANDLESTICK CORNER. When you look at your charts, do you understand everything they re telling you? by Rudy Teseo BEARISH

Exit Strategies for Stocks and Futures

Advanced Trading Systems Collection 5 MINUTE SCALPING SYSTEM

By Josh Taylor FIND US ON: Visit our web site for TONS of training articles and videos

Jesse Livermore Pages: Once the library is imported in to Trade Navigator, the user will have access to the following Jesse Livermore Pages:

Using ADX to Trade Breakouts, Pullbacks, and Reversal Patterns. By Puneet Jain CFTe

Technical Analysis. Chart Formations. Brought to you by: FX-ebooks.com. Forex ebooks Library

Exit Strategies & Stop Loss Techniques

FOREXOMETRY.COM. Presents. Forex Profit Hawk

Chapter 1.4 Trends 0

How to see the market context using CCI Written by Buzz

Stop Investing and Start Trading. How I Trade Technical Strategies Over Fundamental Strategies

The Forex Bounce Trading Strategy

Definitions to Basic Technical Analysis Terms.

Using Order Book Data

New York Traders Expo 2012

Transcription:

INDICATORS Visual, Digital Candlesticks Trading With The Heikin-Ashi Candlestick Oscillator This visual tool complements candlesticks that will help you enter and exit trades, resulting in higher profits per trade. by Sylvain Vervoort A nalyzing a candlestick chart gives a good idea of what is going on in the market. Candlestick patterns, resistance or support from price pivots, rising or falling windows, and the use of trendlines are all excellent technical trading tools. But initiating a trade and deciding when to close it, candle after candle, remains a difficult task. It would be nice to have a complementary visual aid when looking at a candle chart. Figure 1, a daily chart for Ford Motor Co., uses an expert function for color-coding the candlesticks. On November 21, 2006, the price falls through the uptrend line after a number of green candles. This means it s time to close any long position and open a new short position. As long as there are red candles, we will keep the short trade open. On December 20, 2006, there is a new green candle. Drawing a downtrend line up to this point, we see that it is broken to the upside. It s time to close the short position and open a new long position. On February 13, 2007, we have a first red candle. Drawing the uptrend line, we see that the closing price remains above

the uptrend line. As a rule, we will wait for the next day. The price continues above the trendline and the candles are turning green again. On February 22, 2007, there is another red candle. Now, the uptrend line is broken, so we close the long position eventually, opening a new short position. The color-coded candlesticks make daily followup easy and relaxing. Want to know how this is done? Of course you do. THE STARTING IDEA A good starting point is the heikin-ashi chart. In the daily chart of Sysco Corp. in Figure 2, you can see the traditional candlestick chart on the top and the heikinashi chart on the bottom. Visually, the heikin-ashi candles look very consistent. In a downtrend, we see mostly black candles with no or small upper shadows. In an uptrend, there are mostly white candles with no or small lower shadows. First, I am going to color-code the normal candle chart with the information from the heikin-ashi chart. A white heikinashi candle will paint the normal candlestick green and a black heikin-ashi candle will paint the normal candlestick red. The result can be seen in Figure 3. To do this in MetaStock, we create an expert function and link it to the chart. In the highlights tab of the expert editor, we first introduce the formula to create a green candle when the heikin-ashi closing price is greater than or equal to the heikinashi opening price and we link a green color to a positive outcome: 3 30 6 13 20 27 4 11 18 26 3 16 22 29 5 12 20 26 November December 2007 February FIGURE 1: COLOR-CODED CANDLESTICKS. A short trade can be opened when price falls through the uptrend line. The short trade is open till the downtrend line is broken to the upside. :=hac>=haopen; We do the same for creating a red candle with this second formula when the heikin-ashi closing price is smaller than the opening price and we link red to it. :=hac<haopen; The execution priority is a green candle followed by a red candle. That way, the red candle function is only executed if the green candle function has a negative outcome (not true). 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 8.3 8.2 8.1 8.0 7.9 7.8 7.7 7.6 7.5 7.4 7.3 7.2 7.1 7.0 6.9 6.8 METASTOCK SYSCO Corp. normal candles 34 33 32 31 30 29 28 27 Heikin-ashi color-coded candles 34.0 33.5 33.0 32.5 32.0 31.5 31.0 30.5 30.0 29.5 29.0 28.5 28.0 27.5 27.0 SYSCO Corp. heikin-ashi candles 33 32 31 30 29 28 27 33 32 31 30 29 28 27 10 17 24 31 7 14 21 28 5 11 18 25 2 9 July August September October FIGURE 2: THE HEIKIN-ASHI CHART. Here you see a traditional candlestick chart on the top and a heikin-ashi chart on the bottom. As you can see, the heikin-ashi chart is very consistent. 10 17 24 31 7 14 21 28 5 11 18 25 2 9 July August September October FIGURE 3: COLOR-CODING USING INFORMATION FROM HEIKIN-ASHI. A white heikin-ashi candle will paint the normal candlestick green and a black heikin-ashi candle will paint the normal candlestick red.

NOT A PERFECT WORLD Unfortunately, results are not always going to be as positive as what you see in the Sysco chart. In this case, there is a nice range of red candles in the downtrend and a longer series of green candles in the uptrend. Wouldn t it be great if prices were moving like that all the time? But as we know all too well, the market is not going to move perfectly all the time. Note in Figure 4 how the colors are less consistent and much less usable for entering or exiting a trade. It is clear that in any up- or downtrend, there must be room for some price reaction. Let s try some techniques to keep the bars as green as possible during an uptrend, with little delay at turning points. First, we can eliminate all single-day reactions by extending a previous green candle by at least one more bar. In the TWX example, this adds eight more green candles in the uptrend (Figure 5). To do this, we change the green candle and red candle formulas as follows: haopen:=(ref((o+h+l+c)/4,- 1)+PREV)/2; 4+haOpen+Max(H,haOpen)+Min (L,haOpen))/4; :=Alert(haC>=haOpen,2); haopen:=(ref((o+h+l+c)/4,- 1)+PREV)/2; :=Alert(haC<haOpen,2); But a number of red candles are still left that we would like to eliminate in the uptrend. The second step is to see if the new candle comes after a green candle, or if it is a white candle (close above open). If it is the latter, there is no need to change the color because the bars still point in the direction of the uptrend. In Figure 6 you can see that another two red candles are eliminated by this second step. The green candle and red candle formulas have now been changed as follows: 4+haOpen+Max(H,haOpen)+Min (L,haOpen))/4; :=Alert(haC>=haOpen,2); OR (Ref(,-1) AND (C>=O OR C>=Ref(C,- 13.5 22 28 4 11 19 25 3 10 17 24 31 7 14 21 28 5 12 19 27 2 February March April May June FIGURE 4: NOT A PERFECT WORLD. Here, the colors are less consistent and cannot be used for entering or exiting a trade. 3 10 17 24 31 7 14 21 28 5 12 19 27 March April May FIGURE 5: AS GREEN AS POSSIBLE. All single-day reactions can be eliminated by extending a previous green candle by at least one more bar. 1))) 4+haOpen+Max(H,haOpen)+Min (L,haOpen))/4; :=Alert(haC<haOpen,2); OR (Ref(,-1) AND (C<O OR C<Ref(C,-1))) In the third step, we will use a fast crossover system to allow a minimum price reaction while still being very fast at the turning points. We will employ the zero-lag crossover system that I introduced in my article in the STOCKS & COMMODITIES May 2008 issue. The code can be found here (upper left) in the sidebar, MetaStock crossover formula. We consider an uptrend (green candle) when ZlDif is equal to or greater than zero. I am using a triple exponential moving average (TEMA) of 34 bars. You may want to make that value smaller or bigger if you want to allow less or more price reaction. At the price pivot point levels, often there are doji candles or spinning tops or bottoms with a small body compared to 17.0 13.5

METASTOCK CROSSOVER FORMULA avg:=34; haopen:=(ref((o+h+l+c)/4,-1) + PREV)/2; 4+haOpen+Max(H,haOpen)+Min(L,haOpen))/ 4; ZlDif the high-low price. To eliminate them, I must introduce a last step. That step is not changing the green color when the previous candle is green and the size of the real body is smaller than 35% of the full high low range. In addition, the high must be higher than the previous low to make sure there is no window in between. The final result can be seen in Figure 7. There are now only green candles during the entire uptrend. We get a sell signal on the first red candle. Drawing uptrend lines at this point shows a third, steeper trendline that has been broken downward. This tells us it is time to sell. The complete expert formula _Uptrend_HA can be found in the sidebar MetaStock and the last step. The order of execution is first the formula (green candle) and then the red candle only when the green candle is false. With the green candle uptrend expert we have a useful tool to keep us in an uptrend and detect a downward trend reversal. What we need next is an equally effective expert for a downtrend. For this we can simply reverse the execution order and put a red candle on top of a green candle in the expert editor. Or you can create another expert and call it _Downtrend_HA with the same formulas to be introduced in the expert editor, but now with an inverse execution order formula (red candle) first, followed by the (green candle) formula. Figure 8, a graphic of KBH, shows a downtrend. In the lower part of the chart, we used the expert function _Uptrend_HA. The first red candle here is the reversal signal for going short. The upper part is the expert function _Downtrend_HA. We will stay short as long as there are red candles. With the first green candle, we would close the short position and eventually open a long position. Unfortunately, there is no perfect system. You may receive signals to exit a trade when it is probably better to hold onto the trade. The idea is not to trust this system blindly. When you are faced with a reversal signal, you must use all available technical analysis techniques to make an intelligent decision, preferably supported by more than one technique. Figure 9 illustrates the use of combined techniques. From 17 24 31 7 14 21 28 5 12 19 27 April May FIGURE 6: DO THE BARS POINT IN THE RIGHT DIRECTION? We can take this one step further and eliminate more red candles in an uptrend. Initiating a trade and deciding when to close it, candle after candle, remains a difficult task. the _Downtrend_HA expert, we receive a buy signal at (1). So we are now looking at the _Uptrend_HA candle chart. We are combining this chart with a fast indicator like my SVAPO (see my article in the November 2007 issue of STOCKS & COMMODITIES) to find out if there is a greater chance for a move up or down. In early March, we had a red selling bar at (2). Here we would hold on to the long position at least for one more day because the closing price remains well above the last support line, and SVAPO is below the lower reference line, suggesting the possibility of an up move for the following bars. We have an uptrend line drawn from the beginning of the up move through the low at (2). We have drawn a parallel line through the previous top to form an uptrend channel. At the end of March, we have a second selling signal at (3). But there are enough reasons to hold onto the position. The price remains above the uptrend line within the uptrend channel and a closing price above the last support while SVAPO is below the lower reference line, suggesting a higher chance of an up move. The next selling signal appears in the first half of April, but the price remains above the uptrend line within the uptrend channel and a closing price above the last support. During this activity, SVAPO is moving up. The price continues to move up and reaches the upper side of the trend channel, making a top above the upper SVAPO reference line. At (5)

3 10 17 24 31 7 14 21 28 5 12 19 27 2 March April May June FIGURE 7: TWEAKING THE TREND EVEN FURTHER. We can go one more step further and eliminate any dojis, spinning tops or bottoms, and other similar patterns. 13.5 price drops through the last steeper uptrend line and we get another red selling bar. This is a good profit-taking moment. Next, selling signals appear at (6) when the closing price drops through the last support line, and at (7), when price drops out of the trend channel. If you prefer using an oscillator instead of color-coded candlesticks, you can use the heikin-ashi candlesticks oscillator (HACO), which I will explain next. INTRODUCING HACO HACO is a digital oscillator version of the colored candlesticks. It has either a value of zero for a red candle or 1 for a green candle. The basic formula is taken from the green candle and the red candle out of the _Uptrend_HA expert. The MetaStock code for the HACO can be found in the sidebar The heikin-ashi candlestick oscillator (HACO). On the chart of General Electric (GE) in Figure 10, you ll see the HACO on the top subchart. I have colored the price chart so METASTOCK AND THE LAST STEP (Note: The MetaStock expert for an uptrend is _Uptrend_HA ) avg:=34; haopen:=(ref((o+h+l+c)/4,-1) + PREV)/2; keep1:=alert(hac>=haopen,2); keep2:=zldif>=0; keeping:=(keep1 OR keep2); keepall:=keeping OR (Ref(keeping,-1) AND (C>=O) OR C>=Ref(C,-1)); keep3:=(abs(c-o)<(h-l)*.35 AND H>=Ref(L,-1)); utr:=keepall OR (Ref(keepall,-1) AND keep3); keep1:=alert(hac<haopen,2); keep2:=zldif<0; keep3:=abs(c-o)<(h-l)*.35 AND L<=Ref(H,-1); keeping:=keep1 OR keep2; keepall:=keeping OR (Ref(keeping,-1) AND (C<O) OR C<Ref(C,-1)); dtr:=if(keepall OR (Ref(keepall,-1) AND keep3)=1,1,0); upw:=dtr=0 AND Ref(dtr,-1) AND utr; dnw:=utr=0 AND Ref(utr,-1) AND dtr; result:=if(upw,1,if(dnw,0,prev)); result avg:=34; haopen:=(ref((o+h+l+c)/4,-1) + PREV)/2; keep1:=alert(hac>=haopen,2); keep2:=zldif>=0; keeping:=(keep1 OR keep2); keepall:=keeping OR (Ref(keeping,-1) AND (C>=O) OR C>=Ref(C,-1)); keep3:=(abs(c-o)<(h-l)*.35 AND H>=Ref(L,-1)); utr:=keepall OR (Ref(keepall,-1) AND keep3); keep1:=alert(hac<haopen,2); keep2:=zldif<0; keep3:=abs(c-o)<(h-l)*.35 AND L<=Ref(H,-1); keeping:=keep1 OR keep2; keepall:=keeping OR (Ref(keeping,-1) AND (C<O) OR C<Ref(C,-1)); dtr:=if(keepall OR (Ref(keepall,-1) AND keep3)=1,1,0); upw:=dtr=0 AND Ref(dtr,-1) AND utr; dnw:=utr=0 AND Ref(utr,-1) AND dtr; result:=if(upw,1,if(dnw,0,prev)); result=0

55 2 20 26 5 12 19 26 2 9 16 March April FIGURE 8: DOWNTRENDS. Here you see red candle and green candle formulas. As long as there are red candles, it s best to stay short. 1 2 2008 February March April May 3 SVAPO(1,3) June 50 45 55 50 45 25.5 25.0 24.5 24.0 23.5 23.0 22.5 22.0 21.5 21.0 20.5 20.0 19.5 19.0 18.5 18.0 FIGURE 9: COMBINING TREND CHARTS WITH SVAPO. Using trend charts with a fast indicator like SVAPO adds confirmation to your buy/sell decisions. 4 5 6 7 0-5 you can easily see the periods with a long position (green) and with a short position (red). HACO is not meant to be an automatic trading system, so when there is a buy or sell signal from HACO, make sure it is confirmed by other technical analysis techniques. HACO will certainly aid in signaling buy and sell opportunities and help you hold onto a trade, making it more profitable. In early 2004, you can probably avoid a short position in GE for just a couple of days, generating more net profit. You can change the input value in the HACO for the zero-lag TEMA in the up and down moves. Basically, you would use the same value for both entries. If you use different values, it will work fine most of the time, but there may be some unexpected results. This is because using different up and down TEMAs will mean no synchronization between the up and down components. The behavior of HACO is closely related to the level and speed of price change. It can be used on charts of any time frame ranging from intraday to monthly. Sylvain Vervoort lives in the Flemish part of Belgium and is a retired electronics engineer, studying and using technical analysis for more than 30 years. He is an independent trader, writer, publisher, and educator in the area of technical analysis and options. Sylvain Vervoort may be reached at his website at http://stocata.org/. ADDITIONAL READING Mulloy, Patrick [1994]. Smoothing Data With Less Lag, Technical Analysis of STOCKS & COMMODITIES, Volume 12: February. Valcu, Dan [2004]. Using The Heikin- Ashi Technique, Technical Analysis of STOCKS & COMMODITIES, Volume 22: February. Vervoort, Sylvain [2008]. The Quest For Reliable Crossovers, Technical Analysis of STOCKS & COMMODITIES, Volume 26: May. [2007]. Short-Term Volume And Price Oscillator, Technical Analysis of STOCKS & COMMODITIES, Volume 25: November.

THE HEIKIN-ASHI CANDLESTICK OSCILLATOR (HACO) {HACO} avg:=input( Up TEMA average:,1,100,34); avgdn:=input( Down TEMA Average:,1,100,34); haopen:=(ref((o+h+l+c)/4,-1) + PREV)/2; keep1:=alert(hac>=haopen,2); keep2:=zldif>=0; keeping:=(keep1 OR keep2); keepall:=keeping OR (Ref(keeping,-1) AND (C>=O) OR C>=Ref(C,-1)); keep3:=(abs(c-o)<(h-l)*.35 AND H>=Ref(L,-1)); utr:=keepall OR (Ref(keepall,-1) AND keep3); TMA1:= Tema(haC,avgdn); TMA2:= Tema(TMA1,avgdn); TMA1:= Tema((H+L)/2,avgdn); TMA2:= Tema(TMA1,avgdn); keep1:=alert(hac<haopen,2); keep2:=zldif<0; keep3:=abs(c-o)<(h-l)*.35 AND L<=Ref(H,-1); keeping:=keep1 OR keep2; keepall:=keeping OR (Ref(keeping,-1) AND (C<O) OR C<Ref(C,-1)); dtr:=if(keepall OR (Ref(keepall,-1) AND keep3)=1,1,0); upw:=dtr=0 AND Ref(dtr,-1) AND utr; dnw:=utr=0 AND Ref(utr,-1) AND dtr; result:=if(upw,1,if(dnw,0,prev)); result S.V. 0.5 35.0 34.5 34.0 33.5 33.0 32.5 32.0 31.5 November 2004 February March April May June 30.5 30.0 29.5 29.0 28.5 28.0 27.5 27.0 FIGURE 10: HACO. The long positions are displayed in green and short positions in red. S&C