App-Chart
view release on metacpan or search on metacpan
lib/App/Chart/doc/chart.html view on Meta::CPAN
</div>
<div class="chapter-level-extent" id="Display">
<div class="nav-panel">
<p>
Next: <a href="#Annotations" accesskey="n" rel="next">Annotations</a>, Previous: <a href="#Symbol-Lists" accesskey="p" rel="prev">Symbol Lists</a>, Up: <a href="#Top" accesskey="u" rel="up">Chart</a> [<a href="#Concept-Index" title="Index" rel...
</div>
<h2 class="chapter" id="Display-1"><span>6 Display<a class="copiable-link" href="#Display-1"> ¶</a></span></h2>
<a class="index-entry-id" id="index-Display"></a>
<ul class="mini-toc">
<li><a href="#Open" accesskey="1">Open</a></li>
<li><a href="#Main-Window" accesskey="2">Main Window</a></li>
<li><a href="#View-Style" accesskey="3">View Style</a></li>
<li><a href="#Dividends" accesskey="4">Dividends and Splits</a></li>
<li><a href="#Cross" accesskey="5">Cross</a></li>
<li><a href="#Ticker" accesskey="6">Ticker</a></li>
</ul>
<hr>
<div class="section-level-extent" id="Open">
<div class="nav-panel">
<p>
Next: <a href="#Main-Window" accesskey="n" rel="next">Main Window</a>, Previous: <a href="#Display" accesskey="p" rel="prev">Display</a>, Up: <a href="#Display" accesskey="u" rel="up">Display</a> [<a href="#Concept-Index" title="Index" rel="in...
</div>
<h3 class="section" id="Open-1"><span>6.1 Open<a class="copiable-link" href="#Open-1"> ¶</a></span></h3>
<a class="index-entry-id" id="index-Open"></a>
<a class="index-entry-id" id="index-Dialog_002c-open"></a>
<a class="index-entry-id" id="index-Select-chart"></a>
<a class="index-entry-id" id="index-File_002fOpen"></a>
<p>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.
</p>
<a class="index-entry-id" id="index-N"></a>
<a class="index-entry-id" id="index-P"></a>
<p>The tree shows the various symbol lists (see <a class="pxref" href="#Symbol-Lists">Symbol Lists</a>), but for the
favourites list only symbols actually in the database. Clicking on an entry
makes that list current, so <kbd class="key">N</kbd> and <kbd class="key">P</kbd> then navigate within that.
Initially the start of the tree is current, so <kbd class="key">N</kbd> starts in the first
list.
</p>
<p>To add a new symbol, enter it and click “New” (<kbd class="key">Alt-N</kbd>). 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.
</p>
<p>When adding a lot of new symbols the command line download
(see <a class="pxref" href="#Invocation">Invocation</a>) 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,
</p>
<div class="example">
<pre class="example-preformatted">chart --download TSCO.L RNO.PA FBU.NZ BMW.DE
</pre></div>
<p>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 <samp class="file">~/.gtkrc-2.0</samp> file
</p>
<div class="example">
<pre class="example-preformatted">gtk-enable-animations = 0
</pre></div>
<hr>
</div>
<div class="section-level-extent" id="Main-Window">
<div class="nav-panel">
<p>
Next: <a href="#View-Style" accesskey="n" rel="next">View Style</a>, Previous: <a href="#Open" accesskey="p" rel="prev">Open</a>, Up: <a href="#Display" accesskey="u" rel="up">Display</a> [<a href="#Concept-Index" title="Index" rel="index">Ind...
</div>
<h3 class="section" id="Main-Window-1"><span>6.2 Main Window<a class="copiable-link" href="#Main-Window-1"> ¶</a></span></h3>
<a class="index-entry-id" id="index-Main-window"></a>
<a class="index-entry-id" id="index-Window_002c-main"></a>
<a class="index-entry-id" id="index-Graph"></a>
<a class="index-entry-id" id="index-OHLC"></a>
<a class="index-entry-id" id="index-Weekly"></a>
<a class="index-entry-id" id="index-Monthly"></a>
<a class="index-entry-id" id="index-Ctrl_002dD"></a>
<a class="index-entry-id" id="index-Ctrl_002dW"></a>
<a class="index-entry-id" id="index-Ctrl_002dM"></a>
<p>The default display is daily open/high/low/close candlesticks with volume
below. <kbd class="key">Ctrl-W</kbd> selects a weekly display, or <kbd class="key">Ctrl-M</kbd> monthly.
<kbd class="key">Ctrl-D</kbd> goes back to daily.
</p>
<a class="index-entry-id" id="index-Scroll"></a>
<a class="index-entry-id" id="index-Centre"></a>
<a class="index-entry-id" id="index-Page_002dUp"></a>
<a class="index-entry-id" id="index-Page_002dDown"></a>
<a class="index-entry-id" id="index-Ctrl_002dC"></a>
<a class="index-entry-id" id="index-Button_002d1"></a>
<p>The scroll bars move the visible portion. Arrow keys <kbd class="key">Up</kbd>, <kbd class="key">Down</kbd>,
etc move by a step, or control-arrows and <kbd class="key">Page-Up</kbd>/<kbd class="key">Page-Down</kbd> move
by a page. Mouse <kbd class="key">Button-1</kbd> drags the graph within the window.
<kbd class="key">Ctrl-C</kbd> centres it vertically in the window, if you lose track when
paging around.
</p>
<a class="index-entry-id" id="index-Zoom"></a>
<a class="index-entry-id" id="index-Z"></a>
<a class="index-entry-id" id="index-Shift_002dZ"></a>
<a class="index-entry-id" id="index-W"></a>
<a class="index-entry-id" id="index-Shift_002dW"></a>
<p><kbd class="key">Z</kbd> and <kbd class="key">Shift-Z</kbd> zoom in and out vertically. <kbd class="key">W</kbd> and
<kbd class="key">Shift-W</kbd> zoom in and out horizontally (‘<samp class="samp">W</samp>’ 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.
</p>
<a class="index-entry-id" id="index-Latest"></a>
<p>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
</p>
<div class="example">
<pre class="example-preformatted"> |
lib/App/Chart/doc/chart.html view on Meta::CPAN
<p><a class="uref" href="http://www.mesasoftware.com/technicalpapers.htm">http://www.mesasoftware.com/technicalpapers.htm</a> <br>
<a class="uref" href="http://www.mesasoftware.com/Papers/FRAMA.pdf">http://www.mesasoftware.com/Papers/FRAMA.pdf</a>
</p>
<a class="index-entry-id" id="index-Ehlers_002c-John"></a>
<p>The fractal adaptive moving average (FRAMA) by John Ehlers is an exponential
style moving average (see <a class="pxref" href="#Exponential-Moving-Average">Exponential Moving Average</a>) with an alpha
smoothing factor that varies according to a fractal dimension calculated over
the past N day’s prices.
</p>
<p>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.
</p>
<p>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.
</p>
<ul class="mini-toc">
<li><a href="#Additional-Resources" accesskey="1">Additional Resources</a></li>
</ul>
<div class="subsection-level-extent" id="Additional-Resources">
<h4 class="subsection"><span>8.6.1 Additional Resources<a class="copiable-link" href="#Additional-Resources"> ¶</a></span></h4>
<ul class="itemize mark-bullet">
<li><a class="uref" href="http://www.traders.com/Documentation/FEEDbk_docs/Archive/102005/TradersTips/TradersTips.html">http://www.traders.com/Documentation/FEEDbk_docs/Archive/102005/TradersTips/TradersTips.html</a>
– TASC Oct 2005 Traders’ Tips various formulas [possibly gone].
</li></ul>
<hr>
</div>
</div>
<div class="section-level-extent" id="Guppy-Multiple-Moving-Average">
<div class="nav-panel">
<p>
Next: <a href="#Hull-Moving-Average" accesskey="n" rel="next">Hull Moving Average</a>, Previous: <a href="#Fractal-Adaptive-Moving-Average" accesskey="p" rel="prev">Fractal Adaptive Moving Average</a>, Up: <a href="#Averages" accesskey="u" rel="up">A...
</div>
<h3 class="section" id="Guppy-Multiple-Moving-Average-1"><span>8.7 Guppy Multiple Moving Average<a class="copiable-link" href="#Guppy-Multiple-Moving-Average-1"> ¶</a></span></h3>
<a class="index-entry-id" id="index-Guppy-multiple-moving-average"></a>
<a class="index-entry-id" id="index-GMMA"></a>
<a class="index-entry-id" id="index-Average_002c-Guppy-multiple"></a>
<a class="index-entry-id" id="index-Moving-average_002c-Guppy-multiple"></a>
<p><a class="uref" href="http://www.guppytraders.com/gup329.shtml">http://www.guppytraders.com/gup329.shtml</a> (summary at Darryl Guppy’s web
site)
</p>
<a class="index-entry-id" id="index-Darryl-Guppy"></a>
<p>The Guppy multiple moving average (GMMA) by Darryl Guppy is a set of six short
term and six long term exponential moving averages (see <a class="pxref" href="#Exponential-Moving-Average">Exponential Moving Average</a>), all drawn on the one chart.
</p>
<p>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.
</p>
<p>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.
</p>
<ul class="mini-toc">
<li><a href="#Additional-Resources-1" accesskey="1">Additional Resources</a></li>
</ul>
<div class="subsection-level-extent" id="Additional-Resources-1">
<h4 class="subsection"><span>8.7.1 Additional Resources<a class="copiable-link" href="#Additional-Resources-1"> ¶</a></span></h4>
<ul class="itemize mark-bullet">
<li><a class="uref" href="http://www.incrediblecharts.com/technical/multiple_moving_averages.htm">http://www.incrediblecharts.com/technical/multiple_moving_averages.htm</a>
– sample graph of ‘<samp class="samp">ASX.AX</samp>’ from 1999.
</li></ul>
<hr>
</div>
</div>
<div class="section-level-extent" id="Hull-Moving-Average">
<div class="nav-panel">
<p>
Next: <a href="#Kaufman-Adaptive-Moving-Average" accesskey="n" rel="next">Kaufman Adaptive Moving Average</a>, Previous: <a href="#Guppy-Multiple-Moving-Average" accesskey="p" rel="prev">Guppy Multiple Moving Average</a>, Up: <a href="#Averages" acce...
</div>
<h3 class="section" id="Hull-Moving-Average-1"><span>8.8 Hull Moving Average<a class="copiable-link" href="#Hull-Moving-Average-1"> ¶</a></span></h3>
<a class="index-entry-id" id="index-Hull-moving-average"></a>
<a class="index-entry-id" id="index-HMA"></a>
<p><a class="uref" href="http://www.alanhull.com/">http://www.alanhull.com/</a> <br>
<a class="uref" href="http://www.justdata.com.au/Journals/AlanHull/hull_ma.htm">http://www.justdata.com.au/Journals/AlanHull/hull_ma.htm</a>
</p>
<p>The Hull moving average (HMA) by Alan Hull is a combination of weighted moving
averages (see <a class="pxref" href="#Weighted-Moving-Average">Weighted Moving Average</a>) with a momentum component, designed
to have low lag.
</p>
<div class="example">
<pre class="example-preformatted">HMA = WMA[floor(sqrt(N))] of (2 * WMA[floor(N/2)] - WMA[N])
</pre></div>
<p>The average is weighted towards recent prices, and in fact has negative
weights for prices past about <em class="math">N/2</em> 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
<em class="math">N=15</em>.
</p>
<br>
<div class="center"><img class="image" src="chart-hull-weights.png" alt="Hull moving average weights graph">
</div>
<hr>
</div>
<div class="section-level-extent" id="Kaufman-Adaptive-Moving-Average">
<div class="nav-panel">
<p>
Next: <a href="#Laguerre-Filter" accesskey="n" rel="next">Laguerre Filter</a>, Previous: <a href="#Hull-Moving-Average" accesskey="p" rel="prev">Hull Moving Average</a>, Up: <a href="#Averages" accesskey="u" rel="up">Averages</a> [<a href="#Co...
</div>
<h3 class="section" id="Kaufman-Adaptive-Moving-Average-1"><span>8.9 Kaufman Adaptive Moving Average<a class="copiable-link" href="#Kaufman-Adaptive-Moving-Average-1"> ¶</a></span></h3>
<a class="index-entry-id" id="index-Kaufman-adaptive-moving-average"></a>
<a class="index-entry-id" id="index-KAMA"></a>
<a class="index-entry-id" id="index-Average_002c-Kaufman-adaptive"></a>
<a class="index-entry-id" id="index-Moving-average_002c-Kaufman-adaptive"></a>
( run in 0.672 second using v1.01-cache-2.11-cpan-5623c5533a1 )