3 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Team,
I am using the following awk script to calculate the SMA (Single Moving Average) for an specific period but now I would like to include the standard deviation output.
Could you please help me to modify this awk shell script
awk -F, -v points=5 ' { a = $2; ... (4 Replies)
Discussion started by: csierra
4 Replies
2. Solaris
Hey everyone, so I recently installed sma and disabled snmpdx for system monitoring in Solarwinds on 7 Oracle servers running Solaris 10. It was running just fine until we had to shutdown all systems and power back up (hurricane). Since then I cannot get the sma service to start, it goes into... (4 Replies)
Discussion started by: Zeus18
4 Replies
3. Shell Programming and Scripting
Hello,
I am trying to create a awk script to calculate the simple moving average of two fields but I got only the result of the first field.
Could you please help me to fix this awk shell script
awk -F, -v points=5 '
{
a = $2;
b = $3;
if(NR>=points) {
total_a = 0;
total_b... (1 Reply)
Discussion started by: csierra
1 Replies
LEARN ABOUT DEBIAN
chart::clicker::data::series::highlow
Chart::Clicker::Data::Series::HighLow(3pm) User Contributed Perl Documentation Chart::Clicker::Data::Series::HighLow(3pm)
NAME
Chart::Clicker::Data::Series::HighLow - Series data with additional attributes for High-Low charts
VERSION
version 2.83
SYNOPSIS
use Chart::Clicker::Data::Series::HighLow;
my @keys = ();
my @values = ();
my @highs = ();
my @lows = ();
my @opens = ();
my $series = Chart::Clicker::Data::Series::HighLow->new({
keys => @keys,
values => @values,
highs => @highs,
lows => @lows,
opens => @opens
});
DESCRIPTION
Chart::Clicker::Data::Series::HighLow is an extension of the Series class that provides storage for a three new variables called for use
with the CandleStick renderer. The general idea is:
--- <-- High
|
|
- <-- max of Open, Value
| |
| |
- <-- min of Open, Value
|
|
--- <-- Low
ATTRIBUTES
highs
Set/Get the highs for this series.
lows
Set/Get the lows for this series.
opens
Set/Get the opens for this series.
METHODS
add_to_highs
Adds a high to this series.
get_high ($index)
Get a high by it's index.
high_count
Gets the count of sizes in this series.
add_to_lows
Adds a high to this series.
get_low ($index)
Get a low by it's index.
low_count
Gets the count of lows in this series.
add_to_opens
Adds an open to this series.
get_open
Get an open by it's index.
open_count
Gets the count of opens in this series.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Data::Series::HighLow(3pm)