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::Signals::Generic::Repeated - Detect repetition of a given signal

DESCRIPTION

This generic Signal will give a positive signal when the mentionned signal has been positive for the last X days (where X is the second parameter of this signal with a default value of 2).

EXAMPLE

You can check if the RSI has been above 80 for the last 3 days with this signal:

S:Generic:Repeated {S:Generic:Above {I:RSI} 80} 3