検索
プロダクト
コミュニティ
マーケット
ニュース
ブローカー
詳細
JA
始めましょう
コミュニティ
/
アイデア
/
Double top
ZETA / TetherUS PERPETUAL CONTRACT
Double top
Wahid363の投稿
フォロー
フォロー
8月11日
1
応援
応援
8月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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは
利用規約
をご覧ください。