• Produkty
  • Społeczność
  • Rynki
  • Brokerzy
  • Więcej
Rozpocznij
  • Społeczność
  • /Wskaźniki i strategie
  • /Sub-chart

Sub-chart

Secondary Chart with OverSized CandlesHi everyone, I'm sharing a simple script I made for a friend. He was looking for a way to add another asset to his chart, and monitor relevant movements \ spot eventual correlation, especially when trading Cryptocurrencies. We couldn't find a similar script already available so here it is - the code is commented and I hope it's clear enough :) Notes: - The parameter scale = scale.left keeps the scales separated and therefore the chart is more organized, otherwise the chart would appear flat if the price difference is too big (e.g. BTC vs XRP) - It is possible to have the script running in a separate panel (instead of overlay) by moving it to a new pane (when added to the chart) or by removing the parameter overlay = true at the beginning of the code. - In case you wish to add indicators to this sub-chart (e.g. Bollinger Bands, EMA, etc..) you can do that by adding the relevant code and feed it with the variables OPEN \ HIGH \ LOW \ CLOSE as well as using the same method to retrieve new variables from the target asset with the request.security function. Hope this comes handy. Val - Protervus
Wskaźnik Pine Script®
od Protervus
Zaktualizowano
1010

Wybierz dane rynkowe dostarczone przez ICE Data Services. Wybierz dane referencyjne dostarczone przez FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Więcej niż tylko produkt
  • Superwykresy
Skanery
  • Akcje
  • ETFy
  • Obligacje
  • Monety kryptowalutowe
  • Pary CEX
  • Pary DEX
  • Pine
Mapy cieplne
  • Akcje
  • ETFy
  • Krypto
Kalendarze
  • Gospodarczy
  • Dochody
  • Dywidendy
Więcej produktów
  • Krzywe Dochodowości
  • Opcje
  • Przepływ Wiadomości
  • Pine Script®
Aplikacje
  • Aplikacja mobilna
  • Desktop
Społeczność
  • Sieć społecznościowa
  • Ściana Miłości
  • Poleć przyjaciela
  • Regulamin
  • Moderatorzy
Pomysły
  • Trading
  • Edukacja
  • Wybór Redakcji
Pine Script
  • Wskaźniki i strategie
  • Eksperci
  • Freelancerzy
Narzędzia i subskrypcje
  • Funkcje
  • Cennik
  • Dane rynkowe
Trading
  • Przegląd
  • Brokerzy
Oferty specjalne
  • Kontrakty terminowe CME Group
  • Kontrakty terminowe Eurex
  • Pakiet akcji amerykańskich
O firmie
  • Kim jesteśmy
  • Misja kosmiczna
  • Blog
  • Kariera
  • Zestaw multimedialny
Merch
  • Sklep TradingView
  • Karty tarota dla traderów
  • C63 TradeTime
Zasady i bezpieczeństwo
  • Warunki Użytkowania
  • Wyłączenie odpowiedzialności
  • Polityka Prywatności
  • Polityka Plików Cookie
  • Oświadczenie o Dstępności
  • Wskazówki bezpieczeństwa
  • Program nagród za wykrycie błędów
  • Strona Status
Rozwiązania biznesowe
  • Widżety
  • Biblioteki wykresów
  • Lightweight Charts™
  • Zaawansowane Wykresy
  • Platforma Handlowa
Możliwości rozwoju
  • Reklama
  • Integracja usług brokerskich
  • Program Partnerski
  • Program edukacyjny
Społeczność
  • Sieć społecznościowa
  • Ściana Miłości
  • Poleć przyjaciela
  • Regulamin
  • Moderatorzy
Pomysły
  • Trading
  • Edukacja
  • Wybór Redakcji
Pine Script
  • Wskaźniki i strategie
  • Eksperci
  • Freelancerzy
Rozwiązania biznesowe
  • Widżety
  • Biblioteki wykresów
  • Lightweight Charts™
  • Zaawansowane Wykresy
  • Platforma Handlowa
Możliwości rozwoju
  • Reklama
  • Integracja usług brokerskich
  • Program Partnerski
  • Program edukacyjny
Look FirstLook First