What are the best practices for indicator creation and management?

Indicator best practices

Keep the following notes in mind when creating and managing indicators:

Output from indicators with formulas

The data required by the formula must be received and processed after the window duration ends before generating the indicator value.

A keep-alive delay of 120 s is used after the window duration, to ensure that all messages from the window have been received before outputting the value. The output for a window is delayed until both of the following criterial are met: the keep-alive has expired and a new message is received after the expiry of the keep-alive.

Example: Indicators with a 5-minute collection interval and 15-minute window duration. The 15-minute collection window starts at midnight (00:00 to 00:15).

After the window closes, the indicator waits for the next set of messages to be received before proceeding to calculate the indicator value for the previous window. When a message is received with a time stamp after 00:17, that is, the end of the window plus the 2 min keep-alive, it confirms that all messages from the 00:00 to 00:15 window have been received and the value can be calculated.

The delay for calculation depends on the formula: