Untitled

 avatar
unknown
plain_text
2 months ago
31 kB
5
Indexable
//@version=5
indicator("oto emriri 40 sembolv6 Tarama Rbt", overlay=true)

// Input tanımlamaları
tutar = input.float(title="Tutar (TL)", defval=10000, minval=1)
APIKEY = input.string(title="API Key", defval="")
TOKEN = input.string(title="TOKEN", defval="")

grupSec = input.string(defval='1', options=['1', '2', '3', '4', '5','6','7','8','9','10','11','12','13','14','ÖZEL LİSTE'], 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")
loc = input.int(defval=20, title='Konum Ayarı', minval = -300,maxval = 500 , step = 5,  group='Tablonun konumunu belirleyin')

type PositionInfo
    float timur
    float inci
    bool merhaba

var positionMap = array.new<PositionInfo>()

if barstate.isfirst
    for i = 0 to 38
        positionMap.push(PositionInfo.new(0.0, 0.0, false))




/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Color variables
upColor = color.white
midColor = #90bff9
downColor = color.blue

// Source
src = input(defval = close, title = 'Source')

// Sampling Period
// Settings for 5min chart, BTCUSDC. For Other coin, change the paremeters
per1 = input.int(defval = 100, minval = 1, title = 'Sampling Period')

// Range Multiplier
mult = input.float(defval = 3.0, minval = 0.1, title = 'Range Multiplier')

// Smooth Average Range
smoothrng(x, t, m) =>
    wper = t * 2 - 1
    avrng = ta.ema(math.abs(x - x[1]), t)
    smoothrng = ta.ema(avrng, wper) * m
    smoothrng
smrng = smoothrng(src, per1, mult)

// Range Filter
rngfilt(x, r) =>
    rngfilt = x
    rngfilt := x > nz(rngfilt[1]) ? x - r < nz(rngfilt[1]) ? nz(rngfilt[1]) : x - r : x + r > nz(rngfilt[1]) ? nz(rngfilt[1]) : x + r
    rngfilt
filt = rngfilt(src, smrng)

// Filter Direction
upward = 0.0
upward := filt > filt[1] ? nz(upward[1]) + 1 : filt < filt[1] ? 0 : nz(upward[1])
downward = 0.0
downward := filt < filt[1] ? nz(downward[1]) + 1 : filt > filt[1] ? 0 : nz(downward[1])

// Target Bands
hband = filt + smrng
lband = filt - smrng

// Colors
filtcolor = upward > 0 ? upColor : downward > 0 ? downColor : midColor
barcolor = src > filt and src > src[1] and upward > 0 ? upColor : src > filt and src < src[1] and upward > 0 ? upColor : src < filt and src < src[1] and downward > 0 ? downColor : src < filt and src > src[1] and downward > 0 ? downColor : midColor

filtplot = plot(filt, color = filtcolor, linewidth = 2, title = 'Range Filter')

// Target
hbandplot = plot(hband, color = color.new(upColor, 70), title = 'High Target')
lbandplot = plot(lband, color = color.new(downColor, 70), title = 'Low Target')

// Fills
fill(hbandplot, filtplot, color = color.new(upColor, 90), title = 'High Target Range')
fill(lbandplot, filtplot, color = color.new(downColor, 90), title = 'Low Target Range')

// Bar Color
barcolor(barcolor)

// Break Outs
longCond = bool(na)
shortCond = bool(na)
longCond := src > filt and src > src[1] and upward > 0 or src > filt and src < src[1] and upward > 0
shortCond := src < filt and src < src[1] and downward > 0 or src < filt and src > src[1] and downward > 0

CondIni = 0
CondIni := longCond ? 1 : shortCond ? -1 : CondIni[1]
longCondition = longCond and CondIni[1] == -1
shortCondition = shortCond and CondIni[1] == 1


//Alerts
plotshape(longCondition, title = 'Buy Signal', text = 'Buy', textcolor = color.white, style = shape.labelup, size = size.small, location = location.belowbar, color = color.rgb(13, 175, 78, 20))
plotshape(shortCondition, title = 'Sell Signal', text = 'Sell', textcolor = color.white, style = shape.labeldown, size = size.small, location = location.abovebar, color = color.rgb(245, 23, 23, 20))




al =longCond and CondIni[1] == -1
sat = shortCond and CondIni[1] == 1

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Sinyal değişkeni
Sinyal = al ? 1 : sat ? -1 : 0

// Position bilgilerini tutacak veri yapısı
type Position
    float timur = 0.0
    float inci = 0.0
    bool merhaba = false

alarmTetikle(sembol, sinyal, index) =>
    [hisseFiyati, durum] = request.security(sembol, timeframe.period, [close, sinyal])  
    posInfo = array.get(positionMap, index)
    sonuc = false
    
    if durum != 0 and str.length(sembol) > 1
        if durum > 0 and not posInfo.merhaba  
            posInfo.timur := math.floor(tutar / hisseFiyati)
            posInfo.inci := hisseFiyati    
            posInfo.merhaba := true
            alarmMesajiJSON = '{"name":"osmanlı yatırım sinyali","symbol":"' + syminfo.ticker(sembol) + '","orderSide":"buy","orderType":"mktbest","price":"' + str.tostring(hisseFiyati) + '","quantity":"' + str.tostring(posInfo.timur) + '","timeInForce":"day","apiKey":"' + APIKEY + '","token": "' + TOKEN + '"}'
            alert(message = alarmMesajiJSON, freq = alert.freq_once_per_bar_close)
            sonuc := true
            
        else if durum < 0 and posInfo.merhaba  
            alarmMesajiJSON = '{"name":"osmanlı yatırım sinyali","symbol":"' + syminfo.ticker(sembol) + '","orderSide":"sell","orderType":"mktbest","price":"' + str.tostring(hisseFiyati) + '","quantity":"' + str.tostring(posInfo.timur) + '","timeInForce":"day","apiKey":"' + APIKEY + '","token": "' + TOKEN + '"}'
            alert(message = alarmMesajiJSON, freq = alert.freq_once_per_bar_close)
            
            posInfo.timur := 0.0
            posInfo.inci := 0.0
            posInfo.merhaba := false
            sonuc := true
    sonuc


// alarmTetikle(sembol, sinyal, index) =>
//     [hisseFiyati, durum] = request.security(sembol, timeframe.period, [close, sinyal])  
//     posInfo = array.get(positionMap, index)
//     sonuc = false
    
//     if durum != 0 and str.length(sembol) > 1
//         if durum > 0 and not posInfo.merhaba  
//             posInfo.timur := math.floor(tutar / hisseFiyati)
//             posInfo.inci := hisseFiyati    
//             posInfo.merhaba := true
//             alarmMesajiJSON = '{"name":"osmanlı yatırım sinyali","symbol":"' + syminfo.ticker(sembol) + '","orderSide":"buy","orderType":"mktbest","price":"' + str.tostring(hisseFiyati) + '","quantity":"' + str.tostring(posInfo.timur) + '","timeInForce":"ioc","apiKey":"' + APIKEY + '","goodInOffHours":"0"}'
//             alert(message = alarmMesajiJSON, freq = alert.freq_once_per_bar_close)
//             sonuc := true
            
//         else if durum < 0 and posInfo.merhaba  
//             alarmMesajiJSON = '{"name":"osmanlı yatırım sinyali","symbol":"' + syminfo.ticker(sembol) + '","orderSide":"sell","orderType":"mktbest","price":"' + str.tostring(hisseFiyati) + '","quantity":"' + str.tostring(posInfo.timur) + '","timeInForce":"ioc","apiKey":"' + APIKEY + '","goodInOffHours":"0"}'
//             alert(message = alarmMesajiJSON, freq = alert.freq_once_per_bar_close)
            
//             posInfo.timur := 0.0
//             posInfo.inci := 0.0
//             posInfo.merhaba := false
//             sonuc := true
//     sonuc

s01 =  input.symbol(title='1',  defval='AKBNK',group = "╠═════════════ ÖZEL LİSTE ═════════════╣")
s02 =  input.symbol(title='2',  defval='ALARK')
s03 =  input.symbol(title='3',  defval='ARCLK')
s04 =  input.symbol(title='4',  defval='ASELS')
s05 =  input.symbol(title='5',  defval='ASTOR')
s06 =  input.symbol(title='6',  defval='BIMAS')
s07 =  input.symbol(title='7',  defval='EKGYO')
s08 =  input.symbol(title='8',  defval='ENKAI')
s09 =  input.symbol(title='9',  defval='EREGL')
s10 = input.symbol(title='10', defval='FROTO')
s11 = input.symbol(title='11', defval='GARAN')
s12 = input.symbol(title='12', defval='GUBRF')
s13 = input.symbol(title='13', defval='HEKTS')
s14 = input.symbol(title='14', defval='ISCTR')
s15 = input.symbol(title='15', defval='KCHOL')
s16 = input.symbol(title='16', defval='KOZAA')
s17 = input.symbol(title='17', defval='KOZAL')
s18 = input.symbol(title='18', defval='KRDMD')
s19 = input.symbol(title='19', defval='ODAS')
s20 = input.symbol(title='20', defval='PETKM')
s21 = input.symbol(title='21', defval='PGSUS')
s22 = input.symbol(title='22', defval='SAHOL')
s23 = input.symbol(title='23', defval='SASA')
s24 = input.symbol(title='24', defval='SISE')
s25 = input.symbol(title='25', defval='TAVHL')
s26 = input.symbol(title='26', defval='TCELL')
s27 = input.symbol(title='27', defval='THYAO')
s28 = input.symbol(title='28', defval='TOASO')
s29 = input.symbol(title='29', defval='AKSEN')
s30 = input.symbol(title='30', defval='TUPRS')
s31 = input.symbol(title='31', defval='YKBNK')
s32 = input.symbol(title='32', defval='DOHOL')
s33 = input.symbol(title='33', defval='VRGYO')
s34 = input.symbol(title='34', defval='YIGIT')
s35 = input.symbol(title='35', defval='HOROZ')
s36 = input.symbol(title='36', defval='KOTON')
s37 = input.symbol(title='37', defval='LILAK')
s38 = input.symbol(title='38', defval='SEGMN')
s39 = input.symbol(title='39', defval='EFORC')
// s40 = input.symbol(title='40', defval='ALTNY')

// Symbols 


a01 = grupSec == '1' ? 'BIST:ACSEL' : grupSec == '2' ? 'BIST:BRKSN' : grupSec == '3' ? 'BIST:EYGYO' : grupSec == '4' ? 'BIST:KATMR' : grupSec == '5' ? 'BIST:MIATK' : grupSec == '6' ? 'BIST:SAYAS' : 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' ? s01 : na

a02 = grupSec == '1' ? 'BIST:ADESE' : grupSec == '2' ? 'BIST:BRLSM' : grupSec == '3' ? 'BIST:FADE' : grupSec == '4' ? 'BIST:KAYSE' : grupSec == '5' ? 'BIST:MNDRS' : grupSec == '6' ? 'BIST:SEGMN' : 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' ? s02 : na

a03 = grupSec == '1' ? 'BIST:AHSGY' : grupSec == '2' ? 'BIST:BSOKE' : grupSec == '3' ? 'BIST:FMIZP' : grupSec == '4' ? 'BIST:KCAER' : grupSec == '5' ? 'BIST:MNDTR' : grupSec == '6' ? 'BIST:SEKUR' : 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' ? s03 : na

a04 = grupSec == '1' ? 'BIST:AKCNS' : grupSec == '2' ? 'BIST:BUCIM' : grupSec == '3' ? 'BIST:FONET' : grupSec == '4' ? 'BIST:KGYO' : grupSec == '5' ? 'BIST:MOBTL' : grupSec == '6' ? 'BIST:SELEC' : 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:TATGD' : grupSec == '14' ? 'BIST:USAK' : grupSec == 'ÖZEL LİSTE' ? s04 : na

a05 = grupSec == '1' ? 'BIST:AKSA' : grupSec == '2' ? 'BIST:BURCE' : grupSec == '3' ? 'BIST:FORMT' : grupSec == '4' ? 'BIST:KIMMR' : grupSec == '5' ? 'BIST:MPARK' : grupSec == '6' ? 'BIST:SELVA' : 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' ? s05 : na

a06 = grupSec == '1' ? 'BIST:AKSEN' : grupSec == '2' ? 'BIST:BURVA' : grupSec == '3' ? 'BIST:FZLGY' : grupSec == '4' ? 'BIST:KLSYN' : grupSec == '5' ? 'BIST:NATEN' : grupSec == '6' ? 'BIST:SILVR' : 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' ? s06 : na

a07 = grupSec == '1' ? 'BIST:AKYHO' : grupSec == '2' ? 'BIST:CANTE' : grupSec == '3' ? 'BIST:GEDZA' : grupSec == '4' ? 'BIST:KNFRT' : grupSec == '5' ? 'BIST:NETAS' : grupSec == '6' ? 'BIST:SMART' : 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' ? s07 : na

a08 = grupSec == '1' ? 'BIST:ALBRK' : grupSec == '2' ? 'BIST:CEMAS' : grupSec == '3' ? 'BIST:GENIL' : grupSec == '4' ? 'BIST:KONKA' : grupSec == '5' ? 'BIST:NTGAZ' : grupSec == '6' ? 'BIST:SMRTG' : 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' ? s08 : na

a09 = grupSec == '1' ? 'BIST:ALCTL' : grupSec == '2' ? 'BIST:CEMTS' : grupSec == '3' ? 'BIST:GOLTS' : grupSec == '4' ? 'BIST:KONYA' : grupSec == '5' ? 'BIST:NUHCM' : grupSec == '6' ? 'BIST:SNGYO' : 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' ? s09 : na

a101 = grupSec == '1' ? 'BIST:ALKA' : grupSec == '2' ? 'BIST:CGCAM' : grupSec == '3' ? 'BIST:GENTS' : grupSec == '4' ? 'BIST:KOPOL' : grupSec == '5' ? 'BIST:OBAMS' : grupSec == '6' ? 'BIST:SNICA' : grupSec == '7' ? 'BIST:IDGYO' : grupSec == '8' ? 'BIST:KBORU' : grupSec == '9' ? 'BIST:KZBGY' : grupSec == '10' ? 'BIST:MRGYO' : grupSec == '11' ? 'BIST:PEHOL' : grupSec == '12' ? 'BIST:SASA' : grupSec == '13' ? 'BIST:TERA' : grupSec == '14' ? 'BIST:VBTYZ' : grupSec == 'ÖZEL LİSTE' ? s10 : na

a11 = grupSec == '1' ? 'BIST:ALKIM' : grupSec == '2' ? 'BIST:CMBTN' : grupSec == '3' ? 'BIST:GEREL' : grupSec == '4' ? 'BIST:BOSSA' : grupSec == '5' ? 'BIST:OBASE' : grupSec == '6' ? 'BIST:SOKE' : 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' ? s11 : na

a12 = grupSec == '1' ? 'BIST:ALKLC' : grupSec == '2' ? 'BIST:COSMO' : grupSec == '3' ? 'BIST:GOKNR' : grupSec == '4' ? 'BIST:KRDMA' : grupSec == '5' ? 'BIST:ONCSM' : grupSec == '6' ? 'BIST:SRVGY' : 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' ? s12 : na

a13 = grupSec == '1' ? 'BIST:ALTNY' : grupSec == '2' ? 'BIST:CUSAN' : grupSec == '3' ? 'BIST:GOODY' : grupSec == '4' ? 'BIST:KRDMB' : grupSec == '5' ? 'BIST:ORCAY' : grupSec == '6' ? 'BIST:SUNTK' : 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' ? s13 : na

a14 = grupSec == '1' ? 'BIST:ALVES' : grupSec == '2' ? 'BIST:CWENE' : grupSec == '3' ? 'BIST:GRSEL' : grupSec == '4' ? 'BIST:KRDMD' : grupSec == '5' ? 'BIST:ORGE' : grupSec == '6' ? 'BIST:SURGY' : 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' ? s14 : na

a15 = grupSec == '1' ? 'BIST:ANGEN' : grupSec == '2' ? 'BIST:DAGHL' : grupSec == '3' ? 'BIST:GRTHO' : grupSec == '4' ? 'BIST:KRGYO' : grupSec == '5' ? 'BIST:OSTIM' : grupSec == '6' ? 'BIST:SUWEN' : 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' ? s15 : na

a16 = grupSec == '1' ? 'BIST:ARASE' : grupSec == '2' ? 'BIST:DARDL' : grupSec == '3' ? 'BIST:GUBRF' : grupSec == '4' ? 'BIST:KRONT' : grupSec == '5' ? 'BIST:OYAKC' : grupSec == '6' ? 'BIST:TCKRC' : 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' ? s16 : na

a17 = grupSec == '1' ? 'BIST:ARDYZ' : grupSec == '2' ? 'BIST:DCTTR' : grupSec == '3' ? 'BIST:GUNDG' : grupSec == '4' ? 'BIST:KRPLS' : grupSec == '5' ? 'BIST:OZATD' : grupSec == '6' ? 'BIST:TDGYO' : 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' ? s17 : na

a188 = grupSec == '1' ? 'BIST:ARENA' : grupSec == '2' ? 'BIST:DESPC' : grupSec == '3' ? 'BIST:GWIND' : grupSec == '4' ? 'BIST:KRSTL' : grupSec == '5' ? 'BIST:OZRDN' : grupSec == '6' ? 'BIST:TEZOL' : 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' ? s18 : na

a19 = grupSec == '1' ? 'BIST:ASELS' : grupSec == '2' ? 'BIST:DGATE' : grupSec == '3' ? 'BIST:HATSN' : grupSec == '4' ? 'BIST:KRVGD' : grupSec == '5' ? 'BIST:OZSUB' : grupSec == '6' ? 'BIST:TKFEN' : 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' ? s19 : na

a20 = grupSec == '1' ? 'BIST:ASUZU' : grupSec == '2' ? 'BIST:DGNMO' : grupSec == '3' ? 'BIST:HKTM' : grupSec == '4' ? 'BIST:KTLEV' : grupSec == '5' ? 'BIST:OZYSR' : grupSec == '6' ? 'BIST:TNZTP' : 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' ? s20 : na

a21 = grupSec == '1' ? 'BIST:ATAKP' : grupSec == '2' ? 'BIST:DMRGD' : grupSec == '3' ? 'BIST:HOROZ' : grupSec == '4' ? 'BIST:KUTPO' : grupSec == '5' ? 'BIST:PARSN' : grupSec == '6' ? 'BIST:TUCLK' : 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' ? s21 : na

a22 = grupSec == '1' ? 'BIST:ATATP' : grupSec == '2' ? 'BIST:DOAS' : grupSec == '3' ? 'BIST:HRKET' : grupSec == '4' ? 'BIST:KUYAS' : grupSec == '5' ? 'BIST:PASEU' : grupSec == '6' ? 'BIST:TUKAS' : 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' ? s22 : na

a23 = grupSec == '1' ? 'BIST:ATEKS' : grupSec == '2' ? 'BIST:DOBUR' : grupSec == '3' ? 'BIST:HTTBT' : grupSec == '4' ? 'BIST:KZBGY' : grupSec == '5' ? 'BIST:PEHOL' : grupSec == '6' ? 'BIST:TUPRS' : 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' ? s23 : na

a24 = grupSec == '1' ? 'BIST:AVGYO' : grupSec == '2' ? 'BIST:DOFER' : grupSec == '3' ? 'BIST:HUNER' : grupSec == '4' ? 'BIST:LILAK' : grupSec == '5' ? 'BIST:PEKGY' : grupSec == '6' ? 'BIST:TUREX' : 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' ? s24 : na

a25 = grupSec == '1' ? 'BIST:AVPGY' : grupSec == '2' ? 'BIST:DURKN' : grupSec == '3' ? 'BIST:IDGYO' : grupSec == '4' ? 'BIST:LKMNH' : grupSec == '5' ? 'BIST:PENGD' : grupSec == '6' ? 'BIST:ULUSE' : grupSec == '7' ? 'BIST:IPEKE' : 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' ? s25 : na

a26 = grupSec == '1' ? 'BIST:BAHKM' : grupSec == '2' ? 'BIST:DYOBY' : grupSec == '3' ? 'BIST:IHEVA' : grupSec == '4' ? 'BIST:LMKDC' : grupSec == '5' ? 'BIST:PENTA' : grupSec == '6' ? 'BIST:USAK' : 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' ? s26 : na

a27 = grupSec == '1' ? 'BIST:BAKAB' : grupSec == '2' ? 'BIST:EBEBK' : grupSec == '3' ? 'BIST:IHGZT' : grupSec == '4' ? 'BIST:LOGO' : grupSec == '5' ? 'BIST:PETKM' : grupSec == '6' ? 'BIST:VAKKO' : 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:TSPOR' : grupSec == '14' ? 'BIST:YKBNK' : grupSec == 'ÖZEL LİSTE' ? s27 : na

a288 = grupSec == '1' ? 'BIST:BANVT' : grupSec == '2' ? 'BIST:EDATA' : grupSec == '3' ? 'BIST:IHLAS' : grupSec == '4' ? 'BIST:LRSHO' : grupSec == '5' ? 'BIST:PETUN' : grupSec == '6' ? 'BIST:VANGD' : 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' ? s28 : na

a29 = grupSec == '1' ? 'BIST:BASGZ' : grupSec == '2' ? 'BIST:EDIP' : grupSec == '3' ? 'BIST:IHLGM' : grupSec == '4' ? 'BIST:LUKSK' : grupSec == '5' ? 'BIST:PKART' : grupSec == '6' ? 'BIST:VBTYZ' : 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' ? s29 : na

a30 = grupSec == '1' ? 'BIST:BAYRK' : grupSec == '2' ? 'BIST:EGEPO' : grupSec == '3' ? 'BIST:IHYAY' : grupSec == '4' ? 'BIST:LYDHO' : grupSec == '5' ? 'BIST:PLTUR' : grupSec == '6' ? 'BIST:VESBE' : 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' ? s30 : na

a31 = grupSec == '1' ? 'BIST:BERA' : grupSec == '2' ? 'BIST:EGGUB' : grupSec == '3' ? 'BIST:IMASM' : grupSec == '4' ? 'BIST:MAGEN' : grupSec == '5' ? 'BIST:PNSUT' : grupSec == '6' ? 'BIST:VESTL' : 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' ? s31 : na

a32 = grupSec == '1' ? 'BIST:BEYAZ' : grupSec == '2' ? 'BIST:EGPRO' : grupSec == '3' ? 'BIST:INGRM' : grupSec == '4' ? 'BIST:MAKIM' : grupSec == '5' ? 'BIST:POLHO' : grupSec == '6' ? 'BIST:YATAS' : grupSec == '7' ? 'BIST:ISGSY' : grupSec == '8' ? 'BIST:KORDS' : grupSec == '9' ? 'BIST:MEGMT' : grupSec == '10' ? 'BIST:OSTIM' : grupSec == '11' ? 'BIST:QNBFK' : grupSec == '12' ? 'BIST:SODSN' : grupSec == '13' ? 'BIST:TUPRS' : grupSec == '14' ? 'BIST:YYLGD' : grupSec == 'ÖZEL LİSTE' ? s32 : na

a33 = grupSec == '1' ? 'BIST:BIENY' : grupSec == '2' ? 'BIST:EKSUN' : grupSec == '3' ? 'BIST:INTEM' : grupSec == '4' ? 'BIST:MANAS' : grupSec == '5' ? 'BIST:PRKAB' : grupSec == '6' ? 'BIST:YEOTK' : grupSec == '7' ? 'BIST:ISGYO' : grupSec == '8' ? 'BIST:KOZAA' : 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' ? s33 : na

a34 = grupSec == '1' ? 'BIST:BIMAS' : grupSec == '2' ? 'BIST:ELITE' : grupSec == '3' ? 'BIST:ISDMR' : grupSec == '4' ? 'BIST:MARBL' : grupSec == '5' ? 'BIST:QUAGR' : grupSec == '6' ? 'BIST:YUNSA' : grupSec == '7' ? 'BIST:ISKPL' : grupSec == '8' ? 'BIST:KOZAL' : 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' ? s34 : na

a35 = grupSec == '1' ? 'BIST:BINBN' : grupSec == '2' ? 'BIST:ENJSA' : grupSec == '3' ? 'BIST:ISKPL' : grupSec == '4' ? 'BIST:MARKA' : grupSec == '5' ? 'BIST:RALYH' : grupSec == '6' ? 'BIST:ZEDUR' : 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' ? 'BIST:ZRGYO' : grupSec == 'ÖZEL LİSTE' ? s35 : na

a36 = grupSec == '1' ? 'BIST:BINHO' : grupSec == '2' ? 'BIST:ERCB' : grupSec == '3' ? 'BIST:ISSEN' : grupSec == '4' ? 'BIST:MAVI' : grupSec == '5' ? 'BIST:RODRG' : grupSec == '6' ? 'BIST:EUPWR' : 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' ? s36 : na

a37 = grupSec == '1' ? 'BIST:BMSTL' : grupSec == '2' ? 'BIST:EREGL' : grupSec == '3' ? 'BIST:IZFAS' : grupSec == '4' ? 'BIST:MEDTR' : grupSec == '5' ? 'BIST:RUBNS' : grupSec == '6' ? 'BIST:KAREL' : 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' ? s37 : na

a388 = grupSec == '1' ? 'BIST:BORLS' : grupSec == '2' ? 'BIST:ESCOM' : grupSec == '3' ? 'BIST:IZINV' : grupSec == '4' ? 'BIST:MEKAG' : grupSec == '5' ? 'BIST:SAFKR' : grupSec == '6' ? 'BIST:MERKO' : 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' ? s38 : na

a39 = grupSec == '1' ? 'BIST:BORSK' : grupSec == '2' ? 'BIST:ESEN' : grupSec == '3' ? 'BIST:JANTS' : grupSec == '4' ? 'BIST:MERCN' : grupSec == '5' ? 'BIST:SAMAT' : grupSec == '6' ? 'BIST:SANKO' : 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' ? s39 : na

// a40 = grupSec == '1' ? 'BIST:BOSSA' : grupSec == '2' ? 'BIST:EUPWR' : grupSec == '3' ? 'BIST:KAREL' : grupSec == '4' ? 'BIST:MERKO' : grupSec == '5' ? 'BIST:SANKO' : grupSec == '6' ? 'BIST:XMANA' : 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' ? s40 : na


alarmTetikle(a01, Sinyal, 0)    
alarmTetikle(a02, Sinyal, 1)    
alarmTetikle(a03, Sinyal, 2)
alarmTetikle(a04, Sinyal, 3)
alarmTetikle(a05, Sinyal, 4)
alarmTetikle(a06, Sinyal, 5)
alarmTetikle(a07, Sinyal, 6)
alarmTetikle(a08, Sinyal, 7)
alarmTetikle(a09, Sinyal, 8)
alarmTetikle(a101, Sinyal, 9)
alarmTetikle(a11, Sinyal, 10)
alarmTetikle(a12, Sinyal, 11)
alarmTetikle(a13, Sinyal, 12)
alarmTetikle(a14, Sinyal, 13)
alarmTetikle(a15, Sinyal, 14)
alarmTetikle(a16, Sinyal, 15)
alarmTetikle(a17, Sinyal, 16)
alarmTetikle(a188, Sinyal, 17)
alarmTetikle(a19, Sinyal, 18)
alarmTetikle(a20, Sinyal, 19)
alarmTetikle(a21, Sinyal, 20)
alarmTetikle(a22, Sinyal, 21)
alarmTetikle(a23, Sinyal, 22)
alarmTetikle(a24, Sinyal, 23)
alarmTetikle(a25, Sinyal, 24)
alarmTetikle(a26, Sinyal, 25)
alarmTetikle(a27, Sinyal, 26)
alarmTetikle(a288, Sinyal, 27)
alarmTetikle(a29, Sinyal, 28)
alarmTetikle(a30, Sinyal, 29)
alarmTetikle(a31, Sinyal, 30)
alarmTetikle(a32, Sinyal, 31)
alarmTetikle(a33, Sinyal, 32)
alarmTetikle(a34, Sinyal, 33)
alarmTetikle(a35, Sinyal, 34)
alarmTetikle(a36, Sinyal, 35)
alarmTetikle(a37, Sinyal, 36)
alarmTetikle(a388, Sinyal, 37)
alarmTetikle(a39, Sinyal, 38)
// alarmTetikle(a40,Sinyal, 39)


Editor is loading...
Leave a Comment