The help for the diverge() formula can be found in the StrataSearch help, or online here:
http://www.stratasearch.com/help/HELP_DIVERGE.htmlThe formula is really not very complicated. The first test is whether either Parameter 1 or Parameter 2 has independently moved the specified Percent over the specified number of Days. If not, then the diverge() formula returns 0. Likewise, if both values have moved in the same direction (i.e. both have moved up or both have moved down), then the diverge() formula also returns 0.
If at least one of the values has moved the specified Percent, and the values have moved in opposite directions, then the diverge() formula will return a value. If Parameter 1 moved up while Parameter 2 moved down, then diverge() will return 1. Otherwise it will return -1.
Pete