NAME

GT::TradeFilters::FollowTrend - Allow only trades following the direction of an SMA


DESCRIPTION

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.