munkeefonix

BTC Historic

BTC
172
btc
Merged Bitstamp and Mt Gox precrash data.

To use you will need to use any chart with a start time before 7/2010. You will need this to see all the data otherwise it will get cut off. Publishing ideas using this indicator will spam some other symbol so I would not recommend doing so (sorry XAUUSD).

Click the "eye" button next to the primary security to hide it.
Make sure the indicator scale is set to "Right".
Right click on the right axis, and uncheck "Scale Series Only"

Note: Since this is going to be overlayed onto another chart it will likely be missing weekend data. If anyone knows of a current chart that is 24/7 that has data prior to July 2011 please leave a comment.

You can tweak the price weight between Gox and Stamp and the point when the data starts to blend to the time when Gox went off a cliff.

- Key date values:
1377 is Jan-6-2014
1385 is Jan-15-2014 (default)
1337 is about the ATH (coincidentally)
1192 is July-5-2013

--- Custom indicators for historic data:
I updated to the latest versions

- BTC Historic RSI
pastebin.com/bJthxhXn
created by @debani (www.tradingview.com/u/debani/)
original here:
- BTC Histroric Willy
pastebin.com/apvewFAw
original indicator by @CRInvestor (www.tradingview.com/u/CRInvestor/)
created by @flibbr (www.tradingview.com/u/flibbr/)
original here:
- BTC Historic Ichimoku
pastebin.com/ezrbb49D

thanks to @flibbr, @debani for the indicators

Let me know if you have questions, comments.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?
study("BTC Historic", overlay=true)
// author: munkeefonix
//  https://www.tradingview.com/u/munkeefonix/
//
// pastebin:
//  http://pastebin.com/NhPDRTdM
//
// more info about the indicator here:
//  https://www.tradingview.com/v/h2lfl0gT/
//  
// notes:
//  Must be overlayed on to a chart with data from July 2010 to Now 
//  Click the "eye" button next to the primary security to hide it.
//  Set the indicator scale is set to "Right".
//  Right click on the right axis, and uncheck "Scale Series Only"
//
//  updated May-15-2014
 
// gox data
goxH=security("MTGOX:BTCUSD",period,high)
goxL=security("MTGOX:BTCUSD",period,low)
goxC=security("MTGOX:BTCUSD",period,close)

// stamp data
stampH=security("BITSTAMP:BTCUSD",period,high)
stampL=security("BITSTAMP:BTCUSD",period,low)
stampC=security("BITSTAMP:BTCUSD",period,close)

goxWeight = input(title="Gox Weight", type=float, defval=80, minval=0.001, maxval=100)
stampWeight = input(title="Stamp Weight", type=float, defval=20, minval=0.001, maxval=100)
 
totalWeight = goxWeight + stampWeight
 
// the time to start transitioning from gox to 100% stamp.
// 1377 is Jan-6-2014
// 1385 is Jan-15-2014 (default)
// 1337 is about the ATH (coincidentally)
// 1192 is July-5-2013
 
// value of the current day.
day=max(time/(86400 * 1000) - 14700, 0)
 
// debug: plot the day value on the chart.
//plot(day)
 
endStart = input(title="Gox Taper Start Day", type=integer, defval=1385, minval=700, maxval=1405) * 1.0
endTime = 1407.0
otherBegin = 694.0
 
ratio=max(min((day-endStart)/(endTime-endStart), 1), 0)
invRatio=1-ratio
 
goxRatio=invRatio * (goxWeight / totalWeight)
otherRatio=(stampWeight / totalWeight) + ratio * (goxWeight/totalWeight)
 
// debug: display the ratios on the chart.
//plot(goxRatio, color=yellow)
//plot(otherRatio, color=green)
 
// debug: show the range of weights on the primary ticker bar.
//barcolor(ratio == 0 ? red : (ratio == 1 ? yellow : blue))
 
// debug: show range of data of stamp data used (before: red, mixed: blue, all: yellow)
//barcolor(day < otherBegin ? red : (day > endTime ? yellow : blue))
 
h = day < otherBegin ? goxH : (day > endTime ? stampH : (goxH * goxRatio + stampH * otherRatio))
l = day < otherBegin ? goxL : (day > endTime ? stampL : (goxL * goxRatio + stampL * otherRatio))
c = day < otherBegin ? goxC : (day > endTime ? stampC : (goxC * goxRatio + stampC * otherRatio))
 
// --- display start
// display chart data. Comment or remove the below lines for custom indicators
 
hp=plot(h, color=#999999, linewidth=1, title="High Color")
lp=plot(l, color=#111111, linewidth=1, title="Low Color")
plot(c, color=#666666, linewidth=1, title="Close Color")
 
fill(hp, lp, color=silver, transp=80, title="High/Low Fill")
 
// --- display end
 
//-----------------------------------------------------
// custom indicators below
//  Since this going to be overlayed onto a symbol that will likely use weekdays
//  daily indicators will need to be adjusted to run a little faster.
//  fullWeekRatio: 5/7 = 0.714285
//  currently this cannot be done since multiplying the input values converts the value from an int to a series.
//
//adjustIndicator=isdwm and not isdaily
//da=adjustIndicator ? 0.714285 : 1.0
 
// gsHLC3 =(h+l+c)/3