Refactor indicators to use more parameters

Indicators now have access to a wider range of
parameters that they will need and will help
prevent recalculating common parameters multiple
times. It is also now possible to use parameters
that rely on fetching information from the
database.
Refactor tests/indicators to use new parameters