Finance::GeniusTrader::TradeFilters::FollowTrend - Allow only trades following the direction of an SMA
This filter tries to limit the risks by refusing trades againts the market (ie like buying in a bear market or selling in a bullish market).
The first parameter is the number of days used to calculate the SMA.
To install Finance::GeniusTrader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::GeniusTrader
CPAN shell
perl -MCPAN -e shell install Finance::GeniusTrader
For more information on module installation, please visit the detailed CPAN module installation guide.