The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finance::GeniusTrader::Indicators::Generic::If - Return a value or another depending on a signal

DESCRIPTION

This indicator takes three parameters. First a signal followed by two indicators. if the signal is true it returns the value of the first indicator, otherwise it returns the value of the second indicator.

{S:Prices:Advance} {I:Generic:MaxInPeriod 5} {I:Generic:MinInPeriod 5}
{S:Generic:CrossOverUp {I:RSI} 80} {I:SAR} {I:Generic:MaxInPeriod 10}