if barstate.islastconfirmedhistory and array.size(Dividedstrings) != 0 for i = 0 to array.size(Dividedstrings) - 1 if i % 2 == 0
if i == 0 or i == 1 temporarycolor := color0 if i == 2 or i == 3 temporarycolor := color1 if i == 4 or i == 5 temporarycolor := color2 if i == 6 or i == 7 temporarycolor := color3 if i == 8 or i == 9 temporarycolor := color4 if i == 10 or i == 11 temporarycolor := color5 if i == 12 or i == 13 temporarycolor := color6 if i == 14 or i == 15 temporarycolor := color7 if i == 16 or i == 17 temporarycolor := color8 if i == 18 or i == 19 temporarycolor := color9
if i % 2 == 0 if array.size(Dividedstrings) > i + 1 label.new(bar_index, str.tonumber(array.get(Dividedstrings, i + 1)), array.get(Dividedstrings, i), xloc=xloc.bar_index, color=color.new(color.white, 10), size=size.large, style=label.style_none, textcolor=temporarycolor, textalign=text.align_right) if i % 2 != 0 if array.size(Dividedstrings) > i line.new(bar_index, str.tonumber(array.get(Dividedstrings, i)), bar_index + 1, str.tonumber(array.get(Dividedstrings, i)), extend=extend.both, color=temporarycolor) //Alma
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 publications is governed by House rules. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.
Bu komut dosyasını bir grafikte kullanmak ister misiniz?
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.