Triangle Direction Settings

There are two options for setting triangle direction. Only one tag is allowed at a time.

It is possible to have only one region (in any direction), any two regions with one threshold between them, or all three regions, depending on which direction ("up", "neutral", "down") tags are present. The order of the direction tags allows for the equivalent of the "reverse triangle direction" option in the interface: "down"/"neutral"/"up" and "up"/"neutral"/"down" with the same thresholds in between them are the equivalent of selecting the "reverse triangle direction" option.

```
define-direction-thresholds {
	down // there is only the down region, all values result in the indicator pointing down
} define-direction-thresholds {
	up // below the threshold, indicator points up (equivalent to "reverse indicator direction" in the interface with a down/up region)
	threshold 700
	down
}
```

There are three valid orders of the direction and threshold tags:

  • One direction tag (and no thresholds) meaning that any value results in that direction.

  • Any two direction tags with one threshold between them, marking the boundary between the regions.

  • All three direction tags with two thresholds, the directions alternating with the thresholds, and with "neutral" as the middle direction (using an example of, "neutral"/threshold/"up"/threshold/"down" would not be a valid order because if there are three regions and one is neutral, the neutral region must be in the middle).

NOTE: The triangle direction is separate from the indicator color, so these settings do not affect the indicator color thresholds.