On the chart
- A separate pane below the chart, scaled −1 to 1: the “CMF” line and a dotted 0 level.
Signals and alerts
- The “CMF” line is an alert subject: crossing up or down, above or below — against the 0 level, a number or another line; a rise or fall by a set amount.
- The alert window preselects CMF crossing 0.
How it is calculated
- CMF = Σ bar flow over the length / Σ volume over the same bars.
- Bar flow = ((close − low) − (high − close))/(high − low) × volume; a flat bar (high = low) adds 0 and does not break the window sum.
Settings
- Length — 20.
- Calculation TF — empty: the chart timeframe; otherwise the line is calculated on the given higher timeframe.
- Style — line colour.
The indicator is a chart analysis tool, not trading advice or a promise of profit. Trading on financial markets carries a risk of losing money.