The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Finance::GeniusTrader::Indicators::TETHER - Tether Line

DESCRIPTION

The Tether Line is one of the three indicators used in Trend Following System (TFS), designed by Bryan Strain.

CALCULATION

Tether Line = (Highest High (n) + Lowest Low (n)) / 2

PARAMETERS

The standard Tether Line works with a 50-day parameter : n = 50

EXAMPLE

Finance::GeniusTrader::Indicators::TETHER->new() Finance::GeniusTrader::Indicators::TETHER->new([30])

Finance::GeniusTrader::Indicators::TETHER::calculate($calc, $day)