OPEN-SOURCE SCRIPT
Crypto Flow Index (CFI) - RS vs BTC/ETH

---
Crypto Flow Index, CFI
Crypto Flow Index, CFI, measures relative strength between an asset and Bitcoin or Ethereum.
You use CFI to judge whether capital favors your asset or the benchmark.
CFI does not give entry or exit signals.
You use CFI as a bias and context tool.
---
What CFI measures
---
How to read CFI
---
Histogram
---
Bias ribbon
---
How to use CFI
---
Important limits
---
Core question CFI answers
Is your asset gaining or losing strength versus Bitcoin or Ethereum.
---
Crypto Flow Index, CFI
Crypto Flow Index, CFI, measures relative strength between an asset and Bitcoin or Ethereum.
You use CFI to judge whether capital favors your asset or the benchmark.
CFI does not give entry or exit signals.
You use CFI as a bias and context tool.
---
What CFI measures
- Relative strength money flow on the BASE/BTC or BASE/ETH pair.
- Volume weighted pressure, not price alone.
- Momentum blended into flow to smooth rotations.
- Optional USD trend filter using fast and slow EMAs.
---
How to read CFI
- Above 50 means relative strength favors the asset.
- Below 50 means relative strength favors BTC or ETH.
- Rising CFI shows strengthening relative demand.
- Falling CFI shows weakening relative demand.
---
Histogram
- Green bars show positive relative flow.
- Red bars show negative relative flow.
- Larger bars signal stronger pressure.
---
Bias ribbon
- Green ribbon shows bullish relative bias.
- Red ribbon shows bearish relative bias.
- Gray ribbon shows transition or balance.
---
How to use CFI
- Favor long trades when CFI stays above 50.
- Avoid longs when price rises but CFI falls.
- Spot rotations before price reacts.
- Combine with structure, entries, and risk rules.
---
Important limits
- CFI compares assets only to BTC or ETH.
- CFI does not represent the entire crypto market.
- USD price and relative strength often diverge.
---
Core question CFI answers
Is your asset gaining or losing strength versus Bitcoin or Ethereum.
---
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.