TREND, MOVING AVERAGES & STRUCTURE
Vortex
Two lines that cross when a trend changes hands.
spec id: vortexoutputs: plus · minuslength (default 14)
What does Vortex measure?
Two lines that cross when a trend changes hands. `plus` rising above `minus` is the classic start-of-uptrend signal.
How is Vortex calculated?
For each candle, measure the distance from today's high to yesterday's low (the up force) and from today's low to yesterday's high (the down force). Add each up over 14 candles, and divide by the total true range in the same window.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Vortex in a bot?
In the builder, add an indicator of type vortex (parameters: length, default 14). Its output series — plus, minus — become operands you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- Volume-weighted MAA moving average that lets heavy-volume candles speak louder.
- Weighted closeA single price for the candle that leans toward where it finished, since the close is usually the most meaningful point of the session.
- WMAA moving average that gives newer candles a bigger say in a straight line — heavier than a simple average, lighter than an exponential one.
- Woodie pivotsA pivot variant that leans on yesterday's CLOSE more than the classic set does — which shifts the levels when yesterday closed near an extreme.
Or browse all 158 indicators in the full library.