ค้นหา
ผลิตภัณฑ์
ชุมชน
ตลาด
ข่าว
โบรกเกอร์
เพิ่มเติม
TH
เริ่มกันเลย
ชุมชน
/
ไอเดีย
/
Double top
ZETA / TetherUS PERPETUAL CONTRACT
Double top
โดย Wahid363
ติดตาม
ติดตาม
11 ส.ค.
0
ชื่นชม
ชื่นชม
11 ส.ค.
//
version
=5
indicator("Double Top Pattern with Sell Signal", overlay=true)
threshold = input(1.0, title="Price Difference Threshold (%)")
// Double Top Detection
pivotLeft = ta.pivothigh(3, 3)
pivotRight = na(pivotLeft[1]) ? na : ta.pivothigh(3, 3)[3]
doubleTop = na(pivotLeft) ? na : (math.abs(pivotLeft - pivotRight) / pivotLeft) * 100 < threshold
// Plotting the double top and marking sell signal
plotshape(doubleTop ? pivotLeft : na, location=location.abovebar, color=color.red, size=size.small, style=shape.labeldown, text="DT", title="Double Top")
plotshape(doubleTop ? low : na, location=location.belowbar, color=color.red, style=shape.triangledown, text="Sell", title="Sell Signal")
// Adding alerts
alertcondition(doubleTop, title="Double Top Alert", message="Double Top Detected! Consider Selling")
// Setting the chart to 15 minutes
timeframe = "15"
Chart Patterns
Wahid363
ติดตาม
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่
เงื่อนไขการใช้บริการ