• ผลิตภัณฑ์
  • ชุมชน
  • ตลาด
  • โบรกเกอร์
  • เพิ่มเติม
เริ่มกันเลย
  • ชุมชน
  • /
  • /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.
อินดิเคเตอร์ Pine Script®
โดย MartinMystere
พ.ค. 12, 2017
22

เลือกข้อมูลตลาดที่ให้บริการโดย ICE Data services. เลือกข้อมูลอ้างอิงที่ให้บริการโดย FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

มากกว่าแค่ผลิตภัณฑ์
  • ซูเปอร์ชาร์ต
ตัวช่วยคัดกรอง
  • หุ้น
  • ETF
  • พันธบัตร
  • เหรียญคริปโต
  • คู่ CEX
  • คู่ DEX
  • Pine
ฮีทแมพ
  • หุ้น
  • ETF
  • คริปโต
ปฏิทิน
  • ทางเศรษฐกิจ
  • ผลประกอบการ
  • เงินปันผล
ผลิตภัณฑ์เพิ่มเติม
  • เส้นแสดงอัตราผลตอบแทน
  • Options
  • กระแสข่าว
  • Pine Script®
แอป
  • แอปมือถือ
  • เดสก์ท็อป
ชุมชน
  • เครือข่ายทางสังคม
  • กำแพงแห่งรัก
  • แนะนำเพื่อน
  • กฎระเบียบการใช้งาน
  • ผู้ดูแลการใช้งาน
ไอเดีย
  • การซื้อขาย
  • การศึกษา
  • คัดสรรโดยบรรณาธิการ
Pine Script
  • อินดิเคเตอร์ & กลยุทธ์
  • Wizard
  • ฟรีแลนซ์
เครื่องมือ & การสมัครสมาชิก
  • ฟีเจอร์
  • อัตราค่าบริการ
  • ข้อมูลตลาด
การซื้อขาย
  • ภาพรวม
  • โบรกเกอร์
ข้อเสนอพิเศษ
  • ฟิวเจอร์ส CME Group
  • ฟิวเจอร์ส Eurex
  • ชุดหุ้นสหรัฐฯ
เกี่ยวกับบริษัท
  • พวกเราคือใคร
  • แถลงการณ์
  • นักกีฬา
  • บล็อก
  • อาชีพ
  • เครื่องมือสำหรับสื่อ
สินค้า
  • ร้านค้า TradingView
  • ไพ่ทาโรต์สำหรับเทรดเดอร์
  • The C63 TradeTime
นโยบาย & ความปลอดภัย
  • ข้อกำหนดการใช้งาน
  • คำจำกัดสิทธิ์ความรับผิดชอบ
  • นโยบายความเป็นส่วนตัว
  • นโยบายการใช้คุกกี้
  • คำชี้แจงสิทธิ์การเข้าถึง
  • เคล็ดลับความปลอดภัย
  • โปรแกรม Bug Bounty
  • สถานะเพจ
โซลูชันสำหรับธุรกิจ
  • วิดเจ็ต
  • ไลบรารีชาร์ต
  • Lightweight Charts™
  • ชาร์ตขั้นสูง
  • แพลตฟอร์มการซื้อขาย
โอกาสในการเติบโต
  • การลงโฆษณา
  • การเชื่อมต่อกับโบรกเกอร์
  • โปรแกรมสำหรับพาร์ทเนอร์
  • โปรแกรมสำหรับการศึกษา
ชุมชน
  • เครือข่ายทางสังคม
  • กำแพงแห่งรัก
  • แนะนำเพื่อน
  • กฎระเบียบการใช้งาน
  • ผู้ดูแลการใช้งาน
ไอเดีย
  • การซื้อขาย
  • การศึกษา
  • คัดสรรโดยบรรณาธิการ
Pine Script
  • อินดิเคเตอร์ & กลยุทธ์
  • Wizard
  • ฟรีแลนซ์
โซลูชันสำหรับธุรกิจ
  • วิดเจ็ต
  • ไลบรารีชาร์ต
  • Lightweight Charts™
  • ชาร์ตขั้นสูง
  • แพลตฟอร์มการซื้อขาย
โอกาสในการเติบโต
  • การลงโฆษณา
  • การเชื่อมต่อกับโบรกเกอร์
  • โปรแกรมสำหรับพาร์ทเนอร์
  • โปรแกรมสำหรับการศึกษา
Look FirstLook First