KAMA (Kaufman Adaptive Moving Average)
A moving average that changes speed by itself. When price moves cleanly in one direction it follows closely; when price is noisy and sideways it nearly stops moving.
Settings
| Setting |
Default |
What it does |
| Length |
10 |
How many candles are used to judge whether price is trending cleanly or just noisy (the "efficiency"). Shorter judges on less history and changes speed more often. |
| Fast |
2 |
The fastest speed it can move at, during clean trends. Smaller is faster. |
| Slow |
30 |
The slowest speed, in noisy markets. Larger makes it flatter in chop (fewer crosses there). |
Ready-made conditions
| For |
Condition |
Fires when |
| Buy |
Price crosses above KAMA |
the one candle price moves from below the KAMA line to above it |
| Buy |
Price above KAMA |
every candle price is above the KAMA line |
| Sell |
Price crosses below KAMA |
the one candle price moves from above the KAMA line to below it |
| Sell |
Price below KAMA |
every candle price is below the KAMA line |
Warnings
- Same line on both sides can never fire. With at or above, at or below, equals, or touches, it is always true. Give the two lines different settings. You can still save it.
- Faster line is not the shorter length (library strategies): the signal works the other way round, so a golden cross becomes a death cross. You can still save it.
- Blocks Save: Length 1–1000 (whole number); Fast 1–1000 (whole number); Slow 1–1000 (whole number); Fast smaller than Slow.
Good to know
- On very short timeframes most moves look noisy, so KAMA tends to stay flat and cross rarely.
- Needs the length plus the candles its smoothing needs to settle at a typical speed (186 at 10 / 2 / 30).