Artan
Azalan
lem
BIST 30
BIST 50
BIST 100
NASDAQ 100
Hisse Fiyat Fark% Hacim (TL) Dk / Yksek
119,90 10% 1,16 Mr 110,30 / 119,90
3,63 10% 501,00 Mn 3,31 / 3,63
8,14 10% 2,47 Mr 7,54 / 8,14
53,90 10% 982,81 Mn 47,32 / 53,90
34,80 9.99% 91,16 Mn 34,80 / 34,80
Hisse Fiyat Fark% Hacim (TL) Dk / Yksek
2,90 -9.94% 955,51 Mn 2,90 / 3,13
1.353,00 -9.68% 284,03 Mn 1.349,00 / 1.508,00
7,81 -8.12% 11,40 Mn 7,80 / 8,01
21,92 -7.74% 421,11 Mn 21,42 / 24,44
269,25 -7.16% 258,51 Mn 268,25 / 290,00
Hisse Fiyat Fark% Hacim (TL) Dk / Yksek
329,00 3.7% 35,57 Mr 317,75 / 335,00
3,14 2.61% 34,03 Mr 3,03 / 3,32
39,30 4.86% 15,25 Mr 37,14 / 39,36
15,11 4.64% 14,63 Mr 14,36 / 15,11
83,55 6.98% 13,83 Mr 77,40 / 83,85
Hisse Fiyat Fark% Hacim (TL) Dk / Yksek
19,42 4.52% 1,50 Mr 18,28 / 19,42
83,55 6.98% 13,83 Mr 77,40 / 83,85
414,00 0.73% 8,67 Mr 407,00 / 417,50
196,70 2.45% 9,71 Mr 189,40 / 197,60
765,00 2.55% 4,53 Mr 742,50 / 770,50
Hisse Fiyat Fark% Hacim (TL) Dk / Yksek
19,42 4.52% 1,50 Mr 18,28 / 19,42
83,55 6.98% 13,83 Mr 77,40 / 83,85
95,55 2.52% 697,12 Mn 92,75 / 95,95
118,70 2.33% 332,28 Mn 114,90 / 119,30
414,00 0.73% 8,67 Mr 407,00 / 417,50
Hisse Fiyat Fark% Hacim (TL) Dk / Yksek
19,42 4.52% 1,50 Mr 18,28 / 19,42
32,04 3.96% 257,43 Mn 30,62 / 32,14
83,55 6.98% 13,83 Mr 77,40 / 83,85
10,95 2.34% 240,15 Mn 10,71 / 10,95
80,10 -1.6% 845,03 Mn 78,55 / 82,95

Masrafsz Bankaclk + 1.000 TL Nakit! Enparadan ifte Avantaj

Masrafsz Bankaclk + 1.000 TL Nakit! Enparadan ifte Avantaj
Sayfa 399/400 lklk ... 299349389397398399400 SonSon
Arama sonucu : 3194 madde; 3,185 - 3,192 aras.

Konu: Tradingview

  1. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 5: Adaptif Hurst Zrh]"shorttitle="Adaptif Hurst"overlay=truemax_lines_count=500)

    // ─────────────────────────────────────────────────────────────────
    //  1. HURST DALGALARI (Tm Fibonacci Periyotlarnn Hazrlanmas)
    // ─────────────────────────────────────────────────────────────────
    src close

    // RMA fonksiyonu tam saylara (simple int) ihtiya duyduundan hepsini batan hesaplyoruz.
    h_1m  ta.rma(src34// 1 Dakika iin
    h_3m  ta.rma(src21// 3 Dakika iin
    h_5m  ta.rma(src13// 5 Dakika iin
    h_15m ta.rma(src8)  // 15 Dakika iin
    h_1h  ta.rma(src5)  // 1 Saat (60m) iin
    h_4h  ta.rma(src3)  // 4 Saat (240m) iin
    h_1D  close[1]        // 1 Gnlk (Uzunluk 1 olduu iin dnk kapan referans alnr)

    // ─────────────────────────────────────────────────────────────────
    //  2. OTOMATK VTES (Zaman Dilimine Gre izgi Seimi)
    // ─────────────────────────────────────────────────────────────────
    string tf timeframe.period
    float aktif_hurst 
    na

    if tf == "1"
        
    aktif_hurst := h_1m
    else if tf == "3"
        
    aktif_hurst := h_3m
    else if tf == "5"
        
    aktif_hurst := h_5m
    else if tf == "15"
        
    aktif_hurst := h_15m
    else if tf == "60"
        
    aktif_hurst := h_1h
    else if tf == "240"
        
    aktif_hurst := h_4h
    else if tf == "D" or tf == "1D"
        
    aktif_hurst := h_1D

    // ─────────────────────────────────────────────────────────────────
    //  3. MUM BOYAMA (BARCOLOR) VE ZM
    // ─────────────────────────────────────────────────────────────────
    color durum_rengi color.new(color.gray50// Desteklenmeyen periyotlarda gri kalr

    if not na(aktif_hurst)
        if 
    close aktif_hurst
            durum_rengi 
    := color.new(#00E676, 0) // BOA (Yeil)
        
    else if close aktif_hurst
            durum_rengi 
    := color.new(#FF1744, 0) // AYI (Krmz)

    // Mumlar Renklendir
    barcolor(durum_rengi)

    // Ekranda SADECE aktif periyodun izgisi grnr, dierleri yok olur.
    plot(aktif_hursttitle="Hurst Zrh"color=durum_rengilinewidth=2style=plot.style_line
    16.07.2024 - 10.12.2024

  2. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 4: Elmas Tekil Tetik]"shorttitle="Elmas Tekil"overlay=truemax_lines_count=500)

    // 1. ZAMAN DLMLER VE HESAPLAMALAR
    src close
    f_hurst
    (len) => ta.rma(srclen)

    // MTF Verileri (Gelecei grme kapal)
    gunluk_kapanis request.security(syminfo.tickerid"D"close[1], lookahead=barmerge.lookahead_off)
    gunluk_guncel  request.security(syminfo.tickerid"D"closelookahead=barmerge.lookahead_off)

    h_4h  request.security(syminfo.tickerid"240"f_hurst(3),  lookahead=barmerge.lookahead_off)
    h_1h  request.security(syminfo.tickerid"60",  f_hurst(5),  lookahead=barmerge.lookahead_off)
    h_15m request.security(syminfo.tickerid"15",  f_hurst(8),  lookahead=barmerge.lookahead_off)
    h_5m  request.security(syminfo.tickerid"5",   f_hurst(13), lookahead=barmerge.lookahead_off)
    h_3m  request.security(syminfo.tickerid"3",   f_hurst(21), lookahead=barmerge.lookahead_off)
    h_1m  request.security(syminfo.tickerid"1",   f_hurst(34), lookahead=barmerge.lookahead_off)

    // 2. OYLAMA MOTORU
    int boga_skor 0
    int ayi_skor  
    0

    boga_skor 
    += (gunluk_guncel gunluk_kapanis) ? 0
    ayi_skor  
    += (gunluk_guncel gunluk_kapanis) ? 0
    boga_skor 
    += (src h_4h) ? 0
    ayi_skor  
    += (src h_4h) ? 0
    boga_skor 
    += (src h_1h) ? 0
    ayi_skor  
    += (src h_1h) ? 0
    boga_skor 
    += (src h_15m) ? 0
    ayi_skor  
    += (src h_15m) ? 0
    boga_skor 
    += (src h_5m) ? 0
    ayi_skor  
    += (src h_5m) ? 0
    boga_skor 
    += (src h_3m) ? 0
    ayi_skor  
    += (src h_3m) ? 0
    boga_skor 
    += (src h_1m) ? 0
    ayi_skor  
    += (src h_1m) ? 0

    // 3. TEKL TETK MANTII (Sadece ilk defa 5/7 olduunda iz)
    bool elmas_al_surekli  boga_skor >= 5
    bool elmas_sat_surekli 
    ayi_skor >= 5

    // "and not ...[1]" -> Bir nceki mumda bu durum yoksa (Yani ilk defa oluyorsa)
    bool elmas_al_tekil  elmas_al_surekli and not elmas_al_surekli[1]
    bool elmas_sat_tekil elmas_sat_surekli and not elmas_sat_surekli[1]

    // 4. ZMLER
    plotshape(elmas_al_tekil,  title="AL",  style=shape.diamondlocation=location.belowbarcolor=color.limetext="AL"textcolor=color.limesize=size.small)
    plotshape(elmas_sat_tekiltitle="SAT"style=shape.diamondlocation=location.abovebarcolor=color.red,  text="SAT"textcolor=color.redsize=size.small
    16.07.2024 - 10.12.2024

  3. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 4: Elmas Konsenss]"shorttitle="Elmas Konsenss"overlay=truemax_lines_count=500)

    // ─────────────────────────────────────────────────────────────────
    //  1. ZAMAN DLMLER VE FIBONACCI UZUNLUKLARI
    // ─────────────────────────────────────────────────────────────────
    // Fiyatn gncel durumu (Referans noktas)
    src close

    // Hurst (RMA) Hesaplama Fonksiyonu
    f_hurst(len) => ta.rma(srclen)

    // MTF Verilerinin ekilmesi (lookahead_off ile gelecei grme engellendi)
    // 1 Gnlk (1D) iin uzunluk 1 istendiinden, dnk kapana gre yn belirlenir.
    gunluk_kapanis request.security(syminfo.tickerid"D"close[1], lookahead=barmerge.lookahead_off)
    gunluk_guncel  request.security(syminfo.tickerid"D"closelookahead=barmerge.lookahead_off)

    // Dier zaman dilimleri iin senin belirlediin Hurst (RMA) deerleri
    h_4h  request.security(syminfo.tickerid"240"f_hurst(3),  lookahead=barmerge.lookahead_off)
    h_1h  request.security(syminfo.tickerid"60",  f_hurst(5),  lookahead=barmerge.lookahead_off)
    h_15m request.security(syminfo.tickerid"15",  f_hurst(8),  lookahead=barmerge.lookahead_off)
    h_5m  request.security(syminfo.tickerid"5",   f_hurst(13), lookahead=barmerge.lookahead_off)
    h_3m  request.security(syminfo.tickerid"3",   f_hurst(21), lookahead=barmerge.lookahead_off)
    h_1m  request.security(syminfo.tickerid"1",   f_hurst(34), lookahead=barmerge.lookahead_off)

    // ─────────────────────────────────────────────────────────────────
    //  2. OYLAMA / KONSENSS MOTORU (7 zerinden Puanlama)
    // ─────────────────────────────────────────────────────────────────
    int boga_skor 0
    int ayi_skor  
    0

    // 1. OY: Gnlk (1D)
    boga_skor += (gunluk_guncel gunluk_kapanis) ? 0
    ayi_skor  
    += (gunluk_guncel gunluk_kapanis) ? 0

    // 2. OY: 4 Saatlik (4H - Deer: 3)
    boga_skor += (src h_4h) ? 0
    ayi_skor  
    += (src h_4h) ? 0

    // 3. OY: 1 Saatlik (1H - Deer: 5)
    boga_skor += (src h_1h) ? 0
    ayi_skor  
    += (src h_1h) ? 0

    // 4. OY: 15 Dakikalk (15m - Deer: 8)
    boga_skor += (src h_15m) ? 0
    ayi_skor  
    += (src h_15m) ? 0

    // 5. OY: 5 Dakikalk (5m - Deer: 13)
    boga_skor += (src h_5m) ? 0
    ayi_skor  
    += (src h_5m) ? 0

    // 6. OY: 3 Dakikalk (3m - Deer: 21)
    boga_skor += (src h_3m) ? 0
    ayi_skor  
    += (src h_3m) ? 0

    // 7. OY: 1 Dakikalk (1m - Deer: 34)
    boga_skor += (src h_1m) ? 0
    ayi_skor  
    += (src h_1m) ? 0

    // ─────────────────────────────────────────────────────────────────
    //  3. TETK (5/7 KURALI) VE ELMAS ZMLER
    // ─────────────────────────────────────────────────────────────────
    // ounluk saland m? (5, 6 veya 7 oy)
    bool elmas_al  boga_skor >= 5
    bool elmas_sat 
    ayi_skor >= 5

    // Sinyalleri Ekrana Bas (ekil: Elmas)
    plotshape(elmas_al,  title="Konsenss AL",  style=shape.diamondlocation=location.belowbarcolor=color.limetext="AL"textcolor=color.limesize=size.small)
    plotshape(elmas_sattitle="Konsenss SAT"style=shape.diamondlocation=location.abovebarcolor=color.red,  text="SAT"textcolor=color.redsize=size.small)

    // Arka Plan Renklendirmesi (Ekstra Grsellik stersen - u an kapal, amak istersen bataki // iaretlerini sil)
    // bgcolor(elmas_al ? color.new(color.lime, 90) : na, title="Boa Blgesi")
    // bgcolor(elmas_sat ? color.new(color.red, 90) : na, title="Ay Blgesi")

    // Alarmlar
    alertcondition(elmas_al,  title="Elmas AL Yand",  message="Yrk Konsenss: 7 periyodun en az 5'i BOA ynnde sraland! (AL)")
    alertcondition(elmas_sattitle="Elmas SAT Yand"message="Yrk Konsenss: 7 periyodun en az 5'i AYI ynnde sraland! (SAT)"
    16.07.2024 - 10.12.2024

  4. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 3: Grnmez Zrh 34/55]"shorttitle="Grnmez Zrh"overlay=truemax_lines_count=500max_labels_count=500)

    // ─────────────────────────────────────────────────────────────────
    //  1. TEMEL MATEMATKSEL FONKSYONLAR
    // ─────────────────────────────────────────────────────────────────
    bool_to_float(bool source) => source 0

    ema
    (source)=>
        var 
    float ema 0.0
        
    var int count 0
        count 
    := nz(count[1]) + 1
        ema 
    := (1.0 2.0 / (count 1.0)) * nz(ema[1]) + 2.0 / (count 1.0) * source
        ema

    atan2
    (yx) =>
        var 
    float angle 0.0
        
    if 0
            angle 
    := math.atan(x)
        else if 
    and >= 0
            angle 
    := math.atan(x) + math.pi
        
    else if and 0
            angle 
    := math.atan(x) - math.pi
        
    else if == and 0
            angle 
    := math.pi 2
        
    else if == and 0
            angle 
    := -math.pi 2
        angle

    degrees
    (float source) => source 180 math.pi

    // MATS Hesaplama Fonksiyonu
    f_mats(int _len) =>
        
    atr_val ema(ta.tr)
        
    slope = (close close[10]) / (atr_val 10)
        
    angle_rad atan2(slope1)
        
    deg degrees(angle_rad)
        
    src ta.sma((deg high low), 2)
        
        
    smooth 0.0
        hh 
    math.max(math.sign(ta.change(ta.highest(_len))), 0)
        
    ll math.max(math.sign(ta.change(ta.lowest(_len)) * -1), 0)
        
    tc math.pow(ta.sma(bool_to_float(hh or ll), _len), 2)
        
    smooth := nz(smooth[1] + tc * (src smooth[1]), src)
        
        
    wp _len 1
        a 
    math.abs(nz(smooth[1]) - smooth)
        
    ma_a ta.ema(awp)
        
    dfa ta.ema(ma_awp) * _len 0.4
        
        res 
    0.0
        
    if smooth nz(res[1])
            
    res := (smooth dfa res[1]) ? res[1] : (smooth dfa)
        else
            
    res := (smooth dfa res[1]) ? res[1] : (smooth dfa)
        
    res

    // ─────────────────────────────────────────────────────────────────
    //  2. MATS MOTORLARI (Sadece 34 ve 55 kullanlyor)
    // ─────────────────────────────────────────────────────────────────
    mats_34 f_mats(34)
    mats_55 f_mats(55)
    // 89'luk motor hesaplamas koddaki arl azaltmak iin tamamen karld.

    // ─────────────────────────────────────────────────────────────────
    //  3. MUM BOYAMA (34 ve 55 KESM MANTII)
    // ─────────────────────────────────────────────────────────────────
    color durum_rengi color.new(color.gray60// Hata pay iin ntr gri

    // 34, 55'in zerindeyse trend BOA (Yeil)
    if mats_34 mats_55
        durum_rengi 
    := color.new(#00E676, 0)
    // 34, 55'in altndaysa trend AYI (Krmz)
    else if mats_34 mats_55
        durum_rengi 
    := color.new(#FF1744, 0)

    // Grafikteki mumlar renklendirir
    barcolor(durum_rengi)

    // izgiler, ok iaretleri ve alarmlar istein zerine tamamen kaldrld. 
    16.07.2024 - 10.12.2024

  5. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 3: MATS Sralamas]"shorttitle="MATS Sralama"overlay=truemax_lines_count=500max_labels_count=500)

    // ─────────────────────────────────────────────────────────────────
    //  1. TEMEL MATEMATKSEL FONKSYONLAR
    // ─────────────────────────────────────────────────────────────────
    bool_to_float(bool source) => source 0

    ema
    (source)=>
        var 
    float ema 0.0
        
    var int count 0
        count 
    := nz(count[1]) + 1
        ema 
    := (1.0 2.0 / (count 1.0)) * nz(ema[1]) + 2.0 / (count 1.0) * source
        ema

    atan2
    (yx) =>
        var 
    float angle 0.0
        
    if 0
            angle 
    := math.atan(x)
        else if 
    and >= 0
            angle 
    := math.atan(x) + math.pi
        
    else if and 0
            angle 
    := math.atan(x) - math.pi
        
    else if == and 0
            angle 
    := math.pi 2
        
    else if == and 0
            angle 
    := -math.pi 2
        angle

    degrees
    (float source) => source 180 math.pi

    // MATS Hesaplama Fonksiyonu
    f_mats(int _len) =>
        
    atr_val ema(ta.tr)
        
    slope = (close close[10]) / (atr_val 10)
        
    angle_rad atan2(slope1)
        
    deg degrees(angle_rad)
        
    src ta.sma((deg high low), 2)
        
        
    smooth 0.0
        hh 
    math.max(math.sign(ta.change(ta.highest(_len))), 0)
        
    ll math.max(math.sign(ta.change(ta.lowest(_len)) * -1), 0)
        
    tc math.pow(ta.sma(bool_to_float(hh or ll), _len), 2)
        
    smooth := nz(smooth[1] + tc * (src smooth[1]), src)
        
        
    wp _len 1
        a 
    math.abs(nz(smooth[1]) - smooth)
        
    ma_a ta.ema(awp)
        
    dfa ta.ema(ma_awp) * _len 0.4
        
        res 
    0.0
        
    if smooth nz(res[1])
            
    res := (smooth dfa res[1]) ? res[1] : (smooth dfa)
        else
            
    res := (smooth dfa res[1]) ? res[1] : (smooth dfa)
        
    res

    // ─────────────────────────────────────────────────────────────────
    //  2. MATS MOTORLARI (34, 55, 89)
    // ─────────────────────────────────────────────────────────────────
    mats_34 f_mats(34)
    mats_55 f_mats(55)
    mats_89 f_mats(89)

    // ─────────────────────────────────────────────────────────────────
    //  3. KUSURSUZ SIRALANMA MANTII (PERFECT ORDER)
    // ─────────────────────────────────────────────────────────────────
    bool boga_siralamasi = (mats_34 mats_55) and (mats_55 mats_89)
    bool ayi_siralamasi  = (mats_34 mats_55) and (mats_55 mats_89)

    // Sinyallerin sadece sralanma LK gerekletiinde verilmesi (Spam engeli)
    bool al_sinyali  boga_siralamasi and not boga_siralamasi[1]
    bool sat_sinyali ayi_siralamasi  and not ayi_siralamasi[1]

    // ─────────────────────────────────────────────────────────────────
    //  4. MUM BOYAMA VE ZGLER
    // ─────────────────────────────────────────────────────────────────
    color durum_rengi color.new(color.gray60// Kark piyasada ntr gri

    if boga_siralamasi
        durum_rengi 
    := color.new(#00E676, 0)      // Sralanma Boa ise YEL
    else if ayi_siralamasi
        durum_rengi 
    := color.new(#FF1744, 0)      // Sralanma Ay ise KIRMIZI

    barcolor(durum_rengi)

    plot(mats_34"MATS 34 (Hzl)"color=color.new(#00E676, 0), linewidth=1)
    plot(mats_55"MATS 55 (Orta)",  color=color.new(color.yellow0), linewidth=1)
    plot(mats_89"MATS 89 (Zrh)",  color=color.new(#FF1744, 0), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    //  5. AL/SAT TET EKRANA YANSITMA
    // ─────────────────────────────────────────────────────────────────
    plotshape(al_sinyali,  title="AL",  style=shape.triangleup,   location=location.belowbarcolor=color.limetext="AL"textcolor=color.blacksize=size.small)
    plotshape(sat_sinyalititle="SAT"style=shape.triangledownlocation=location.abovebarcolor=color.red,  text="SAT"textcolor=color.whitesize=size.small)

    // Alarmlar
    alertcondition(al_sinyali,  title="Sralanma AL",  message="MATS Kusursuz Boa Sralamasna Girdi: AL!")
    alertcondition(sat_sinyalititle="Sralanma SAT"message="MATS Kusursuz Ay Sralamasna Girdi: SAT!"
    16.07.2024 - 10.12.2024

  6. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 2: Saf Hurst Sralamas]"shorttitle="Hurst Sralama"overlay=truemax_lines_count=500max_labels_count=500)

    // ─────────────────────────────────────────────────────────────────
    //  1. GRDLER VE DNG AYARLARI
    // ─────────────────────────────────────────────────────────────────
    scl_t input.int(5title="Ksa Dng (Short Cycle)")
    mcl_t input.int(8title="Uzun Dng (Long Cycle)")
    scm   input.float(1.0title="Ksa Dng arpan")
    mcm   input.float(2.0title="Uzun Dng arpan")
    src   input.source(closetitle="Kaynak")

    // Uzunluklarn tam sayya evrilmesi
    scl int(scl_t 2)
    mcl int(mcl_t 2)

    // Hareketli Ortalamalar (RMA)
    ma_scl ta.rma(srcscl)
    ma_mcl ta.rma(srcmcl)

    // ATR Sapmalar
    scm_off scm ta.atr(scl)
    mcm_off mcm ta.atr(mcl)

    // Geriye dnk indeksler (Sfr gecikme - repaintsiz)
    scl_2 int(scl 2)
    mcl_2 int(mcl 2)

    // ─────────────────────────────────────────────────────────────────
    //  2. MERKEZ ZGLER (MEDYANLAR) VE BANT SINIRLARI
    // ─────────────────────────────────────────────────────────────────
    // Medyanlar (Sralanma iin kullanlacak ana eksenler)
    s_med nz(ma_scl[scl_2], src)
    m_med nz(ma_mcl[mcl_2], src)

    // Bant Snrlar
    sct s_med scm_off
    scb 
    s_med scm_off
    mct 
    m_med mcm_off
    mcb 
    m_med mcm_off

    // ─────────────────────────────────────────────────────────────────
    //  3. GRSELLETRME (RADAR BANTLARI VE EKSENLER)
    // ─────────────────────────────────────────────────────────────────
    // Bantlar gizli izdirip iini dolduruyoruz
    sctl plot(scttitle="Short Top"display=display.none)
    scbl plot(scbtitle="Short Bottom"display=display.none)
    mctl plot(mcttitle="Long Top"display=display.none)
    mcbl plot(mcbtitle="Long Bottom"display=display.none)

    fill(sctlscblcolor=color.new(color.blue90), title="Ksa Dng Alan")
    fill(mctlmcblcolor=color.new(color.gray90), title="Uzun Dng Alan")

    // Sralanmay izlemek iin Merkez izgileri izdiriyoruz
    plot(s_medtitle="Ksa Medyan"color=color.bluelinewidth=2)
    plot(m_medtitle="Uzun Medyan"color=color.graylinewidth=2)

    // ─────────────────────────────────────────────────────────────────
    //  4. AL/SAT ALTER (SIRALANMA TET)
    // ─────────────────────────────────────────────────────────────────
    // Ksa medyan, uzun medyan yukar kestiinde "Sralanma" (Boa) balar
    al_sinyali  ta.crossover(s_medm_med)

    // Ksa medyan, uzun medyann altna indiinde sralanma bozulur (Ay) balar
    sat_sinyali ta.crossunder(s_medm_med)

    // Sinyalleri Ekrana Bas
    plotshape(al_sinyali,  title="S2 AL",  style=shape.triangleup,   location=location.belowbarcolor=color.limetext="AL"textcolor=color.blacksize=size.small)
    plotshape(sat_sinyalititle="S2 SAT"style=shape.triangledownlocation=location.abovebarcolor=color.red,  text="SAT"textcolor=color.whitesize=size.small)

    // Alarmlar
    alertcondition(al_sinyali,  title="Sistem 2 AL",  message="Hurst Sralamas BOA ynnde gerekleti: AL!")
    alertcondition(sat_sinyalititle="Sistem 2 SAT"message="Hurst Sralamas AYI ynnde gerekleti: SAT!"
    16.07.2024 - 10.12.2024

  7. PHP Code:
    //@version=5
    indicator("Yrk [Sistem 2: Hurst Pusu]"shorttitle="Yrk S2"overlay=truemax_lines_count=500max_labels_count=500)

    // ─────────────────────────────────────────────────────────────────
    //  1. HURST DNGLER (RADAR BANTLARI)
    // ─────────────────────────────────────────────────────────────────
    scl_t input.int(10title="Ksa Dng Uzunluu (Short Cycle)")
    mcl_t input.int(30title="Orta Dng Uzunluu (Medium Cycle)")
    scm   input.float(1.0title="Ksa Dng arpan")
    mcm   input.float(3.0title="Orta Dng arpan")
    src   input.source(closetitle="Kaynak")

    scl int(scl_t 2)
    mcl int(mcl_t 2)

    ma_scl ta.rma(srcscl)
    ma_mcl ta.rma(srcmcl)

    scm_off scm ta.atr(scl)
    mcm_off mcm ta.atr(mcl)

    scl_2 int(scl 2)
    mcl_2 int(mcl 2)

    // Bant Snrlar (Sfr Gecikmeli)
    sct nz(ma_scl[scl_2], src) + scm_off
    scb 
    nz(ma_scl[scl_2], src) - scm_off
    mct 
    nz(ma_mcl[mcl_2], src) + mcm_off
    mcb 
    nz(ma_mcl[mcl_2], src) - mcm_off

    // Bant izimleri (Grsel temizlik iin ntr renkler ve yksek effaflk kullanld)
    sctl plot(scttitle="Short Top"display=display.none)
    scbl plot(scbtitle="Short Bottom"display=display.none)
    mctl plot(mcttitle="Medium Top"display=display.none)
    mcbl plot(mcbtitle="Medium Bottom"display=display.none)

    fill(sctlscblcolor=color.new(color.blue90), title="Ksa Dng Alan")
    fill(mctlmcblcolor=color.new(color.gray90), title="Orta Dng Alan")

    // ─────────────────────────────────────────────────────────────────
    //  2. FT AYNALI OMURGA MOTORU (13 ve 34)
    // ─────────────────────────────────────────────────────────────────
    float s_start_sabit 0.08
    float s_inc_sabit   
    0.05
    float s_max_sabit   
    0.2

    f_katman_ana
    (_start_inc_max_smooth) =>
        
    float _sar ta.sar(_start_inc_max)
        
    float _delta math.abs(close _sar)
        
    bool _is_up  close _sar
        float _raw_mirror 
    _is_up close _delta close _delta
        ta
    .hma(_raw_mirror_smooth)

    // GNE (34) VE AY (13) YRNGELER
    float ayna_13 f_katman_ana(s_start_sabits_inc_sabits_max_sabit13)
    float ayna_34 f_katman_ana(s_start_sabits_inc_sabits_max_sabit34)

    bool makro_al_34 ayna_34 close
    color col_ayna_34 
    makro_al_34 ? (ayna_34 ayna_34[1] ? color.blue color.lime) : (ayna_34 ayna_34[1] ? color.yellow color.red)

    aort = (ayna_13 ayna_34) / 2

    // Yrk izimi
    plot(aort"@yrk@"color=col_ayna_34linewidth=3style=plot.style_stepline)

    // ─────────────────────────────────────────────────────────────────
    //  3. SSTEM 2: PUSU VE TETK (AL/SAT ALTER)
    // ─────────────────────────────────────────────────────────────────
    // ADIM 1: PUSU BLGES (Fiyat son 3 mum iinde alt veya st banda arpt m?)
    bool pusu_al  ta.lowest(low3) <= scb or ta.lowest(low3) <= mcb
    bool pusu_sat 
    ta.highest(high3) >= sct or ta.highest(high3) >= mct

    // ADIM 2: YRK ONAYI (vme bizim istediimiz yne dnd m?)
    bool yoruk_boga col_ayna_34 == color.lime or col_ayna_34 == color.blue
    bool yoruk_ayi  
    col_ayna_34 == color.red or col_ayna_34 == color.yellow

    // ADIM 3: KESKN NANCI TET (Pusudayken Yrk renk deitirirse vur)
    bool sistem2_al  pusu_al  and yoruk_boga and not yoruk_boga[1]
    bool sistem2_sat pusu_sat and yoruk_ayi  and not yoruk_ayi[1]

    // EKRANA YANSITMA
    plotshape(sistem2_al,  title="S2: AL",  style=shape.triangleup,   location=location.belowbarcolor=color.limetext="AL"textcolor=color.blacksize=size.small)
    plotshape(sistem2_sattitle="S2: SAT"style=shape.triangledownlocation=location.abovebarcolor=color.red,  text="SAT"textcolor=color.whitesize=size.small)

    // ALARMLAR
    alertcondition(sistem2_al,  title="Sistem 2 AL",  message="Yrk Sistem 2: Alt banttan destek alnd, yn YUKARI!")
    alertcondition(sistem2_sattitle="Sistem 2 SAT"message="Yrk Sistem 2: st banda arpld, yn AAI!"
    16.07.2024 - 10.12.2024

  8. PHP Code:
    //@version=5
    indicator(title='🔥 Auto-Adaptive MA Profiles PRO [Optimize]'overlay=truemax_lines_count=500max_labels_count=500)

    // ============================================================================
    // 🎨 TABLO AYARLARI
    // ============================================================================
    group_table "📊 Tablo Ayarlar"
    table_position input.string("Sa st""Tablo Konumu"options=["Sa st""Sa Alt""Sol st""Sol Alt"], group=group_table)
    table_size input.string("Normal""Tablo Boyutu"options=["Tiny""Small""Normal""Large"], group=group_table)
    line_width input.int(1title="izgi Kalnl"minval=1maxval=5group=group_table)

    f_get_table_position(pos) => pos == "Sa st" position.top_right pos == "Sa Alt" position.bottom_right pos == "Sol st" position.top_left position.bottom_left
    f_get_text_size
    (sz) => sz == "Tiny" size.tiny sz == "Small" size.small sz == "Normal" size.normal size.large

    // ============================================================================
    // 🎯 TREND VE SUPERTREND AYARLARI
    // ============================================================================
    group_trend "🎯 Trend Hesaplama Yntemi"
    trend_method input.string("Supertrend""Trend Yntemi"options=["MA Sralamas""Supertrend"], group=group_trend)

    group_st "📊 Supertrend Ayarlar"
    st_use_atr_rma input.bool(true"ATR Methodu (Standart RMA)"group=group_st)
    st_atr_period input.int(10"ATR Periyodu"minval=1group=group_st)
    st_factor input.float(1.4"arpan (Faktr)"minval=0.1step=0.1group=group_st)

    f_get_st_direction() =>
        
    atrVal st_use_atr_rma ta.atr(st_atr_period) : ta.sma(ta.trst_atr_period)
        
    src_st hl2
        up 
    src_st - (st_factor atrVal)
        
    up1 nz(up[1], up)
        
    up := close[1] > up1 math.max(upup1) : up
        dn 
    src_st + (st_factor atrVal)
        
    dn1 nz(dn[1], dn)
        
    dn := close[1] < dn1 math.min(dndn1) : dn
        
    var int trend 1
        trend 
    := nz(trend[1], trend)
        
    trend := trend == -and close dn1 trend == and close up1 ? -trend
        trend

    int st_dir 
    f_get_st_direction()

    // ============================================================================
    // 🔧 HO HESAPLAMA MOTORU (Dinamik ve Temiz)
    // ============================================================================
    f_ma(sourcelengthmaType) =>
        
    float result na
        
    if maType == "EMA"
            
    result := ta.ema(sourcelength)
        else if 
    maType == "SMA"
            
    result := ta.sma(sourcelength)
        else if 
    maType == "WMA"
            
    result := ta.wma(sourcelength)
        else if 
    maType == "HMA"
            
    result := ta.wma(ta.wma(sourcemath.round(length 2)) - ta.wma(sourcelength), math.round(math.sqrt(length)))
        else if 
    maType == "VWMA"
            
    result := ta.vwma(sourcelength)
        else if 
    maType == "RMA"
            
    result := ta.rma(sourcelength)
        else if 
    maType == "DEMA"
            
    e1 ta.ema(sourcelength)
            
    result := e1 ta.ema(e1length)
        else if 
    maType == "TEMA"
            
    e1 ta.ema(sourcelength)
            
    e2 ta.ema(e1length)
            
    result := e1 e2 ta.ema(e2length)
        else if 
    maType == "ZLEMA"
            
    lag math.round((length 1) / 2)
            
    result := ta.ema(source + (source nz(source[lag])), length)
        
    result

    // ============================================================================
    // 🎛️ ZAMAN DLM (TF) GRDLER
    // ============================================================================
    // --- 1 Dakika (1M) ---
    grp_1m "⏱️ 1 DAKKALIK (1m) HAREKETL ORTALAMALAR"
    s_1m input.bool(true"Aktif"group=grp_1minline="m1_0")
    s1m_1 input.bool(true,"",inline="m1_1",group=grp_1m), l1m_1 input.int(5,"",inline="m1_1",group=grp_1m), t1m_1 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m1_1",group=grp_1m), c1m_1 input.color(#3325fa,"",inline="m1_1",group=grp_1m)
    s1m_2 input.bool(true,"",inline="m1_2",group=grp_1m), l1m_2 input.int(13,"",inline="m1_2",group=grp_1m), t1m_2 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m1_2",group=grp_1m), c1m_2 input.color(#ff1100,"",inline="m1_2",group=grp_1m)
    s1m_3 input.bool(true,"",inline="m1_3",group=grp_1m), l1m_3 input.int(21,"",inline="m1_3",group=grp_1m), t1m_3 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m1_3",group=grp_1m), c1m_3 input.color(#f8f5c7,"",inline="m1_3",group=grp_1m)
    s1m_4 input.bool(true,"",inline="m1_4",group=grp_1m), l1m_4 input.int(55,"",inline="m1_4",group=grp_1m), t1m_4 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m1_4",group=grp_1m), c1m_4 input.color(#f5f237,"",inline="m1_4",group=grp_1m)
    s1m_5 input.bool(true,"",inline="m1_5",group=grp_1m), l1m_5 input.int(89,"",inline="m1_5",group=grp_1m), t1m_5 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m1_5",group=grp_1m), c1m_5 input.color(#f8b420,"",inline="m1_5",group=grp_1m)
    s1m_6 input.bool(true,"",inline="m1_6",group=grp_1m), l1m_6 input.int(144,"",inline="m1_6",group=grp_1m), t1m_6 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m1_6",group=grp_1m), c1m_6 input.color(#f8f5f8,"",inline="m1_6",group=grp_1m)

    // --- 5 Dakika (5M) ---
    grp_5m "⏱️ 5 DAKKALIK (5m) HAREKETL ORTALAMALAR"
    s_5m input.bool(true"Aktif"group=grp_5minline="m5_0")
    s5m_1 input.bool(true,"",inline="m5_1",group=grp_5m), l5m_1 input.int(5,"",inline="m5_1",group=grp_5m), t5m_1 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m5_1",group=grp_5m), c5m_1 input.color(#3325fa,"",inline="m5_1",group=grp_5m)
    s5m_2 input.bool(true,"",inline="m5_2",group=grp_5m), l5m_2 input.int(13,"",inline="m5_2",group=grp_5m), t5m_2 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m5_2",group=grp_5m), c5m_2 input.color(#ff1100,"",inline="m5_2",group=grp_5m)
    s5m_3 input.bool(true,"",inline="m5_3",group=grp_5m), l5m_3 input.int(21,"",inline="m5_3",group=grp_5m), t5m_3 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m5_3",group=grp_5m), c5m_3 input.color(#f8f5c7,"",inline="m5_3",group=grp_5m)
    s5m_4 input.bool(true,"",inline="m5_4",group=grp_5m), l5m_4 input.int(55,"",inline="m5_4",group=grp_5m), t5m_4 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m5_4",group=grp_5m), c5m_4 input.color(#f5f237,"",inline="m5_4",group=grp_5m)
    s5m_5 input.bool(true,"",inline="m5_5",group=grp_5m), l5m_5 input.int(89,"",inline="m5_5",group=grp_5m), t5m_5 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m5_5",group=grp_5m), c5m_5 input.color(#f8b420,"",inline="m5_5",group=grp_5m)
    s5m_6 input.bool(true,"",inline="m5_6",group=grp_5m), l5m_6 input.int(144,"",inline="m5_6",group=grp_5m), t5m_6 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m5_6",group=grp_5m), c5m_6 input.color(#f8f5f8,"",inline="m5_6",group=grp_5m)

    // --- 15 Dakika (15M) ---
    grp_15m "⏱️ 15 DAKKALIK (15m) HAREKETL ORTALAMALAR"
    s_15m input.bool(true"Aktif"group=grp_15minline="m15_0")
    s15m_1 input.bool(true,"",inline="m15_1",group=grp_15m), l15m_1 input.int(5,"",inline="m15_1",group=grp_15m), t15m_1 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m15_1",group=grp_15m), c15m_1 input.color(#3325fa,"",inline="m15_1",group=grp_15m)
    s15m_2 input.bool(true,"",inline="m15_2",group=grp_15m), l15m_2 input.int(13,"",inline="m15_2",group=grp_15m), t15m_2 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m15_2",group=grp_15m), c15m_2 input.color(#ff1100,"",inline="m15_2",group=grp_15m)
    s15m_3 input.bool(true,"",inline="m15_3",group=grp_15m), l15m_3 input.int(21,"",inline="m15_3",group=grp_15m), t15m_3 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m15_3",group=grp_15m), c15m_3 input.color(#f8f5c7,"",inline="m15_3",group=grp_15m)
    s15m_4 input.bool(true,"",inline="m15_4",group=grp_15m), l15m_4 input.int(55,"",inline="m15_4",group=grp_15m), t15m_4 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m15_4",group=grp_15m), c15m_4 input.color(#f5f237,"",inline="m15_4",group=grp_15m)
    s15m_5 input.bool(true,"",inline="m15_5",group=grp_15m), l15m_5 input.int(89,"",inline="m15_5",group=grp_15m), t15m_5 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m15_5",group=grp_15m), c15m_5 input.color(#f8b420,"",inline="m15_5",group=grp_15m)
    s15m_6 input.bool(true,"",inline="m15_6",group=grp_15m), l15m_6 input.int(144,"",inline="m15_6",group=grp_15m), t15m_6 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="m15_6",group=grp_15m), c15m_6 input.color(#f8f5f8,"",inline="m15_6",group=grp_15m)

    // --- 1 Saat (1H) ---
    grp_1h "🕒 1 SAATLK (1H) HAREKETL ORTALAMALAR"
    s_1h input.bool(true"Aktif"group=grp_1hinline="h1_0")
    s1h_1 input.bool(true,"",inline="h1_1",group=grp_1h), l1h_1 input.int(5,"",inline="h1_1",group=grp_1h), t1h_1 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h1_1",group=grp_1h), c1h_1 input.color(#3325fa,"",inline="h1_1",group=grp_1h)
    s1h_2 input.bool(true,"",inline="h1_2",group=grp_1h), l1h_2 input.int(8,"",inline="h1_2",group=grp_1h), t1h_2 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h1_2",group=grp_1h), c1h_2 input.color(#ff1100,"",inline="h1_2",group=grp_1h)
    s1h_3 input.bool(true,"",inline="h1_3",group=grp_1h), l1h_3 input.int(13,"",inline="h1_3",group=grp_1h), t1h_3 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h1_3",group=grp_1h), c1h_3 input.color(#f8f5c7,"",inline="h1_3",group=grp_1h)
    s1h_4 input.bool(true,"",inline="h1_4",group=grp_1h), l1h_4 input.int(21,"",inline="h1_4",group=grp_1h), t1h_4 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h1_4",group=grp_1h), c1h_4 input.color(#f5f237,"",inline="h1_4",group=grp_1h)
    s1h_5 input.bool(true,"",inline="h1_5",group=grp_1h), l1h_5 input.int(34,"",inline="h1_5",group=grp_1h), t1h_5 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h1_5",group=grp_1h), c1h_5 input.color(#f8b420,"",inline="h1_5",group=grp_1h)
    s1h_6 input.bool(true,"",inline="h1_6",group=grp_1h), l1h_6 input.int(55,"",inline="h1_6",group=grp_1h), t1h_6 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h1_6",group=grp_1h), c1h_6 input.color(#f8f5f8,"",inline="h1_6",group=grp_1h)

    // --- 4 Saat (4H) ---
    grp_4h "🕓 4 SAATLK (4H) HAREKETL ORTALAMALAR"
    s_4h input.bool(true"Aktif"group=grp_4hinline="h4_0")
    s4h_1 input.bool(true,"",inline="h4_1",group=grp_4h), l4h_1 input.int(3,"",inline="h4_1",group=grp_4h), t4h_1 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h4_1",group=grp_4h), c4h_1 input.color(#39ff14,"",inline="h4_1",group=grp_4h)
    s4h_2 input.bool(true,"",inline="h4_2",group=grp_4h), l4h_2 input.int(15,"",inline="h4_2",group=grp_4h), t4h_2 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h4_2",group=grp_4h), c4h_2 input.color(#ff1100,"",inline="h4_2",group=grp_4h)
    s4h_3 input.bool(true,"",inline="h4_3",group=grp_4h), l4h_3 input.int(63,"",inline="h4_3",group=grp_4h), t4h_3 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h4_3",group=grp_4h), c4h_3 input.color(#f8f5c7,"",inline="h4_3",group=grp_4h)
    s4h_4 input.bool(true,"",inline="h4_4",group=grp_4h), l4h_4 input.int(89,"",inline="h4_4",group=grp_4h), t4h_4 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h4_4",group=grp_4h), c4h_4 input.color(#27b039,"",inline="h4_4",group=grp_4h)
    s4h_5 input.bool(true,"",inline="h4_5",group=grp_4h), l4h_5 input.int(144,"",inline="h4_5",group=grp_4h), t4h_5 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h4_5",group=grp_4h), c4h_5 input.color(#f342f3,"",inline="h4_5",group=grp_4h)
    s4h_6 input.bool(true,"",inline="h4_6",group=grp_4h), l4h_6 input.int(233,"",inline="h4_6",group=grp_4h), t4h_6 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="h4_6",group=grp_4h), c4h_6 input.color(#4649f3,"",inline="h4_6",group=grp_4h)

    // --- 1 Gnlk (1D) ---
    grp_1d "☀️ GNLK (1D) HAREKETL ORTALAMALAR"
    s_1d input.bool(true"Aktif"group=grp_1dinline="d1_0")
    sd_1 input.bool(true,"",inline="d1_1",group=grp_1d), ld_1 input.int(5,"",inline="d1_1",group=grp_1d), td_1 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="d1_1",group=grp_1d), cd_1 input.color(#2230f7,"",inline="d1_1",group=grp_1d)
    sd_2 input.bool(true,"",inline="d1_2",group=grp_1d), ld_2 input.int(14,"",inline="d1_2",group=grp_1d), td_2 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="d1_2",group=grp_1d), cd_2 input.color(#f13b04,"",inline="d1_2",group=grp_1d)
    sd_3 input.bool(true,"",inline="d1_3",group=grp_1d), ld_3 input.int(34,"",inline="d1_3",group=grp_1d), td_3 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="d1_3",group=grp_1d), cd_3 input.color(#f8b420,"",inline="d1_3",group=grp_1d)
    sd_4 input.bool(true,"",inline="d1_4",group=grp_1d), ld_4 input.int(55,"",inline="d1_4",group=grp_1d), td_4 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="d1_4",group=grp_1d), cd_4 input.color(#f7f9fa,"",inline="d1_4",group=grp_1d)
    sd_5 input.bool(true,"",inline="d1_5",group=grp_1d), ld_5 input.int(89,"",inline="d1_5",group=grp_1d), td_5 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="d1_5",group=grp_1d), cd_5 input.color(#11f05c,"",inline="d1_5",group=grp_1d)
    sd_6 input.bool(true,"",inline="d1_6",group=grp_1d), ld_6 input.int(144,"",inline="d1_6",group=grp_1d), td_6 input.string("EMA","",options=["EMA","SMA","WMA","VWMA","HMA","RMA","DEMA","TEMA","ZLEMA"],inline="d1_6",group=grp_1d), cd_6 input.color(#f342f3,"",inline="d1_6",group=grp_1d)


    // ============================================================================
    // 🧠 MERKEZ LEMC (Dinamik Seim Motoru)
    // ============================================================================
    string tf timeframe.period
    bool is_valid 
    true
    bool s_grp 
    false

    int l1
    =0int l2=0int l3=0int l4=0int l5=0int l6=0
    string t1
    =""string t2=""string t3=""string t4=""string t5=""string t6=""
    color c1=nacolor c2=nacolor c3=nacolor c4=nacolor c5=nacolor c6=na
    bool s1
    =falsebool s2=falsebool s3=falsebool s4=falsebool s5=falsebool s6=false

    if tf == "1"
        
    s_grp := s_1ml1:=l1m_1l2:=l1m_2l3:=l1m_3l4:=l1m_4l5:=l1m_5l6:=l1m_6t1:=t1m_1t2:=t1m_2t3:=t1m_3t4:=t1m_4t5:=t1m_5t6:=t1m_6c1:=c1m_1c2:=c1m_2c3:=c1m_3c4:=c1m_4c5:=c1m_5c6:=c1m_6s1:=s1m_1s2:=s1m_2s3:=s1m_3s4:=s1m_4s5:=s1m_5s6:=s1m_6
    else if tf == "5"
        
    s_grp := s_5ml1:=l5m_1l2:=l5m_2l3:=l5m_3l4:=l5m_4l5:=l5m_5l6:=l5m_6t1:=t5m_1t2:=t5m_2t3:=t5m_3t4:=t5m_4t5:=t5m_5t6:=t5m_6c1:=c5m_1c2:=c5m_2c3:=c5m_3c4:=c5m_4c5:=c5m_5c6:=c5m_6s1:=s5m_1s2:=s5m_2s3:=s5m_3s4:=s5m_4s5:=s5m_5s6:=s5m_6
    else if tf == "15"
        
    s_grp := s_15ml1:=l15m_1l2:=l15m_2l3:=l15m_3l4:=l15m_4l5:=l15m_5l6:=l15m_6t1:=t15m_1t2:=t15m_2t3:=t15m_3t4:=t15m_4t5:=t15m_5t6:=t15m_6c1:=c15m_1c2:=c15m_2c3:=c15m_3c4:=c15m_4c5:=c15m_5c6:=c15m_6s1:=s15m_1s2:=s15m_2s3:=s15m_3s4:=s15m_4s5:=s15m_5s6:=s15m_6
    else if tf == "60"
        
    s_grp := s_1hl1:=l1h_1l2:=l1h_2l3:=l1h_3l4:=l1h_4l5:=l1h_5l6:=l1h_6t1:=t1h_1t2:=t1h_2t3:=t1h_3t4:=t1h_4t5:=t1h_5t6:=t1h_6c1:=c1h_1c2:=c1h_2c3:=c1h_3c4:=c1h_4c5:=c1h_5c6:=c1h_6s1:=s1h_1s2:=s1h_2s3:=s1h_3s4:=s1h_4s5:=s1h_5s6:=s1h_6
    else if tf == "240"
        
    s_grp := s_4hl1:=l4h_1l2:=l4h_2l3:=l4h_3l4:=l4h_4l5:=l4h_5l6:=l4h_6t1:=t4h_1t2:=t4h_2t3:=t4h_3t4:=t4h_4t5:=t4h_5t6:=t4h_6c1:=c4h_1c2:=c4h_2c3:=c4h_3c4:=c4h_4c5:=c4h_5c6:=c4h_6s1:=s4h_1s2:=s4h_2s3:=s4h_3s4:=s4h_4s5:=s4h_5s6:=s4h_6
    else if tf == "D"
        
    s_grp := s_1dl1:=ld_1l2:=ld_2l3:=ld_3l4:=ld_4l5:=ld_5l6:=ld_6t1:=td_1t2:=td_2t3:=td_3t4:=td_4t5:=td_5t6:=td_6c1:=cd_1c2:=cd_2c3:=cd_3c4:=cd_4c5:=cd_5c6:=cd_6s1:=sd_1s2:=sd_2s3:=sd_3s4:=sd_4s5:=sd_5s6:=sd_6
    else
        
    is_valid := false

    // ============================================================================
    // 🎯 HESAPLAMA VE ZM (Sfr Gecikme, request.security YOK!)
    // ============================================================================
    ma1 is_valid and s_grp and s1 f_ma(closel1t1) : na
    ma2 
    is_valid and s_grp and s2 f_ma(closel2t2) : na
    ma3 
    is_valid and s_grp and s3 f_ma(closel3t3) : na
    ma4 
    is_valid and s_grp and s4 f_ma(closel4t4) : na
    ma5 
    is_valid and s_grp and s5 f_ma(closel5t5) : na
    ma6 
    is_valid and s_grp and s6 f_ma(closel6t6) : na

    plot
    (ma1color=c1linewidth=line_width)
    plot(ma2color=c2linewidth=line_width)
    plot(ma3color=c3linewidth=line_widthstyle=plot.style_stepline)
    plot(ma4color=c4linewidth=line_widthstyle=plot.style_circles)
    plot(ma5color=c5linewidth=1style=plot.style_cross)
    plot(ma6color=c6linewidth=line_width)

    // ============================================================================
    // 📊 TREND ANALZ VE TEK SATIR TABLO YAZIMI
    // ============================================================================
    string trend_text "🟡 Yatay"
    if trend_method == "MA Sralamas" and is_valid
        trend_text 
    := ma1 ma2 and ma2 ma3 "🟢 Boa" ma1 ma2 and ma2 ma3 "🔴 Ay" "🟡 Yatay"
    else if trend_method == "Supertrend"
        
    trend_text := st_dir "🟢 Boa" st_dir "🔴 Ay" "🟡 Yatay"

    var table emaTable table.new(f_get_table_position(table_position), 17frame_color=color.grayborder_width=1)

    if 
    barstate.islast
        string txt_size 
    f_get_text_size(table_size)
        
    color trend_bg trend_text == "🟢 Boa" color.new(color.green70) : trend_text == "🔴 Ay" color.new(color.red70) : color.new(color.yellow70)
        
        if 
    is_valid
            table
    .cell(emaTable00t1 " " str.tostring(l1), text_color=c1bgcolor=color.new(c190), text_size=txt_size)
            
    table.cell(emaTable01t2 " " str.tostring(l2), text_color=c2bgcolor=color.new(c290), text_size=txt_size)
            
    table.cell(emaTable02t3 " " str.tostring(l3), text_color=c3bgcolor=color.new(c390), text_size=txt_size)
            
    table.cell(emaTable03t4 " " str.tostring(l4), text_color=c4bgcolor=color.new(c490), text_size=txt_size)
            
    table.cell(emaTable04t5 " " str.tostring(l5), text_color=c5bgcolor=color.new(c590), text_size=txt_size)
            
    table.cell(emaTable05t6 " " str.tostring(l6), text_color=c6bgcolor=color.new(c690), text_size=txt_size)
            
    table.cell(emaTable06trend_texttext_color=color.whitebgcolor=trend_bgtext_size=txt_size)
        else
            
    table.cell(emaTable00"⚠️ Desteklenmeyen TF"text_color=color.yellowbgcolor=color.new(color.red70), text_size=txt_size)
            
    table.cell(emaTable01"Mevcut: " tftext_color=color.whitebgcolor=color.new(color.gray70), text_size=txt_size)
            
    table.cell(emaTable02"📌 Kullanlabilir:"text_color=color.orangebgcolor=color.new(color.gray80), text_size=txt_size)
            
    table.cell(emaTable03"1m, 5m, 15m"text_color=color.whitebgcolor=color.new(color.gray80), text_size=txt_size)
            
    table.cell(emaTable04"1H, 4H, Gnlk (D)"text_color=color.whitebgcolor=color.new(color.gray80), text_size=txt_size)
            
    table.cell(emaTable05""text_color=color.whitebgcolor=color.new(color.gray80), text_size=txt_size)
            
    table.cell(emaTable06trend_text " (ST)"text_color=color.whitebgcolor=trend_bgtext_size=txt_size)

    // ============================================================================
    // 🚀 ALARM MOTORU
    // ============================================================================
    bool trend_turned_bull trend_text == "🟢 Boa" and trend_text[1] != "🟢 Boa"
    bool trend_turned_bear trend_text == "🔴 Ay" and trend_text[1] != "🔴 Ay"

    alertcondition(trend_turned_bulltitle="🟢 BOA Trendi Balad"message="[{{ticker}}] {{interval}} periyodunda trend BOA ynne dnd! 🚀")
    alertcondition(trend_turned_beartitle="🔴 AYI Trendi Balad"message="[{{ticker}}] {{interval}} periyodunda trend AYI ynne dnd! ⚠️"
    16.07.2024 - 10.12.2024

Sayfa 399/400 lklk ... 299349389397398399400 SonSon

Yer mleri

Yer mleri

Gnderi Kurallar

  • Yeni konu aamazsnz
  • Konulara cevap yazamazsnz
  • Yazlara ek gnderemezsiniz
  • Yazlarnz deitiremezsiniz
  •