• Produits
  • Communauté
  • Marchés
  • Courtiers
  • Plus
Commencez
  • Communauté
  • /Indicateurs et stratégies
  • /Cluster

Cluster

SignalProcessingClusteringKMeansLibrary "SignalProcessingClusteringKMeans" K-Means Clustering Method. nearest(point_x, point_y, centers_x, centers_y) finds the nearest center to a point and returns its distance and center index. Parameters: point_x : float, x coordinate of point. point_y : float, y coordinate of point. centers_x : float array, x coordinates of cluster centers. centers_y : float array, y coordinates of cluster centers. @ returns tuple of int, float. bisection_search(samples, value) Bissection Search Parameters: samples : float array, weights to compare. value : float array, weights to compare. Returns: int. label_points(points_x, points_y, centers_x, centers_y) labels each point index with cluster index and distance. Parameters: points_x : float array, x coordinates of points. points_y : float array, y coordinates of points. centers_x : float array, x coordinates of points. centers_y : float array, y coordinates of points. Returns: tuple with int array, float array. kpp(points_x, points_y, n_clusters) K-Means++ Clustering adapted from Andy Allinger. Parameters: points_x : float array, x coordinates of the points. points_y : float array, y coordinates of the points. n_clusters : int, number of clusters. Returns: tuple with 2 arrays, float array, int array.
Bibliothèque Pine Script®
par RicardoSantos
88

Sélectionnez les données de marché fournies par ICE Data services. Sélectionnez les données de référence fournies par FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Plus qu'un produit
  • Supercharts
Screeners
  • Actions
  • ETFs
  • Obligations
  • Crypto coins
  • Paires CEX
  • Paires DEX
  • Pine
Cartes thermiques
  • Actions
  • ETFs
  • Crypto
Calendriers
  • Economie
  • Bénéfices
  • Dividendes
Plus de produits
  • Courbes de rendement
  • Options
  • Flux d'actualités
  • Pine Script®
Apps
  • Mobile
  • Desktop
Communauté
  • Réseau social
  • Mur d'Amour
  • Parrainer un ami
  • Règlement
  • Modérateurs
Idées
  • Trading
  • Éducation
  • Choix de la rédaction
Pine script
  • Indicateurs & stratégies
  • Wizards
  • Freelancers
Outils & Abonnements
  • Fonctionnalités
  • Tarifications
  • Données boursières
Trading
  • Vue d'ensemble
  • Courtiers
Offres spéciales
  • Contrats à terme de CME Group
  • Contrats à terme Eurex
  • Paquet d'actions US
Au sujet de l'entreprise
  • Qui nous sommes
  • Mission spatiale
  • Blog
  • Carrières
  • Kit media
Merch
  • Boutique TradingView
  • Cartes de tarot pour les traders
  • Le C63 TradeTime
Politiques & Sécurité
  • Conditions d'utilisation
  • Clause de non-responsabilité
  • Politique de confidentialité
  • Politique en matière de cookies
  • Déclaration d'accessibilité
  • Conseils de sécurité
  • Programme de chasse aux bugs
  • Page du statut
Solutions pour les entreprises
  • Widgets
  • Bibliothèques de graphiques
  • Lightweight Charts™
  • Graphiques avancés
  • Plateforme de trading
Opportunités de croissance
  • Publicité
  • Intégration de courtiers
  • Programme de partenariat
  • Programme éducatif
Communauté
  • Réseau social
  • Mur d'Amour
  • Parrainer un ami
  • Règlement
  • Modérateurs
Idées
  • Trading
  • Éducation
  • Choix de la rédaction
Pine script
  • Indicateurs & stratégies
  • Wizards
  • Freelancers
Solutions pour les entreprises
  • Widgets
  • Bibliothèques de graphiques
  • Lightweight Charts™
  • Graphiques avancés
  • Plateforme de trading
Opportunités de croissance
  • Publicité
  • Intégration de courtiers
  • Programme de partenariat
  • Programme éducatif
Look FirstLook First