OPEN-SOURCE SCRIPT

Master Litecoin Miner Sell Pressure

173
Brief Description:
Purpose: The indicator overlays on a chart to highlight periods of high miner sell pressure for Litecoin.

Data Sources:
miner_out: Fetches daily Litecoin miner outflows (amount of LTC moved out by miners) using the INTOTHEBLOCK:LTC_MINEROUTFLOWS dataset.

miner_res: Fetches daily Litecoin miner reserves (amount of LTC held by miners) using the INTOTHEBLOCK:LTC_MINERRESERVES dataset.

Calculation:
Computes a ratio m by taking the 14-day sum of miner outflows and dividing it by the 14-day simple moving average (SMA) of miner reserves.

Calculates Bollinger Bands around m:
bbl: Lower band (200-day SMA of m minus 1 standard deviation).

bbu: Upper band (200-day SMA of m plus 1 standard deviation).

Visualization:
If the ratio m exceeds the upper Bollinger Band (bbu), the background is colored blue with 30% opacity, indicating potential high sell pressure from miners.

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 TradingView. Read more in the Terms of Use.