SolCollector

Secondary Candle Overlay

SolCollector Uppdaterad   
This simple script is meant to allow the user to select another symbol to add onto their chart and plot the candlesticks for that symbol at the selected resolution requested.

Please see the tooltip provided by the 'Secondary Symbol' input for more details with regards to properly using this script on symbols that have vastly different valuations, it will help with getting the symbol requested to scale properly with the primary symbol on the chart.

The user may also input which colors are used for bullish/bearish candles as well as the symbol itself and its resolution.

IMPORTANT NOTE: THIS SCRIPT DOES NOT ACCOUNT FOR SYMBOLS THAT ARE NOT CONTINUOUS (The defval for the symbol is TVC:DXY which closes on weekends whereas a cryptocurrency like Bitcoin does not stop trading ever; candles on these kinds of markets will be repeated when overlaid onto markets that do not have this property.)
Versionsinformation:
Comment polishing
Versionsinformation:
More polishing, final submission.
Versionsinformation:
House-Rules update
Versionsinformation:
Small name change on candle color variable.

Change suggested by @AtomOfScent enacted, the addition of bordercolor does help nicely and I had skimmed over it in the reference manual. Ty for the suggestion.

I build open-source indicators, help support my work:

BTC: 3GJFVgbxWLZjbupSEDifqouKSw1DsQytDP
ETH/USDC: 0x8a9915B9281F72C08f0274049028bdD89cF76Fd3
LTC: MFX9qvAvMvz9rRC3o9QchzH1rP4woGSmv2
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?