Untitled
deneme kod//@version=5 indicator("CM.TARAMA", overlay=true,max_lines_count=500, max_bars_back = 500) // grupSec = input.string(defval='1', options=['1', '2', '3', '4', '5','6','7','8','9','10','11','12','13','14','15','ÖZEL LİSTE'], group='Taraması yapılacak 40\'arlı gruplardan birini seçin', title='HİSSE GRUBU SEÇ') per = input.timeframe(defval='M', title="ZAMAN DİLİMİ SEÇ", options=["12M","6M", "3M", "M", "2W", "W","3D" ,"2D","D", "240", "120"]) // Kullanıcıdan zaman dilimleri seçimi selected_tf = input.timeframe("W", title="Select Timeframe", options=["12M","6M", "3M", "M", "2W", "W","3D" ,"2D","D", "240", "120"]) // Kullanıcıdan ayar için bir değer al adjustment_factor = input.float(0.7, title="Adjustment Factor", minval=0.0, maxval=1.0, step=0.1) // Camarilla R3 ve S3 hesaplama fonksiyonu f_camarilla(_tf) => h = request.security(syminfo.tickerid, _tf, high) l = request.security(syminfo.tickerid, _tf, low) c = request.security(syminfo.tickerid, _tf, close) r3 = c + (h - l) * 1.1 / 4 s3 = c - (h - l) * 1.1 / 4 pp = (r3 + s3) / 2 r4 = c + (h - l) * 1.1 / 2 s4 = c - (h - l) * 1.1 / 2 r5 = c + (h - l) * 1.1 s5 = c - (h - l) * 1.1 [r3, s3, r4, s4, r5, s5, pp] // Tarama ve koşul kontrol fonksiyonu func(_tf, _adjustment_factor) => [r3, s3, r4, s4, r5, s5, pp] = f_camarilla(_tf) [r3_prev, s3_prev, r4_prev, s4_prev, r5_prev, s5_prev] = request.security(syminfo.tickerid, _tf, [r3[1], s3[1], r4[1], s4[1], r5[1], s5[1]]) current_diff = r3 - s3 prev_diff = (r3_prev - s3_prev) * _adjustment_factor condition = (current_diff < prev_diff) or (r3 < r3_prev and s3 > s3_prev) [r3, s3, r4, s4, r5, s5, condition] //GRUP VE TARANACAK HİSSE SAYISINI AYNI ŞEKİLDE DİLEDİĞİNİZ GİBİ ARTIRABİLİRSİNİZ. sb1 = input.symbol(title='1', defval='',group = "╠═════════════ ÖZEL LİSTE ═════════════╣") sb2 = input.symbol(title='2', defval='') sb3 = input.symbol(title='3', defval='') sb4 = input.symbol(title='4', defval='') sb5 = input.symbol(title='5', defval='') sb6 = input.symbol(title='6', defval='') sb7 = input.symbol(title='7', defval='') sb8 = input.symbol(title='8', defval='') sb9 = input.symbol(title='9', defval='') sb10 = input.symbol(title='10', defval='') sb11 = input.symbol(title='11', defval='') sb12 = input.symbol(title='12', defval='') sb13 = input.symbol(title='13', defval='') sb14 = input.symbol(title='14', defval='') sb15 = input.symbol(title='15', defval='') sb16 = input.symbol(title='16', defval='') sb17 = input.symbol(title='17', defval='') sb18 = input.symbol(title='18', defval='') sb19 = input.symbol(title='19', defval='') sb20 = input.symbol(title='20', defval='') sb21 = input.symbol(title='21', defval='') sb22 = input.symbol(title='22', defval='') sb23 = input.symbol(title='23', defval='') sb24 = input.symbol(title='24', defval='') sb25 = input.symbol(title='25', defval='') sb26 = input.symbol(title='26', defval='') sb27 = input.symbol(title='27', defval='') sb28 = input.symbol(title='28', defval='') sb29 = input.symbol(title='29', defval='') sb30 = input.symbol(title='30', defval='') sb31 = input.symbol(title='31', defval='') sb32 = input.symbol(title='32', defval='') sb33 = input.symbol(title='33', defval='') sb34 = input.symbol(title='34', defval='') sb35 = input.symbol(title='35', defval='') sb36 = input.symbol(title='36', defval='') u1 = grupSec == '1' ? 'BIST:A1CAP' : grupSec == '2' ? 'BIST:ARENA' : grupSec == '3' ? 'BIST:BJKAS' : grupSec == '4' ? 'BIST:CWENE' : grupSec == '5' ? 'BIST:EKIZ' : grupSec == '6' ? 'BIST:GENTS' : grupSec == '7' ? 'BIST:IHEVA' : grupSec == '8' ? 'BIST:KENT' : grupSec == '9' ? 'BIST:LIDFA' : grupSec == '10' ? 'BIST:NATEN' : grupSec == '11' ? 'BIST:PKART' : grupSec == '12' ? 'BIST:SELGD' : grupSec == '13' ? 'BIST:TNZTP' : grupSec == '14' ? 'BIST:YATAS' : grupSec == '15' ? 'BIST:MARBL' : grupSec == 'ÖZEL LİSTE' ? sb1 : na u2 = grupSec == '1' ? 'BIST:ACSEL' : grupSec == '2' ? 'BIST:ARSAN' : grupSec == '3' ? 'BIST:BLCYT' : grupSec == '4' ? 'BIST:DAGHL' : grupSec == '5' ? 'BIST:EKSUN' : grupSec == '6' ? 'BIST:GEREL' : grupSec == '7' ? 'BIST:IHGZT' : grupSec == '8' ? 'BIST:KERVN' : grupSec == '9' ? 'BIST:LINK' : grupSec == '10' ? 'BIST:NETAS' : grupSec == '11' ? 'BIST:PKENT' : grupSec == '12' ? 'BIST:SELVA' : grupSec == '13' ? 'BIST:TOASO' : grupSec == '14' ? 'BIST:YAYLA' : grupSec == '15' ? 'BIST:BINHO' : grupSec == 'ÖZEL LİSTE' ? sb2 : na u3 = grupSec == '1' ? 'BIST:ADEL' : grupSec == '2' ? 'BIST:ARZUM' : grupSec == '3' ? 'BIST:BMSCH' : grupSec == '4' ? 'BIST:DAGI' : grupSec == '5' ? 'BIST:ELITE' : grupSec == '6' ? 'BIST:GESAN' : grupSec == '7' ? 'BIST:IHLAS' : grupSec == '8' ? 'BIST:KERVT' : grupSec == '9' ? 'BIST:LKMNH' : grupSec == '10' ? 'BIST:NIBAS' : grupSec == '11' ? 'BIST:PLTUR' : grupSec == '12' ? 'BIST:SEYKM' : grupSec == '13' ? 'BIST:TRCAS' : grupSec == '14' ? 'BIST:YBTAS' : grupSec == '15' ? 'BIST:EKOS' : grupSec == 'ÖZEL LİSTE' ? sb3 : na u4 = grupSec == '1' ? 'BIST:ADESE' : grupSec == '2' ? 'BIST:ASELS' : grupSec == '3' ? 'BIST:BMSTL' : grupSec == '4' ? 'BIST:DAPGM' : grupSec == '5' ? 'BIST:EMKEL' : grupSec == '6' ? 'BIST:GIPTA' : grupSec == '7' ? 'BIST:IHLGM' : grupSec == '8' ? 'BIST:KFEIN' : grupSec == '9' ? 'BIST:LOGO' : grupSec == '10' ? 'BIST:NTGAZ' : grupSec == '11' ? 'BIST:PNLSN' : grupSec == '12' ? 'BIST:SILVR' : grupSec == '13' ? 'BIST:TRGYO' : grupSec == '14' ? 'BIST:YEOTK' : grupSec == '15' ? 'BIST:AGROT' : grupSec == 'ÖZEL LİSTE' ? sb4 : na u5 = grupSec == '1' ? 'BIST:ADGYO' : grupSec == '2' ? 'BIST:ASGYO' : grupSec == '3' ? 'BIST:BNTAS' : grupSec == '4' ? 'BIST:DARDL' : grupSec == '5' ? 'BIST:EMNIS' : grupSec == '6' ? 'BIST:GLBMD' : grupSec == '7' ? 'BIST:IHYAY' : grupSec == '8' ? 'BIST:KGYO' : grupSec == '9' ? 'BIST:LRSHO' : grupSec == '10' ? 'BIST:NTHOL' : grupSec == '11' ? 'BIST:PNSUT' : grupSec == '12' ? 'BIST:SISE' : grupSec == '13' ? 'BIST:TRILC' : grupSec == '14' ? 'BIST:YESIL' : grupSec == '15' ? 'BIST:BEGYO' : grupSec == 'ÖZEL LİSTE' ? sb5 : na u6 = grupSec == '1' ? 'BIST:AEFES' : grupSec == '2' ? 'BIST:ASTOR' : grupSec == '3' ? 'BIST:BOBET' : grupSec == '4' ? 'BIST:DENGE' : grupSec == '5' ? 'BIST:ENERY' : grupSec == '6' ? 'BIST:GLCVY' : grupSec == '7' ? 'BIST:IMASM' : grupSec == '8' ? 'BIST:KIMMR' : grupSec == '9' ? 'BIST:LUKSK' : grupSec == '10' ? 'BIST:NUGYO' : grupSec == '11' ? 'BIST:POLHO' : grupSec == '12' ? 'BIST:SKBNK' : grupSec == '13' ? 'BIST:TSGYO' : grupSec == '14' ? 'BIST:YGGYO' : grupSec == '15' ? 'BIST:SKYMD' : grupSec == 'ÖZEL LİSTE' ? sb6 : na u7 = grupSec == '1' ? 'BIST:AFYON' : grupSec == '2' ? 'BIST:ASUZU' : grupSec == '3' ? 'BIST:BORLS' : grupSec == '4' ? 'BIST:DERHL' : grupSec == '5' ? 'BIST:ENJSA' : grupSec == '6' ? 'BIST:GLRYH' : grupSec == '7' ? 'BIST:INDES' : grupSec == '8' ? 'BIST:KLGYO' : grupSec == '9' ? 'BIST:MAALT' : grupSec == '10' ? 'BIST:NUHCM' : grupSec == '11' ? 'BIST:POLTK' : grupSec == '12' ? 'BIST:SKTAS' : grupSec == '13' ? 'BIST:TSKB' : grupSec == '14' ? 'BIST:YGYO' : grupSec == '15' ? 'BIST:CATES' : grupSec == 'ÖZEL LİSTE' ? sb7 : na u8 = grupSec == '1' ? 'BIST:AGESA' : grupSec == '2' ? 'BIST:ATAGY' : grupSec == '3' ? 'BIST:BOSSA' : grupSec == '4' ? 'BIST:DERIM' : grupSec == '5' ? 'BIST:ENKAI' : grupSec == '6' ? 'BIST:GLYHO' : grupSec == '7' ? 'BIST:INFO' : grupSec == '8' ? 'BIST:KLKIM' : grupSec == '9' ? 'BIST:MACKO' : grupSec == '10' ? 'BIST:OBASE' : grupSec == '11' ? 'BIST:PRDGS' : grupSec == '12' ? 'BIST:SMART' : grupSec == '13' ? 'BIST:TSPOR' : grupSec == '14' ? 'BIST:YKBNK' : grupSec == '15' ? 'BIST:SURGY' : grupSec == 'ÖZEL LİSTE' ? sb8 : na u9 = grupSec == '1' ? 'BIST:AGHOL' : grupSec == '2' ? 'BIST:ATAKP' : grupSec == '3' ? 'BIST:BRISA' : grupSec == '4' ? 'BIST:DESA' : grupSec == '5' ? 'BIST:ENSRI' : grupSec == '6' ? 'BIST:GMTAS' : grupSec == '7' ? 'BIST:INGRM' : grupSec == '8' ? 'BIST:KLMSN' : grupSec == '9' ? 'BIST:MAGEN' : grupSec == '10' ? 'BIST:ODAS' : grupSec == '11' ? 'BIST:PRKAB' : grupSec == '12' ? 'BIST:SMRTG' : grupSec == '13' ? 'BIST:TTKOM' : grupSec == '14' ? 'BIST:YKSLN' : grupSec == '15' ? 'BIST:KBORU' : grupSec == 'ÖZEL LİSTE' ? sb9 : na u10 = grupSec == '1' ? 'BIST:AGYO' : grupSec == '2' ? 'BIST:ATATP' : grupSec == '3' ? 'BIST:BRKO' : grupSec == '4' ? 'BIST:DESPC' : grupSec == '5' ? 'BIST:EPLAS' : grupSec == '6' ? 'BIST:GOKNR' : grupSec == '7' ? 'BIST:INTEM' : grupSec == '8' ? 'BIST:KLNMA' : grupSec == '9' ? 'BIST:MAKIM' : grupSec == '10' ? 'BIST:OFSYM' : grupSec == '11' ? 'BIST:PRKME' : grupSec == '12' ? 'BIST:SNGYO' : grupSec == '13' ? 'BIST:TTRAK' : grupSec == '14' ? 'BIST:YONGA' : grupSec == '15' ? 'BIST:MEGMT' : grupSec == 'ÖZEL LİSTE' ? sb10 : na u11 = grupSec == '1' ? 'BIST:AHGAZ' : grupSec == '2' ? 'BIST:ATEKS' : grupSec == '3' ? 'BIST:BRKSN' : grupSec == '4' ? 'BIST:DEVA' : grupSec == '5' ? 'BIST:ERBOS' : grupSec == '6' ? 'BIST:GOLTS' : grupSec == '7' ? 'BIST:INVEO' : grupSec == '8' ? 'BIST:KLRHO' : grupSec == '9' ? 'BIST:MAKTK' : grupSec == '10' ? 'BIST:ONCSM' : grupSec == '11' ? 'BIST:PRZMA' : grupSec == '12' ? 'BIST:SNICA' : grupSec == '13' ? 'BIST:TUCLK' : grupSec == '14' ? 'BIST:YUNSA' : grupSec == '15' ? 'BIST:AVPGY' : grupSec == 'ÖZEL LİSTE' ? sb11 : na u12 = grupSec == '1' ? 'BIST:AKBNK' : grupSec == '2' ? 'BIST:ATLAS' : grupSec == '3' ? 'BIST:BRKVY' : grupSec == '4' ? 'BIST:DGATE' : grupSec == '5' ? 'BIST:ERCB' : grupSec == '6' ? 'BIST:GOODY' : grupSec == '7' ? 'BIST:INVES' : grupSec == '8' ? 'BIST:KLSER' : grupSec == '9' ? 'BIST:MANAS' : grupSec == '10' ? 'BIST:ORCAY' : grupSec == '11' ? 'BIST:PSDTC' : grupSec == '12' ? 'BIST:SNKRN' : grupSec == '13' ? 'BIST:TUKAS' : grupSec == '14' ? 'BIST:YYAPI' : grupSec == '15' ? 'BIST:LMKDC' : grupSec == 'ÖZEL LİSTE' ? sb12 : na u13 = grupSec == '1' ? 'BIST:AKCNS' : grupSec == '2' ? 'BIST:ATSYH' : grupSec == '3' ? 'BIST:BRLSM' : grupSec == '4' ? 'BIST:DGGYO' : grupSec == '5' ? 'BIST:EREGL' : grupSec == '6' ? 'BIST:GOZDE' : grupSec == '7' ? 'BIST:IPEKE' : grupSec == '8' ? 'BIST:KLSYN' : grupSec == '9' ? 'BIST:MARBL' : grupSec == '10' ? 'BIST:ORGE' : grupSec == '11' ? 'BIST:PSGYO' : grupSec == '12' ? 'BIST:SNPAM' : grupSec == '13' ? 'BIST:TUPRS' : grupSec == '14' ? 'BIST:YYLGD' : grupSec == '15' ? 'BIST:BORSK' : grupSec == 'ÖZEL LİSTE' ? sb13 : na u14 = grupSec == '1' ? 'BIST:AKENR' : grupSec == '2' ? 'BIST:AVGYO' : grupSec == '3' ? 'BIST:BRMEN' : grupSec == '4' ? 'BIST:DGNMO' : grupSec == '5' ? 'BIST:ERSU' : grupSec == '6' ? 'BIST:GRNYO' : grupSec == '7' ? 'BIST:ISATR' : grupSec == '8' ? 'BIST:KMPUR' : grupSec == '9' ? 'BIST:MARKA' : grupSec == '10' ? 'BIST:ORMA' : grupSec == '11' ? 'BIST:QNBFB' : grupSec == '12' ? 'BIST:SODSN' : grupSec == '13' ? 'BIST:TUREX' : grupSec == '14' ? 'BIST:ZEDUR' : grupSec == '15' ? 'BIST:PATEK' : grupSec == 'ÖZEL LİSTE' ? sb14 : na u15 = grupSec == '1' ? 'BIST:AKFGY' : grupSec == '2' ? 'BIST:AVHOL' : grupSec == '3' ? 'BIST:BRSAN' : grupSec == '4' ? 'BIST:DIRIT' : grupSec == '5' ? 'BIST:ESCAR' : grupSec == '6' ? 'BIST:GRSEL' : grupSec == '7' ? 'BIST:ISBIR' : grupSec == '8' ? 'BIST:KNFRT' : grupSec == '9' ? 'BIST:MARTI' : grupSec == '10' ? 'BIST:OSMEN' : grupSec == '11' ? 'BIST:QNBFL' : grupSec == '12' ? 'BIST:SOKE' : grupSec == '13' ? 'BIST:TURGG' : grupSec == '14' ? 'BIST:ZOREN' : grupSec == '15' ? 'BIST:ANSGR' : grupSec == 'ÖZEL LİSTE' ? sb15 : na u16 = grupSec == '1' ? 'BIST:AKFYE' : grupSec == '2' ? 'BIST:AVOD' : grupSec == '3' ? 'BIST:BRYAT' : grupSec == '4' ? 'BIST:DITAS' : grupSec == '5' ? 'BIST:ESCOM' : grupSec == '6' ? 'BIST:GRTRK' : grupSec == '7' ? 'BIST:ISBTR' : grupSec == '8' ? 'BIST:KONKA' : grupSec == '9' ? 'BIST:MAVI' : grupSec == '10' ? 'BIST:OSTIM' : grupSec == '11' ? 'BIST:QUAGR' : grupSec == '12' ? 'BIST:SOKM' : grupSec == '13' ? 'BIST:TURSG' : grupSec == '14' ? 'BIST:ZRGYO' : grupSec == '15' ? 'BIST:ARASE' : grupSec == 'ÖZEL LİSTE' ? sb16 : na u17 = grupSec == '1' ? 'BIST:AKGRT' : grupSec == '2' ? 'BIST:AVTUR' : grupSec == '3' ? 'BIST:BSOKE' : grupSec == '4' ? 'BIST:DMRGD' : grupSec == '5' ? 'BIST:ESEN' : grupSec == '6' ? 'BIST:GSDDE' : grupSec == '7' ? 'BIST:ISCTR' : grupSec == '8' ? 'BIST:KONTR' : grupSec == '9' ? 'BIST:MEDTR' : grupSec == '10' ? 'BIST:OTKAR' : grupSec == '11' ? 'BIST:RALYH' : grupSec == '12' ? 'BIST:SONME' : grupSec == '13' ? 'BIST:UFUK' : grupSec == '14' ? 'BIST:XU100.USD' : grupSec == '15' ? 'BIST:ARCLK' : grupSec == 'ÖZEL LİSTE' ? sb17 : na u18 = grupSec == '1' ? 'BIST:AKMGY' : grupSec == '2' ? 'BIST:AYCES' : grupSec == '3' ? 'BIST:BTCIM' : grupSec == '4' ? 'BIST:DMSAS' : grupSec == '5' ? 'BIST:ETILR' : grupSec == '6' ? 'BIST:GSDHO' : grupSec == '7' ? 'BIST:ISDMR' : grupSec == '8' ? 'BIST:KONYA' : grupSec == '9' ? 'BIST:MEGAP' : grupSec == '10' ? 'BIST:OTTO' : grupSec == '11' ? 'BIST:RAYSG' : grupSec == '12' ? 'BIST:SRVGY' : grupSec == '13' ? 'BIST:ULAS' : grupSec == '14' ? 'FX_IDC:XAGTRYG' : grupSec == '15' ? 'BIST:ARDYZ' : grupSec == 'ÖZEL LİSTE' ? sb18 : na u19 = grupSec == '1' ? 'BIST:AKSA' : grupSec == '2' ? 'BIST:AYDEM' : grupSec == '3' ? 'BIST:BUCIM' : grupSec == '4' ? 'BIST:DNISI' : grupSec == '5' ? 'BIST:ETYAT' : grupSec == '6' ? 'BIST:GSRAY' : grupSec == '7' ? 'BIST:ISFIN' : grupSec == '8' ? 'BIST:KOPOL' : grupSec == '9' ? 'BIST:MEKAG' : grupSec == '10' ? 'BIST:OYAKC' : grupSec == '11' ? 'BIST:REEDR' : grupSec == '12' ? 'BIST:SUMAS' : grupSec == '13' ? 'BIST:ULKER' : grupSec == '14' ? 'BIST:XU100' : grupSec == '15' ? 'BIST:BIGCH' : grupSec == 'ÖZEL LİSTE' ? sb19 : na u20 = grupSec == '1' ? 'BIST:AKSEN' : grupSec == '2' ? 'BIST:AYEN' : grupSec == '3' ? 'BIST:BURCE' : grupSec == '4' ? 'BIST:DOAS' : grupSec == '5' ? 'BIST:EUHOL' : grupSec == '6' ? 'BIST:GUBRF' : grupSec == '7' ? 'BIST:ISGSY' : grupSec == '8' ? 'BIST:KORDS' : grupSec == '9' ? 'BIST:MEPET' : grupSec == '10' ? 'BIST:OYAYO' : grupSec == '11' ? 'BIST:RNPOL' : grupSec == '12' ? 'BIST:SUNTK' : grupSec == '13' ? 'BIST:ULUFA' : grupSec == '14' ? 'BINANCE:AVAXUSDT' : grupSec == '15' ? 'BIST:BIMAS' : grupSec == 'ÖZEL LİSTE' ? sb20 : na u21 = grupSec == '1' ? 'BIST:AKSGY' : grupSec == '2' ? 'BIST:AYES' : grupSec == '3' ? 'BIST:BURVA' : grupSec == '4' ? 'BIST:DOBUR' : grupSec == '5' ? 'BIST:EUKYO' : grupSec == '6' ? 'BIST:GWIND' : grupSec == '7' ? 'BIST:ISGYO' : grupSec == '8' ? 'BIST:KOZAA' : grupSec == '9' ? 'BIST:MERCN' : grupSec == '10' ? 'BIST:OYLUM' : grupSec == '11' ? 'BIST:RODRG' : grupSec == '12' ? 'BIST:SUWEN' : grupSec == '13' ? 'BIST:ULUSE' : grupSec == '14' ? 'BINANCE:ETHUSDT' : grupSec == '15' ? 'BIST:BIOEN' : grupSec == 'ÖZEL LİSTE' ? sb21 : na u22 = grupSec == '1' ? 'BIST:AKSUE' : grupSec == '2' ? 'BIST:AYGAZ' : grupSec == '3' ? 'BIST:BVSAN' : grupSec == '4' ? 'BIST:DOCO' : grupSec == '5' ? 'BIST:EUPWR' : grupSec == '6' ? 'BIST:GZNMI' : grupSec == '7' ? 'BIST:ISKPL' : grupSec == '8' ? 'BIST:KOZAL' : grupSec == '9' ? 'BIST:MERIT' : grupSec == '10' ? 'BIST:OYYAT' : grupSec == '11' ? 'BIST:ROYAL' : grupSec == '12' ? 'BIST:TABGD' : grupSec == '13' ? 'BIST:ULUUN' : grupSec == '14' ? 'BINANCE:XRPUSDT' : grupSec == '15' ? 'BIST:BIZIM' : grupSec == 'ÖZEL LİSTE' ? sb22 : na u23 = grupSec == '1' ? 'BIST:AKYHO' : grupSec == '2' ? 'BIST:AZTEK' : grupSec == '3' ? 'BIST:BYDNR' : grupSec == '4' ? 'BIST:DOFER' : grupSec == '5' ? 'BIST:EUREN' : grupSec == '6' ? 'BIST:HALKB' : grupSec == '7' ? 'BIST:ISKUR' : grupSec == '8' ? 'BIST:KRDMA' : grupSec == '9' ? 'BIST:MERKO' : grupSec == '10' ? 'BIST:OZGYO' : grupSec == '11' ? 'BIST:RTALB' : grupSec == '12' ? 'BIST:TARKM' : grupSec == '13' ? 'BIST:UMPAS' : grupSec == '14' ? 'TVC:GOLD' : grupSec == '15' ? 'BIST:CRDFA' : grupSec == 'ÖZEL LİSTE' ? sb23 : na u24 = grupSec == '1' ? 'BIST:ALARK' : grupSec == '2' ? 'BIST:BAGFS' : grupSec == '3' ? 'BIST:CANTE' : grupSec == '4' ? 'BIST:DOGUB' : grupSec == '5' ? 'BIST:EUYO' : grupSec == '6' ? 'BIST:HATEK' : grupSec == '7' ? 'BIST:ISMEN' : grupSec == '8' ? 'BIST:KRDMB' : grupSec == '9' ? 'BIST:METRO' : grupSec == '10' ? 'BIST:OZKGY' : grupSec == '11' ? 'BIST:RUBNS' : grupSec == '12' ? 'BIST:TATEN' : grupSec == '13' ? 'BIST:UNLU' : grupSec == '14' ? 'TVC:VIX' : grupSec == '15' ? 'BIST:CRFSA' : grupSec == 'ÖZEL LİSTE' ? sb24 : na u25 = grupSec == '1' ? 'BIST:ALBRK' : grupSec == '2' ? 'BIST:BAKAB' : grupSec == '3' ? 'BIST:CASA' : grupSec == '4' ? 'BIST:DOHOL' : grupSec == '5' ? 'BIST:EYGYO' : grupSec == '6' ? 'BIST:HATSN' : grupSec == '7' ? 'BIST:ISSEN' : grupSec == '8' ? 'BIST:KRDMD' : grupSec == '9' ? 'BIST:METUR' : grupSec == '10' ? 'BIST:OZRDN' : grupSec == '11' ? 'BIST:RYGYO' : grupSec == '12' ? 'BIST:TATGD' : grupSec == '13' ? 'BIST:USAK' : grupSec == '14' ? 'BIST:YYLGD' : grupSec == '15' ? 'BIST:CUSAN' : grupSec == 'ÖZEL LİSTE' ? sb25 : na u26 = grupSec == '1' ? 'BIST:ALCAR' : grupSec == '2' ? 'BIST:BALAT' : grupSec == '3' ? 'BIST:CCOLA' : grupSec == '4' ? 'BIST:DOKTA' : grupSec == '5' ? 'BIST:FADE' : grupSec == '6' ? 'BIST:HDFGS' : grupSec == '7' ? 'BIST:ISYAT' : grupSec == '8' ? 'BIST:KRGYO' : grupSec == '9' ? 'BIST:MGROS' : grupSec == '10' ? 'BIST:OZSUB' : grupSec == '11' ? 'BIST:RYSAS' : grupSec == '12' ? 'BIST:TAVHL' : grupSec == '13' ? 'BIST:UZERB' : grupSec == '14' ? 'BIST:ARTMS' : grupSec == '15' ? 'BIST:CVKMD' : grupSec == 'ÖZEL LİSTE' ? sb26 : na u27 = grupSec == '1' ? 'BIST:ALCTL' : grupSec == '2' ? 'BIST:BALAT' : grupSec == '3' ? 'BIST:CELHA' : grupSec == '4' ? 'BIST:DURDO' : grupSec == '5' ? 'BIST:FENER' : grupSec == '6' ? 'BIST:HEDEF' : grupSec == '7' ? 'BIST:IZENR' : grupSec == '8' ? 'BIST:KRONT' : grupSec == '9' ? 'BIST:MHRGY' : grupSec == '10' ? 'BIST:PAGYO' : grupSec == '11' ? 'BIST:SAFKR' : grupSec == '12' ? 'BIST:TBORG' : grupSec == '13' ? 'BIST:VAKBN' : grupSec == '14' ? 'BIST:OBAMS' : grupSec == '15' ? 'BIST:EGGUB' : grupSec == 'ÖZEL LİSTE' ? sb27 : na u28 = grupSec == '1' ? 'BIST:ALFAS' : grupSec == '2' ? 'BIST:BANVT' : grupSec == '3' ? 'BIST:CEMAS' : grupSec == '4' ? 'BIST:DYOBY' : grupSec == '5' ? 'BIST:FLAP' : grupSec == '6' ? 'BIST:HEKTS' : grupSec == '7' ? 'BIST:IZFAS' : grupSec == '8' ? 'BIST:KRPLS' : grupSec == '9' ? 'BIST:MIATK' : grupSec == '10' ? 'BIST:PAMEL' : grupSec == '11' ? 'BIST:SAHOL' : grupSec == '12' ? 'BIST:TCELL' : grupSec == '13' ? 'BIST:VAKFN' : grupSec == '14' ? 'BIST:ALVES' : grupSec == '15' ? 'BIST:EGPRO' : grupSec == 'ÖZEL LİSTE' ? sb28 : na u29 = grupSec == '1' ? 'BIST:ALGYO' : grupSec == '2' ? 'BIST:BARMA' : grupSec == '3' ? 'BIST:CEMTS' : grupSec == '4' ? 'BIST:DZGYO' : grupSec == '5' ? 'BIST:FMIZP' : grupSec == '6' ? 'BIST:HKTM' : grupSec == '7' ? 'BIST:IZINV' : grupSec == '8' ? 'BIST:KRSTL' : grupSec == '9' ? 'BIST:MIPAZ' : grupSec == '10' ? 'BIST:PAPIL' : grupSec == '11' ? 'BIST:SAMAT' : grupSec == '12' ? 'BIST:TDGYO' : grupSec == '13' ? 'BIST:VAKKO' : grupSec == '14' ? 'JSE:AMS' : grupSec == '15' ? 'BIST:EGSER' : grupSec == 'ÖZEL LİSTE' ? sb29 : na u30 = grupSec == '1' ? 'BIST:ALKA' : grupSec == '2' ? 'BIST:BASCM' : grupSec == '3' ? 'BIST:CEOEM' : grupSec == '4' ? 'BIST:EBEBK' : grupSec == '5' ? 'BIST:FONET' : grupSec == '6' ? 'BIST:HLGYO' : grupSec == '7' ? 'BIST:IZMDC' : grupSec == '8' ? 'BIST:KRTEK' : grupSec == '9' ? 'BIST:MMCAS' : grupSec == '10' ? 'BIST:PARSN' : grupSec == '11' ? 'BIST:SANEL' : grupSec == '12' ? 'BIST:TEKTU' : grupSec == '13' ? 'BIST:VANGD' : grupSec == '14' ? 'TVC:SILVER' : grupSec == '15' ? 'BIST:EKGYO' : grupSec == 'ÖZEL LİSTE' ? sb30 : na u31 = grupSec == '1' ? 'BIST:ALKIM' : grupSec == '2' ? 'BIST:BASGZ' : grupSec == '3' ? 'BIST:CIMSA' : grupSec == '4' ? 'BIST:ECILC' : grupSec == '5' ? 'BIST:FORMT' : grupSec == '6' ? 'BIST:HTTBT' : grupSec == '7' ? 'BIST:JANTS' : grupSec == '8' ? 'BIST:KRVGD' : grupSec == '9' ? 'BIST:MNDRS' : grupSec == '10' ? 'BIST:PASEU' : grupSec == '11' ? 'BIST:SANFM' : grupSec == '12' ? 'BIST:TERA' : grupSec == '13' ? 'BIST:VBTYZ' : grupSec == '14' ? 'NASDAQ:TUR' : grupSec == '15' ? 'BIST:GARFA' : grupSec == 'ÖZEL LİSTE' ? sb31 : na u32 = grupSec == '1' ? 'BIST:ALMAD' : grupSec == '2' ? 'BIST:BAYRK' : grupSec == '3' ? 'BIST:CLEBI' : grupSec == '4' ? 'BIST:ECZYT' : grupSec == '5' ? 'BIST:FORTE' : grupSec == '6' ? 'BIST:HUBVC' : grupSec == '7' ? 'BIST:KAPLM' : grupSec == '8' ? 'BIST:KSTUR' : grupSec == '9' ? 'BIST:MNDTR' : grupSec == '10' ? 'BIST:PCILT' : grupSec == '11' ? 'BIST:SANKO' : grupSec == '12' ? 'BIST:TETMT' : grupSec == '13' ? 'BIST:VERTU' : grupSec == '14' ? 'BINANCE:BTCUSDT' : grupSec == '15' ? 'BIST:GEDIK' : grupSec == 'ÖZEL LİSTE' ? sb32 : na u33 = grupSec == '1' ? 'BIST:ALTIN' : grupSec == '2' ? 'BIST:BERA' : grupSec == '3' ? 'BIST:CMBTN' : grupSec == '4' ? 'BIST:EDATA' : grupSec == '5' ? 'BIST:FRIGO' : grupSec == '6' ? 'BIST:HUNER' : grupSec == '7' ? 'BIST:KAREL' : grupSec == '8' ? 'BIST:KTLEV' : grupSec == '9' ? 'BIST:MOBTL' : grupSec == '10' ? 'BIST:PEGYO' : grupSec == '11' ? 'BIST:SARKY' : grupSec == '12' ? 'BIST:TEZOL' : grupSec == '13' ? 'BIST:VERUS' : grupSec == '14' ? 'BINANCE:USDTTRY' : grupSec == '15' ? 'BIST:GEDZA' : grupSec == 'ÖZEL LİSTE' ? sb33 : na u34 = grupSec == '1' ? 'BIST:ANELE' : grupSec == '2' ? 'BIST:BEYAZ' : grupSec == '3' ? 'BIST:CMENT' : grupSec == '4' ? 'BIST:EDIP' : grupSec == '5' ? 'BIST:FROTO' : grupSec == '6' ? 'BIST:HURGZ' : grupSec == '7' ? 'BIST:KARSN' : grupSec == '8' ? 'BIST:KTSKR' : grupSec == '9' ? 'BIST:MPARK' : grupSec == '10' ? 'BIST:PEKGY' : grupSec == '11' ? 'BIST:SASA' : grupSec == '12' ? 'BIST:TGSAS' : grupSec == '13' ? 'BIST:VESBE' : grupSec == '14' ? 'FX_IDC:TRYUSD' : grupSec == '15' ? 'BIST:GENIL' : grupSec == 'ÖZEL LİSTE' ? sb34 : na u35 = grupSec == '1' ? 'BIST:ANGEN' : grupSec == '2' ? 'BIST:BFREN' : grupSec == '3' ? 'BIST:CONSE' : grupSec == '4' ? 'BIST:EGEEN' : grupSec == '5' ? 'BIST:FZLGY' : grupSec == '6' ? 'BIST:ICBCT' : grupSec == '7' ? 'BIST:KARTN' : grupSec == '8' ? 'BIST:KUTPO' : grupSec == '9' ? 'BIST:MRGYO' : grupSec == '10' ? 'BIST:PENGD' : grupSec == '11' ? 'BIST:SAYAS' : grupSec == '12' ? 'BIST:THYAO' : grupSec == '13' ? 'BIST:VESTL' : grupSec == '14' ? 'FX_IDC:USDTRY' : grupSec == '15' ? 'BIST:YATAS' : grupSec == 'ÖZEL LİSTE' ? sb35 : na u36 = grupSec == '1' ? 'BIST:ANHYT' : grupSec == '2' ? 'BIST:BIENY' : grupSec == '3' ? 'BIST:COSMO' : grupSec == '4' ? 'BIST:EGEPO' : grupSec == '5' ? 'BIST:GARAN' : grupSec == '6' ? 'BIST:ICUGS' : grupSec == '7' ? 'BIST:KARYE' : grupSec == '8' ? 'BIST:KUVVA' : grupSec == '9' ? 'BIST:MRSHL' : grupSec == '10' ? 'BIST:PENTA' : grupSec == '11' ? 'BIST:SDTTR' : grupSec == '12' ? 'BIST:TKFEN' : grupSec == '13' ? 'BIST:VKFYO' : grupSec == '14' ? 'FX_IDC:XAUTRYG' : grupSec == '15' ? 'BIST:YATAS' : grupSec == 'ÖZEL LİSTE' ? sb36 : na [v1,s1] = request.security(u1, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v2,s2] = request.security(u2, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v3,s3] = request.security(u3, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v4,s4] = request.security(u4, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v5,s5] = request.security(u5, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v6,s6] = request.security(u6, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v7,s7] = request.security(u7, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v8,s8] = request.security(u8, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v9,s9] = request.security(u9, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v10,s10] = request.security(u10, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v11,s11] = request.security(u11, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v12,s12] = request.security(u12, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v13,s13] = request.security(u13, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v14,s14] = request.security(u14, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v15,s15] = request.security(u15, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v16,s16] = request.security(u16, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v17,s17] = request.security(u17, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v18,s18] = request.security(u18, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v19,s19] = request.security(u19, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v20,s20] = request.security(u20, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v21,s21] = request.security(u21, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v22,s22] = request.security(u22, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v23,s23] = request.security(u23, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v24,s24] = request.security(u24, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v25,s25] = request.security(u25, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v26,s26] = request.security(u26, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v27,s27] = request.security(u27, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v28,s28] = request.security(u28, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v29,s29] = request.security(u29, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v30,s30] = request.security(u30, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v31,s31] = request.security(u31, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v32,s32] = request.security(u32, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v33,s33] = request.security(u33, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v34,s34] = request.security(u34, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v35,s35] = request.security(u35, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) [v36,s36] = request.security(u36, per, func(selected_tf, adjustment_factor),ignore_invalid_symbol = true) // scr_label için koşul ve etiketleme scr_label = "TARAMA\n" scr_label := s1 ? scr_label + syminfo.ticker(u1) + ' ' + str.tostring(v1) + '\n' : scr_label scr_label := s2 ? scr_label + syminfo.ticker(u2) + ' ' + str.tostring(v2) + '\n' : scr_label scr_label := s3 ? scr_label + syminfo.ticker(u3) + ' ' + str.tostring(v3) + '\n' : scr_label scr_label := s4 ? scr_label + syminfo.ticker(u4) + ' ' + str.tostring(v4) + '\n' : scr_label scr_label := s5 ? scr_label + syminfo.ticker(u5) + ' ' + str.tostring(v5) + '\n' : scr_label scr_label := s6 ? scr_label + syminfo.ticker(u6) + ' ' + str.tostring(v6) + '\n' : scr_label scr_label := s7 ? scr_label + syminfo.ticker(u7) + ' ' + str.tostring(v7) + '\n' : scr_label scr_label := s8 ? scr_label + syminfo.ticker(u8) + ' ' + str.tostring(v8) + '\n' : scr_label scr_label := s9 ? scr_label + syminfo.ticker(u9) + ' ' + str.tostring(v9) + '\n' : scr_label scr_label := s10 ? scr_label + syminfo.ticker(u10) + ' ' + str.tostring(v10) + '\n' : scr_label scr_label := s11 ? scr_label + syminfo.ticker(u11) + ' ' + str.tostring(v11) + '\n' : scr_label scr_label := s12 ? scr_label + syminfo.ticker(u12) + ' ' + str.tostring(v12) + '\n' : scr_label scr_label := s13 ? scr_label + syminfo.ticker(u13) + ' ' + str.tostring(v13) + '\n' : scr_label scr_label := s14 ? scr_label + syminfo.ticker(u14) + ' ' + str.tostring(v14) + '\n' : scr_label scr_label := s15 ? scr_label + syminfo.ticker(u15) + ' ' + str.tostring(v15) + '\n' : scr_label scr_label := s16 ? scr_label + syminfo.ticker(u16) + ' ' + str.tostring(v16) + '\n' : scr_label scr_label := s17 ? scr_label + syminfo.ticker(u17) + ' ' + str.tostring(v17) + '\n' : scr_label scr_label := s18 ? scr_label + syminfo.ticker(u18) + ' ' + str.tostring(v18) + '\n' : scr_label scr_label := s19 ? scr_label + syminfo.ticker(u19) + ' ' + str.tostring(v19) + '\n' : scr_label scr_label := s20 ? scr_label + syminfo.ticker(u20) + ' ' + str.tostring(v20) + '\n' : scr_label scr_label := s21 ? scr_label + syminfo.ticker(u21) + ' ' + str.tostring(v21) + '\n' : scr_label scr_label := s22 ? scr_label + syminfo.ticker(u22) + ' ' + str.tostring(v22) + '\n' : scr_label scr_label := s23 ? scr_label + syminfo.ticker(u23) + ' ' + str.tostring(v23) + '\n' : scr_label scr_label := s24 ? scr_label + syminfo.ticker(u24) + ' ' + str.tostring(v24) + '\n' : scr_label scr_label := s25 ? scr_label + syminfo.ticker(u25) + ' ' + str.tostring(v25) + '\n' : scr_label scr_label := s26 ? scr_label + syminfo.ticker(u26) + ' ' + str.tostring(v26) + '\n' : scr_label scr_label := s27 ? scr_label + syminfo.ticker(u27) + ' ' + str.tostring(v27) + '\n' : scr_label scr_label := s28 ? scr_label + syminfo.ticker(u28) + ' ' + str.tostring(v28) + '\n' : scr_label scr_label := s29 ? scr_label + syminfo.ticker(u29) + ' ' + str.tostring(v29) + '\n' : scr_label scr_label := s30 ? scr_label + syminfo.ticker(u30) + ' ' + str.tostring(v30) + '\n' : scr_label scr_label := s31 ? scr_label + syminfo.ticker(u31) + ' ' + str.tostring(v31) + '\n' : scr_label scr_label := s32 ? scr_label + syminfo.ticker(u32) + ' ' + str.tostring(v32) + '\n' : scr_label scr_label := s33 ? scr_label + syminfo.ticker(u33) + ' ' + str.tostring(v33) + '\n' : scr_label scr_label := s34 ? scr_label + syminfo.ticker(u34) + ' ' + str.tostring(v34) + '\n' : scr_label scr_label := s35 ? scr_label + syminfo.ticker(u35) + ' ' + str.tostring(v35) + '\n' : scr_label scr_label := s36 ? scr_label + syminfo.ticker(u36) + ' ' + str.tostring(v36) + '\n' : scr_label // Seçilen zaman diliminde ve ayar faktörü ile koşulları tarama [tf_r3, tf_s3, tf_r4, tf_s4, tf_r5, tf_s5, condition] = func(selected_tf, adjustment_factor) // scr_label'ı grafik üzerinde gösterme loc = input.int(defval=10, title='Konum Ayarı', minval = -100,maxval = 100 , step = 10, group='Tablonun konumunu belirler') lab_1 = label.new(bar_index + loc, close, scr_label, color=color.green, textcolor=color.white, style=label.style_label_upper_left,size=size.small) label.delete(lab_1[1])
Leave a Comment