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

Meta

META: Kahan Summation (Scripting Exercise)I was curious to see what Pine uses to accumulate numbers. It looks like it uses the simple "add em up" approach, rather than a compensated summation. This means that especially for large numbers, there is an inherent error amount. This script implements the Kahan Summation Algorithm, also known as compensated summation. en.wikipedia.org This is part 2 of my study into the builtin stdev function. I think this is why it differs so much from the simple two-pass solution.
Wskaźnik Pine Script®
od sclark39
11
META: STDEV Study (Scripting Exercise)While trying to figure out how to make the STDEV function use an exponential moving average instead of simple moving average , I discovered the builtin function doesn't really use either. Check it out, it's amazing how different the two-pass algorithm is from the builtin! Eventually I reverse-engineered and discovered that STDEV uses the Naiive algorithm and doesn't apply "Bessel's Correction". K can be 0, it doesn't seem to change the data although having it included should make it a little more precise. en.wikipedia.org
Wskaźnik Pine Script®
od sclark39
66

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