//@version=5
indicator("RSI ve CCI Stratejisi", overlay=true)
// Ayarlar
rsiLength = input.int(14, title="RSI Periyodu")
cciLength = input.int(20, title="CCI Periyodu")
rsiOverbought = input.float(75, title="RSI Aşırı Satım Seviyesi")
cciOversold = input.float(-178, title="CCI Aşırı Alım Seviyesi")
// RSI ve CCI Hesaplamaları
rsiValue = ta.rsi(close, rsiLength)
cciValue = ta.cci(close, cciLength)
// Alım ve Satım Sinyalleri
buySignal = cciValue < cciOversold
sellSignal = rsiValue > rsiOverbought
alertcondition ((cciValue < cciOversold), title='AL', message='ALIM')
alertcondition ((rsiValue > rsiOverbought), title='SAT', message='SATIM')
// Grafik İşaretleri
plotshape(series=buySignal, title="Alım Sinyali", location=location.belowbar, color=color.green, style=shape.labelup, text="AL")
plotshape(series=sellSignal, title="Satım Sinyali", location=location.abovebar, color=color.red, style=shape.labeldown, text="SAT")
///////20/50/200 HAREKETLİ ORTALAMALAR/////
short20 = ta.sma(close, 20)
short50 = ta.sma(close, 50)
short200 = ta.sma(close, 200)
//plot(short20, color=color.new(color.purple, 0), linewidth = 2, title='SMA20')
//plot(short50, color=color.new(color.blue, 0), linewidth = 2,title='SMA50')
plot(short200, color=color.new(color.black, 0), linewidth = 2,title='SMA200')
plot(short50, color=color.new(color.blue, 0), linewidth = 2,title='SMA50')
//plot(ta.crossover(short20, short50) ? short20 : na, style=plot.style_cross, linewidth=4, color=color.new(#eff314, 0))
//plot(ta.crossover(short20, short200) ? short50 : na, style=plot.style_cross, linewidth=4, color=color.new(#eff314, 0))
//plot(ta.crossover(short50, short200) ? short50 : na, style=plot.style_cross, linewidth=4, color=color.new(#eff314, 0))
//plot(ta.crossunder(short20, short50) ? short20 : na, style=plot.style_cross, linewidth=4, color=color.new(#f314c3, 0))
//plot(ta.crossunder(short20, short200) ? short20 : na, style=plot.style_cross, linewidth=4, color=color.new(#f314c3, 0))
//plot(ta.crossunder(short50, short200) ? short20 : na, style=plot.style_cross, linewidth=4, color=color.new(#f314c3, 0))
/////////RSI ////////
Src = input(defval=close, title='Source')
rsilen = input.int(defval=14, title='RSI UZUNLUK', minval=1)
length = input.int(defval=20, title='HULL UZUNLUK', minval=1)
Rsi = ta.rsi(Src, rsilen)
var testTable = table.new(position = position.bottom_right, columns = 1, rows = 3, bgcolor = color.red, border_width = 1)
if barstate.islast
table.cell(table_id = testTable, column = 0, row = 0, text = "RSI/" + str.tostring(math.round(Rsi,1)), text_color=color.white)
length23=input.int(defval=38, title= 'CCI UZUNLUK')
cci=ta.cci(close,length23)
var testTable2 = table.new(position = position.bottom_center, columns = 1, rows = 3, bgcolor = color.red, border_width = 1)
if barstate.islast
table.cell(table_id = testTable2, column = 0, row = 0, text = "CCI/" + str.tostring(math.round(cci,0)), text_color=color.white)
//TILLSON T3////
T3FiboLine = input(false, title='Show T3 Fibonacci Ratio Line?')
length1 = input(7, 'T3 Length')
a1 = input(1, 'Volume Factor')
e1 = ta.ema((high + low + 2 * close) / 4, length1)
e2 = ta.ema(e1, length1)
e3 = ta.ema(e2, length1)
e4 = ta.ema(e3, length1)
e5 = ta.ema(e4, length1)
e6 = ta.ema(e5, length1)
c1 = -a1 * a1 * a1
c2 = 3 * a1 * a1 + 3 * a1 * a1 * a1
c3 = -6 * a1 * a1 - 3 * a1 - 3 * a1 * a1 * a1
c4 = 1 + 3 * a1 + a1 * a1 * a1 + 3 * a1 * a1
T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
col1 = T3 > T3[1]
col3 = T3 < T3[1]
color_1 = col1 ? color.green : col3 ? color.red : color.yellow
plot(T3, color=color_1, linewidth=3, title='T3')
length12 = input(5, 'T3 Length fibo')
a12 = input(0.618, 'Volume Factor fibo')
e12 = ta.ema((high + low + 2 * close) / 4, length12)
e22 = ta.ema(e12, length12)
e32 = ta.ema(e22, length12)
e42 = ta.ema(e32, length12)
e52 = ta.ema(e42, length12)
e62 = ta.ema(e52, length12)
c12 = -a12 * a12 * a12
c22 = 3 * a12 * a12 + 3 * a12 * a12 * a12
c32 = -6 * a12 * a12 - 3 * a12 - 3 * a12 * a12 * a12
c42 = 1 + 3 * a12 + a12 * a12 * a12 + 3 * a12 * a12
T32 = c12 * e62 + c22 * e52 + c32 * e42 + c42 * e32
col12 = T32 > T32[1]
col32 = T32 < T32[1]
color2 = col12 ? color.blue : col32 ? color.purple : color.yellow
plot(T3FiboLine and T32 ? T32 : na, color=color2, linewidth=2, title='T3fibo')
alertcondition(ta.crossover(T3, T3[1]), title='T3 BUY', message='T3 BUY!')
alertcondition(ta.crossunder(T3, T3[1]), title='T3 SELL', message='T3 SELL!')
alertcondition(ta.cross(T3, T3[1]), title='Color ALARM', message='T3 has changed color!')
bgcolor(ta.crossover(T3, T3[1]) ? color.blue : na,transp=70)
bgcolor(ta.crossunder(T3, T3[1]) ? color.orange : na,transp=70)
plotshape(ta.crossunder(T3, T3[1]), size=size.tiny, style=shape.labeldown, title='T3-SAT', text='SAT', location=location.top, color=color.new(color.red, 70), textcolor=color.new(color.white, 0))
plotshape(ta.crossover(T3, T3[1]), size=size.tiny, style=shape.labelup, title='T3-AL', text='AL', location=location.bottom, color=color.new(color.green, 70), textcolor=color.new(color.white, 0))
//////FIBONACCİ SEVİYELERİ//////
Fibs = input.string('Plot Fibs based on Lookback', options=['Plot Fibs based on Lookback', 'Plot Fibs based on Price Input'], title='Fibonacci Plot Type')
FIBS = Fibs == 'Plot Fibs based on Lookback' ? 1 : Fibs == 'Plot Fibs based on Price Input' ? 2 : na
Foption = input.string(defval='1. Candles', title='Fibonacci Plot Lookback Type', options=['2. Days', '1. Candles'])
FP = input(defval=100, title='Days/Candles to Lookback')
Reverse = input(defval=false, title='Reverse Fibonacci Levels?')
ExtraFibs = input(false, 'Show 0.886 and 1.113 Fibs')
Note = input(true, '════ 𝗙𝗶𝗯𝘀 𝗯𝗮𝘀𝗲𝗱 𝗼𝗻 𝗣𝗿𝗶𝗰𝗲 𝗜𝗻𝗽𝘂𝘁 ════')
High = input.float(0., minval=0, title='High - Enter Value')
Low = input.float(-1., minval=-1, title='Low - Enter Value')
Note2 = input(true, '══════ 𝗙𝗶𝗯 𝗟𝗶𝗻𝗲/𝗟𝗮𝗯𝗲𝗹 𝗦𝘁𝘆𝗹𝗲 ══════')
Bull_Color = input(#008000, title='Support Fibs Color')
Bear_Color = input(#ff0000, title='Resistance Fibs Color')
CurrentFib = input(false, 'Show Fib Level of Current Price')
Current_Color = input(color.orange, title='Current Fib Label Color')
LineStyle = input.string('Dotted', options=['Dotted', 'Solid'], title='Fib Line Style')
LineWidth = input.int(1, minval=1, maxval=3, title='Fib Line Width')
Ext = input(false, 'Extend Lines Left')
// Transparency = input("Low", options = ["High", "Medium", "Low"], title="Fib Line Transparency")
BullColor = Bull_Color //Transparency == "High"?color.new(#008000,75):Transparency == "Medium"?color.new(#008000,50):Bull_Color
BearColor = Bear_Color //Transparency == "High"?color.new(#ff0000,75):Transparency == "Medium"?color.new(#ff0000,50):Bear_Color
FPeriod = timeframe.isintraday and Foption == '2. Days' ? 1440 / timeframe.multiplier * FP : timeframe.isdaily and Foption == '2. Days' ? FP / timeframe.multiplier : timeframe.isweekly and Foption == '2. Days' ? FP / (7 * timeframe.multiplier) : timeframe.ismonthly and Foption == '2. Days' ? FP / (28 * timeframe.multiplier) : Foption == '1. Candles' ? FP : 100
Fhigh = FIBS == 1 ? ta.highest(FPeriod) : FIBS == 2 and High == 0 ? ta.highest(high, 100) : FIBS == 2 and High != 0 ? High : na
Flow = FIBS == 1 ? ta.lowest(FPeriod) : FIBS == 2 and Low == -1 ? ta.lowest(low, 100) : FIBS == 2 and High != -1 ? Low : na
FH = FIBS == 1 ? ta.highestbars(high, FPeriod) : 1
FL = FIBS == 1 ? ta.lowestbars(low, FPeriod) : 2
revfibs = not Reverse ? FL > FH : FL < FH
Fib_x(n) =>
revfibs ? (Fhigh - Flow) * n + Flow : Fhigh - (Fhigh - Flow) * n
Current = revfibs ? (close - Flow) / (Fhigh - Flow) : (Fhigh - close) / (Fhigh - Flow)
var label Current_Fib_Label = na
label.delete(Current_Fib_Label)
if CurrentFib and barstate.islast
Current_Fib_Label := label.new(bar_index, close, str.tostring(Current, '##.##'), textcolor=Current_Color, color=color.new(#000000, 100), style=label.style_label_left, yloc=yloc.price)
Current_Fib_Label
EXTEND = Ext ? extend.left : extend.none
STYLE = LineStyle == 'Dotted' ? line.style_dotted : line.style_solid
WIDTH = LineWidth
BB = FIBS == 1 ? FL < FH ? bar_index[-FL] : bar_index[-FH] : FIBS == 2 ? bar_index[50] : bar_index[50]
Fib_line(x) =>
var line ln = na
line.delete(ln)
ln := line.new(BB, x, bar_index, x, color=close > x ? BullColor : BearColor, extend=EXTEND, style=STYLE, width=WIDTH)
ln
Fib_label(x, _txt) =>
var label lbl = na
label.delete(lbl)
lbl := label.new(bar_index, x, _txt + str.tostring(x, '##.##') + ' )', textcolor=close > x ? BullColor : BearColor, color=color.new(#000000, 100), style=label.style_label_left, yloc=yloc.price)
lbl
Fib0 = Fib_line(Fib_x(0))
Fib236 = Fib_line(Fib_x(0.236))
Fib382 = Fib_line(Fib_x(0.382))
Fib500 = Fib_line(Fib_x(0.500))
Fib618 = Fib_line(Fib_x(0.618))
Fib786 = Fib_line(Fib_x(0.786))
Fib1000 = Fib_line(Fib_x(1.000))
Fib1618 = Fib_line(Fib_x(1.618))
Fib2618 = Fib_line(Fib_x(2.618))
LFib1618 = Fib_label(Fib_x(1.618), '1.618 ( ')
LFib2618 = Fib_label(Fib_x(2.618), '2.618 ( ')
Fib886 = ExtraFibs ? Fib_line(Fib_x(0.886)) : na
if FIBS == 2
Fib1113 = ExtraFibs ? Fib_line(Fib_x(1.113)) : na
Fib1272 = Fib_line(Fib_x(1.272))
Fib1618 = Fib_line(Fib_x(1.618))
Fib2000 = Fib_line(Fib_x(2.000))
Fib2236 = Fib_line(Fib_x(2.236))
Fib2618 = Fib_line(Fib_x(2.618))
Fib3236 = Fib_line(Fib_x(3.236))
Fib3618 = Fib_line(Fib_x(3.618))
Fib4236 = Fib_line(Fib_x(4.236))
Fib4618 = Fib_line(Fib_x(4.618))
Fib4618
LFib0 = Fib_label(Fib_x(0), '0 ( ')
LFib236 = Fib_label(Fib_x(0.236), '0.236 ( ')
LFib382 = Fib_label(Fib_x(0.382), '0.382 ( ')
LFib500 = Fib_label(Fib_x(0.500), '0.500 ( ')
LFib618 = Fib_label(Fib_x(0.618), '0.618 ( ')
LFib786 = Fib_label(Fib_x(0.786), '0.786 ( ')
LFib1000 = Fib_label(Fib_x(1.000), '1.000 ( ')
LFib886 = ExtraFibs ? Fib_label(Fib_x(0.886), '0.886 ( ') : na
if FIBS == 2
LFib1113 = ExtraFibs ? Fib_label(Fib_x(1.113), '1.113 ( ') : na
LFib1272 = Fib_label(Fib_x(1.272), '1.272 ( ')
LFib1618 = Fib_label(Fib_x(1.618), '1.618 ( ')
LFib2000 = Fib_label(Fib_x(2.000), '2.000 ( ')
LFib2236 = Fib_label(Fib_x(2.236), '2.236 ( ')
LFib2618 = Fib_label(Fib_x(2.618), '2.618 ( ')
LFib3236 = Fib_label(Fib_x(3.236), '3.236 ( ')
LFib3618 = Fib_label(Fib_x(3.618), '3.618 ( ')
LFib4236 = Fib_label(Fib_x(4.236), '4.236 ( ')
LFib4618 = Fib_label(Fib_x(4.618), '4.618 ( ')
LFib4618
per = input.timeframe(defval='', title='PERİYOT',group = "Tarama yapmak istediğiniz periyotu seçin")
loc = input.int(defval=20, title='Konum Ayarı', minval = -100,maxval = 200 , step = 5, group='Tablonun konumunu belirleyin')
func() =>
//ÖRNEK BİR FONKSİYON AŞAĞIDA YAZILMIŞTIR. SİZ DE İSTEDİĞİNİZ KOŞULLAR İÇİN TARAMA YAZABİLİRSİNİZ.
//rsi = ta.rsi(close,14)
//cond = rsi <= 30
//[close,cond]
value = ta.rsi(close, rsiLength)
cond = (buySignal or sellSignal )
[value,cond]
cc1 = input.symbol(title='1', defval='BIST:BRYAT',group = "1. Grup Hisseleri")
cc2 = input.symbol(title='2', defval='BIST:TARKM')
cc3 = input.symbol(title='3', defval='BIST:TNZTP')
cc4 = input.symbol(title='4', defval='BIST:ERBOS')
c5 = input.symbol(title='5', defval='BIST:BFREN')
c6 = input.symbol(title='6', defval='BIST:ALARK')
c7 = input.symbol(title='7', defval='BIST:ISMEN')
c8 = input.symbol(title='8', defval='BIST:CVKMD')
c9 = input.symbol(title='9', defval='BIST:TTRAK')
c10 = input.symbol(title='10', defval='BIST:ASELS')
c11 = input.symbol(title='11', defval='BIST:ATAKP')
cc12 = input.symbol(title='12', defval='BIST:MGROS')
c13 = input.symbol(title='13', defval='BIST:BRSAN')
c14 = input.symbol(title='14', defval='BIST:ALFAS')
c15 = input.symbol(title='15', defval='BIST:CWENE')
c16 = input.symbol(title='16', defval='BIST:THYAO')
c17 = input.symbol(title='17', defval='BIST:EREGL')
c18 = input.symbol(title='18', defval='BIST:TUPRS')
c19 = input.symbol(title='19', defval='BIST:YYLGD')
c20 = input.symbol(title='20', defval='BIST:KLSER')
c21 = input.symbol(title='21', defval='BIST:MIATK')
cc22 = input.symbol(title='22', defval='BIST:ASTOR')
c23 = input.symbol(title='23', defval='BIST:DOAS')
c24 = input.symbol(title='24', defval='BIST:ERCB')
c25 = input.symbol(title='25', defval='BIST:REEDR')
c26 = input.symbol(title='26', defval='BIST:DNISI')
c27 = input.symbol(title='27', defval='BIST:ARZUM')
c28 = input.symbol(title='28', defval='BIST:EBEBK')
c29 = input.symbol(title='29', defval='BIST:KLKIM')
c30 = input.symbol(title='30', defval='BIST:ONCSM')
c31 = input.symbol(title='31', defval='BIST:SOKE')
cc32 = input.symbol(title='32', defval='BIST:GUBRF')
c33 = input.symbol(title='33', defval='BIST:KONTR')
c34 = input.symbol(title='34', defval='BIST:DAPGM')
c35 = input.symbol(title='35', defval='BIST:BVSAN')
c36 = input.symbol(title='36', defval='BIST:ODAS')
c37 = input.symbol(title='37', defval='BIST:OYAKC')
c38 = input.symbol(title='38', defval='BIST:KRPLS')
c39 = input.symbol(title='39', defval='BIST:BOBET')
[v1,s1] = request.security(cc1, per, func())
[v2,s2] = request.security(cc2, per, func())
[v3,s3] = request.security(cc3, per, func())
[v4,s4] = request.security(cc4, per, func())
[v5,s5] = request.security(c5, per, func())
[v6,s6] = request.security(c6, per, func())
[v7,s7] = request.security(c7, per, func())
[v8,s8] = request.security(c8, per, func())
[v9,s9] = request.security(c9, per, func())
[v10,s10] = request.security(c10, per, func())
[v11,s11] = request.security(c11, per, func())
[v12,s12] = request.security(cc12, per, func())
[v13,s13] = request.security(c13, per, func())
[v14,s14] = request.security(c14, per, func())
[v15,s15] = request.security(c15, per, func())
[v16,s16] = request.security(c16, per, func())
[v17,s17] = request.security(c17, per, func())
[v18,s18] = request.security(c18, per, func())
[v19,s19] = request.security(c19, per, func())
[v20,s20] = request.security(c20, per, func())
[v21,s21] = request.security(c21, per, func())
[v22,s22] = request.security(cc22, per, func())
[v23,s23] = request.security(c23, per, func())
[v24,s24] = request.security(c24, per, func())
[v25,s25] = request.security(c25, per, func())
[v26,s26] = request.security(c26, per, func())
[v27,s27] = request.security(c27, per, func())
[v28,s28] = request.security(c28, per, func())
[v29,s29] = request.security(c29, per, func())
[v30,s30] = request.security(c30, per, func())
[v31,s31] = request.security(c31, per, func())
[v32,s32] = request.security(cc32, per, func())
[v33,s33] = request.security(c33, per, func())
[v34,s34] = request.security(c34, per, func())
[v35,s35] = request.security(c35, per, func())
[v36,s36] = request.security(c36, per, func())
[v37,s37] = request.security(c37, per, func())
[v38,s38] = request.security(c38, per, func())
[v39,s39] = request.security(c39, per, func())
roundn(x, n) =>
mult = 1
if n != 0
for i = 1 to math.abs(n) by 1
mult *= 10
mult
n >= 0 ? math.round(x * mult) / mult : math.round(x / mult) * mult
scr_label = 'TARAMA\n'
scr_label := s1 ? scr_label + syminfo.ticker(cc1) + ' ' + str.tostring(roundn(v1, 2)) + '\n' : scr_label
scr_label := s2 ? scr_label + syminfo.ticker(cc2) + ' ' + str.tostring(roundn(v2, 2)) + '\n' : scr_label
scr_label := s3 ? scr_label + syminfo.ticker(cc3) + ' ' + str.tostring(roundn(v3, 2)) + '\n' : scr_label
scr_label := s4 ? scr_label + syminfo.ticker(cc4) + ' ' + str.tostring(roundn(v4, 2)) + '\n' : scr_label
scr_label := s5 ? scr_label + syminfo.ticker(c5) + ' ' + str.tostring(roundn(v5, 2)) + '\n' : scr_label
scr_label := s6 ? scr_label + syminfo.ticker(c6) + ' ' + str.tostring(roundn(v6, 2)) + '\n' : scr_label
scr_label := s7 ? scr_label + syminfo.ticker(c7) + ' ' + str.tostring(roundn(v7, 2)) + '\n' : scr_label
scr_label := s8 ? scr_label + syminfo.ticker(c8) + ' ' + str.tostring(roundn(v8, 2)) + '\n' : scr_label
scr_label := s9 ? scr_label + syminfo.ticker(c9) + ' ' + str.tostring(roundn(v9, 2)) + '\n' : scr_label
scr_label := s10 ? scr_label + syminfo.ticker(c10) + ' ' + str.tostring(roundn(v10, 2)) + '\n' : scr_label
scr_label := s11 ? scr_label + syminfo.ticker(c11) + ' ' + str.tostring(roundn(v11, 2)) + '\n' : scr_label
scr_label := s12 ? scr_label + syminfo.ticker(cc12) + ' ' + str.tostring(roundn(v12, 2)) + '\n' : scr_label
scr_label := s13 ? scr_label + syminfo.ticker(c13) + ' ' + str.tostring(roundn(v13, 2)) + '\n' : scr_label
scr_label := s14 ? scr_label + syminfo.ticker(c14) + ' ' + str.tostring(roundn(v14, 2)) + '\n' : scr_label
scr_label := s15 ? scr_label + syminfo.ticker(c15) + ' ' + str.tostring(roundn(v15, 2)) + '\n' : scr_label
scr_label := s16 ? scr_label + syminfo.ticker(c16) + ' ' + str.tostring(roundn(v16, 2)) + '\n' : scr_label
scr_label := s17 ? scr_label + syminfo.ticker(c17) + ' ' + str.tostring(roundn(v17, 2)) + '\n' : scr_label
scr_label := s18 ? scr_label + syminfo.ticker(c18) + ' ' + str.tostring(roundn(v18, 2)) + '\n' : scr_label
scr_label := s19 ? scr_label + syminfo.ticker(c19) + ' ' + str.tostring(roundn(v19, 2)) + '\n' : scr_label
scr_label := s20 ? scr_label + syminfo.ticker(c20) + ' ' + str.tostring(roundn(v20, 2)) + '\n' : scr_label
scr_label := s21 ? scr_label + syminfo.ticker(c21) + ' ' + str.tostring(roundn(v21, 2)) + '\n' : scr_label
scr_label := s22 ? scr_label + syminfo.ticker(cc22) + ' ' + str.tostring(roundn(v22, 2)) + '\n' : scr_label
scr_label := s23 ? scr_label + syminfo.ticker(c23) + ' ' + str.tostring(roundn(v23, 2)) + '\n' : scr_label
scr_label := s24 ? scr_label + syminfo.ticker(c24) + ' ' + str.tostring(roundn(v24, 2)) + '\n' : scr_label
scr_label := s25 ? scr_label + syminfo.ticker(c25) + ' ' + str.tostring(roundn(v25, 2)) + '\n' : scr_label
scr_label := s26 ? scr_label + syminfo.ticker(c26) + ' ' + str.tostring(roundn(v26, 2)) + '\n' : scr_label
scr_label := s27 ? scr_label + syminfo.ticker(c27) + ' ' + str.tostring(roundn(v27, 2)) + '\n' : scr_label
scr_label := s28 ? scr_label + syminfo.ticker(c28) + ' ' + str.tostring(roundn(v28, 2)) + '\n' : scr_label
scr_label := s29 ? scr_label + syminfo.ticker(c29) + ' ' + str.tostring(roundn(v29, 2)) + '\n' : scr_label
scr_label := s30 ? scr_label + syminfo.ticker(c30) + ' ' + str.tostring(roundn(v30, 2)) + '\n' : scr_label
scr_label := s31 ? scr_label + syminfo.ticker(c31) + ' ' + str.tostring(roundn(v31, 2)) + '\n' : scr_label
scr_label := s32 ? scr_label + syminfo.ticker(cc32) + ' ' + str.tostring(roundn(v32, 2)) + '\n' : scr_label
scr_label := s33 ? scr_label + syminfo.ticker(c33) + ' ' + str.tostring(roundn(v33, 2)) + '\n' : scr_label
scr_label := s34 ? scr_label + syminfo.ticker(c34) + ' ' + str.tostring(roundn(v34, 2)) + '\n' : scr_label
scr_label := s35 ? scr_label + syminfo.ticker(c35) + ' ' + str.tostring(roundn(v35, 2)) + '\n' : scr_label
scr_label := s36 ? scr_label + syminfo.ticker(c36) + ' ' + str.tostring(roundn(v36, 2)) + '\n' : scr_label
scr_label := s37 ? scr_label + syminfo.ticker(c37) + ' ' + str.tostring(roundn(v37, 2)) + '\n' : scr_label
scr_label := s38 ? scr_label + syminfo.ticker(c38) + ' ' + str.tostring(roundn(v38, 2)) + '\n' : scr_label
scr_label := s39 ? scr_label + syminfo.ticker(c39) + ' ' + str.tostring(roundn(v39, 2)) + '\n' : scr_label
var panel = table.new(position = position.bottom_left,columns = 10,rows = 10,bgcolor = color.green,frame_color = color.white,border_color = color.red)
if barstate.islast
table.cell(panel,0,0,text = str.tostring(scr_label))
//------------------------------------------------------
Bu Pine Script kodu, TradingView platformu için kapsamlı bir teknik analiz göstergesi oluşturur. İşlevleri şunlardır:
RSI (Göreceli Güç Endeksi) ve CCI (Ticaret Kanal Endeksi) göstergelerini birlikte kullanır
Alım sinyali: CCI -178'in altına düştüğünde
Satım sinyali: RSI 75'in üzerine çıktığında
Grafik üzerinde "AL" ve "SAT" etiketleri gösterir
20, 50 ve 200 periyotluk SMA'lar
Sadece 50 ve 200 SMA'ları çizilir (20 yorum satırı içinde)
İki farklı T3 göstergesi:
Normal T3 (yeşil/kırmızı renk değişimi)
Fibonacci tabanlı T3 (mavi/mor renk değişimi)
Alım/satım sinyalleri ve alarmları
Fibonacci destek/direnç seviyelerini çizer
İki mod: Geriye dönük bakış veya manuel fiyat girişi
0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0, 1.618, 2.618 seviyeleri
En önemli özellik: 39 farklı BIST hissesini aynı anda tarar
Her hisse için RSI ve CCI sinyallerini kontrol eder
Tarama sonuçlarını tablo olarak gösterir
Sağ alt köşede: RSI ve CCI değerleri
Sol alt köşede: Tarama sonuçları tablosu
Teknik Analiz: Birden fazla göstergeyle kapsamlı analiz
Sinyal Üretimi: Alım/satım sinyalleri
Market Taraması: 39 hisseyi aynı anda izleyerek fırsatları belirleme
Multi-timeframe Analiz: Farklı zaman dilimlerinde tarama yapabilme
RSI/CCI sinyalleri için alarmlar
T3 renk değişimi alarmları
TradingView mobil/email bildirimleri
Bu kod özellikle BIST hisselerini izlemek isteyen yatırımcılar için tasarlanmıştır. Tek bir grafik penceresinden 39 farklı hisseyi tarayabilme özelliği, zaman kazandıran bir çözümdür.