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
ברוח TradingView אמיתית, המחבר של הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסומים כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.