• ผลิตภัณฑ์
  • ชุมชน
  • ตลาด
  • โบรกเกอร์
  • เพิ่มเติม
เริ่มกันเลย
  • ชุมชน
  • /อินดิเคเตอร์และกลยุทธ์
  • /Sub-chart

Sub-chart

Secondary Chart with OverSized CandlesHi everyone, I'm sharing a simple script I made for a friend. He was looking for a way to add another asset to his chart, and monitor relevant movements \ spot eventual correlation, especially when trading Cryptocurrencies. We couldn't find a similar script already available so here it is - the code is commented and I hope it's clear enough :) Notes: - The parameter scale = scale.left keeps the scales separated and therefore the chart is more organized, otherwise the chart would appear flat if the price difference is too big (e.g. BTC vs XRP) - It is possible to have the script running in a separate panel (instead of overlay) by moving it to a new pane (when added to the chart) or by removing the parameter overlay = true at the beginning of the code. - In case you wish to add indicators to this sub-chart (e.g. Bollinger Bands, EMA, etc..) you can do that by adding the relevant code and feed it with the variables OPEN \ HIGH \ LOW \ CLOSE as well as using the same method to retrieve new variables from the target asset with the request.security function. Hope this comes handy. Val - Protervus
อินดิเคเตอร์ Pine Script®
โดย Protervus
ที่อัปเดต:
1010

เลือกข้อมูลตลาดที่ให้บริการโดย 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