TRADING TECHNIQUES
TRADING TECHNIQUES
Nani Desu Ka?*
Nani Desu Ka?*
Usi
Usi
ng
ng
Th
Th
e
e
Hei
Hei
kin
kin
Ash
Ash
i
i
Te
Te
ch
ch
niq
niq
ue
ue
Enter and stay on the right side of the trend
Enter and stay on the right side of the trend
—
—
or
or
when in doubt, stay out
when in doubt, stay out
—
—
with this Japanese chart-
with this Japanese
chart-ing technique.
ing technique.
ince the introduction of the candlestick ince the introduction of the candlestick
method to the US some two decades
method to the US some two decades
ago, it caused a revolution in
ago, it caused a revolution in
perceiv-ing how the bullish and bearish forces
ing how the bullish and bearish forces
perform in the Western markets. It has
perform in the Western markets. It has
become a popular charting tool, as
become a popular charting tool, as traders have used
traders have used
candlesticks to make chart formations easier to spot
candlesticks to make chart formations easier to spot
an
and name.
d name. But interpreting candlesticks can be chal-
But interpreting candlesticks can be
chal-lenging. To
lenging. To make things easier
make things easier, the
, the
heikin-ashi
heikin-ashi
tech-
tech-niqu
nique modifies the traditio
e modifies the traditional candlestick chart. Le
nal candlestick chart. Let's
t's
take a look at how it works.
take a look at how it works.
BALANCING ON ONE FOOT BALANCING ON ONE FOOT
The heikin-ashi method
The heikin-ashi method
{heikin
{heikin
means "average" or
means "average" or
"balance" in Japanese, while
"balance" in Japanese, while
ashi
ashi
means "foot" or
means "foot" or
"bar") is a
"bar") is a visua
visual technique
l technique that eliminates irregulari
that eliminates
irregulari--ties from a normal chart, offering a better picture of
ties from a normal chart, offering a better picture of
trend
trends and consolidatio
s and consolidations. Just by looking at a
ns. Just by looking at a candle-
candle-stick chart created with this method, you get a good
stick chart created with this method, you get a good
idea of the market's status and its strength. Take a
idea of the market's status and its strength. Take a
loo
look at the candlestick chart of Canon AD
k at the candlestick chart of Canon AD R in Figure
R in Figure
1A versus the heikin-ashi modified chart in Figure
1A versus the heikin-ashi modified chart in Figure
1B. Which chart would you prefer to use?
1B. Which chart would you prefer to use?
CALCULATION CALCULATION
The heikin-ashi candlestick techniq
The heikin-ashi candlestick technique uses
ue uses modi
modified
fied
open-high-low-close
open-high-low-close
(OHLC)(OHLC)values and displays
values and displays
by
by
Dan ValcuDan Valcuthem as candlesticks. The modified values are
them as candlesticks. The modified values are
com-puted using these definitions:
puted using these definitions:
• haClose = (O+H+L+C)/4
• haClose = (O+H+L+C)/4
•
• haOpen = (ha
haOpen = (haOpen (previou
Open (previous bar) + haClose
s bar) + haClose
(previous bar))/2
(previous bar))/2
• haHigh = Maximum(H, haOpen, haClose)
• haHigh = Maximum(H, haOpen, haClose)
• haLow = Minimum(L, haOpen, haClose)
• haLow = Minimum(L, haOpen, haClose)
The "open," "
The "open," "high,
high," "low,
" "low," and "close" refe
" and "close" referred
rred to
to
are of the current bar. The prefix
are of the current bar. The prefix
ha-
ha-
indicates the
indicates the
corresponding heikin-ashi modified values. I have
corresponding heikin-ashi modified values. I have
used daily data throughout this article, so one bar
used daily data throughout this article, so one bar
represents one trading day.
represents one trading day. Depending on the trading
Depending on the trading
time frame, you may employ other data, such as
time frame, you may employ other data, such as
intraday, weekly, or monthly.
intraday, weekly, or monthly.
The value
The value
haOpen
haOpen
is always set to the midpoint of
is always set to the midpoint of
the body of
the body of the previous
the previous bar, while
bar, while
haClose
haClose
is com-
is
com-puted as the average price of the current bar. The
puted as the average price of the current bar. The
modified high,
modified high,
haHigh,
haHigh,
is chosen as the highest value
is chosen as the highest value
of the set {real high (H), modified open (haOpen),
of the set {real high (H), modified open (haOpen),
and modified close (haClose)}. The same logic
and modified close (haClose)}. The same logic
ap-plies to the definition of the modified low: It is the
plies to the definition of the modified low: It is the
lowest value in the set {real low (L), modified open
lowest value in the set {real low (L), modified open
(haOpen), and modified close (haClose)}.
(haOpen), and modified close (haClose)}.
The first sidebar, "Heikin-Ashi OHLC Values,"
The first sidebar, "Heikin-Ashi OHLC Values,"
de-tails how to compute heikin-ashi values using Excel.
tails how to compute heikin-ashi values using Excel.
APPLYING IT APPLYING IT
Looking at charts is the best way to understand the
Looking at charts is the best way to understand the
main features of the heikin-ashi technique. If the
main features of the heikin-ashi technique. If the
haClose is above h
haClose is above haOpen, then a bullish sign occurs
aOpen, then a bullish sign occurs
(white candle). If haClose is below haOpen, then a
(white candle). If haClose is below haOpen, then a
bearish sign appears (black candle).
bearish sign appears (black candle).
*Editor's note: This phrase is Japanese for "What is it?" *Editor's note: This phrase is Japanese for "What is it?"
FIGURE 1 A:
FIGURE 1 A: DAILY CHADAILY CHART OF RT OF CANON.CANON.ThiThis is the trs is the tr aditional candlestick chart of aditional candlestick chart of Canon.Canon.
1 1 [7 [7 | 1|13 3 |20 |20 I2I2 TT - 42.0 - 42.0 4 1 . 5 4 1 . 5 4 1 . 0 4 1 . 0 40 40 55 «0.0 «0.0 3 9 . 5 3 9 . 5 3 9 . 0 3 9 . 0 3 8 . 5 3 8 . 5 3 8 . 0 3 8 . 0 3 7 . 5 3 7 . 5 3 7 . 0 3 7 . 0 36 36 55 3 8 . 0 3 8 . 0 35 35 55 35 35 00 J4 J4 55 34 34 3 3 . 5 3 3 . 5 3 3 . 0 3 3 . 0 3 2 . 5 3 2 . 5 32 32 00 3 1 . 5 3 1 . 5 31 31 LLII 3 0 . 8 3 0 . 8 3 0 . 0 3 0 . 0 2 9 . 5 2 9 . 5 2 9 . 0 2 9 . 0 2 8 . 5 2 8 . 5 2 8 . 0 2 8 . 0 if if 55 27 11 27 11 2 6 . 5 2 6 . 5 26 26 00 2 5 . 5 2 5 . 5 2 5 . 0 2 5 . 0 24 24 55 FIGU
FIGURE IRE I BB : : DAILDAILY MY M ODIFIED ODIFIED CHACHART OF CART OF CANON.NON.ThThe e heikiheikin-n- ashi technique works as a ashi technique works as a filter, filter, elimineliminating ating irregularitiirregularities and makinges and making
the chart smoother with well-defined trends. the chart smoother with well-defined trends.
At
At ffirsirst glt glance, ance, FFigure 1 igure 1 shows shows that ththat the heikin-e heikin- ashi chartashi chart looks more compact and smooth compared to the traditional looks more compact and smooth compared to the traditional chart
chart. White candles display . White candles display a risa rising trending trend, while black candles, while black candles indicate a downtrend. Gaps, which occur frequently on the indicate a downtrend. Gaps, which occur frequently on the traditional
traditionalO H L CO H L C chart,chart, are not present becauare not present becau se they are ise they are incor- ncor-porated
porated into thinto the modifie modified candles. Sted candles. St rong positivrong positive trende trend s havs havee long white bodies with no lower shadows, while strong long white bodies with no lower shadows, while strong nega-tive trends have long black bodies with no upper shadows. tive trends have long black bodies with no upper shadows.
When bodies become shorter, a weaker trend is anticipated When bodies become shorter, a weaker trend is anticipated (se
(see mid-e mid- October aOctober and end of December). nd end of December). In tIn t he beghe beginning of inning of N
N oveovember, Cmber, C anon anon weweakened its uptrend and akened its uptrend and stastarted a consoli-rted a consoli-dation period with several small bodies with both long upper dation period with several small bodies with both long upper and lower shad
and lower shadows. A vows. A very sery small body with tall shadomall body with tall shado ws ws on ton thehe fi
firsrst tt trading day in 2000 warned about rading day in 2000 warned about a poa possssible chanible change of thege of the risi
rising trenng trend. d. As As concon solidationsolidation s contain s contain sevseveral bodies weral bodies with tallith tall
shadows, it is not safe to assume that the presence of a small shadows, it is not safe to assume that the presence of a small body w
body with tall shadows with tall shadows will ill indicate a change in trenindicate a change in tren d. d. FF igureigure 2 summarizes the five scenarios that can be identified on a 2 summarizes the five scenarios that can be identified on a heik
heikin-in- asashi candle chart.hi candle chart.
EXAMPLES EXAMPLES
To giv
To give you an idea of e you an idea of how to apply how to apply the heikin-the heikin- ashi charashi chartintin gg tech
techniquniqu e, I e, I wwilill show l show you three exyou three examples usamples using the Staning the Stan darddard & Po
& Po oror's 500 index (SP500-'s 500 index (SP500- HA), thHA), th e price of e price of golgold (Xd (XGLD-
GLD-H A ) ,
H A ) , and Pfizerand Pfizer ( P F E - H A ) .( P F E - H A ) . The heikThe heikin-in- ashiashi O H L CO H L C values werevalues were calculated as indicated in the sidebar and plotted. Each chart calculated as indicated in the sidebar and plotted. Each chart contains two candlesti
contains two candlestick subchartsck subcharts: The top : The top contains the contains the momo di- di-fied OHLC values, while the bottom has the real values. Each fied OHLC values, while the bottom has the real values. Each number in the table in Figure 2 (1 to 5) applies to the chart number in the table in Figure 2 (1 to 5) applies to the chart whenever a relevant scenario appears. They are labeled in whenever a relevant scenario appears. They are labeled in
TRADING TECHNIQUES
TRADING TECHNIQUES
different colors to different colors to differ-entiate descending and entiate descending and ascending trends. For ascending trends. For each chart I'll discuss each chart I'll discuss how this technique can how this technique can be used to either enter be used to either enter and stay on the right side and stay on the right side
of the trend, or avoid of the trend, or avoid
trad-ing durtrad-ing periods of ing during periods of con-solidations.
solidations.
Standard & Poor's 500 Standard & Poor's 500 (SP500-HA):
(SP500-HA):
Figure 3 offers no doubt Figure 3 offers no doubt about the usefulness of about the usefulness of this method, even for a this method, even for a novice: All trends are novice: All trends are vis-ible, with short ible, with short
consoli-dations marked as (4) occurring in February and July. Strong dations marked as (4) occurring in February and July. Strong rising trends (2)
rising trends (2) were marked by long white candwere marked by long white candle bodies withle bodies with no lower shadows,
no lower shadows, while strong fallwhile strong falling trends (2) ing trends (2) were accom-were accom-panied by filled candle bodies with no upper shadows.
panied by filled candle bodies with no upper shadows.
Using the observations in Figure 2, note how the smaller Using the observations in Figure 2, note how the smaller bodies (3) in January 2003 warned about a weakening of the bodies (3) in January 2003 warned about a weakening of the trend, and subsequently, a reversal (4). Trend changes (5) were trend, and subsequently, a reversal (4). Trend changes (5) were pointed out by small bodies with longer shadows, but as an pointed out by small bodies with longer shadows, but as an exception, the reversal in March occurred without any such exception, the reversal in March occurred without any such sig
sign. Although a rising trend, n. Although a rising trend, the segment AB the segment AB was composedwas composed FIGURE
FIGURE2: FIVE SCENARIOS OF HEIKIN-ASHI CHARTS. Here you see the different types of trend behavior for ascending and descending2: FIVE SCENARIOS OF HEIKIN-ASHI CHARTS. Here you see the different types of trend behavior for ascending and descending
trends. trends.
of sev
of several short sections eral short sections (normal trend, weakening, consolida-(normal trend, weakening,
consolida-tion).
tion). It could also be seen as a normal ascending trend (1) dueIt could also be seen as a normal ascending trend (1) due
to a majority of white bodies.
to a majority of white bodies.
Article continues on page 24
Article continues on page 24
The h
The h
eiki
eikin-ashi
n-ashi
is a vi
is a visual technique
sual technique
that elimina
that elimina
tes irregularit
tes irregularit
ies f
ies from
rom
a
a
normal ch
normal ch
art, o
art, o
ff
ffering a b
ering a b
etter
etter picture
picture
of t
of trends and
rends and
cons
cons
oli
olidati
dations.
ons.
FIGURE 3: S&P 500 MODIFIED. All trends are well-defined by sequences of white or red bodies, making them easy to identify and follow. FIGURE 3: S&P 500 MODIFIED. All trends are well-defined by sequences of white or red bodies, making them easy to identify and follow.
TRADING TECHNIQUES
TRADING TECHNIQUES
TRADING TECHNIQUES
FIGURE
FIGURE4:4:MMODIFIODIFI ED CHAED CHARTRTOFOFGOLD PRICES.GOLD PRICES.WWhite bodies dominate in hite bodies dominate in rising trrising tr ends. ends. PullbaPullbacks are short and strong, cks are short and strong, marked by longermarked by longer red bodies. red bodies. Gold Gold (XGLD-(XGLD-HAHA):): - 37.0 - 37.0 - 36.5 - 36.5 - 3 6 0 - 3 6 0 - 35.5 - 35.5 - 35.0 - 35.0 34.5 34.5 - 34.0 - 34.0 j j - 33.- 33.55 г 33.0 г 33.0 г 32.5 г 32.5 h 32.0 h 32.0 31.5 31.5 - - 3131.0.0 - 30.5 - 30.5 30.0 30.0 29.5 29.5 29.0 29.0
FIGURE 5: MODIFIED CHART
FIGURE 5: MODIFIED CHARTOF PFIZER.OF PFIZER. In an uptrend or downtrIn an uptrend or downtrend, end, PfizPfizer displays severaer displays several small consolidl small consolidation periods ation periods marked by the presencemarked by the presence
of small
of small bodies with upper and lower shadows.bodies with upper and lower shadows.
Another example of the simplicity gained by using modified Another example of the simplicity gained by using modified
heikin-heikin- ashi values is iashi values is in tn the chart he chart of of golgold prices in Fd prices in F igigure 4. Aure 4. A longer ris
longer rising trend (April-ing trend (April- MMay) way) was dominated by white candlesas dominated by white candles (1) and
(1) and (2) with a small consolidation (4) to(2) with a small consolidation (4) towaward thrd the end e end of Aof April.pril.
The very small body in May was just a pause before the next leg The very small body in May was just a pause before the next leg up; most of the candles were white bodies with no lower up; most of the candles were white bodies with no lower shadows
shadows. The smaller bodies tow. The smaller bodies toward the end ard the end of May annoof May anno ununcedced either a weakening of
either a weakening of the trend (3) or ththe trend (3) or th e se start of a consolidatiotart of a consolidationn period (4).
(small bodies with both long upper and lower shadows). In (small bodies with both long upper and lower shadows). In Aug
August, there was aust, there was another consolidatinother consolidation (4). Given the pron (4). Given the presenceesence of an ascending triangle, there was a very good chance that of an ascending triangle, there was a very good chance that price would break out of this short consolidation.
price would break out of this short consolidation. Pfizer (PFE-HA):
Pfizer (PFE-HA):
If you have been trading Pfizer
If you have been trading Pfizer (PFE),(PFE), you should be familiaryou should be familiar
with its behavior, which is highlighted in both charts in Figure with its behavior, which is highlighted in both charts in Figure 5: many small consolidations on the way both up and down. 5: many small consolidations on the way both up and down. Ga
Gaps are not shown on the modified chart, ps are not shown on the modified chart, which makes it which makes it easiereasier to read. The small body with long upper and lower shadows (5) to read. The small body with long upper and lower shadows (5) con
confirmfirms a change of trs a change of trend in Aprilend in April. As shown on the daily chart,. As shown on the daily chart, the longer trends are not continuous (as in the previous the longer trends are not continuous (as in the previous ex-amp
amples)les), but interrupted by small consolidations. , but interrupted by small consolidations. In this case, In this case, itit wo
woululd be worthwhile d be worthwhile to to analyze weekly charts.analyze weekly charts.
HEIKIN-ASHI AND SIMPLE INDICATORS HEIKIN-ASHI AND SIMPLE INDICATORS
Fr
From om a visual standpoint, ta visual standpoint, the heikin-ashhe heikin-ashi technique is based oni technique is based on the effect of the size and color of the candle bodies. For the effect of the size and color of the candle bodies. For additional confirmation, many traders use indicators, so to additional confirmation, many traders use indicators, so to make life easier I defined two simple indicators: haOpen and make life easier I defined two simple indicators: haOpen and haClose. I applied these to the chart of Ultimate Software haClose. I applied these to the chart of Ultimate Software Group
Group (ULTI).(ULTI). See the second sidebar, "Defining SimpleSee the second sidebar, "Defining Simple Indicators Based On Modified OHLC Values," for details on Indicators Based On Modified OHLC Values," for details on these indicators. You can see them in a separate window in these indicators. You can see them in a separate window in
DEFINI
DEFINING SIMPLNG SIMPLE E INDIINDICATORS WCATORS WITH MITH METASTETASTOCKOCK BASED ON MODIFIED OHLC VALUES
BASED ON MODIFIED OHLC VALUES
In MetaStock, choos
In MetaStock, choose Tools, Ine Tools, Indicator Builder, and New dicator Builder, and New toto create these four new indicators:
create these four new indicators: Name: haClose Name: haClose haclose:=(O+H+L+C)/4; haclose:=(O+H+L+C)/4; haclose; haclose; Name: haOpen Name: haOpen haopen:=(PREV+Ref(Fml("haClose"),-1))/2; haopen:=(PREV+Ref(Fml("haClose"),-1))/2; haopen; haopen; Name: haDiffCO Name: haDiffCO
hadiffco:= Fml("haClose") - Fml("haOpen"); hadiffco:= Fml("haClose") - Fml("haOpen"); hadiffco;
hadiffco;
Name: Mov-haDiffCO Name: Mov-haDiffCO Periods:=lnput(
Periods:=lnput("Time "Time periods",3,50,3);periods",3,50,3);
movhadiffco:= Mov(Fml("haDiffCO"), Periods, S); movhadiffco:= Mov(Fml("haDiffCO"), Periods, S); movhadiffco;
TRADING TECHNIQUES
TRADING TECHNIQUES
Figure 6. In these indicators, long bodies correspond to large Figure 6. In these indicators, long bodies correspond to large differences between the modified close and open (2). Small differences between the modified close and open (2). Small bodies (3) represent these two indicators getting closer, and bodies (3) represent these two indicators getting closer, and mean either the start of a consolidation (4) or a possible
mean either the start of a consolidation (4) or a possible changechange of trend. Between February and March 2002 (trend AB), the of trend. Between February and March 2002 (trend AB), the stock was in an uptrend, but the modified chart
stock was in an uptrend, but the modified chart ULTI-HAULTI-HA
records this as a series of white candles with both lower and records this as a series of white candles with both lower and upper shadows (4). This is an exception.
upper shadows (4). This is an exception.
I created another simple indicator, haDiffCO, which is I created another simple indicator, haDiffCO, which is displayed in a separate subchart. Positive values correspond displayed in a separate subchart. Positive values correspond toto white bodies (ascending trends), while negative values white bodies (ascending trends), while negative values
indi-cate downtrends. In addition, you can apply a shorter moving cate downtrends. In addition, you can apply a shorter moving average (Mov-haDiffCo) to this indicator, and observe that: average (Mov-haDiffCo) to this indicator, and observe that:
•
• Crossings will poiCrossings will point, witnt, with gooh good accuracy, to d accuracy, to chachanges innges in the trend. Unfortunately, the whipsaws may eliminate the trend. Unfortunately, the whipsaws may eliminate some good trades.
some good trades.
• Positive values of Mov-haDiffCo indicate an uptrend, • Positive values of Mov-haDiffCo indicate an uptrend, while Mov-haDiffCo values below zero show a while Mov-haDiffCo values below zero show a
downtrend. downtrend.
Both of these indicators are also discussed in the sidebar. Both of these indicators are also discussed in the sidebar.
For more information, visit the S&C ad index at
More info:
More info:Traders.com/readerTraders.com/reader
"..And please, please, please give me the chance to "..And please, please, please give me the chance to prove to you that winning the lottery won't spoil me... " prove to you that winning the lottery won't spoil me... "
TRADING TECHNIQUES
TRADING TECHNIQUES
Another interesting feature is the anticipation of a change in Another interesting feature is the anticipation of a change in the strength of the next trading bar. Assume you are at the end the strength of the next trading bar. Assume you are at the end of today' s trading session. Based on the calculation of
of today' s trading session. Based on the calculation of haOpenhaOpen::
haOpen
haOpen (tomorrow) (tomorrow) = = (haOpen(to(haOpen(today) day) + + haClose(today))/2 haClose(today))/2 (A)(A)
The position of haClose(tomorrow)
The position of haClose(tomorrow) versus haOpen(toversus haOpen(tomorrow)morrow) will determine the color of the candle body:
will determine the color of the candle body:
If haClose(tomorrow) > haOpen(tomorrow) If haClose(tomorrow) > haOpen(tomorrow)
Else Else
Body (tomorrow) = white Body (tomorrow) = white Body (tomorrow
Body (tomorrow) = ) = filled/redfilled/red
(B) (B) Endif Endif SUMMARY SUMMARY
The heikin-ashi charting technique is a visual, less subjective
The heikin-ashi charting technique is a visual, less subjective
method for displaying trending and consolidation periods. The
method for displaying trending and consolidation periods. The
color of the modified candlesticks indicates the nature of the
color of the modified candlesticks indicates the nature of the
trend: A series of white bodies show
trend: A series of white bodies shows an ascending tres an ascending trend, whilnd, whilee
a sequence of black candle bodies is associated with a
a sequence of black candle bodies is associated with a
downtrend. The size of the candlestick body indicates the
downtrend. The size of the candlestick body indicates the
strength of
strength of the current trend: Long white bodies show the current trend: Long white bodies show a stronga strong
ascending trend and long black bodies are associated with
ascending trend and long black bodies are associated with
stronger downtrends.
stronger downtrends.
In an ascending trend, the emergence of the lower shadow
In an ascending trend, the emergence of the lower shadow
suggests weakening, although an exception was highlighted in
suggests weakening, although an exception was highlighted in
Figure 6. In a falling trend, the presence of upper shadows
Figure 6. In a falling trend, the presence of upper shadows
suggests weakening. Periods of consolidation are
suggests weakening. Periods of consolidation are
character-ized by a sequence of smaller white and black bodies with
ized by a sequence of smaller white and black bodies with
longer upper and lower sh
longer upper and lower shadows. In some cases, the emeadows. In some cases, the emergenrgencece
of a candle with a small body and long shadows suggests an
of a candle with a small body and long shadows suggests an
imminent change of trend (for an exception, see the reversal in
imminent change of trend (for an exception, see the reversal in
March 2003, Figure 3). If the visual element is not sufficient,
March 2003, Figure 3). If the visual element is not sufficient,
simple indicators can be used to arrive at similar conclusions.
simple indicators can be used to arrive at similar conclusions.
The main advantage of this simple method is a better visual
The main advantage of this simple method is a better visual
perspective of the current status and strength of the trend or
perspective of the current status and strength of the trend or
consolidation, and a possible anticipation of the next bar's
consolidation, and a possible anticipation of the next bar's
strength. As with any other charting method, the heikin-ashi is
strength. As with any other charting method, the heikin-ashi is
not
not 100100% reliable and therefo% reliable and therefore should be combined with otherre should be combined with other
technical indicators. Your trading, of course, should also
technical indicators. Your trading, of course, should also
include risk- and capital-control strategies.
include risk- and capital-control strategies.
Dan Valcu is a Swedish private trader, computer consultant,
Dan Valcu is a Swedish private trader, computer consultant,
and a technical analysis instructor. He may be reached at
and a technical analysis instructor. He may be reached at
ta@educofin.com. With special thanks to S. Koike.
ta@educofin.com. With special thanks to S. Koike.
SUGGESTED READING SUGGESTED READING
Forex Watcher:
Forex Watcher: http://plaza4.mhttp://plaza4.mbn.or.jp/~skoike/tbn.or.jp/~skoike/top_eng.htmop_eng.htm
Nison, Steve [1994].
Nison, Steve [1994]. Beyond Candlesticks: New JapaneseBeyond Candlesticks: New Japanese
Charting Techniques Revealed,
Charting Techniques Revealed, John Wiley & Sons.John Wiley & Sons.
MetaStock (Equis International)
MetaStock (Equis International)
Worden
Worden Brothers (TBrothers (TC2000)(data)C2000)(data)
See our Traders
See our Traders' Tips section beginnin' Tips section beginning on page 96 of thig on page 96 of this issue s issue forfor
various program code implementing Dan Valcu's techniques.
various program code implementing Dan Valcu's techniques.
See Traders' Glossary for definition See Traders' Glossary for definition
See Editorial Resource Index
TR
TRAADING DING TECHNTECHNIQUESIQUES
H E I K I N - A S H I O H L C V A L U E S H E I K I N - A S H I O H L C V A L U E S
To illustrate the calculation of heikin-ashi OHLC values in To illustrate the calculation of heikin-ashi OHLC values in a spreadsheet (sidebar Figure 1), I used daily data for the a spreadsheet (sidebar Figure 1), I used daily data for the US Dol
US Dollar Ilar Index (4/24/ndex (4/24/ 03-03- 8/8/ 22/22/ 03). Y03). You can use intraday,ou can use intraday, weekly, or any other time frame for the d
weekly, or any other time frame for the d ata.ata.
To build the data table and the chart associated with To build the data table and the chart associated with it,it, follow these steps:
follow these steps: Step 1:
Step 1: Copy daiCopy daily data (date, open, ly data (date, open, high, high, low, close) intolow, close) into columns A
columns A, , B, C, B, C, D, and E, through to the last D, and E, through to the last columcolum n.n. Step 2:
Step 2: Reserve columns F, G, H, and I as heikin-ashiReserve columns F, G, H, and I as heikin-ashi values for modified open, high, low, and close: haOpen, values for modified open, high, low, and close: haOpen, haHigh, haLow, haClose.
haHigh, haLow, haClose. Step 3:
Step 3: EEnter the following formulas corresponter the following formulas correspo nding to thending to the first day in the data table:
first day in the data table: In cell F2: =B2 In cell F2: =B2 ln cell G2:=MAX(C2,F2,l2) ln cell G2:=MAX(C2,F2,l2) In cell H2: =MIN(D2,F2,I2) In cell H2: =MIN(D2,F2,I2) In cell I2: =SUM(B2:E2)/4 In cell I2: =SUM(B2:E2)/4
SIDEBAR FIGURE 1:
SIDEBAR FIGURE 1: CALCALCULACULATING HEITING HEIKIN-KIN-ASHI USING A SPREASHI USING A SPREADSHEADSHEETET
Observe that cell F2 contains the value Observe that cell F2 contains the value for the real open for day 1.
for the real open for day 1. Y
You also have the opou also have the op tion ttion t o enter zero ino enter zero in cell F2 and MIN(D2,I2) in cell H2. But in cell F2 and MIN(D2,I2) in cell H2. But in this case the range used to display the this case the range used to display the chart will be the date for the
chart will be the date for the x x axis, andaxis, and haOpen, haHigh, haLow, and haClose for haOpen, haHigh, haLow, and haClose for the у
the у axaxis.is. Step 4:
Step 4: EnEnter the following fter the following f ormulas:ormulas: In cell F3: =(F2+l2)/2 In cell F3: =(F2+l2)/2 In cell G3: =MAX(C3,F3,I3) In cell G3: =MAX(C3,F3,I3) In cell H3: =MIN(D3,F3,I3) In cell H3: =MIN(D3,F3,I3) In cell I3: =SUM(B3:E3)/4 In cell I3: =SUM(B3:E3)/4 Step 5:
Step 5: Select cSelect c ells F3, G3, H3, and I3 andells F3, G3, H3, and I3 and copy them down to the end of p
copy them down to the end of p rice data.rice data. Columns F, G, H, and I now contain the Columns F, G, H, and I now contain the heik
heikin-ashi vain-ashi values for open, lues for open, high, high, low, andlow, and close.
close. Step 6:
Step 6: Create a candlestick chart in Ex-Create a candlestick chart in Ex-cel using the date (column A) for t
cel using the date (column A) for t he xaxishe xaxis and range F2 to the last value in column I and range F2 to the last value in column I as the data range. The chart should look as the data range. The chart should look like the one in sidebar Figure 2.
like the one in sidebar Figure 2.
— —DV DV
SIDEBAR FIGUR
SIDEBAR FIGURE 2E 2: : THE US DOLLTHE US DOLLAAR INR INDEX.DEX. WWhite candles show ahite candles show an ascending trendn ascending trend , while b, while black clack candlesandles
indicate a descending trend. Smaller bodies are an indication that the current trend may weaken or that the indicate a descending trend. Smaller bodies are an indication that the current trend may weaken or that the index is consolidating.
index is consolidating.
22 •