Chaikin Money Flow
Buying against selling pressure over recent candles, weighted by volume, from -1 to 1.
Chaikin Money Flow = Σ money flow volume ÷ Σ volume over the last length candles, −1 to 1. Not ready when the volume sum is 0 or a flat candle with volume is in the window. Mirror: signed (a mirrored close location flips the flow; volume is unchanged).
Settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| length | 20 | 1 to 5000 | Candles summed. |
What it gives
| Output | What it is |
|---|---|
| cmf | CMF, −1–1. |
What it reads
It reads the whole candle (open, high, low, close and volume).
Warm-up
With its default settings, Chaikin Money Flow needs 20 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 Chaikin Money Flow with its default settings