TradingView
rthomson
3 nov 2020 03:41

Aggregate BTC Candles 

Bitcoin / U.S. dollarBitstamp

Descrizione

This script creates candles based on an aggregated Index price from various BTC exchange tickers. Since the early years in particular have a lot of exchange specific flash crash wicks, missing data, erraticness compared to other exchanges particularly in their first few months, this is an attempt to clean up the price history, be it for TA (trendlines, S/R etc.) or use in algos or other indicators, without reliance on one exchange. It uses the new Array functionality to generate median and averages, and is entirely original work.

Note di rilascio

Typos, missing _

Note di rilascio

Some extra comments, and a couple of missing underscores fixed.
Commenti
PineCoders
rthomson
@PineCoders, Thank you very much!
MrBetonBlocks
AWESOME! Thank You!
PineCoders
,ep
sgrabowski15
Fantastic work......much appreciated!! :)
GarethSA
Could one change the coin name in the first part if i wanted to use this for other coins?
rthomson
@GarethSA, it would require a lot of work as other coins aren't available on so many exchanges, and so the number of exchanges would have to be reduced. I might do one for ETH soon.
GarethSA
@rthomson, XRP / USD would be great\]
rthomson
@GarethSA, I just released a generic version of this, Aggregate Candles, which you can use on XRP, or anything else (defaults to ETH).
Altro