TradingView
tradercgt
٧ كانون الثاني يناير ٢٠١٩ ١١:٣٨

Compare Candles 

Bitcoin / DollarBitfinex

الوصف

Shows the candles of a specified EXCHANGE:PAIR in an indicator without overlay.

Has the following advantages over the standard comparison in TradingView:
- The compared pair is below your main chart.
- You can see the price of the compared pair.
- You can add multiple compared pairs and all of them will be shown in their own space with their own price.

ملاحظات الأخبار

fix(): use input type=symbol

ملاحظات الأخبار

docs(): fix source link
التعليقات
tradercgt
UPDATE: this script is NOT open source because I, although an author, do not have copyright of it and cannot license it. This script is exclusive property of TradingView. More info here: getsatisfaction.com/tradingview/topics/license-of-published-pinescripts-and-indicators
TheRealChartWhisperer
I find log charts to be more visually helpful. here's some replacement code if interested

study(title="Compare log Crypto")
sym = input(title="Candles from:", type=symbol, defval="BITSTAMP:BTCUSD")

symOpen1 = security(sym,period,open)
symHigh1 = security(sym,period,high)
symLow1 = security(sym,period,low)
symClose1 = security(sym,period,close)

symOpen = log(symOpen1)
symHigh = log(symHigh1)
symLow = log(symLow1)
symClose = log(symClose1)

plotcandle(symOpen, symHigh, symLow, symClose, title='candles', color = symClose > symOpen? green : red, wickcolor=black)
rdoshi22
tradercgt. Works well on daily charts. Also works well on 1hr VIX chart. But doesn't work well on 1 hr VXN, QQQ, and many others. Is there any modification I can use to make it work on all the usual symbols on intraday charts.
المزيد