• プロダクト
  • コミュニティ
  • マーケット
  • ブローカー
  • 詳細
始めましょう
  • コミュニティ
  • /インジケーターとストラテジー
  • /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.
Pine Script® インジケーター
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
Pine Script® インジケーター
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.

主要プロダクト
  • スーパーチャート
スクリーナー
  • 株式
  • ETF
  • 債券
  • 暗号コイン
  • CEXペア
  • DEXペア
  • Pine
ヒートマップ
  • 株式
  • ETF
  • 暗号
カレンダー
  • 経済
  • 決算
  • 配当
その他プロダクト
  • イールドカーブ
  • オプション
  • ニュースフロー
  • Pine Script®
アプリ
  • モバイル
  • デスクトップ
コミュニティ
  • ソーシャルネットワーク
  • ラブウォール
  • お友達紹介
  • ハウスルール
  • モデレーター
アイデア
  • トレーディング
  • 教育
  • エディターズ・ピック
Pineスクリプト
  • インジケーターとストラテジー
  • 魔術師
  • フリーランサー
ツールとサブスクリプション
  • 機能
  • 価格
  • マーケットデータ
トレーディング
  • 概要
  • ブローカー
スペシャルオファー
  • CMEグループ先物
  • Eurex先物
  • 米国株バンドルデータ
会社情報
  • 私たちについて
  • スペースミッション
  • ブログ
  • キャリア
  • メディアキット
商品
  • TradingViewストア
  • タロットカード
  • C63 TradeTime
ポリシーとセキュリティ
  • 利用規約
  • 免責事項
  • プライバシーポリシー
  • Cookieポリシー
  • アクセシビリティ宣言
  • セキュリティのヒント
  • バグバウンティ・プログラム
  • ステータスページ
ビジネスソリューション
  • ウィジェット
  • チャートライブラリ
  • Lightweight Charts™
  • 高機能チャート
  • トレーディングプラットフォーム
成長機会
  • 広告
  • ブローカーシステムの統合
  • パートナープログラム
  • 教育プログラム
コミュニティ
  • ソーシャルネットワーク
  • ラブウォール
  • お友達紹介
  • ハウスルール
  • モデレーター
アイデア
  • トレーディング
  • 教育
  • エディターズ・ピック
Pineスクリプト
  • インジケーターとストラテジー
  • 魔術師
  • フリーランサー
ビジネスソリューション
  • ウィジェット
  • チャートライブラリ
  • Lightweight Charts™
  • 高機能チャート
  • トレーディングプラットフォーム
成長機会
  • 広告
  • ブローカーシステムの統合
  • パートナープログラム
  • 教育プログラム
Look FirstLook First