• Produk
  • Komuniti
  • Pasaran
  • Broker
  • Lebih
Mulakan
  • Komuniti
  • /Penunjuk dan strategi
  • /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.
Penunjuk Pine Script®
oleh MartinMystere
22

Pilih data pasaran disediakan oleh perkhidmatan Data ICE. Pilih data rujukan disediakan oleh FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Bukan sekadar produk
  • Carta Super
Penyaring
  • Saham
  • ETF
  • Bon
  • Syiling kripto
  • Pasangan Kripto
  • Pasangan CEX
  • Pasangan DEX
  • Pine
Peta Suhu
  • Saham
  • ETF
  • Kripto
Kalendar
  • Ekonomi
  • Perolehan
  • Dividen
Lebih produk
  • Keluk hasil
  • Opsyen
  • Aliran Berita
  • Pine Script®
  • Sparks
Aplikasi
  • Mudah alih
  • Atas meja
Alatan & langganan
  • Ciri
  • Penentuan Harga
  • Data pasaran
Tawaran istimewa
  • Hadapan CME Group
  • Hadapan Eurex
  • Himpunan saham AS
Mengenai syarikat
  • Siapa kami
  • Manifesto
  • Atlet
  • Blog
  • Kerjaya
  • Kit media
Barangan
  • Kedai TradingView
  • Kad tarot untuk pedagang
Polisi & keselamatan
  • Terma Penggunaan
  • Penafian
  • Dasar Privasi
  • Polisi Kuki
  • Kenyataan Kebolehcapaian
  • Kerentanan keselamatan
  • Halaman Status
Komuniti
  • Rangkaian sosial
  • Dinding Kasih
  • Rujuk rakan
  • Peraturan Dalaman
  • Moderator
Idea
  • Dagangan
  • Pendidikan
  • Pilihan Editor
Skrip Pine
  • Penunjuk & strategi
  • Pakar
  • Freelancer
Penyelesaian perniagaan
  • Widget
  • Perpustakaan pencartaan
  • Lightweight Charts™
  • Carta Termaju
  • Platform Dagangan
Peluang pertumbuhan
  • Pengiklanan
  • Integrasi brokeraj
  • Program rakan kongsi
  • Program pendidikan
Look FirstLook First