App-Chart
view release on metacpan or search on metacpan
lib/App/Chart/Gtk2/Subprocess.pm view on Meta::CPAN
A C<App::Chart::Gtk2::Subprocess> is a child sub-process running C<chart
--subprocess>. That subprocess reads tasks from its standard input (in a
length-delimited "Storable" format) and prints messages and
C<PerlIO::via::EscStatus> status strings to its stdout. The
C<App::Chart::Gtk2::Subprocess> sends a C<App::Chart::Gtk2::Job> task to the subprocess
then reads its output.
C<App::Chart::Gtk2::Subprocess> notices if the child dies because the output pipe
closes. It then waits that child with C<waitpid>.
C<< Glib::Child->watch_add >> is not used because in single thread mode it's
implemented with a non-restart C<sigaction> to stop the main loop poll, and
it's a bit worrying to think how much third-party library code might not
cope gracefully with EINTR.
=head1 FUNCTIONS
=over 4
=item C<< App::Chart::Gtk2::Subprocess->new (key=>value,...) >>
lib/App/Chart/Series/Derived/PGO.pm view on Meta::CPAN
#
# http://www.mjohnson.com/trecipes/pgoy2k.zip [gone]
#
# http://trader.online.pl/MSZ/e-w-Pretty_Good_Oscillator.html
# Sample CSCO
#
# http://xeatrade.com/trading/2/P/1139.html
# Metastock formula copied from http://www.traderclub.com, showing EMA[89]
#
#
# http://www.elitetrader.com/vb/printthread.php?threadid=18598
# Bit of discussion from Nov 2003.
#
sub longname { __('PGO - Pretty Good Oscillator') }
sub shortname { __('PGO') }
sub manual { __p('manual-node','Pretty Good Oscillator') }
use constant
{ hlines => [ -3, 0, 3, ],
type => 'indicator',
( run in 0.301 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )