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

Tickerid

composite_ticker_cleanerLibrary "composite_ticker_cleaner" Extract a clean symbol from a composite ticker. E.g., (BINANCE:BTCUSD+KRAKEN:BTCUSD)/2 as input will return BTCUSD or BINANCE:BTCUSD composite_ticker_cleaner_extract_first(symbol, keepexchange)   Extract the first symbol out of the supplied string (usually ticker.standard(syminfo.tickerid) )   Parameters:      symbol : string input string to search in      keepexchange : bool (optional) Keep exchange in the returned ticker? By default, we only return the symbol without the exchange.   Returns: first occurrence of a symbol composite_ticker_cleaner_extract_first(keepexchange)   Extract the first symbol out of the current tickerid (as provided by ticker.standard(syminfo.tickerid) )   Parameters:      keepexchange : bool (optional) Keep exchange in the returned ticker? By default, we only return the symbol without the exchange.   Returns: first occurrence of a symbol in the current tickerid This is inspired by the work I did on this indicator: I needed a similar functionality in another script, so instead of duplicating code, I thought generalizing the process in a library could be helpful for me and others, and will be easier to maintain and upgrade with new features if I need to.
Biblioteka Pine Script®
od tartigradia
Zaktualizowano
22

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc. SEC fillings and other documents provided by Quartr.

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