OPEN-SOURCE SCRIPT

VİPER_TRADE( Destek ve Direnç) HAKAN_DİCEL

/version=5
indicator("Kısa Vadeli Destek ve Direnç (Swing High/Low)", overlay=true)

// Parametreler
length = input.int(3, title="Destek/Direnç Uzunluğu (Daha Hızlı için 3 veya 5 Seçin)")

// Yerel Zirve ve Dip Tespiti
high_point = ta.pivothigh(high, length, length)
low_point = ta.pivotlow(low, length, length)

// Destek ve Direnç Çizgileri
plot(high_point ? high[length] : na, style=plot.style_cross, color=color.red, title="Direnç")
plot(low_point ? low[length] : na, style=plot.style_cross, color=color.green, title="Destek")
Chart patterns

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer