TRIMA
Triangular MA — double smoothing of SMA with greater weight on the central points. Triangular Moving Average (TRIMA) is a double SMA: first an SMA over n/2 periods is calculated, then an SMA over the same period again. The central data receives greater weight, which smooths the curve and reduces the influence of extreme values. Smoother than SMA, but reacts more slowly.
Formula:
TRIMA = SMA(SMA(Close, ceil(period/2)), ceil(period/2))Parameters
Section titled “Parameters”| Parameter | Type | Default | Range / Values |
|---|---|---|---|
Period | int | 20 | 1-200 |
Triggers
Section titled “Triggers”| Trigger | Direction | Condition | Description |
|---|---|---|---|
| Price crosses the line up | 🟢 Buy | Price crossed the indicator line from below to above. | The closing price crossed the indicator line from below to above. |
| Price crosses the line down | 🔴 Sell | Price crossed the indicator line from above to below. | The closing price crossed an arbitrary indicator line (MA, Supertrend, etc.) from above to below. |
| Price above the line | 🟢 Buy | The closing price is above the indicator line. | The closing price is above the indicator line (MA, Supertrend, etc.). Reflects the current position of price relative to the trend line. |
| Price below the line | 🔴 Sell | The closing price is below the indicator line. | The closing price is below the indicator line. |
