เครื่องมือนี้แสดงอะไร
- Visualises one measurable chart condition.
- Inputs can be changed for your own test.
- The full Pine Script code is visible.
Shows when Bollinger Band width compresses relative to its baseline.
//@version=6
indicator("Chartara — Volatility Compression Radar",overlay=false)
length=input.int(20,"BB length",minval=2)
mult=input.float(2.0,"BB multiplier",minval=0.1)
base=ta.sma(close,length)
dev=ta.stdev(close,length)*mult
width=base!=0?(dev*2/base)*100:0
baseline=ta.sma(width,length)
compressed=width<baseline*0.75
plot(width,"Band width %",color=compressed?color.orange:color.aqua,linewidth=2)
plot(baseline,"Baseline",color=color.new(color.gray,35))
bgcolor(compressed?color.new(color.orange,88):na)
Compare the environment this tool depends on before opening an account.
เนื้อหานี้จัดทำเพื่อการศึกษาและให้ข้อมูลทั่วไปเท่านั้น ไม่ใช่คำแนะนำด้านการลงทุน การเงิน กฎหมาย หรือภาษี และไม่ใช่การเสนอขายหรือชักชวนให้ซื้อขาย Forex และ CFD มีความเสี่ยงสูงและอาจสูญเสียเงินทั้งหมด ผู้ใช้ต้องตรวจสอบกฎหมาย ใบอนุญาต เงื่อนไขผลิตภัณฑ์ และความเหมาะสมด้วยตนเองก่อนตัดสินใจ ข้อมูลอาจเปลี่ยนแปลงและ Chartara ไม่รับประกันความถูกต้อง ความครบถ้วน หรือผลลัพธ์ การตัดสินใจและผลกำไรหรือขาดทุนเป็นความรับผิดชอบของผู้ใช้ภายใต้ขอบเขตที่กฎหมายอนุญาต