//@version=5
indicator("DARVAS BOX + TARAMA", overlay=true, shorttitle="DARVAS BOX + TARAMA")
boxp = input.int(5, "BOX LENGTH")
LL = ta.lowest(low, boxp)
k1 = ta.highest(high, boxp)
k2 = ta.highest(high, boxp - 1)
k3 = ta.highest(high, boxp - 2)
NH = ta.valuewhen(high > k1[1], high, 0)
box1 = k3 < k2
TopBox = ta.valuewhen(ta.barssince(high > k1[1]) == boxp - 2 and box1, NH, 0)
BottomBox = ta.valuewhen(ta.barssince(high > k1[1]) == boxp - 2 and box1, LL, 0)
plot(TopBox, linewidth=3, color=color.green, title="TBbox")
plot(BottomBox, linewidth=3, color=color.red, title="BBbox")
// Alarmlar
alertcondition(ta.crossover(close, TopBox), title="TopBox Üzeri Kırılma", message="Fiyat TopBox'ın üzerine çıktı!")
alertcondition(ta.crossunder(close, BottomBox), title="BottomBox Altı Kırılma", message="Fiyat BottomBox'ın altına düştü!")
// Alternatif alarmlar (isteğe bağlı)
alertcondition(ta.crossover(close, TopBox) or ta.crossunder(close, BottomBox),
title="Herhangi Bir Box Kırılması",
message="Fiyat bir Darvas Box seviyesini kırdı!")
////// TARAMA ///////
grupSec = input.string(defval='1', options=['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', 'ÖZEL LİSTE 1', 'ÖZEL LİSTE 2','ÖZEL LİSTE 3'], group='Taraması yapılacak 40\'arlı gruplardan birini seçin', title='Grup seç')
per = input.timeframe(defval='', title='PERİYOT', group="Tarama yapmak istediğiniz periyotu seçin")
loc1 = input.int(defval=20, title='Konum Ayarı', minval=-100, maxval=110, step=5, group='Tablonun konumunu belirleyin')
loc2 = input.int(defval=40, title='Konum Ayarı', minval=-100, maxval=110, step=5, group='Tablonun konumunu belirleyin')
//loc3 = input.int(defval=60, title='Konum Ayarı', minval=-100, maxval=110, step=5, group='Tablonun konumunu belirleyin')
//loc4 = input.int(defval=80, title='Konum Ayarı', minval=-100, maxval=110, step=5, group='Tablonun konumunu belirleyin')
condition1= (ta.crossunder(close, BottomBox))
//condition4=
condition2= (ta.crossover(close, TopBox))
//condition3= (hist[1] <= 0 and hist > 0)
cond1 = condition1
cond2= condition2
//cond3= condition3
//cond4= condition4
func() =>
cond1
cond2
//cond3
//cond4
// cond = condition or SARTEMAS
[cond1, cond2]
////////////////////////////
// ÖZEL LİSTE 1
s01 = input.symbol(title='1', defval='BA', group = "ÖZEL LİSTE 1")
s02 = input.symbol(title='2', defval='QBTS', group = "ÖZEL LİSTE 1")
s03 = input.symbol(title='3', defval='AI', group = "ÖZEL LİSTE 1")
s04 = input.symbol(title='4', defval='RKLB', group = "ÖZEL LİSTE 1")
s05 = input.symbol(title='5', defval='FOUR', group = "ÖZEL LİSTE 1")
s06 = input.symbol(title='6', defval='ZETA', group = "ÖZEL LİSTE 1")
s07 = input.symbol(title='7', defval='RDDT', group = "ÖZEL LİSTE 1")
s08 = input.symbol(title='8', defval='NBIS', group = "ÖZEL LİSTE 1")
s09 = input.symbol(title='9', defval='HIMS', group = "ÖZEL LİSTE 1")
s10 = input.symbol(title='10', defval='PLTR', group = "ÖZEL LİSTE 1")
s11 = input.symbol(title='11', defval='SOFI', group = "ÖZEL LİSTE 1")
s12 = input.symbol(title='12', defval='QUBT', group = "ÖZEL LİSTE 1")
s13 = input.symbol(title='13', defval='UBER', group = "ÖZEL LİSTE 1")
s14 = input.symbol(title='14', defval='TMDX', group = "ÖZEL LİSTE 1")
s15 = input.symbol(title='15', defval='NVDA', group = "ÖZEL LİSTE 1")
s16 = input.symbol(title='16', defval='DELL', group = "ÖZEL LİSTE 1")
s17 = input.symbol(title='17', defval='HITI', group = "ÖZEL LİSTE 1")
s18 = input.symbol(title='18', defval='AMZN', group = "ÖZEL LİSTE 1")
s19 = input.symbol(title='19', defval='SIRI', group = "ÖZEL LİSTE 1")
s20 = input.symbol(title='20', defval='ELF', group = "ÖZEL LİSTE 1")
s21 = input.symbol(title='21', defval='VSAT', group = "ÖZEL LİSTE 1")
s22 = input.symbol(title='22', defval='BBAI', group = "ÖZEL LİSTE 1")
s23 = input.symbol(title='23', defval='S', group = "ÖZEL LİSTE 1")
s24 = input.symbol(title='24', defval='OKTA', group = "ÖZEL LİSTE 1")
s25 = input.symbol(title='25', defval='TSLA', group = "ÖZEL LİSTE 1")
s26 = input.symbol(title='26', defval='AAPL', group = "ÖZEL LİSTE 1")
s27 = input.symbol(title='27', defval='ABNB', group = "ÖZEL LİSTE 1")
s28 = input.symbol(title='28', defval='META', group = "ÖZEL LİSTE 1")
s29 = input.symbol(title='29', defval='GOOGL', group = "ÖZEL LİSTE 1")
s30 = input.symbol(title='30', defval='BABA', group = "ÖZEL LİSTE 1")
s31 = input.symbol(title='31', defval='NFLX', group = "ÖZEL LİSTE 1")
s32 = input.symbol(title='32', defval='AMD', group = "ÖZEL LİSTE 1")
s33 = input.symbol(title='33', defval='MSTR', group = "ÖZEL LİSTE 1")
s34 = input.symbol(title='34', defval='MSFT', group = "ÖZEL LİSTE 1")
s35 = input.symbol(title='35', defval='COIN', group = "ÖZEL LİSTE 1")
s36 = input.symbol(title='36', defval='SMCI', group = "ÖZEL LİSTE 1")
s37 = input.symbol(title='37', defval='INTC', group = "ÖZEL LİSTE 1")
s38 = input.symbol(title='38', defval='AVGO', group = "ÖZEL LİSTE 1")
s39 = input.symbol(title='39', defval='WMT', group = "ÖZEL LİSTE 1")
s40 = input.symbol(title='40', defval='KO', group = "ÖZEL LİSTE 1")
// ÖZEL LİSTE 2
s41 = input.symbol(title='1', defval='AKBNK', group = "ÖZEL LİSTE 2")
s42 = input.symbol(title='2', defval='ALARK', group = "ÖZEL LİSTE 2")
s43 = input.symbol(title='3', defval='ARCLK', group = "ÖZEL LİSTE 2")
s44 = input.symbol(title='4', defval='ASELS', group = "ÖZEL LİSTE 2")
s45 = input.symbol(title='5', defval='ASTOR', group = "ÖZEL LİSTE 2")
s46 = input.symbol(title='6', defval='BIMAS', group = "ÖZEL LİSTE 2")
s47 = input.symbol(title='7', defval='EKGYO', group = "ÖZEL LİSTE 2")
s48 = input.symbol(title='8', defval='ENKAI', group = "ÖZEL LİSTE 2")
s49 = input.symbol(title='9', defval='EREGL', group = "ÖZEL LİSTE 2")
s50 = input.symbol(title='10', defval='FROTO', group = "ÖZEL LİSTE 2")
s51 = input.symbol(title='11', defval='GARAN', group = "ÖZEL LİSTE 2")
s52 = input.symbol(title='12', defval='GUBRF', group = "ÖZEL LİSTE 2")
s53 = input.symbol(title='13', defval='HEKTS', group = "ÖZEL LİSTE 2")
s54 = input.symbol(title='14', defval='ISCTR', group = "ÖZEL LİSTE 2")
s55 = input.symbol(title='15', defval='KCHOL', group = "ÖZEL LİSTE 2")
s56 = input.symbol(title='16', defval='TRMET', group = "ÖZEL LİSTE 2")
s57 = input.symbol(title='17', defval='TRALT', group = "ÖZEL LİSTE 2")
s58 = input.symbol(title='18', defval='KRDMD', group = "ÖZEL LİSTE 2")
s59 = input.symbol(title='19', defval='ODAS', group = "ÖZEL LİSTE 2")
s60 = input.symbol(title='20', defval='PETKM', group = "ÖZEL LİSTE 2")
s61 = input.symbol(title='21', defval='PGSUS', group = "ÖZEL LİSTE 2")
s62 = input.symbol(title='22', defval='SAHOL', group = "ÖZEL LİSTE 2")
s63 = input.symbol(title='23', defval='SASA', group = "ÖZEL LİSTE 2")
s64 = input.symbol(title='24', defval='SISE', group = "ÖZEL LİSTE 2")
s65 = input.symbol(title='25', defval='TAVHL', group = "ÖZEL LİSTE 2")
s66 = input.symbol(title='26', defval='TCELL', group = "ÖZEL LİSTE 2")
s67 = input.symbol(title='27', defval='THYAO', group = "ÖZEL LİSTE 2")
s68 = input.symbol(title='28', defval='TOASO', group = "ÖZEL LİSTE 2")
s69 = input.symbol(title='29', defval='AKSEN', group = "ÖZEL LİSTE 2")
s70 = input.symbol(title='30', defval='TUPRS', group = "ÖZEL LİSTE 2")
s71 = input.symbol(title='31', defval='YKBNK', group = "ÖZEL LİSTE 2")
s72 = input.symbol(title='32', defval='DOHOL', group = "ÖZEL LİSTE 2")
s73 = input.symbol(title='33', defval='VRGYO', group = "ÖZEL LİSTE 2")
s74 = input.symbol(title='34', defval='YIGIT', group = "ÖZEL LİSTE 2")
s75 = input.symbol(title='35', defval='HOROZ', group = "ÖZEL LİSTE 2")
s76 = input.symbol(title='36', defval='KOTON', group = "ÖZEL LİSTE 2")
s77 = input.symbol(title='37', defval='LILAK', group = "ÖZEL LİSTE 2")
s78 = input.symbol(title='38', defval='SEGMN', group = "ÖZEL LİSTE 2")
s79 = input.symbol(title='39', defval='EFOR', group = "ÖZEL LİSTE 2")
s80 = input.symbol(title='40', defval='ALTNY', group = "ÖZEL LİSTE 2")
// ÖZEL LİSTE 3
s81 = input.symbol(title='1', defval='AKBNK', group = "ÖZEL LİSTE 3")
s82 = input.symbol(title='2', defval='ALARK', group = "ÖZEL LİSTE 3")
s83 = input.symbol(title='3', defval='ARCLK', group = "ÖZEL LİSTE 3")
s84 = input.symbol(title='4', defval='ASELS', group = "ÖZEL LİSTE 3")
s85 = input.symbol(title='5', defval='ASTOR', group = "ÖZEL LİSTE 3")
s86 = input.symbol(title='6', defval='BIMAS', group = "ÖZEL LİSTE 3")
s87 = input.symbol(title='7', defval='EKGYO', group = "ÖZEL LİSTE 3")
s88 = input.symbol(title='8', defval='ENKAI', group = "ÖZEL LİSTE 3")
s89 = input.symbol(title='9', defval='EREGL', group = "ÖZEL LİSTE 3")
s90 = input.symbol(title='10', defval='FROTO', group = "ÖZEL LİSTE 3")
s91 = input.symbol(title='11', defval='GARAN', group = "ÖZEL LİSTE 3")
s92 = input.symbol(title='12', defval='GUBRF', group = "ÖZEL LİSTE 3")
s93 = input.symbol(title='13', defval='HEKTS', group = "ÖZEL LİSTE 3")
s94 = input.symbol(title='14', defval='ISCTR', group = "ÖZEL LİSTE 3")
s95 = input.symbol(title='15', defval='KCHOL', group = "ÖZEL LİSTE 3")
s96 = input.symbol(title='16', defval='TRMET', group = "ÖZEL LİSTE 3")
s97 = input.symbol(title='17', defval='TRALT', group = "ÖZEL LİSTE 3")
s98 = input.symbol(title='18', defval='KRDMD', group = "ÖZEL LİSTE 3")
s99 = input.symbol(title='19', defval='ODAS', group = "ÖZEL LİSTE 3")
s100 = input.symbol(title='20', defval='PETKM', group = "ÖZEL LİSTE 3")
s101 = input.symbol(title='21', defval='PGSUS', group = "ÖZEL LİSTE 3")
s102 = input.symbol(title='22', defval='SAHOL', group = "ÖZEL LİSTE 3")
s103 = input.symbol(title='23', defval='SASA', group = "ÖZEL LİSTE 3")
s104 = input.symbol(title='24', defval='SISE', group = "ÖZEL LİSTE 3")
s105 = input.symbol(title='25', defval='TAVHL', group = "ÖZEL LİSTE 3")
s106 = input.symbol(title='26', defval='TCELL', group = "ÖZEL LİSTE 3")
s107 = input.symbol(title='27', defval='THYAO', group = "ÖZEL LİSTE 3")
s108 = input.symbol(title='28', defval='TOASO', group = "ÖZEL LİSTE 3")
s109 = input.symbol(title='29', defval='AKSEN', group = "ÖZEL LİSTE 3")
s110 = input.symbol(title='30', defval='TUPRS', group = "ÖZEL LİSTE 3")
s111 = input.symbol(title='31', defval='YKBNK', group = "ÖZEL LİSTE 3")
s112 = input.symbol(title='32', defval='DOHOL', group = "ÖZEL LİSTE 3")
s113 = input.symbol(title='33', defval='VRGYO', group = "ÖZEL LİSTE 3")
s114 = input.symbol(title='34', defval='YIGIT', group = "ÖZEL LİSTE 3")
s115 = input.symbol(title='35', defval='HOROZ', group = "ÖZEL LİSTE 3")
s116 = input.symbol(title='36', defval='KOTON', group = "ÖZEL LİSTE 3")
s117 = input.symbol(title='37', defval='LILAK', group = "ÖZEL LİSTE 3")
s118 = input.symbol(title='38', defval='SEGMN', group = "ÖZEL LİSTE 3")
s119 = input.symbol(title='39', defval='EFOR', group = "ÖZEL LİSTE 3")
s120 = input.symbol(title='40', defval='ALTNY', group = "ÖZEL LİSTE 3")
/////////////////
// Symbols
a01 = grupSec == '1' ? 'BIST:A1CAP' : grupSec == '2' ? 'BIST:ARCLK' : grupSec == '3' ? 'BIST:BIGCH' : grupSec == '4' ? 'BIST:CEMTS' : grupSec == '5' ? 'BIST:DZGYO' : grupSec == '6' ? 'BIST:FLAP' : grupSec == '7' ? 'BIST:HEKTS' : grupSec == '8' ? 'BIST:IZMDC' : grupSec == '9' ? 'BIST:KRSTL' : grupSec == '10' ? 'BIST:MHRGY' : grupSec == '11' ? 'BIST:OZRDN' : grupSec == '12' ? 'BIST:RYGYO' : grupSec == '13' ? 'BIST:TABGD' : grupSec == '14' ? 'BIST:ULUUN' : grupSec == 'ÖZEL LİSTE 1' ? s01 : grupSec == 'ÖZEL LİSTE 2' ? s41 : grupSec == 'ÖZEL LİSTE 3' ? s81 : na
a02 = grupSec == '1' ? 'BIST:ACSEL' : grupSec == '2' ? 'BIST:ARDYZ' : grupSec == '3' ? 'BIST:BIMAS' : grupSec == '4' ? 'BIST:CEOEM' : grupSec == '5' ? 'BIST:EBEBK' : grupSec == '6' ? 'BIST:FMIZP' : grupSec == '7' ? 'BIST:HKTM' : grupSec == '8' ? 'BIST:JANTS' : grupSec == '9' ? 'BIST:KRTEK' : grupSec == '10' ? 'BIST:MIATK' : grupSec == '11' ? 'BIST:OZSUB' : grupSec == '12' ? 'BIST:RYSAS' : grupSec == '13' ? 'BIST:TARKM' : grupSec == '14' ? 'BIST:UMPAS' : grupSec == 'ÖZEL LİSTE 1' ? s02 : grupSec == 'ÖZEL LİSTE 2' ? s42 : grupSec == 'ÖZEL LİSTE 3' ? s82 : na
a03 = grupSec == '1' ? 'BIST:ADEL' : grupSec == '2' ? 'BIST:ARENA' : grupSec == '3' ? 'BIST:BINHO' : grupSec == '4' ? 'BIST:CIMSA' : grupSec == '5' ? 'BIST:ECILC' : grupSec == '6' ? 'BIST:FONET' : grupSec == '7' ? 'BIST:HLGYO' : grupSec == '8' ? 'BIST:KAPLM' : grupSec == '9' ? 'BIST:KRVGD' : grupSec == '10' ? 'BIST:LYDHO' : grupSec == '11' ? 'BIST:PAGYO' : grupSec == '12' ? 'BIST:SAFKR' : grupSec == '13' ? 'BIST:TATEN' : grupSec == '14' ? 'BIST:UNLU' : grupSec == 'ÖZEL LİSTE 1' ? s03 : grupSec == 'ÖZEL LİSTE 2' ? s43 : grupSec == 'ÖZEL LİSTE 3' ? s83 : na
a04 = grupSec == '1' ? 'BIST:ADESE' : grupSec == '2' ? 'BIST:ARSAN' : grupSec == '3' ? 'BIST:BIOEN' : grupSec == '4' ? 'BIST:CLEBI' : grupSec == '5' ? 'BIST:ECZYT' : grupSec == '6' ? 'BIST:FORMT' : grupSec == '7' ? 'BIST:HTTBT' : grupSec == '8' ? 'BIST:KAREL' : grupSec == '9' ? 'BIST:KSTUR' : grupSec == '10' ? 'BIST:MMCAS' : grupSec == '11' ? 'BIST:PAMEL' : grupSec == '12' ? 'BIST:SAHOL' : grupSec == '13' ? 'BIST:TATEN' : grupSec == '14' ? 'BIST:USAK' : grupSec == 'ÖZEL LİSTE 1' ? s04 : grupSec == 'ÖZEL LİSTE 2' ? s44 : grupSec == 'ÖZEL LİSTE 3' ? s84 : na
a05 = grupSec == '1' ? 'BIST:ADGYO' : grupSec == '2' ? 'BIST:ARTMS' : grupSec == '3' ? 'BIST:BIZIM' : grupSec == '4' ? 'BIST:CMBTN' : grupSec == '5' ? 'BIST:EDATA' : grupSec == '6' ? 'BIST:FORTE' : grupSec == '7' ? 'BIST:HUBVC' : grupSec == '8' ? 'BIST:KARSN' : grupSec == '9' ? 'BIST:KTLEV' : grupSec == '10' ? 'BIST:MNDRS' : grupSec == '11' ? 'BIST:PAPIL' : grupSec == '12' ? 'BIST:SAMAT' : grupSec == '13' ? 'BIST:TAVHL' : grupSec == '14' ? 'BIST:INTEK' : grupSec == 'ÖZEL LİSTE 1' ? s05 : grupSec == 'ÖZEL LİSTE 2' ? s45 : grupSec == 'ÖZEL LİSTE 3' ? s85 : na
a06 = grupSec == '1' ? 'BIST:AEFES' : grupSec == '2' ? 'BIST:ARZUM' : grupSec == '3' ? 'BIST:BIGCH' : grupSec == '4' ? 'BIST:CMENT' : grupSec == '5' ? 'BIST:EDIP' : grupSec == '6' ? 'BIST:FRIGO' : grupSec == '7' ? 'BIST:HUNER' : grupSec == '8' ? 'BIST:KARTN' : grupSec == '9' ? 'BIST:KTSKR' : grupSec == '10' ? 'BIST:MNDTR' : grupSec == '11' ? 'BIST:PARSN' : grupSec == '12' ? 'BIST:SANEL' : grupSec == '13' ? 'BIST:TBORG' : grupSec == '14' ? 'BIST:VAKBN' : grupSec == 'ÖZEL LİSTE 1' ? s06 : grupSec == 'ÖZEL LİSTE 2' ? s46 : grupSec == 'ÖZEL LİSTE 3' ? s86 : na
a07 = grupSec == '1' ? 'BIST:AFYON' : grupSec == '2' ? 'BIST:ASELS' : grupSec == '3' ? 'BIST:BIMAS' : grupSec == '4' ? 'BIST:CONSE' : grupSec == '5' ? 'BIST:EGEEN' : grupSec == '6' ? 'BIST:FROTO' : grupSec == '7' ? 'BIST:HURGZ' : grupSec == '8' ? 'BIST:KARYE' : grupSec == '9' ? 'BIST:KUTPO' : grupSec == '10' ? 'BIST:MOBTL' : grupSec == '11' ? 'BIST:PASEU' : grupSec == '12' ? 'BIST:SANFM' : grupSec == '13' ? 'BIST:TCELL' : grupSec == '14' ? 'BIST:VAKFN' : grupSec == 'ÖZEL LİSTE 1' ? s07 : grupSec == 'ÖZEL LİSTE 2' ? s47 : grupSec == 'ÖZEL LİSTE 3' ? s87 : na
a08 = grupSec == '1' ? 'BIST:AGESA' : grupSec == '2' ? 'BIST:ASGYO' : grupSec == '3' ? 'BIST:BINHO' : grupSec == '4' ? 'BIST:COSMO' : grupSec == '5' ? 'BIST:EGEPO' : grupSec == '6' ? 'BIST:FZLGY' : grupSec == '7' ? 'BIST:ICBCT' : grupSec == '8' ? 'BIST:KATMR' : grupSec == '9' ? 'BIST:KUVVA' : grupSec == '10' ? 'BIST:MOGAN' : grupSec == '11' ? 'BIST:PATEK' : grupSec == '12' ? 'BIST:SANKO' : grupSec == '13' ? 'BIST:TDGYO' : grupSec == '14' ? 'BIST:VAKKO' : grupSec == 'ÖZEL LİSTE 1' ? s08 : grupSec == 'ÖZEL LİSTE 2' ? s48 : grupSec == 'ÖZEL LİSTE 3' ? s88 : na
a09 = grupSec == '1' ? 'BIST:AGHOL' : grupSec == '2' ? 'BIST:ASTOR' : grupSec == '3' ? 'BIST:BIOEN' : grupSec == '4' ? 'BIST:CRDFA' : grupSec == '5' ? 'BIST:EGGUB' : grupSec == '6' ? 'BIST:GARAN' : grupSec == '7' ? 'BIST:ICUGS' : grupSec == '8' ? 'BIST:KAYSE' : grupSec == '9' ? 'BIST:KUYAS' : grupSec == '10' ? 'BIST:MPARK' : grupSec == '11' ? 'BIST:PCILT' : grupSec == '12' ? 'BIST:SARKY' : grupSec == '13' ? 'BIST:TEKTU' : grupSec == '14' ? 'BIST:VANGD' : grupSec == 'ÖZEL LİSTE 1' ? s09 : grupSec == 'ÖZEL LİSTE 2' ? s49 : grupSec == 'ÖZEL LİSTE 3' ? s89 : na
a101 = grupSec == '1' ? 'BIST:AGROT' : grupSec == '2' ? 'BIST:ASUZU' : grupSec == '3' ? 'BIST:BIZIM' : grupSec == '4' ? 'BIST:CRFSA' : grupSec == '5' ? 'BIST:EGPRO' : grupSec == '6' ? 'BIST:GARFA' : grupSec == '7' ? 'BIST:IDGYO' : grupSec == '8' ? 'BIST:KBORU' : grupSec == '9' ? 'BIST:KZBGY' : grupSec == '10' ? 'BIST:MRGYO' : grupSec == '11' ? 'BIST:BEGYO' : grupSec == '12' ? 'BIST:SASA' : grupSec == '13' ? 'BIST:TERA' : grupSec == '14' ? 'BIST:VBTYZ' : grupSec == 'ÖZEL LİSTE 1' ? s10 : grupSec == 'ÖZEL LİSTE 2' ? s50 : grupSec == 'ÖZEL LİSTE 3' ? s90 : na
a11 = grupSec == '1' ? 'BIST:AGYO' : grupSec == '2' ? 'BIST:ATAGY' : grupSec == '3' ? 'BIST:BJKAS' : grupSec == '4' ? 'BIST:CUSAN' : grupSec == '5' ? 'BIST:EGSER' : grupSec == '6' ? 'BIST:GEDIK' : grupSec == '7' ? 'BIST:IEYHO' : grupSec == '8' ? 'BIST:KCAER' : grupSec == '9' ? 'BIST:KZGYO' : grupSec == '10' ? 'BIST:MRSHL' : grupSec == '11' ? 'BIST:PEKGY' : grupSec == '12' ? 'BIST:SAYAS' : grupSec == '13' ? 'BIST:LYDYE' : grupSec == '14' ? 'BIST:VERTU' : grupSec == 'ÖZEL LİSTE 1' ? s11 : grupSec == 'ÖZEL LİSTE 2' ? s51 : grupSec == 'ÖZEL LİSTE 3' ? s91 : na
a12 = grupSec == '1' ? 'BIST:AHGAZ' : grupSec == '2' ? 'BIST:ATAKP' : grupSec == '3' ? 'BIST:BLCYT' : grupSec == '4' ? 'BIST:CVKMD' : grupSec == '5' ? 'BIST:EKGYO' : grupSec == '6' ? 'BIST:GEDZA' : grupSec == '7' ? 'BIST:IHAAS' : grupSec == '8' ? 'BIST:KCHOL' : grupSec == '9' ? 'BIST:LIDER' : grupSec == '10' ? 'BIST:MSGYO' : grupSec == '11' ? 'BIST:PENGD' : grupSec == '12' ? 'BIST:SDTTR' : grupSec == '13' ? 'BIST:TEZOL' : grupSec == '14' ? 'BIST:VERUS' : grupSec == 'ÖZEL LİSTE 1' ? s12 : grupSec == 'ÖZEL LİSTE 2' ? s52 : grupSec == 'ÖZEL LİSTE 3' ? s92 : na
a13 = grupSec == '1' ? 'BIST:AKBNK' : grupSec == '2' ? 'BIST:ATATP' : grupSec == '3' ? 'BIST:BMSCH' : grupSec == '4' ? 'BIST:CWENE' : grupSec == '5' ? 'BIST:EKIZ' : grupSec == '6' ? 'BIST:GENIL' : grupSec == '7' ? 'BIST:IHEVA' : grupSec == '8' ? 'BIST:KENT' : grupSec == '9' ? 'BIST:LIDFA' : grupSec == '10' ? 'BIST:MTRKS' : grupSec == '11' ? 'BIST:PENTA' : grupSec == '12' ? 'BIST:SEGYO' : grupSec == '13' ? 'BIST:TGSAS' : grupSec == '14' ? 'BIST:VESBE' : grupSec == 'ÖZEL LİSTE 1' ? s13 : grupSec == 'ÖZEL LİSTE 2' ? s53 : grupSec == 'ÖZEL LİSTE 3' ? s93 : na
a14 = grupSec == '1' ? 'BIST:AKCNS' : grupSec == '2' ? 'BIST:ATEKS' : grupSec == '3' ? 'BIST:BMSTL' : grupSec == '4' ? 'BIST:TRHOL' : grupSec == '5' ? 'BIST:EKOS' : grupSec == '6' ? 'BIST:GENTS' : grupSec == '7' ? 'BIST:IHGZT' : grupSec == '8' ? 'BIST:KERVN' : grupSec == '9' ? 'BIST:LINK' : grupSec == '10' ? 'BIST:MTRYO' : grupSec == '11' ? 'BIST:PETKM' : grupSec == '12' ? 'BIST:SEKFK' : grupSec == '13' ? 'BIST:THYAO' : grupSec == '14' ? 'BIST:VESTL' : grupSec == 'ÖZEL LİSTE 1' ? s14 : grupSec == 'ÖZEL LİSTE 2' ? s54 : grupSec == 'ÖZEL LİSTE 3' ? s94 : na
a15 = grupSec == '1' ? 'BIST:AKENR' : grupSec == '2' ? 'BIST:ATLAS' : grupSec == '3' ? 'BIST:BNTAS' : grupSec == '4' ? 'BIST:DAGI' : grupSec == '5' ? 'BIST:EKSUN' : grupSec == '6' ? 'BIST:GEREL' : grupSec == '7' ? 'BIST:IHLAS' : grupSec == '8' ? 'BIST:KERVT' : grupSec == '9' ? 'BIST:LKMNH' : grupSec == '10' ? 'BIST:MZHLD' : grupSec == '11' ? 'BIST:PETUN' : grupSec == '12' ? 'BIST:SEKUR' : grupSec == '13' ? 'BIST:TKFEN' : grupSec == '14' ? 'BIST:VKFYO' : grupSec == 'ÖZEL LİSTE 1' ? s15 : grupSec == 'ÖZEL LİSTE 2' ? s55 : grupSec == 'ÖZEL LİSTE 3' ? s95 : na
a16 = grupSec == '1' ? 'BIST:AKFGY' : grupSec == '2' ? 'BIST:ATSYH' : grupSec == '3' ? 'BIST:BOBET' : grupSec == '4' ? 'BIST:DAPGM' : grupSec == '5' ? 'BIST:ELITE' : grupSec == '6' ? 'BIST:GESAN' : grupSec == '7' ? 'BIST:IHLGM' : grupSec == '8' ? 'BIST:KFEIN' : grupSec == '9' ? 'BIST:LMKDC' : grupSec == '10' ? 'BIST:NATEN' : grupSec == '11' ? 'BIST:PGSUS' : grupSec == '12' ? 'BIST:SELEC' : grupSec == '13' ? 'BIST:TKNSA' : grupSec == '14' ? 'BIST:VKGYO' : grupSec == 'ÖZEL LİSTE 1' ? s16 : grupSec == 'ÖZEL LİSTE 2' ? s56 : grupSec == 'ÖZEL LİSTE 3' ? s96 : na
a17 = grupSec == '1' ? 'BIST:AKFYE' : grupSec == '2' ? 'BIST:AVGYO' : grupSec == '3' ? 'BIST:BORLS' : grupSec == '4' ? 'BIST:DARDL' : grupSec == '5' ? 'BIST:EMKEL' : grupSec == '6' ? 'BIST:GIPTA' : grupSec == '7' ? 'BIST:IHYAY' : grupSec == '8' ? 'BIST:KGYO' : grupSec == '9' ? 'BIST:LOGO' : grupSec == '10' ? 'BIST:NETAS' : grupSec == '11' ? 'BIST:PINSU' : grupSec == '12' ? 'BIST:SELGD' : grupSec == '13' ? 'BIST:TLMAN' : grupSec == '14' ? 'BIST:VKING' : grupSec == 'ÖZEL LİSTE 1' ? s17 : grupSec == 'ÖZEL LİSTE 2' ? s57 : grupSec == 'ÖZEL LİSTE 3' ? s97 : na
a188 = grupSec == '1' ? 'BIST:AKGRT' : grupSec == '2' ? 'BIST:AVHOL' : grupSec == '3' ? 'BIST:BORSK' : grupSec == '4' ? 'BIST:DENGE' : grupSec == '5' ? 'BIST:EMNIS' : grupSec == '6' ? 'BIST:GLBMD' : grupSec == '7' ? 'BIST:IMASM' : grupSec == '8' ? 'BIST:KIMMR' : grupSec == '9' ? 'BIST:LRSHO' : grupSec == '10' ? 'BIST:NIBAS' : grupSec == '11' ? 'BIST:PKART' : grupSec == '12' ? 'BIST:SELVA' : grupSec == '13' ? 'BIST:TMPOL' : grupSec == '14' ? 'BIST:VRGYO' : grupSec == 'ÖZEL LİSTE 1' ? s18 : grupSec == 'ÖZEL LİSTE 2' ? s58 : grupSec == 'ÖZEL LİSTE 3' ? s98 : na
a19 = grupSec == '1' ? 'BIST:AKMGY' : grupSec == '2' ? 'BIST:AVOD' : grupSec == '3' ? 'BIST:BOSSA' : grupSec == '4' ? 'BIST:TRHOL' : grupSec == '5' ? 'BIST:ENERY' : grupSec == '6' ? 'BIST:GLCVY' : grupSec == '7' ? 'BIST:INDES' : grupSec == '8' ? 'BIST:KLGYO' : grupSec == '9' ? 'BIST:LUKSK' : grupSec == '10' ? 'BIST:NTGAZ' : grupSec == '11' ? 'BIST:PKENT' : grupSec == '12' ? 'BIST:SEYKM' : grupSec == '13' ? 'BIST:TMSN' : grupSec == '14' ? 'BIST:YAPRK' : grupSec == 'ÖZEL LİSTE 1' ? s19 : grupSec == 'ÖZEL LİSTE 2' ? s59 : grupSec == 'ÖZEL LİSTE 3' ? s99 : na
a20 = grupSec == '1' ? 'BIST:AKSA' : grupSec == '2' ? 'BIST:AVPGY' : grupSec == '3' ? 'BIST:BRISA' : grupSec == '4' ? 'BIST:DERIM' : grupSec == '5' ? 'BIST:ENJSA' : grupSec == '6' ? 'BIST:GLRYH' : grupSec == '7' ? 'BIST:INFO' : grupSec == '8' ? 'BIST:KLKIM' : grupSec == '9' ? 'BIST:MAALT' : grupSec == '10' ? 'BIST:NTHOL' : grupSec == '11' ? 'BIST:PLTUR' : grupSec == '12' ? 'BIST:SILVR' : grupSec == '13' ? 'BIST:TNZTP' : grupSec == '14' ? 'BIST:YATAS' : grupSec == 'ÖZEL LİSTE 1' ? s20 : grupSec == 'ÖZEL LİSTE 2' ? s60 : grupSec == 'ÖZEL LİSTE 3' ? s100 : na
a21 = grupSec == '1' ? 'BIST:AKSEN' : grupSec == '2' ? 'BIST:AVTUR' : grupSec == '3' ? 'BIST:BRKO' : grupSec == '4' ? 'BIST:DESA' : grupSec == '5' ? 'BIST:ENKAI' : grupSec == '6' ? 'BIST:GLYHO' : grupSec == '7' ? 'BIST:INGRM' : grupSec == '8' ? 'BIST:KLMSN' : grupSec == '9' ? 'BIST:MACKO' : grupSec == '10' ? 'BIST:NUGYO' : grupSec == '11' ? 'BIST:PNLSN' : grupSec == '12' ? 'BIST:SISE' : grupSec == '13' ? 'BIST:TOASO' : grupSec == '14' ? 'BIST:YAYLA' : grupSec == 'ÖZEL LİSTE 1' ? s21 : grupSec == 'ÖZEL LİSTE 2' ? s61 : grupSec == 'ÖZEL LİSTE 3' ? s101 : na
a22 = grupSec == '1' ? 'BIST:AKSGY' : grupSec == '2' ? 'BIST:AYCES' : grupSec == '3' ? 'BIST:BRKSN' : grupSec == '4' ? 'BIST:DESPC' : grupSec == '5' ? 'BIST:ENSRI' : grupSec == '6' ? 'BIST:GMTAS' : grupSec == '7' ? 'BIST:INTEM' : grupSec == '8' ? 'BIST:KLNMA' : grupSec == '9' ? 'BIST:MAGEN' : grupSec == '10' ? 'BIST:NUHCM' : grupSec == '11' ? 'BIST:PNSUT' : grupSec == '12' ? 'BIST:SKBNK' : grupSec == '13' ? 'BIST:TRCAS' : grupSec == '14' ? 'BIST:YBTAS' : grupSec == 'ÖZEL LİSTE 1' ? s22 : grupSec == 'ÖZEL LİSTE 2' ? s62 : grupSec == 'ÖZEL LİSTE 3' ? s102 : na
a23 = grupSec == '1' ? 'BIST:AKSUE' : grupSec == '2' ? 'BIST:AYDEM' : grupSec == '3' ? 'BIST:BRKVY' : grupSec == '4' ? 'BIST:DEVA' : grupSec == '5' ? 'BIST:EPLAS' : grupSec == '6' ? 'BIST:GOKNR' : grupSec == '7' ? 'BIST:INVEO' : grupSec == '8' ? 'BIST:KLRHO' : grupSec == '9' ? 'BIST:MAKIM' : grupSec == '10' ? 'BIST:OBAMS' : grupSec == '11' ? 'BIST:POLHO' : grupSec == '12' ? 'BIST:SKTAS' : grupSec == '13' ? 'BIST:TRGYO' : grupSec == '14' ? 'BIST:YEOTK' : grupSec == 'ÖZEL LİSTE 1' ? s23 : grupSec == 'ÖZEL LİSTE 2' ? s63 : grupSec == 'ÖZEL LİSTE 3' ? s103 : na
a24 = grupSec == '1' ? 'BIST:AKYHO' : grupSec == '2' ? 'BIST:AYEN' : grupSec == '3' ? 'BIST:BRLSM' : grupSec == '4' ? 'BIST:DGATE' : grupSec == '5' ? 'BIST:ERBOS' : grupSec == '6' ? 'BIST:GOLTS' : grupSec == '7' ? 'BIST:INVES' : grupSec == '8' ? 'BIST:KLSER' : grupSec == '9' ? 'BIST:MAKTK' : grupSec == '10' ? 'BIST:OBASE' : grupSec == '11' ? 'BIST:POLTK' : grupSec == '12' ? 'BIST:SKYLP' : grupSec == '13' ? 'BIST:TRILC' : grupSec == '14' ? 'BIST:YESIL' : grupSec == 'ÖZEL LİSTE 1' ? s24 : grupSec == 'ÖZEL LİSTE 2' ? s64 : grupSec == 'ÖZEL LİSTE 3' ? s104 : na
a25 = grupSec == '1' ? 'BIST:ALARK' : grupSec == '2' ? 'BIST:AYES' : grupSec == '3' ? 'BIST:BRMEN' : grupSec == '4' ? 'BIST:DGGYO' : grupSec == '5' ? 'BIST:ERCB' : grupSec == '6' ? 'BIST:GOODY' : grupSec == '7' ? 'BIST:TRENJ' : grupSec == '8' ? 'BIST:KLSYN' : grupSec == '9' ? 'BIST:MANAS' : grupSec == '10' ? 'BIST:ODAS' : grupSec == '11' ? 'BIST:PRDGS' : grupSec == '12' ? 'BIST:SKYMD' : grupSec == '13' ? 'BIST:TSGYO' : grupSec == '14' ? 'BIST:YGGYO' : grupSec == 'ÖZEL LİSTE 1' ? s25 : grupSec == 'ÖZEL LİSTE 2' ? s65 : grupSec == 'ÖZEL LİSTE 3' ? s105 : na
a26 = grupSec == '1' ? 'BIST:ALBRK' : grupSec == '2' ? 'BIST:AYGAZ' : grupSec == '3' ? 'BIST:BRSAN' : grupSec == '4' ? 'BIST:DGNMO' : grupSec == '5' ? 'BIST:EREGL' : grupSec == '6' ? 'BIST:GOZDE' : grupSec == '7' ? 'BIST:ISATR' : grupSec == '8' ? 'BIST:KMPUR' : grupSec == '9' ? 'BIST:MARBL' : grupSec == '10' ? 'BIST:OFSYM' : grupSec == '11' ? 'BIST:PRKAB' : grupSec == '12' ? 'BIST:SMART' : grupSec == '13' ? 'BIST:TSKB' : grupSec == '14' ? 'BIST:YGYO' : grupSec == 'ÖZEL LİSTE 1' ? s26 : grupSec == 'ÖZEL LİSTE 2' ? s66 : grupSec == 'ÖZEL LİSTE 3' ? s106 : na
a27 = grupSec == '1' ? 'BIST:ALCAR' : grupSec == '2' ? 'BIST:AZTEK' : grupSec == '3' ? 'BIST:BRYAT' : grupSec == '4' ? 'BIST:DIRIT' : grupSec == '5' ? 'BIST:ERSU' : grupSec == '6' ? 'BIST:GRNYO' : grupSec == '7' ? 'BIST:ISBIR' : grupSec == '8' ? 'BIST:KNFRT' : grupSec == '9' ? 'BIST:MARKA' : grupSec == '10' ? 'BIST:ONCSM' : grupSec == '11' ? 'BIST:PRKME' : grupSec == '12' ? 'BIST:SMRTG' : grupSec == '13' ? 'BIST:TTKOM' : grupSec == '14' ? 'BIST:YKBNK' : grupSec == 'ÖZEL LİSTE 1' ? s27 : grupSec == 'ÖZEL LİSTE 2' ? s67 : grupSec == 'ÖZEL LİSTE 3' ? s107 : na
a288 = grupSec == '1' ? 'BIST:ALCTL' : grupSec == '2' ? 'BIST:BAGFS' : grupSec == '3' ? 'BIST:BSOKE' : grupSec == '4' ? 'BIST:DITAS' : grupSec == '5' ? 'BIST:ESCAR' : grupSec == '6' ? 'BIST:GRSEL' : grupSec == '7' ? 'BIST:ISBTR' : grupSec == '8' ? 'BIST:KONKA' : grupSec == '9' ? 'BIST:MARTI' : grupSec == '10' ? 'BIST:ORCAY' : grupSec == '11' ? 'BIST:PRZMA' : grupSec == '12' ? 'BIST:SNGYO' : grupSec == '13' ? 'BIST:TTKOM' : grupSec == '14' ? 'BIST:YKSLN' : grupSec == 'ÖZEL LİSTE 1' ? s28 : grupSec == 'ÖZEL LİSTE 2' ? s68 : grupSec == 'ÖZEL LİSTE 3' ? s108 : na
a29 = grupSec == '1' ? 'BIST:ALFAS' : grupSec == '2' ? 'BIST:BAKAB' : grupSec == '3' ? 'BIST:BTCIM' : grupSec == '4' ? 'BIST:DMRGD' : grupSec == '5' ? 'BIST:ESCOM' : grupSec == '6' ? 'BIST:GRTHO' : grupSec == '7' ? 'BIST:ISCTR' : grupSec == '8' ? 'BIST:KONTR' : grupSec == '9' ? 'BIST:MAVI' : grupSec == '10' ? 'BIST:ORGE' : grupSec == '11' ? 'BIST:PSDTC' : grupSec == '12' ? 'BIST:SNICA' : grupSec == '13' ? 'BIST:TTRAK' : grupSec == '14' ? 'BIST:YONGA' : grupSec == 'ÖZEL LİSTE 1' ? s29 : grupSec == 'ÖZEL LİSTE 2' ? s69 : grupSec == 'ÖZEL LİSTE 3' ? s109 : na
a30 = grupSec == '1' ? 'BIST:ALGYO' : grupSec == '2' ? 'BIST:BALAT' : grupSec == '3' ? 'BIST:BUCIM' : grupSec == '4' ? 'BIST:DMSAS' : grupSec == '5' ? 'BIST:ESEN' : grupSec == '6' ? 'BIST:GSDDE' : grupSec == '7' ? 'BIST:ISDMR' : grupSec == '8' ? 'BIST:KONYA' : grupSec == '9' ? 'BIST:MEDTR' : grupSec == '10' ? 'BIST:ORMA' : grupSec == '11' ? 'BIST:PSGYO' : grupSec == '12' ? 'BIST:SNKRN' : grupSec == '13' ? 'BIST:TUCLK' : grupSec == '14' ? 'BIST:YUNSA' : grupSec == 'ÖZEL LİSTE 1' ? s30 : grupSec == 'ÖZEL LİSTE 2' ? s70 : grupSec == 'ÖZEL LİSTE 3' ? s110 : na
a31 = grupSec == '1' ? 'BIST:ALKA' : grupSec == '2' ? 'BIST:BANVT' : grupSec == '3' ? 'BIST:BURCE' : grupSec == '4' ? 'BIST:DNISI' : grupSec == '5' ? 'BIST:ETILR' : grupSec == '6' ? 'BIST:GSDHO' : grupSec == '7' ? 'BIST:ISFIN' : grupSec == '8' ? 'BIST:KOPOL' : grupSec == '9' ? 'BIST:MEGAP' : grupSec == '10' ? 'BIST:OSMEN' : grupSec == '11' ? 'BIST:QNBTR' : grupSec == '12' ? 'BIST:SNPAM' : grupSec == '13' ? 'BIST:TUKAS' : grupSec == '14' ? 'BIST:YYAPI' : grupSec == 'ÖZEL LİSTE 1' ? s31 : grupSec == 'ÖZEL LİSTE 2' ? s71 : grupSec == 'ÖZEL LİSTE 3' ? s111 : na
a32 = grupSec == '1' ? 'BIST:ALKIM' : grupSec == '2' ? 'BIST:BARMA' : grupSec == '3' ? 'BIST:BURVA' : grupSec == '4' ? 'BIST:DOAS' : grupSec == '5' ? 'BIST:ETYAT' : grupSec == '6' ? 'BIST:GSRAY' : grupSec == '7' ? 'BIST:ISGSY' : grupSec == '8' ? 'BIST:KORDS' : grupSec == '9' ? 'BIST:MEGMT' : grupSec == '10' ? 'BIST:OSTIM' : grupSec == '11' ? 'BIST:QNBTR' : grupSec == '12' ? 'BIST:SODSN' : grupSec == '13' ? 'BIST:TUPRS' : grupSec == '14' ? 'BIST:YYLGD' : grupSec == 'ÖZEL LİSTE 1' ? s32 : grupSec == 'ÖZEL LİSTE 2' ? s72 : grupSec == 'ÖZEL LİSTE 3' ? s112 : na
a33 = grupSec == '1' ? 'BIST:ALMAD' : grupSec == '2' ? 'BIST:BASCM' : grupSec == '3' ? 'BIST:BVSAN' : grupSec == '4' ? 'BIST:DOBUR' : grupSec == '5' ? 'BIST:EUHOL' : grupSec == '6' ? 'BIST:GUBRF' : grupSec == '7' ? 'BIST:ISGYO' : grupSec == '8' ? 'BIST:TRMET' : grupSec == '9' ? 'BIST:MEKAG' : grupSec == '10' ? 'BIST:OTKAR' : grupSec == '11' ? 'BIST:QUAGR' : grupSec == '12' ? 'BIST:SOKE' : grupSec == '13' ? 'BIST:TUREX' : grupSec == '14' ? 'BIST:ZEDUR' : grupSec == 'ÖZEL LİSTE 1' ? s33 : grupSec == 'ÖZEL LİSTE 2' ? s73 : grupSec == 'ÖZEL LİSTE 3' ? s113 : na
a34 = grupSec == '1' ? 'BIST:ALTIN' : grupSec == '2' ? 'BIST:BASGZ' : grupSec == '3' ? 'BIST:BYDNR' : grupSec == '4' ? 'BIST:DOCO' : grupSec == '5' ? 'BIST:EUKYO' : grupSec == '6' ? 'BIST:GWIND' : grupSec == '7' ? 'BIST:ISKPL' : grupSec == '8' ? 'BIST:TRALT' : grupSec == '9' ? 'BIST:MEPET' : grupSec == '10' ? 'BIST:OTTO' : grupSec == '11' ? 'BIST:RALYH' : grupSec == '12' ? 'BIST:SOKM' : grupSec == '13' ? 'BIST:TURGG' : grupSec == '14' ? 'BIST:ZOREN' : grupSec == 'ÖZEL LİSTE 1' ? s34 : grupSec == 'ÖZEL LİSTE 2' ? s74 : grupSec == 'ÖZEL LİSTE 3' ? s114 : na
a35 = grupSec == '1' ? 'BIST:ALVES' : grupSec == '2' ? 'BIST:BAYRK' : grupSec == '3' ? 'BIST:CANTE' : grupSec == '4' ? 'BIST:DOFER' : grupSec == '5' ? 'BIST:EUPWR' : grupSec == '6' ? 'BIST:GZNMI' : grupSec == '7' ? 'BIST:ISKUR' : grupSec == '8' ? 'BIST:KRDMA' : grupSec == '9' ? 'BIST:MERCN' : grupSec == '10' ? 'BIST:OYAKC' : grupSec == '11' ? 'BIST:RAYSG' : grupSec == '12' ? 'BIST:SONME' : grupSec == '13' ? 'BIST:TURSG' : grupSec == '14' ? '' : grupSec == 'ÖZEL LİSTE 1' ? s35 : grupSec == 'ÖZEL LİSTE 2' ? s75 : grupSec == 'ÖZEL LİSTE 3' ? s115 : na
a36 = grupSec == '1' ? 'BIST:ANELE' : grupSec == '2' ? 'BIST:BEGYO' : grupSec == '3' ? 'BIST:CASA' : grupSec == '4' ? 'BIST:DOGUB' : grupSec == '5' ? 'BIST:EUREN' : grupSec == '6' ? 'BIST:HALKB' : grupSec == '7' ? 'BIST:ISMEN' : grupSec == '8' ? 'BIST:KRDMB' : grupSec == '9' ? 'BIST:MERIT' : grupSec == '10' ? 'BIST:OYAYO' : grupSec == '11' ? 'BIST:REEDR' : grupSec == '12' ? 'BIST:SRVGY' : grupSec == '13' ? 'BIST:UFUK' : grupSec == '14' ? '' : grupSec == 'ÖZEL LİSTE 1' ? s36 : grupSec == 'ÖZEL LİSTE 2' ? s76 : grupSec == 'ÖZEL LİSTE 3' ? s116 : na
a37 = grupSec == '1' ? 'BIST:ANGEN' : grupSec == '2' ? 'BIST:BERA' : grupSec == '3' ? 'BIST:CATES' : grupSec == '4' ? 'BIST:DOHOL' : grupSec == '5' ? 'BIST:EUYO' : grupSec == '6' ? 'BIST:HATEK' : grupSec == '7' ? 'BIST:ISSEN' : grupSec == '8' ? 'BIST:KRDMD' : grupSec == '9' ? 'BIST:MERKO' : grupSec == '10' ? 'BIST:OYLUM' : grupSec == '11' ? 'BIST:RNPOL' : grupSec == '12' ? 'BIST:SUMAS' : grupSec == '13' ? 'BIST:ULAS' : grupSec == '14' ? '' : grupSec == 'ÖZEL LİSTE 1' ? s37 : grupSec == 'ÖZEL LİSTE 2' ? s77 : grupSec == 'ÖZEL LİSTE 3' ? s117 : na
a388 = grupSec == '1' ? 'BIST:ANHYT' : grupSec == '2' ? 'BIST:BEYAZ' : grupSec == '3' ? 'BIST:CCOLA' : grupSec == '4' ? 'BIST:DOKTA' : grupSec == '5' ? 'BIST:EYGYO' : grupSec == '6' ? 'BIST:HATSN' : grupSec == '7' ? 'BIST:IZENR' : grupSec == '8' ? 'BIST:KRGYO' : grupSec == '9' ? 'BIST:METRO' : grupSec == '10' ? 'BIST:OYYAT' : grupSec == '11' ? 'BIST:RODRG' : grupSec == '12' ? 'BIST:SUNTK' : grupSec == '13' ? 'BIST:ULKER' : grupSec == '14' ? '' : grupSec == 'ÖZEL LİSTE 1' ? s38 : grupSec == 'ÖZEL LİSTE 2' ? s78 : grupSec == 'ÖZEL LİSTE 3' ? s118 : na
a39 = grupSec == '1' ? 'BIST:ANSGR' : grupSec == '2' ? 'BIST:BFREN' : grupSec == '3' ? 'BIST:CELHA' : grupSec == '4' ? 'BIST:DURDO' : grupSec == '5' ? 'BIST:FADE' : grupSec == '6' ? 'BIST:HDFGS' : grupSec == '7' ? 'BIST:IZFAS' : grupSec == '8' ? 'BIST:KRONT' : grupSec == '9' ? 'BIST:METUR' : grupSec == '10' ? 'BIST:OZGYO' : grupSec == '11' ? 'BIST:RTALB' : grupSec == '12' ? 'BIST:SURGY' : grupSec == '13' ? 'BIST:ULUFA' : grupSec == '14' ? '' : grupSec == 'ÖZEL LİSTE 1' ? s39 : grupSec == 'ÖZEL LİSTE 2' ? s79 : grupSec == 'ÖZEL LİSTE 3' ? s119 : na
a40 = grupSec == '1' ? 'BIST:ARASE' : grupSec == '2' ? 'BIST:BIENY' : grupSec == '3' ? 'BIST:CEMAS' : grupSec == '4' ? 'BIST:DYOBY' : grupSec == '5' ? 'BIST:FENER' : grupSec == '6' ? 'BIST:HEDEF' : grupSec == '7' ? 'BIST:IZINV' : grupSec == '8' ? 'BIST:KRPLS' : grupSec == '9' ? 'BIST:MGROS' : grupSec == '10' ? 'BIST:OZKGY' : grupSec == '11' ? 'BIST:RUBNS' : grupSec == '12' ? 'BIST:SUWEN' : grupSec == '13' ? 'BIST:ULUSE' : grupSec == '14' ? '' : grupSec == 'ÖZEL LİSTE 1' ? s40 : grupSec == 'ÖZEL LİSTE 2' ? s80 : grupSec == 'ÖZEL LİSTE 3' ? s120 : na
////////////////////
[c01_1, c01_2] = request.security(a01, per, func())
[c02_1, c02_2] = request.security(a02, per, func())
[c03_1, c03_2] = request.security(a03, per, func())
[c04_1, c04_2] = request.security(a04, per, func())
[c05_1, c05_2] = request.security(a05, per, func())
[c06_1, c06_2] = request.security(a06, per, func())
[c07_1, c07_2] = request.security(a07, per, func())
[c08_1, c08_2] = request.security(a08, per, func())
[c09_1, c09_2] = request.security(a09, per, func())
[c10_1, c10_2] = request.security(a101, per, func())
[c11_1, c11_2] = request.security(a11, per, func())
[c12_1, c12_2] = request.security(a12, per, func())
[c13_1, c13_2] = request.security(a13, per, func())
[c14_1, c14_2] = request.security(a14, per, func())
[c15_1, c15_2] = request.security(a15, per, func())
[c16_1, c16_2] = request.security(a16, per, func())
[c17_1, c17_2] = request.security(a17, per, func())
[c18_1, c18_2] = request.security(a188, per, func())
[c19_1, c19_2] = request.security(a19, per, func())
[c20_1, c20_2] = request.security(a20, per, func())
[c21_1, c21_2] = request.security(a21, per, func())
[c22_1, c22_2] = request.security(a22, per, func())
[c23_1, c23_2] = request.security(a23, per, func())
[c24_1, c24_2] = request.security(a24, per, func())
[c25_1, c25_2] = request.security(a25, per, func())
[c26_1, c26_2] = request.security(a26, per, func())
[c27_1, c27_2] = request.security(a27, per, func())
[c28_1, c28_2] = request.security(a288, per, func())
[c29_1, c29_2] = request.security(a29, per, func())
[c30_1, c30_2] = request.security(a30, per, func())
[c31_1, c31_2] = request.security(a31, per, func())
[c32_1, c32_2] = request.security(a32, per, func())
[c33_1, c33_2] = request.security(a33, per, func())
[c34_1, c34_2] = request.security(a34, per, func())
[c35_1, c35_2] = request.security(a35, per, func())
[c36_1, c36_2] = request.security(a36, per, func())
[c37_1, c37_2] = request.security(a37, per, func())
[c38_1, c38_2] = request.security(a388, per, func())
[c39_1, c39_2] = request.security(a39, per, func())
[c40_1, c40_2] = request.security(a40, per, func())
// Compose screener label //
scr_label1 = 'Box Altı \n'
scr_label1 := c01_1 ? scr_label1 + a01 + ' ' + ' ' + '\n': scr_label1
scr_label1 := c02_1 ? scr_label1 + a02 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c03_1 ? scr_label1 + a03 + ' ' + ' ' + '\n': scr_label1
scr_label1 := c04_1 ? scr_label1 + a04 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c05_1 ? scr_label1 + a05 + ' ' + ' ' + '\n':scr_label1
scr_label1 := c06_1 ? scr_label1 + a06 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c07_1 ? scr_label1 + a07 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c08_1 ? scr_label1 + a08 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c09_1 ? scr_label1 + a09 + ' ' + ' ' + '\n': scr_label1
scr_label1 := c10_1 ? scr_label1 + a101 + ' ' + ' ' + '\n': scr_label1
scr_label1 := c11_1 ? scr_label1 + a11 + ' ' + ' ' + '\n': scr_label1
scr_label1 := c12_1 ? scr_label1 + a12 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c13_1 ? scr_label1 + a13 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c14_1 ? scr_label1 + a14 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c15_1 ? scr_label1 + a15 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c16_1 ? scr_label1 + a16 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c17_1 ? scr_label1 + a17 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c18_1 ? scr_label1 + a188 + ' ' + ' ' + '\n': scr_label1
scr_label1 := c19_1 ? scr_label1 + a19 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c20_1 ? scr_label1 + a20 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c21_1 ? scr_label1 + a21 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c22_1 ? scr_label1 + a22 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c23_1 ? scr_label1 + a23 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c24_1 ? scr_label1 + a24 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c25_1 ? scr_label1 + a25 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c26_1 ? scr_label1 + a26 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c27_1 ? scr_label1 + a27 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c28_1 ? scr_label1 + a288 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c29_1 ? scr_label1 + a29 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c30_1 ? scr_label1 + a30 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c31_1 ? scr_label1 + a31 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c32_1 ? scr_label1 + a32 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c33_1 ? scr_label1 + a33 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c34_1 ? scr_label1 + a34 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c35_1 ? scr_label1 + a35 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c36_1 ? scr_label1 + a36 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c37_1 ? scr_label1 + a37 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c38_1 ? scr_label1 + a388 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c39_1 ? scr_label1 + a39 + ' ' + ' ' + '\n' : scr_label1
scr_label1 := c40_1 ? scr_label1 + a40 + ' ' + ' ' + '\n' : scr_label1
scr_label2 = 'Box Üzeri \n'
scr_label2 := c01_2 ? scr_label2 + a01 + ' ' + ' ' + '\n' : scr_label2
scr_label2 := c02_2 ? scr_label2 + a02 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c03_2 ? scr_label2 + a03 + ' ' + ' '+ '\n' : scr_label2
scr_label2 := c04_2 ? scr_label2 + a04 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c05_2 ? scr_label2 + a05 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c06_2 ? scr_label2 + a06 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c07_2 ? scr_label2 + a07 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c08_2 ? scr_label2 + a08 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c09_2 ? scr_label2 + a09 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c10_2 ? scr_label2 + a101+ ' ' + ' ' + '\n': scr_label2
scr_label2 := c11_2 ? scr_label2 + a11 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c12_2 ? scr_label2 + a12 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c13_2 ? scr_label2 + a13 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c14_2 ? scr_label2 + a14 + ' ' + ' '+ '\n' : scr_label2
scr_label2 := c15_2 ? scr_label2 + a15 + ' ' + ' '+ '\n' : scr_label2
scr_label2 := c16_2 ? scr_label2 + a16 + ' ' + ' '+ '\n' : scr_label2
scr_label2 := c17_2 ? scr_label2 + a17 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c18_2 ? scr_label2 + a188 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c19_2 ? scr_label2 + a19 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c20_2 ? scr_label2 + a20 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c21_2 ? scr_label2 + a21 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c22_2 ? scr_label2 + a22 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c23_2 ? scr_label2 + a23 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c24_2 ? scr_label2 + a24 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c25_2 ? scr_label2 + s25 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c26_2 ? scr_label2 + a26 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c27_2 ? scr_label2 + a27 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c28_2 ? scr_label2 + a288 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c29_2 ? scr_label2 + a29 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c30_2 ? scr_label2 + a30 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c31_2 ? scr_label2 + a31 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c32_2 ? scr_label2 + a32 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c33_2 ? scr_label2 + a33 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c34_2 ? scr_label2 + a34 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c35_2 ? scr_label2 + a35 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c36_2 ? scr_label2 + a36 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c37_2 ? scr_label2 + s37 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c38_2 ? scr_label2 + a388 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c39_2 ? scr_label2 + a39 + ' ' + ' ' + '\n': scr_label2
scr_label2 := c40_2 ? scr_label2 + a40 + ' ' + ' ' + '\n': scr_label2
////////////////////
// /////////////////////LABEL3
//scr_label3 = 'HİST[1] <= 0\n'
//scr_label3 := c01_3 ? scr_label3 + a01 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c02_3 ? scr_label3 + a02 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c03_3 ? scr_label3 + a03 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c04_3 ? scr_label3 + a04 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c05_3 ? scr_label3 + a05 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c06_3 ? scr_label3 + a06 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c07_3 ? scr_label3 + a07 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c08_3 ? scr_label3 + a08 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c09_3 ? scr_label3 + a09 + ' ' + ' ' + '\n' : scr_label3
//scr_label3 := c10_3 ? scr_label3 + a101 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c11_3 ? scr_label3 + a11 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c12_3 ? scr_label3 + a12 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c13_3 ? scr_label3 + a13 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c14_3 ? scr_label3 + a14 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c15_3 ? scr_label3 + a15 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c16_3 ? scr_label3 + a16 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c17_3 ? scr_label3 + a17 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c18_3 ? scr_label3 + a188 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c19_3 ? scr_label3 + a19 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c20_3 ? scr_label3 + a20 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c21_3 ? scr_label3 + a21 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c22_3 ? scr_label3 + a22 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c23_3 ? scr_label3 + a23 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c24_3 ? scr_label3 + a24 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c25_3 ? scr_label3 + s25 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c26_3 ? scr_label3 + a26 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c27_3 ? scr_label3 + a27 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c28_3 ? scr_label3 + a288 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c29_3 ? scr_label3 + a29 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c30_3 ? scr_label3 + a30 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c31_3 ? scr_label3 + a31 + ' ' + ' ' + '\n' : scr_label3
//scr_label3 := c32_3 ? scr_label3 + a32 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c33_3 ? scr_label3 + a33 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c34_3 ? scr_label3 + a34 + ' ' + ' ' + '\n' : scr_label3
//scr_label3 := c35_3 ? scr_label3 + a35 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c36_3 ? scr_label3 + a36 + ' ' + ' ' + '\n': scr_label3
///scr_label3 := c37_3 ? scr_label3 + s37 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c38_3 ? scr_label3 + a388 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c39_3 ? scr_label3 + a39 + ' ' + ' ' + '\n': scr_label3
//scr_label3 := c40_3 ? scr_label3 + a40 + ' ' + ' ' + '\n': scr_label3
// // /////////////////////LABEL4
scr_label4 = 'YEŞİL HİST\n'
//scr_label4 := c01_4 ? scr_label4 + a01 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c02_4 ? scr_label4 + a02 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c03_4 ? scr_label4 + a03 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c04_4 ? scr_label4 + a04 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c05_4 ? scr_label4 + a05 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c06_4 ? scr_label4 + a06 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c07_4 ? scr_label4 + a07 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c08_4 ? scr_label4 + a08 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c09_4 ? scr_label4 + a09 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c10_4 ? scr_label4 + a101 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c11_4 ? scr_label4 + a11 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c12_4 ? scr_label4 + a12 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c13_4 ? scr_label4 + a13 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c14_4 ? scr_label4 + a14 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c15_4 ? scr_label4 + a15 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c16_4 ? scr_label4 + a16 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c17_4 ? scr_label4 + a17 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c18_4 ? scr_label4 + a188 + ' ' + ' ' + '\n': scr_label4
////scr_label4 := c19_4 ? scr_label4 + a19 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c20_4 ? scr_label4 + a20 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c21_4 ? scr_label4 + a21 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c22_4 ? scr_label4 + a22 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c23_4 ? scr_label4 + a23 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c24_4 ? scr_label4 + a24 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c25_4 ? scr_label4 + s25 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c26_4 ? scr_label4 + a26 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c27_4 ? scr_label4 + a27 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c28_4 ? scr_label4 + a288 + ' ' + ' '+ '\n': scr_label4
//scr_label4 := c29_4 ? scr_label4 + a29 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c30_4 ? scr_label4 + a30 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c31_4 ? scr_label4 + a31 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c32_4 ? scr_label4 + a32 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c33_4 ? scr_label4 + a33 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c34_4 ? scr_label4 + a34 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c35_4 ? scr_label4 + a35 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c36_4 ? scr_label4 + a36 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c37_4 ? scr_label4 + s37 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c38_4 ? scr_label4 + a388 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c39_4 ? scr_label4 + a39 + ' ' + ' ' + '\n': scr_label4
//scr_label4 := c40_4 ? scr_label4 + a40 + ' ' + ' ' + '\n': scr_label4
scr_label1 := scr_label1 + '\n'
scr_label2 := scr_label2 + '\n'
//scr_label3 := scr_label3 + '\n'
//scr_label4 := scr_label4 + '\n'
lab_1 = label.new(bar_index + loc1, close, scr_label1, color=color.red, textcolor=color.white, style=label.style_label_center)
lab_2 = label.new(bar_index + loc2, close, scr_label2, color=color.green, textcolor=color.white, style=label.style_label_center)
//lab_3 = label.new(bar_index + loc3, 0, scr_label3, color=#03bbf8, textcolor=color.white, style=label.style_label_center)
//lab_4 = label.new(bar_index + loc4, 0, scr_label4, color=color.rgb(248, 3, 207), textcolor=color.white, style=label.style_label_center)
// Önceki etiketi sil
label.delete(lab_1[1])
label.delete(lab_2[1])
//label.delete(lab_3[1])
//label.delete(lab_4[1])
Bu Pine Script kodu, TradingView platformunda Darvas Box indikatörünü uygular ve ek olarak çoklu semboller için tarama (screener) özelliği ekler. Kodun yaptığı işler şunlardır:
Box uzunluğu (BOX LENGTH) parametresiyle (varsayılan 5 bar) Darvas Box'larını çizer.
Yeşil çizgi: Üst seviye (TopBox - Direnç)
Kırmızı çizgi: Alt seviye (BottomBox - Destek)
Box'lar, belirlenen bar sayısı içindeki yüksek ve düşük seviyelere göre hesaplanır.
TopBox Üzeri Kırılma: Fiyat üst box'ın üzerine çıkarsa
BottomBox Altı Kırılma: Fiyat alt box'ın altına düşerse
Herhangi Bir Box Kırılması: İki durumdan herhangi biri için alternatif alarm
Bu, kodun en karmaşık ve güçlü kısmıdır:
14 önceden tanımlanmış BIST sembol grubu
3 adet "Özel Liste" - kullanıcının kendi sembollerini girebileceği alanlar
Her grupta 40 adet sembol bulunur
Seçilen gruptaki 40 sembolü paralel olarak tarar
Her sembol için aynı Darvas Box stratejisini uygular
İki temel koşulu kontrol eder:
Box Altı Kırılma (Fiyat BottomBox'ın altına düşerse)
Box Üzeri Kırılma (Fiyat TopBox'ın üzerine çıkarsa)
Sol tarafta (kırmızı kutu): BottomBox'ın altına düşen semboller
Sağ tarafta (yeşil kutu): TopBox'ın üzerine çıkan semboller
Her liste, tetiklenen sembollerin isimlerini gösterir