v2
Minor typos and updates.
`formattedNoOfPeriods()` now returns singular form, rather than plural when the number of time units is less than 2. For a 1min timeframe, it will thus return "1 minute" instead of "1 minutes".
Changed the default value of the `resetCond` parameter in `secondsSince()` to `barstate.isnew`. By default, the function will now reset the timer on each new bar, unless otherwise stated. The updated documentation is as follows:
secondsSince(cond, resetCond)
The duration in milliseconds that a condition has been true.
Parameters:
cond: (series bool) Condition to time.
resetCond: (series bool) When `true`, the duration resets. Optional. Default is `barstate.isnew`.
Returns: (int) The duration in seconds for which `cond` is continuously true.