App-Chart
view release on metacpan or search on metacpan
doc/chart.texi view on Meta::CPAN
The all list is all symbols in the database, except those in the historical
list described above.
@c ---------------------------------------------------------------------------
@node Display, Annotations, Symbol Lists, Top
@chapter Display
@cindex Display
@menu
* Open::
* Main Window::
* View Style::
* Dividends::
* Cross::
* Ticker::
@end menu
@c ---------------------------------------------------------------------------
@node Open, Main Window, Display, Display
@section Open
@cindex Open
@cindex Dialog, open
@cindex Select chart
@cindex File/Open
The File/Open dialog selects a symbol to display. Click on an entry in the
tree, or type in a symbol. Upper or lower case can be entered, and just some
of the symbol is enough. The tree selection jumps to show what's matched.
There's no need to give a suffix, unless two symbols are the same apart from
the suffix.
@cindex @key{N}
@cindex @key{P}
The tree shows the various symbol lists (@pxref{Symbol Lists}), but for the
favourites list only symbols actually in the database. Clicking on an entry
makes that list current, so @key{N} and @key{P} then navigate within that.
Initially the start of the tree is current, so @key{N} starts in the first
list.
To add a new symbol, enter it and click ``New'' (@key{Alt-N}). In this case
you must have upper/lower case and the suffix correct. There's no validation
for that, you just have to be careful. An initial download is done and the
chart is displayed.
When adding a lot of new symbols the command line download
(@pxref{Invocation}) may be easier than entering them individually in the GUI.
You can give a long list and let Chart go away and do all the initial
downloads. (The command is the same as an ``update'', because an update of a
stock with no data means do an initial download.) For example,
@example
chart --download TSCO.L RNO.PA FBU.NZ BMW.DE
@end example
@c SYMBOL: TSCO.L
@c SYMBOL: RNO.PA
@c SYMBOL: FBU.NZ
@c SYMBOL: BMW.DE
The TreeView in the dialog has an irritating animated arrow when expanding or
collapsing a symlist. You can fix that for Chart and other Gtk2 by adding to
your @file{~/.gtkrc-2.0} file
@example
gtk-enable-animations = 0
@end example
@c ---------------------------------------------------------------------------
@node Main Window, View Style, Open, Display
@section Main Window
@cindex Main window
@cindex Window, main
@cindex Graph
@cindex OHLC
@cindex Weekly
@cindex Monthly
@cindex @key{Ctrl-D}
@cindex @key{Ctrl-W}
@cindex @key{Ctrl-M}
The default display is daily open/high/low/close candlesticks with volume
below. @key{Ctrl-W} selects a weekly display, or @key{Ctrl-M} monthly.
@key{Ctrl-D} goes back to daily.
@cindex Scroll
@cindex Centre
@cindex @key{Page-Up}
@cindex @key{Page-Down}
@cindex @key{Ctrl-C}
@cindex @key{Button-1}
The scroll bars move the visible portion. Arrow keys @key{Up}, @key{Down},
etc move by a step, or control-arrows and @key{Page-Up}/@key{Page-Down} move
by a page. Mouse @key{Button-1} drags the graph within the window.
@key{Ctrl-C} centres it vertically in the window, if you lose track when
paging around.
@cindex Zoom
@cindex @key{Z}
@cindex @key{Shift-Z}
@cindex @key{W}
@cindex @key{Shift-W}
@key{Z} and @key{Shift-Z} zoom in and out vertically. @key{W} and
@key{Shift-W} zoom in and out horizontally (@samp{W} stands for ``wider'').
The initial vertical scaling is based on apparent price volatility, so active
stocks take the full window (or more), and sedate stocks are shown fairly
flat.
@cindex Latest
During trading, the current day's open/high/low/last so far is shown in yellow
(to emphasise it's a latest quote). This is always in OHLC style, even on a
candlestick chart. The figure drawn looks like
@ifnottex
@example
|
|
+--
|
+-----
doc/chart.texi view on Meta::CPAN
@cindex Average, fractal adaptive
@cindex Moving average, fractal adaptive
@uref{http://www.mesasoftware.com/technicalpapers.htm} @*
@uref{http://www.mesasoftware.com/Papers/FRAMA.pdf}
@cindex Ehlers, John
The fractal adaptive moving average (FRAMA) by John Ehlers is an exponential
style moving average (@pxref{Exponential Moving Average}) with an alpha
smoothing factor that varies according to a fractal dimension calculated over
the past N day's prices.
The dimension is calculated by looking at the N days in two halves, the
immediately preceding N/2 days and the N/2 preceding that. The trading ranges
in those halves are compared to the total range and an alpha factor for the
EMA generated. The calculation is slightly tricky but in essence the amount
of overlap between the ranges is measured. The alpha factor is small and the
EMA slow when the halves overlap. The alpha is large and the EMA fast when
the halves don't overlap but add up to make the overall N day range.
The FRAMA alpha factor and the fractal dimension value are available in the
lower indicator window, to see where they're big or small, under ``Low
Priority'' near the end of the indicators lists.
@subsection Additional Resources
@itemize
@item
@uref{http://www.traders.com/Documentation/FEEDbk_docs/Archive/102005/TradersTips/TradersTips.html}
-- TASC Oct 2005 Traders' Tips various formulas [possibly gone].
@end itemize
@c ---------------------------------------------------------------------------
@node Guppy Multiple Moving Average, Hull Moving Average, Fractal Adaptive Moving Average, Averages
@section Guppy Multiple Moving Average
@cindex Guppy multiple moving average
@cindex GMMA
@cindex Average, Guppy multiple
@cindex Moving average, Guppy multiple
@uref{http://www.guppytraders.com/gup329.shtml} (summary at Darryl Guppy's web
site)
@c
@c This one gone, apparently
@c @*
@c @uref{http://www.chartfilter.com/articles/technicalanalysis/movingaverage.htm}
@c (2004 article by Darryl Guppy)
@cindex Darryl Guppy
The Guppy multiple moving average (GMMA) by Darryl Guppy is a set of six short
term and six long term exponential moving averages (@pxref{Exponential Moving
Average}), all drawn on the one chart.
His standard periods are 3, 5, 8, 10, 12 and 15 days for the short averages,
and 30, 35, 40, 45, 50 and 60 days for the long averages. These periods are
parameters in Chart to allow experimentation. A value of 0 suppresses an
entry if less than twelve lines are desired.
Guppy's approach is look for compression of the averages (the lines coming
together) in each group as signalling a likely trend change; and for steady
parallel or expanding lines as a continuing trend. He emphasises that the
idea is not a moving average crossover system.
@subsection Additional Resources
@itemize
@item
@uref{http://www.incrediblecharts.com/technical/multiple_moving_averages.htm}
-- sample graph of @samp{ASX.AX} from 1999.
@end itemize
@c ---------------------------------------------------------------------------
@node Hull Moving Average, Kaufman Adaptive Moving Average, Guppy Multiple Moving Average, Averages
@section Hull Moving Average
@cindex Hull moving average
@cindex HMA
@uref{http://www.alanhull.com/} @*
@uref{http://www.justdata.com.au/Journals/AlanHull/hull_ma.htm}
The Hull moving average (HMA) by Alan Hull is a combination of weighted moving
averages (@pxref{Weighted Moving Average}) with a momentum component, designed
to have low lag.
@tex
$$ HMA = WMA \left\lfloor \sqrt{N} \right\rfloor \; of \;
( 2 \times WMA
\left\lfloor { N \over 2 } \right\rfloor
- WMA(N) ) $$
@end tex
@ifnottex
@example
HMA = WMA[floor(sqrt(N))] of (2 * WMA[floor(N/2)] - WMA[N])
@end example
@end ifnottex
The average is weighted towards recent prices, and in fact has negative
weights for prices past about @math{N/2} days ago. Those negatives can make
the average overshoot actual price action after a big jump (the same as other
lag-reduced averages do). The following graph shows the weights for
@math{N=15}.
@myimage{chart-hull-weights, Hull moving average weights graph}
@c ---------------------------------------------------------------------------
@node Kaufman Adaptive Moving Average, Laguerre Filter, Hull Moving Average, Averages
@section Kaufman Adaptive Moving Average
@cindex Kaufman adaptive moving average
@cindex KAMA
@cindex Average, Kaufman adaptive
@cindex Moving average, Kaufman adaptive
@cindex Kaufman, Perry J.
The Kaufman adaptive moving average (KAMA) by Perry J.@: Kaufman
(@uref{http://www.perrykaufman.com}) is an exponential style average
(@pxref{Exponential Moving Average}) but with a smoothing that varies
according to recent data. In a steadily progressing move the latest prices
are tracked closely, but when going back and forward with little direction the
latest prices are given only small weights.
( run in 0.567 second using v1.01-cache-2.11-cpan-5623c5533a1 )