OPEN-SOURCE SCRIPT
ETF Divergence Pro

ETF Divergence Pro flags moments when US Spot Bitcoin ETF flows stop confirming BTC price action.
It isolates the portion of flow that price movement does not explain, via rolling regression, and reports it as a standardised divergence score. Flows derive from ETF assets under management adjusted for BTC return — an approximation of net creations and redemptions, not trading volume. Signals must persist across sessions and respect a cooldown, so they are rare by design.
Buy signals are gated by a long-term trend filter, because institutional assets decline more slowly than price in drawdowns. The lower pane plots daily flows, cumulative flows and the score on a shared scale; arrows print at bar close, no repainting.
Two caveats: flow data is estimated from AUM rather than official figures, and Spot ETFs only date from January 2024.
all the best,
and stay green
It isolates the portion of flow that price movement does not explain, via rolling regression, and reports it as a standardised divergence score. Flows derive from ETF assets under management adjusted for BTC return — an approximation of net creations and redemptions, not trading volume. Signals must persist across sessions and respect a cooldown, so they are rare by design.
Buy signals are gated by a long-term trend filter, because institutional assets decline more slowly than price in drawdowns. The lower pane plots daily flows, cumulative flows and the score on a shared scale; arrows print at bar close, no repainting.
Two caveats: flow data is estimated from AUM rather than official figures, and Spot ETFs only date from January 2024.
all the best,
and stay green
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
