İndikatör, Ichimoku indikatör bileşenlerini, birbirleriyle olan konumlarını ve piyasaya etkilerini bir tablo halinde gösterir.
Ichimoku indikatörünün 6 temel bileşeni ile ilgili bilgiler ve grafik üzerinde gösterimleri aşağıdadır:
Yukarıda gösterilen bileşenler, birbirleriyle olan konumları ve piyasaya etkileri aşağıdaki şekilde yer alan bir tablo halinde gösterilir.
Her bir bileşen durumu veya iki bileşenin birbirine göre durumu değerlendirilerek piyasanın yönü belirlenir. Piyasa yönü boğa ise yeşil, ayı ise kırmızı renkle piyasa ve bileşenlerin durumu yazılır. Her bir değerlendirme için, boğa piyasası pozitif ayı piyasası negatif olmak üzere, ayrı bir bir puan verilir.
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Niteya
//@version=5
// This indicator is provided for educational purposes only. Do not use it in your investment decisions.
indicator(title="Niteya BG Ichimoku Cloud Table", shorttitle="NICT", overlay=true, max_labels_count=500)
table_pos = input.string(title='Table position', defval='MiddleLeft', options=['TopLeft', 'TopCenter', 'TopRight', 'MiddleLeft', 'MiddleCenter', 'MiddleRight', 'BottomLeft', 'BottomCenter', 'BottomRight'])
TenkanSenPeriod = input.int(9, minval=1, title="Conversion Line Length")
KijunSenPeriod = input.int(26, minval=1, title="Base Line Length")
laggingSpan2Period = input.int(52, minval=1, title="Leading Span B Length")
displacement = input.int(26, minval=1, title="Displacement")
length_ema = input(200, 'EMA Length')
get_avg(len) => math.avg(ta.lowest(len), ta.highest(len))
TenkanSen = get_avg(TenkanSenPeriod)
KijunSen = get_avg(KijunSenPeriod)
SenkA = math.avg(TenkanSen, KijunSen)
SenkB = get_avg(laggingSpan2Period)
plot(TenkanSen, color=#2962FF, title="Conversion Line")
plot(KijunSen, color=#B71C1C, title="Base Line")
plot(close, offset = -displacement + 1, color=#43A047, title="Lagging Span")
p1 = plot(SenkA, offset = displacement - 1, color=#A5D6A7, title="Leading Span A")
p2 = plot(SenkB, offset = displacement - 1, color=#EF9A9A, title="Leading Span B")
fill(p1, p2, color = SenkA > SenkB ? color.rgb(67, 160, 71, 90) : color.rgb(244, 67, 54, 90))
EMA = ta.ema(close, length_ema)
plot(EMA, color=color.orange, linewidth=3, title='EMA')
highest_senkou_a = ta.highest(SenkA[displacement - 1], 252)
lowest_senkou_a = ta.lowest(SenkA[displacement - 1], 252)
highest_senkou_b = ta.highest(SenkB[displacement - 1], 252)
lowest_senkou_b = ta.lowest(SenkB[displacement - 1], 252)
highest_cloud = highest_senkou_a >= highest_senkou_b ? highest_senkou_a : highest_senkou_b
lowest_cloud = lowest_senkou_a <= lowest_senkou_b ? lowest_senkou_a : lowest_senkou_b
float Ich = 0.0
int min_req_long = 0
int min_req_short = 0
int deger = 0
int in_cloud = 0
if(barstate.islast)
tr = syminfo.currency=='TRY'
weak = tr ? 'Zayıf ' : 'Weak '
strong = tr ? 'Güçlü ' : 'Strong '
bull = tr ? 'Boğa' : 'Bullish'
bear = tr ? 'Ayı' : 'Bearish'
trend = tr ? ' piyasası' : ' trend'
cloud = tr ? 'Bulut ' : 'Cloud '
green = tr ? 'yeşil' : 'green'
pink = tr ? 'pembe' : 'pink'
value = tr ? 'Değer yok' : 'None'
thick = tr ? 'kalın' : 'thick'
thin = tr ? 'ince' : 'thin'
indecisive = tr ? 'Kararsız' : 'Indecisive'
price = tr ? 'Fiyat' : 'Price'
on = tr ? 'üzerinde' : 'on'
under = tr ? 'altında' : 'under'
inp = tr ? 'içinde' : 'in'
tab_pos = switch table_pos
'TopLeft' => position.top_left
'TopCenter' => position.top_center
'TopRight' => position.top_right
'MiddleLeft' => position.middle_left
'MiddleCenter' => position.middle_center
'MiddleRight' => position.middle_right
'BottomLeft' => position.bottom_left
'BottomCenter' => position.bottom_center
'BottomRight' => position.bottom_right
var table ichimoku_table = table.new(tab_pos, columns=4, rows=16, bgcolor=color.new(#E0E0E0, 40), border_width=1, border_color=color.white)
column = 0
row = 1
table.cell(ichimoku_table, 0, 0, 'Ichimoku ' + (tr ? 'bileşenleri' : 'components'), text_color=color.rgb(236,236,236), bgcolor=color.rgb(60,60,60))
table.cell(ichimoku_table, 1, 0, (tr ? 'Date' : 'Tarih') + ': ' + str.tostring(dayofmonth(timenow), "00") + '.' + str.tostring(month(timenow), "00") + '.' + str.tostring(year(timenow)), text_color=color.rgb(236,236,236), bgcolor=color.rgb(60,60,60))
table.cell(ichimoku_table, 2, 0, tr ? 'Yorum' : 'Comment', text_color=color.rgb(236,236,236), bgcolor=color.rgb(60,60,60))
table.cell(ichimoku_table, 3, 0, tr ? 'Puan' : 'Score', text_color=color.rgb(236,236,236), bgcolor=color.rgb(60,60,60))
table.cell(ichimoku_table, 0, 1, (tr ? 'Bulut rengi' : 'Cloud color') + ' (min)', text_color=#FFA500, text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki bulut rengi\nTrend yönünü gösterir." : "Cloud color in the current period\Indicates trend direction.")
table.cell(ichimoku_table, 0, 2, tr ? 'Bulut rengi gelecek' : 'Cloud color future' , text_color=#FF69B4, text_halign=text.align_left, tooltip=tr ? "Mevcut periyoddan 26 periyod sonraki (gelecek) bulut rengi\nGelecekteki trend yönünü gösterir." : "Cloud color 26 periods from the current period (future)\Shows future trend direction.")
table.cell(ichimoku_table, 0, 3, tr ? 'Bulut kalınlığı' : 'Cloud thicknes', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend gücünü gösterir." : "Shows trend strength in the current period.")
table.cell(ichimoku_table, 0, 4, (tr ? 'Bulut ve fiyat' : 'Cloud and price') + ' (min)', text_color=#FFA500, text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 5, (tr ? 'Bulut ve ' : 'Cloud and ') + 'TenkanSen', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 6, (tr ? 'Bulut ve ' : 'Cloud and ') + 'KijunSen', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 7, (tr ? 'Bulut ve ' : 'Cloud and ') + 'ChikouSpan', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 8, (tr ? 'Fiyat ve ' : 'Price and ') + 'KijunSen (min)', text_color=#FFA500, text_halign=text.align_left, tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 9, (tr ? 'Fiyat ve ' : 'Price and ') + 'TenkanSen', text_halign=text.align_left, tooltip=tr ? "Momentumu gösterir ve trendi onaylar." : "It shows momentum and confirms the trend.")
table.cell(ichimoku_table, 0, 10, (tr ? 'Fiyat grafiği ve ' : 'Price and ') + 'ChikouSpan', text_halign=text.align_left, tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 11, 'TenkanSen' + (tr ? ' ve ' : ' and ') + 'KijunSen', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 12, 'ChikouSpan' + (tr ? ' ve ' : ' and ') + 'KijunSen', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40), tooltip=tr ? "Mevcut periyoddaki trend yönünü gösterir." : "Shows the trend direction in the current period.")
table.cell(ichimoku_table, 0, 13, 'ChikouSpan' + (tr ? ' ve ' : ' and ') + 'TenkanSen', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40))
table.cell(ichimoku_table, 0, 14, 'KijunSen' + (tr ? ' ve ' : ' and ') + 'EMA (min)', text_color=#FFA500, text_halign=text.align_left)
table.cell(ichimoku_table, 0, 15, tr ? 'Toplam' : 'Total', text_halign=text.align_left, bgcolor=color.new(#C8C8C8, 40))
// Bulut rengi (1)
if(not na(highest_cloud))
if(SenkA[displacement - 1] > SenkB[displacement - 1])
Ich += 1.00
min_req_long += 1
if close<highest_cloud
Ich -= 0.50
else
Ich += 0.50
deger := 2
else if(SenkA[displacement - 1] < SenkB[displacement - 1])
Ich -= 1.0
min_req_short += 1
if close > lowest_cloud
Ich += 0.50
else
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? (close<highest_cloud ? weak : strong) + bull : (close>lowest_cloud ? weak : strong) + bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 2, row, cloud + (deger>1 ? green : pink), text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? ('+' + str.tostring(Ich, '#.##')) : str.tostring(Ich, '#.##'), text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
else
min_req_long += 1
min_req_short += 1
table.cell(ichimoku_table, 1, row, value, text_color=color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 2, row, value, text_color=color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, '0,00', text_color=color.silver, text_halign=text.align_right)
row += 1
// Gelecek bulut rengi (2)
if(SenkA > SenkB)
Ich += 0.50
deger := 2
else if(SenkA < SenkB)
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 2, row, cloud + (deger>1 ? green : pink), text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : '-0,50', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Bulut kalınlığı (3)
if(SenkA[displacement - 1] - SenkB[displacement - 1] >= 0.5)
Ich += 0.50
deger := 2
else if(SenkA[displacement - 1] - SenkB[displacement - 1] <= -0.5)
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? strong + str.lower(bull) : deger>0 ? strong + str.lower(bear) : indecisive) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 2, row, cloud + (deger>1 ? thick : deger>0 ? thick : thin), text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Bulut ve fiyat (4)
if(close>SenkA[displacement - 1] and close>SenkB[displacement - 1])
Ich += 1.00
min_req_long += 1
deger := 2
else if(close<SenkA[displacement - 1] and close<SenkB[displacement - 1])
Ich -= 1.00
min_req_short += 1
deger := 1
else
in_cloud += 1
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : deger>0 ? bear : indecisive) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell = tr ? 'Fiyat bulutun ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'Price is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'in') + ' the cloud'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+1,00' : deger>0 ? '-1,00' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Bulut ve TenkanSen (5)
if(TenkanSen>SenkA[displacement - 1] and TenkanSen>SenkB[displacement - 1])
Ich += 0.50
deger := 2
else if(TenkanSen<SenkA[displacement - 1] and TenkanSen<SenkB[displacement - 1])
Ich -= 0.50
deger := 1
else
in_cloud += 1
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : deger>0 ? bear : indecisive) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'TenkanSen bulutun ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'Tenkansen is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'in') + ' the cloud'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Bulut ve KijunSen (6)
if(KijunSen>SenkA[displacement - 1] and KijunSen>SenkB[displacement - 1])
Ich += 0.50
deger := 2
else if(KijunSen<SenkA[displacement - 1] and KijunSen<SenkB[displacement - 1])
Ich -= 0.50
deger := 1
else
in_cloud += 1
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : deger>0 ? bear : indecisive) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'KijunSen bulutun ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'KijunSen is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'in') + ' the cloud'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Bulut ve ChikouSpan (7)
if(close>SenkA[(displacement-1)+(displacement-1)] and close>SenkB[(displacement-1)+(displacement-1)])
Ich += 0.50
deger := 2
else if(close<SenkA[(displacement-1)+(displacement-1)] and close<SenkB[(displacement-1)+(displacement-1)])
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : deger>0 ? bear : indecisive) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'ChikouSpan bulutun ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'ChikouSpan is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'in') + ' the cloud'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Fiyat ve KijunSen (8)
if(close>KijunSen)
Ich += 1.00
min_req_long += 1
deger := 2
else if (close<KijunSen)
Ich -= 1.00
min_req_short += 1
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : deger>0 ? bear : indecisive) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'Fiyat KijunSen ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'Price is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' KijunSen'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+1,00' : deger>0 ? '-1,00' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Fiyat ve TenkanSen (9)
if(close>TenkanSen) // Fiyat grafiği mavi çizginin üzerindeyse -> Boğa
Ich += 0.50
deger := 2
else if(close<TenkanSen) // Fiyat grafiği mavi çizginin altındaysa -> Ayı
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'Fiyat TenkanSen ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'Price is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' TenkanSen'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// Fiyat ve ChikouSpan (10)
if(close > close[displacement - 1])
Ich += 0.50
deger := 2
else if(close < close[displacement - 1])
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'Fiyat ChikouSpan ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'Price is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' ChikouSpan'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// TenkanSen ve KijunSen (11)
if(TenkanSen>KijunSen)
Ich += 1.00
deger := 2
else if(TenkanSen<KijunSen)
Ich -= 1.00
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'TenkanSen ChikouSpan ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'TenkanSen is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' ChikouSpan'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+1,00' : '-1,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// ChikouSpan ve KijunSen (12)
if(close>KijunSen[displacement - 1])
Ich += 0.50
deger := 2
else if(close<KijunSen[displacement - 1])
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'ChikouSpan KijunSen ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'ChikouSpan is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' KijunSen'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// ChikouSpan ve TenkanSen (13)
if(close>TenkanSen[displacement - 1])
Ich += 0.50
deger := 2
else if(close<TenkanSen[displacement - 1])
Ich -= 0.50
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'ChikouSpan TenkanSen ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'içinde') : 'ChikouSpan is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' TenkanSen'
table.cell(ichimoku_table, 2, row, str_cell, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+0,50' : deger>0 ? '-0,50' : '0,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
row += 1
// KijunSen ve EMA200 (14)
if(not na(EMA))
if(KijunSen>EMA)
Ich += 1.00
min_req_long += 1
deger := 2
else if(KijunSen<EMA)
Ich -= 1.00
min_req_short += 1
deger := 1
else
deger := 0
table.cell(ichimoku_table, 1, row, (deger>1 ? bull : bear) + trend, text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
str_cell := tr ? 'KijunSen EMA ' + (deger>1 ? 'üzerinde' : deger>0 ? 'altında' : 'eşit') : 'KijunSen is ' + (deger>1 ? 'on' : deger>0 ? 'under' : 'equal to') + ' EMA'
table.cell(ichimoku_table, 2, row, 'Kırmızı çizgi EMA ' + (deger>1 ? 'üzerinde' : 'altında'), text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, deger>1 ? '+1,00' : '-1,00', text_color=deger>1 ? color.green : deger>0 ? color.red : color.silver, text_halign=text.align_right)
else
min_req_long += 1
min_req_short += 1
table.cell(ichimoku_table, 1, row, value, text_color=color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 2, row, value, text_color=color.silver, text_halign=text.align_left)
table.cell(ichimoku_table, 3, row, '0,00', text_color=color.silver, text_halign=text.align_right)
row += 1
// Toplam satırı (15)
bool piyasa = (min_req_long>2 or min_req_short>2) and (in_cloud<2)
string str_column = (piyasa ? (tr ? 'İşlem yapılabilir ' : 'Operational ') + ((min_req_long>2) ? str.lower(bull) : str.lower(bear)) : (tr ? 'Nötr' : 'Neutral')) + trend
color color_column = piyasa ? (min_req_long>2) ? color.green : color.red : color.silver
table.cell(ichimoku_table, 1, row, str_column, text_color=color_column , text_halign=text.align_left)
piyasa := (Ich>8 or Ich<-8) and (in_cloud<2)
str_column := piyasa ? strong + ((Ich>8) ? str.lower(bull) : str.lower(bear)) : tr ? 'Nötr' : 'Neutral'
color_column := piyasa ? (Ich>8) ? color.green : color.red : color.silver
table.cell(ichimoku_table, 2, row, str_column, text_color=color_column, text_halign=text.align_left)
piyasa := ((Ich>4 and min_req_long>2) or (Ich<-4 and min_req_short>2)) and (in_cloud<2)
color_column := piyasa ? (Ich>4) ? color.green : color.red : color.silver
table.cell(ichimoku_table, 3, row, str.tostring(Ich), text_color=color_column, text_halign=text.align_right)
color_column := piyasa ? (Ich>4) ? color.new(color.green, 40) : color.new(color.red, 40) : color.new(color.silver, 40)
Yukarıdaki indikatörün bir uygulaması aşağıda grafikte gösterilmektedir.