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. Você pode favoritá-lo para usá-lo em um gráfico.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.