• Produk
  • Komunitas
  • Pasar
  • Broker
  • Lebih lanjut
Mulai
  • Komunitas
  • /Indikator dan strategi
  • /Roundingbottom

Roundingbottom

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.
Indikator Pine Script®
oleh MartinMystere
22

Pilih data pasar yang disediakan oleh ICE Data Services. Pilih data referensi yang disediakan oleh FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Lebih dari sekadar produk
  • Superchart
Penyaring
  • Saham
  • ETF
  • Obligasi
  • Koin crypto
  • Pasangan CEX
  • Pasangan DEX
  • Pine
Heatmap
  • Saham
  • ETF
  • Crypto
Kalender
  • Ekonomis
  • Perolehan
  • Dividen
Produk lainnya
  • Kurva Imbal Hasil
  • Options
  • Aliran berita
  • Skrip Pine®
Aplikasi
  • Mobile
  • Desktop
Komunitas
  • Jejaring sosial
  • Tembok Cinta
  • Refer teman
  • Tata Tertib
  • Moderator
Ide-Ide
  • Trading
  • Edukasi
  • Pilihan editor
Skrip Pine
  • Indikator & strategi
  • Wizard
  • Freelancer
Peralatan & langganan
  • Fitur-fitur
  • Harga Akun
  • Data pasar
Trading
  • Ikhtisar
  • Broker
Penawaran spesial
  • Kontrak berjangka CME Group
  • Kontrak berjangka Eurex
  • Bundel saham AS
Tentang perusahaan
  • Tentang kami
  • Misi luar angksa
  • Blog
  • Karir
  • Media kit
Merchandise
  • Toko TradingView
  • Kartu tarot untuk trader
  • C63 TradeTime
Kebijakan & keamanan
  • Syarat penggunaan
  • Pernyataan Penyangkalan
  • Kebijakan Privasi
  • Kebijakan Cookie
  • Pernyataan Aksesibilitas
  • Tips keamanan
  • Program Pencari Bug
  • Halaman status
Solusi bisnis
  • Widget
  • Perpustakaan charting
  • Lightweight Charts™
  • Advanced Chart
  • Platform Trading
Peluang pertumbuhan
  • Periklanan
  • Integrasi broker
  • Program partner
  • Program Edukasi
Komunitas
  • Jejaring sosial
  • Tembok Cinta
  • Refer teman
  • Tata Tertib
  • Moderator
Ide-Ide
  • Trading
  • Edukasi
  • Pilihan editor
Skrip Pine
  • Indikator & strategi
  • Wizard
  • Freelancer
Solusi bisnis
  • Widget
  • Perpustakaan charting
  • Lightweight Charts™
  • Advanced Chart
  • Platform Trading
Peluang pertumbuhan
  • Periklanan
  • Integrasi broker
  • Program partner
  • Program Edukasi
Look FirstLook First