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

Roundingtop

Pine Script Tutorial #4Welcome to Pine Script Tutorial #4 This is more complex than the previous 3 tutorials. This one builds upon the first 3 tutorials. What does this code do?: It plots on a histogram (at the bottom), the difference between closest round number and the close. So for example 84 -close = 16 pips. It shows the 16 pips on the histogram. First off, it is actually Two studies on this graph, not one. I wanted the histogram at the bottom and round number indicator to overlay on the graph. There is no code within Pine Script that lets you do that within one script. Secondly, there is no code that lets you spit out number on the graph, that is why I used histogram, initially I wanted it to tell me 16 pips in writing but no way of doing that. In order to replicate the graph you have to first plot the rounding formula as overlay. Thean take out the overlay and plot te histogram. I got the rounding formula from one of the coders here and simplified it. Just search round. Hope this helps, Feel free to comment.
Indicateur Pine Script®
par MartinMystere
22

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