Vortex
Upward against downward price movement, to spot the start of a trend.
Vortex indicator, from the second candle: VM+ = |high − previous low|, VM− = |low − previous high|; VI+ = Σ VM+ ÷ Σ true range and VI− = Σ VM− ÷ Σ true range over the last period candles. Ready at period + 1 candles; not ready while Σ true range is 0. Mirror: VI+ and VI− swap (the comparison keeps its direction).
Settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| period | 14 | 1 to 1000 | Candles summed. |
What it gives
| Output | What it is |
|---|---|
| VI+ | VI+. |
| VI− | VI−. |
What it reads
It reads the whole candle (open, high, low, close and volume).
Warm-up
With its default settings, Vortex needs 15 closed candles before its first value. A backtest loads them before its start date, so the first trade can already use it.
Test it
Copy this sentence into the Algonney chat to backtest it:
Backtest a strategy on BTC that uses Vortex with its default settings