Untitled
unknown
plain_text
a year ago
806 B
7
Indexable
//@version=5 indicator(title="sosyolog", overlay=true, max_labels_count=500) // Parabolik SAR start = input(0.02) increment = input(0.02) maximum = input(0.2, "Max Value") sar_out = ta.sar(start, increment, maximum) plot(sar_out, "Parabolik SAR", style=plot.style_cross, color=#2962FF) // Renk seçeneği wave_color = input(color.new(color.red, 100), title="Wave Color") // Parabolik SAR dalgalarını numaralandırma var float son_sar = na var int dalga_sayim = 0 if ta.crossover(sar_out, close) or ta.crossunder(sar_out, close) dalga_sayim := dalga_sayim + 1 if dalga_sayim > 9 dalga_sayim := 1 son_sar := sar_out label.new(x = bar_index, y = son_sar, style = label.style_label_down, color = wave_color, text = str.tostring(dalga_sayim), size = size.small)
Editor is loading...
Leave a Comment