TradingView
rthomson
Nov 3, 2020 3:41 AM

Aggregate BTC Candles 

Bitcoin / U.S. dollarBitstamp

描述

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.

版本注释

Typos, missing _

版本注释

Some extra comments, and a couple of missing underscores fixed.
评论
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).
更多