App-Chart
    
    
  
  
  
view release on metacpan or search on metacpan
doc/chart.texi view on Meta::CPAN
@item Chikou (blue)
The chikou line drawn in blue is closing prices shifted back 26 days.  It's
interpreted relative to those past prices, with chikou above being bullish or
below being bearish.  This is similar to the kind of comparison momentum makes
(@pxref{Momentum and Rate of Change}).
@end table
The time periods of 9 days and 26 days are parameters in Chart (@pxref{View
Style}).  When Hosoda designed the system Japanese markets traded 6 days a
week, so 9 days was @m{1 1\over2,1 1/2} trading weeks and 26 days was a month.
The same calendar times in today's 5 day weeks can be had with 7 and 22 days.
@cindex Range Midpoint
@anchor{Range Midpoint}
@subsection Range Midpoint
An N-day range midpoint like the tenkan, kijun and cloud lines is also
available separately as ``Range Midpoint'' if you want to experiment.  It's
under ``Low Priority'' in the averages list.
lib/App/Chart/Gtk2/HAxis.pm view on Meta::CPAN
=over 4
=item C<adjustment> (C<Gtk2::Adjustment>, default undef)
An adjustment object giving the range of dates to display.  The HAxis
display updates as the adjustment moves.
=item C<timebase> (C<App::Chart::Timebase> object, default undef)
The timebase for the dates displayed.  This is used to get the actual
calendar date represented by integer values from the C<adjustment>.
=back
=head1 SEE ALSO
L<App::Chart::Gtk2::Graph>
=head1 HOME PAGE
L<http://user42.tuxfamily.org/chart/index.html>
lib/App/Chart/Suffix/LME.pm view on Meta::CPAN
#-----------------------------------------------------------------------------
# historical download page
#
# This uses the historical data at
#
use constant HISTORICAL_XLS_URL =>
  'http://www.lme.co.uk/dataprices_historical.asp';
#
# That page is downloaded to get urls of XLS files for prices and volumes
# for each calendar month.  A price file is like
#
#     http://www.lme.co.uk/downloads/January_2007.xls
#
# and a volumes file
#
#     http://www.lme.co.uk/downloads/volumes_September_2007.xls
#
# Sometimes there's a rev num like
#
#     http://www.lme.co.uk/downloads/historic_data/May_2008(1).xls
lib/App/Chart/Suffix/NYM.pm view on Meta::CPAN
   # "NG" henry hub natural gas
   # "PA" palladium
   # "PL" platinum
   # "PN" propane
   # "QG" e-miNY henry hub natural gas
   # "QL" CAPP central appalacian coal
   # "QM" e-miNY light sweet crude
   # "SC" brent crude - dublin
   #
   # "GR" north west gasoil - dublin
   # "SA" brent calendar swap futures - clearport new york
   #
   # don't know what barchart "F0" heating oil / crude and "F5"
   # unleaded / crude are really
  );
# (set! barchart-suffix-delay-alist (cons* '(".CMX" . 30)
# 					 '(".NYM" . 30)
# 					 barchart-suffix-delay-alist))
lib/App/Chart/Suffix/TGE.pm view on Meta::CPAN
# return ISO date string of last trading for SYMBOL, or possibly a day or
# two after (because public holidays are not accounted for)
#
sub symbol_expiry {
  my ($symbol) = @_;
  my $mdate = symbol_mdate($symbol) // return undef;
  my $commodity = App::Chart::symbol_commodity ($symbol);
  # if ($commodity eq 'CO') {
  #     # corn
  #     # 15th calendar day of the month preceding the delivery month
  #     #       (receive-list (year month day)
  #     #        (mdate->ymd mdate)
  #     #        (ymd->tdate year (1- month) 15)))
  #   }
  #   when (['NG','RB','SB']) {
  #     # non-gm soybeans, azuki
  #     # 2 business days prior to delivery day; delivery day
  #     # is the business day prior to the last business day of
  #     # the delivery month or 24th for December
  #     #     (receive-list (year month day)
lib/App/Chart/Timebase.pm view on Meta::CPAN
=item C<< App::Chart::Timebase::Quarters->new_from_iso ($start) >>
=item C<< App::Chart::Timebase::Years->new_from_iso ($start) >>
=item C<< App::Chart::Timebase::Decades->new_from_iso ($start) >>
Create and return a new timebase object representing the given
days/weeks/etc type of period, and with a 0 at the given C<$start> date.
C<$start> is an ISO format string like "2007-12-31".
Days means weekdays, ie. trading days.  Weeks is calendar weeks starting
from each Monday, through to the following Sunday.  Months is calendar
months.  Quarters are calendar quarters like Jan/Feb/Mar then Apr/May/Jun,
etc.
=item C<< $timebase->to_iso ($t) >>
Return an ISO date string like "2007-12-31" for the given C<$t> timebase
index (an integer).  For example,
    my $timebase = App::Chart::Timebase::Days->new_from_iso ('2008-05-01');
    my $iso = $timebase->to_iso (5);
    # $iso is '2008-05-08'  (weekday 5 counting from 0 at 1 May)
lib/App/Chart/doc/chart.html view on Meta::CPAN
<dt>Chikou (blue)</dt>
<dd><p>The chikou line drawn in blue is closing prices shifted back 26 days.  It’s
interpreted relative to those past prices, with chikou above being bullish or
below being bearish.  This is similar to the kind of comparison momentum makes
(see <a class="pxref" href="#Momentum-and-Rate-of-Change">Momentum</a>).
</p></dd>
</dl>
<p>The time periods of 9 days and 26 days are parameters in Chart (see <a class="pxref" href="#View-Style">View Style</a>).  When Hosoda designed the system Japanese markets traded 6 days a
week, so 9 days was <em class="math">1 1/2</em> trading weeks and 26 days was a month.
The same calendar times in today’s 5 day weeks can be had with 7 and 22 days.
</p>
<a class="index-entry-id" id="index-Range-Midpoint"></a>
<a class="anchor" id="Range-Midpoint"></a><ul class="mini-toc">
<li><a href="#Range-Midpoint-1" accesskey="1">Range Midpoint</a></li>
</ul>
<div class="subsection-level-extent" id="Range-Midpoint-1">
<h4 class="subsection"><span>9.4.1 Range Midpoint<a class="copiable-link" href="#Range-Midpoint-1"> ¶</a></span></h4>
<p>An N-day range midpoint like the tenkan, kijun and cloud lines is also
available separately as “Range Midpoint” if you want to experiment.  It’s
( run in 0.409 second using v1.01-cache-2.11-cpan-5dc5da66d9d )