Truffle Hog (scanner)
Last updated
Last updated
What it is:
This script is a fairly straightforward. Its main job is to watch specific cryptocurrency pairs (like BTC/USDT) on a chosen exchange (like OKX). It periodically fetches recent price and volume data, calculates a technical indicator called On-Balance Volume (OBV), and then looks for a specific pattern: OBV divergence.
Bullish Divergence: Price makes a new low, but the OBV indicator makes a higher low. This might suggest selling pressure is weakening.
Bearish Divergence: Price makes a new high, but the OBV indicator makes a lower high. This might suggest buying pressure is weakening.