Artan
Azalan
οΏ½οΏ½lem
BIST 30
BIST 50
BIST 100
NASDAQ 100
Hisse Fiyat Fark% Hacim (TL) DοΏ½οΏ½οΏ½k / YοΏ½ksek
9,68 10% 789,89 Mn 8,60 / 9,68
80,30 10% 41,42 Mn 80,30 / 80,30
80,30 10% 2,14 Mr 72,10 / 80,30
19,48 9.99% 1,34 Mr 17,70 / 19,48
155,40 9.98% 1,72 Mr 140,30 / 155,40
Hisse Fiyat Fark% Hacim (TL) DοΏ½οΏ½οΏ½k / YοΏ½ksek
2.431.800,00 -10% 2,43 Mn 2.431.800,00 / 2.431.800,00
355,75 -9.99% 429,56 Mn 355,75 / 386,50
2.498,00 -9.98% 5,27 Mr 2.498,00 / 2.780,00
11,18 -9.98% 1,93 Mr 11,18 / 12,59
55,35 -9.93% 218,80 Mn 55,35 / 61,40
Hisse Fiyat Fark% Hacim (TL) DοΏ½οΏ½οΏ½k / YοΏ½ksek
3,52 5.71% 31,52 Mr 3,34 / 3,58
311,00 -0.48% 16,35 Mr 306,75 / 314,75
326,00 1.64% 11,68 Mr 315,00 / 334,00
41,26 7.22% 10,79 Mr 38,30 / 41,30
75,25 0.07% 9,91 Mr 73,90 / 76,15
Hisse Fiyat Fark% Hacim (TL) DοΏ½οΏ½οΏ½k / YοΏ½ksek
20,46 -0.39% 605,89 Mn 20,16 / 20,72
75,25 0.07% 9,91 Mr 73,90 / 76,15
428,50 0.12% 7,72 Mr 426,25 / 434,50
326,00 1.64% 11,68 Mr 315,00 / 334,00
790,00 0.77% 3,13 Mr 777,00 / 802,50
Hisse Fiyat Fark% Hacim (TL) DοΏ½οΏ½οΏ½k / YοΏ½ksek
20,46 -0.39% 605,89 Mn 20,16 / 20,72
75,25 0.07% 9,91 Mr 73,90 / 76,15
99,15 -0.8% 503,79 Mn 98,00 / 100,00
114,20 -0.7% 209,55 Mn 113,40 / 115,40
428,50 0.12% 7,72 Mr 426,25 / 434,50
Hisse Fiyat Fark% Hacim (TL) DοΏ½οΏ½οΏ½k / YοΏ½ksek
20,46 -0.39% 605,89 Mn 20,16 / 20,72
35,06 -2.61% 288,12 Mn 35,06 / 36,86
75,25 0.07% 9,91 Mr 73,90 / 76,15
11,20 0.99% 680,06 Mn 10,85 / 11,45
86,70 -1.81% 469,42 Mn 86,40 / 89,00

Masrafsύz Bankacύlύk + 1.000 TL Nakit! Enpara’dan Ηifte Avantaj

Masrafsύz Bankacύlύk + 1.000 TL Nakit! Enpara’dan Ηifte Avantaj
Sayfa 409/418 έlkέlk ... 309359399407408409410411 ... SonSon
Arama sonucu : 3337 madde; 3,265 - 3,272 arasύ.

Konu: Tradingview

  1. saηma fikirlerle...φrneklemeye devam...
    ai ye yazdύrύlan φrnekler...(not: ai isimlendirme yaparken, dalkavukluπu elden bύrakmύyor)

    PHP Code:
    // © DonovanWall & Kinetik Komuta Merkezi [V6 Mod]
    //@version=6
    indicator(title="DVDI [DW] - Ana Grafik Zemin V6"shorttitle="DVDI_Zemin_V6"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. FONKSέYONLAR (v6 Uyumlu)
    // ─────────────────────────────────────────────────────────────────
    f_ema(float xint t) =>
        
    float _ema 0.0
        _ema 
    := na(_ema[1]) ? : (nz(_ema[1])) * (/ (1)) + nz(_ema[1])
        
    _ema

    f_dvdi
    (float xint t1int t2string v_type) =>
        
    float tick    syminfo.mintick
        float rng     
    close open
        float tickrng 
    0.0
        tickrng 
    := math.abs(rng) < tick nz(tickrng[1]) : rng
        float tickvol 
    math.abs(tickrng) / tick
        float vol     
    v_type == "Default" ? (na(volume) ? tickvol volume) : tickvol
        
        
    var float pvi 0.0
        pvi 
    := vol nz(vol[1]) ? pvi + (nz(x[1])) : pvi
        float psig 
    f_ema(pvit1)
        
    float pdiv f_ema(pvi psigt2)
        
        var 
    float nvi 0.0
        nvi 
    := vol nz(vol[1]) ? nvi - (nz(x[1])) : nvi
        float nsig 
    f_ema(nvit1)
        
    float ndiv f_ema(nvi nsigt2)
        
        
    float dvdi_val pdiv ndiv
        
    [pdivndivdvdi_val]

    // ─────────────────────────────────────────────────────────────────
    // 2. GέRDέLER (Inputs)
    // ─────────────────────────────────────────────────────────────────
    float src     input.source(close"Source")
    int per       input.int(255"Sampling Period"minval=1)
    int smper     input.int(1"Smoothing Period"minval=1)
    string v_type input.string("Default""Volume Type"options=["Default""Tick"])
    int bg_trans  input.int(85"Zemin ήeffaflύπύ"minval=0maxval=100)

    // ─────────────────────────────────────────────────────────────────
    // 3. HESAPLAMA (Definitions)
    // ─────────────────────────────────────────────────────────────────
    [pdivndivdvdio] = f_dvdi(srcpersmperv_type)

    // Orijinal Donovan Wall "Cloud Mode" Renk Mantύπύ
    color color1 = (pdiv ndiv) and (pdiv 0) ? #05ffa6 : 
                   
    (pdiv ndiv) and (pdiv <= 0) ? #00945f : 
                   
    (ndiv pdiv) and (ndiv 0) ? #ff0a70 : 
                   
    (ndiv pdiv) and (ndiv <= 0) ? #990040 : #cccccc

    // ─────────────────────────────────────────────────────────────────
    // 4. GΦRSELLEήTέRME (Zemin Boyama)
    // ─────────────────────────────────────────────────────────────────
    // Komutan Talimatύ: Alt paneldeki Cloud rengini όst zemin (bgcolor) olarak basύyoruz
    bgcolor(color.new(color1bg_trans), title="DVDI Trend Zemini")

    // Referans iηin sadece kόtle merkezi (hl2) Yoruk hattύnύ ekliyorum
    plot(ta.sma(hl221), "Yoruk Ref"color=color.new(color.yellow50), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. SINYALLER (Trend Dφnόώ Elmaslarύ)
    // ─────────────────────────────────────────────────────────────────
    plotshape(ta.crossover(pdivndiv),  "Long Start",  shape.diamondlocation.belowbar#05ffa6, size=size.tiny)
    plotshape(ta.crossunder(pdivndiv), "Short Start"shape.diamondlocation.abovebar#ff0a70, size=size.tiny) 
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.9 - Pure TWAP-DVDI Terminal]
    //@version=6
    indicator(title="KKM V6.9 Pure TWAP-DVDI"shorttitle="KKM_TWAP_DVDI_V6"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KKM V6.9 YORUK TWAP MOTORU (En Hύzlύ Akύώ)
    // ─────────────────────────────────────────────────────────────────
    // Komutan Talimatύ: Kapanύώ yerine hl2 (Kόtle Merkezi)
    float kόtle_src hl2 
    // En hύzlύ kurumsal maliyet akύώύ
    float hizli_twap ta.sma(kόtle_src5

    // ─────────────────────────────────────────────────────────────────
    // 2. PURE TWAP-DVDI HESAPLAYICI (Hacimsiz Akύώ)
    // ─────────────────────────────────────────────────────────────────
    f_ema(float xint t) =>
        
    float _ema 0.0
        _ema 
    := na(_ema[1]) ? : (nz(_ema[1])) * (/ (1)) + nz(_ema[1])
        
    _ema

    f_twap_dvdi
    (float xint t1int t2) =>
        
    // Volume yerine en hύzlύ twap deπiώim hύzύ kullanύlύyor
        
    float twap_vol math.abs(ta.change(x))
        
        var 
    float pvi 0.0
        pvi 
    := nz(x[1]) ? pvi + (nz(x[1])) : pvi
        float psig 
    f_ema(pvit1)
        
    float pdiv f_ema(pvi psigt2)
        
        var 
    float nvi 0.0
        nvi 
    := nz(x[1]) ? nvi - (nz(x[1])) : nvi
        float nsig 
    f_ema(nvit1)
        
    float ndiv f_ema(nvi nsigt2)
        
        [
    pdivndiv]

    // ─────────────────────────────────────────────────────────────────
    // 3. OPERASYONEL AYARLAR VE RENK MATEMATέΠέ
    // ─────────────────────────────────────────────────────────────────
    // Komutanύn φzel periyot ayarlarύ
    int per 21 
    int smper 
    1

    [pdivndiv] = f_twap_dvdi(hizli_twappersmper)

    // Orijinal Donovan Wall Renk Algoritmasύ (Hacimsiz Akύώa Modifiye)
    color zemin_rengi = (pdiv ndiv) and (pdiv 0) ? #05ffa6 : 
                       
    (pdiv ndiv) and (pdiv <= 0) ? #00945f : 
                       
    (ndiv pdiv) and (ndiv 0) ? #ff0a70 : 
                       
    (ndiv pdiv) and (ndiv <= 0) ? #990040 : #cccccc

    // ─────────────────────────────────────────────────────────────────
    // 4. SAF QUANT GΦRSELLEήTέRME (SADECE ZEMέN)
    // ─────────────────────────────────────────────────────────────────
    // Referans ηizgileri ve sinyaller tamamen kaldύrύldύ
    // Sadece arka zemin renklendirmesi aktif
    bgcolor(color.new(zemin_rengi85), title="Kinetik Akύώ Zemini")

    // Referans iηin sadece Yoruk hattύ (Hesaplamada kullanύlan twap deπil, gφrsel referans)
    plot(ta.sma(hl221), "Yoruk Referans"color=color.new(color.yellow60), linewidth=1
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.9 Terminal + Z-Vortex + Z-Div]
    //@version=6
    indicator("yunus emre otonom"shorttitle=":)"overlay=truemax_labels_count=50max_lines_count=50)

    // ─────────────────────────────────────────────────────────────────
    // 0. MERKEZέ FONKSέYONLAR (Paylaώύmlύ Kuantum Hafύzasύ)
    // ─────────────────────────────────────────────────────────────────
    // Bu motor her ηaπrύldύπύnda kendisine φzel, yalύtύlmύώ bir hafύza aηar. 
    // Hem Vortex hem de Gφreceli Gόη (RS) modόlleri bu motoru ηakύώmadan kullanύr.
    f_zlema(series float srcsimple int len) =>
        
    float ema1 ta.ema(srclen)
        
    float ema2 ta.ema(ema1len)
        
    ema1 + (ema1 ema2)

    // ─────────────────────────────────────────────────────────────────
    // 7. SAR HESAPLAMALARI VE ΗέZέMLER
    // ─────────────────────────────────────────────────────────────────
    float roSarSlow     ta.sar(0.010.010.2)
    float roSarModerate ta.sar(0.010.020.2)
    float roSarFast     ta.sar(0.010.030.2)

    plot(roSarSlow,     title="C"style=plot.style_crosscolor=color.yellow,  linewidth=1)
    plot(roSarModeratetitle="B",  style=plot.style_crosscolor=color.yellowlinewidth=1)
    plot(roSarFast,     title="A"style=plot.style_crosscolor=color.yellow,   linewidth=1)

    float sarMavi ta.sar(0.00.0030.02), sarSari ta.sar(0.00.0010.02), sarFusya ta.sar(0.0010.00050.02)
    plot(sarMavi"X"color.new(#040cfb, 0), 1, plot.style_cross)
    plot(sarSari"Y"color.new(#040cfb, 0), 1, plot.style_cross)
    plot(sarFusya"Z"color.new(#040cfb, 0), 1, plot.style_cross)

    // ─────────────────────────────────────────────────────────────────
    // 1. GέRDέLER
    // ─────────────────────────────────────────────────────────────────
    group_l1 "1. Kinetik Motor (Yφrόk)"
    int atrLen input.int(20"L1 Hafύza (ATR)"group=group_l1)
    float atrMult input.float(3.5"L1 Gόrόltό Duvarύ"step=0.1group=group_l1)
    float mu input.float(0.6"L1 Yakύnsaklύk (μ)"step=0.1group=group_l1)

    group_vx "2. Z-Vortex Barlar & Z-Div"
    int vLen input.int(30"Vortex Periyodu"group=group_vx)
    int zLen input.int(5,  "ZLEMA (Sύfύr Gecikme)"group=group_vx)
    float vHot input.float(1.1"Patlama Eώiπi"step=0.05group=group_vx)
    bool showDiv input.bool(true"Z-Div (Kinetik Uyumsuzluk) Gφster"group=group_vx)

    group_holy "3. Kurumsal S-TWAP Filtresi"
    float maxTension input.float(2.0"Maksimum Gerginlik Sύnύrύ"step=0.1group=group_holy)

    // ─────────────────────────────────────────────────────────────────
    // 2. ARKA PLAN HESAPLAMALARI (SAF YΦRάK VE TWAP)
    // ─────────────────────────────────────────────────────────────────
    f_yoruk_pure() =>
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    bool isNew15m 
    ta.change(time("15")) != 0
    var float sumPrice15m 0.0, var float barCount15m 0.0
    if isNew15m or bar_index == 0
        sumPrice15m 
    := hl2barCount15m := 1.0
    else
        
    sumPrice15m += hl2barCount15m += 1.0
    float curTwap15m 
    sumPrice15m barCount15m

    bool isNewHour 
    ta.change(time("60")) != 0
    var float sumPriceH 0.0, var float barCountH 0.0
    if isNewHour or bar_index == 0
        sumPriceH 
    := hl2barCountH := 1.0
    else
        
    sumPriceH += hl2barCountH += 1.0
    float curTwapH 
    sumPriceH barCountH

    bool isNewDay 
    ta.change(time("D")) != 0
    var float sumPriceD 0.0, var float barCountD 0.0
    if isNewDay or bar_index == 0
        sumPriceD 
    := hl2barCountD := 1.0
    else
        
    sumPriceD += hl2barCountD += 1.0
    float curTwapD 
    sumPriceD barCountD

    // ─────────────────────────────────────────────────────────────────
    // 3. Z-VORTEX & Z-DIV (KέNETέK UYUMSUZLUK - FέLTRELέ)
    // ─────────────────────────────────────────────────────────────────
    float vPlusBase math.sum(math.abs(high low[1]), vLen)
    float vNegBase  math.sum(math.abs(low high[1]), vLen)
    float tRange    math.sum(ta.atr(1), vLen)

    float vPlus tRange vPlusBase tRange 0
    float vNeg  
    tRange vNegBase tRange 0

    float plusZ 
    f_zlema(vPluszLen)
    float negZ  f_zlema(vNegzLen)

    // Patlama (Kudurma) Durumlarύ - FέLTRE έΗέN GEREKLέ
    bool isBullExplosion plusZ vHot
    bool isBearExplosion 
    negZ vHot

    // Barlarύ Renklendirme
    color vxColor isBullExplosion #00e676 : isBearExplosion ? #ff1744 : #787b86
    barcolor(vxColortitle="Z-Vortex Barlar")

    // FέLTRELέ Z-DIV (Kinetik Uyumsuzluk Susturucusu)
    bool bearDivInstant = (hl2 hl2[1] and hl2[1] > hl2[2]) and (plusZ plusZ[1] and plusZ[1] < plusZ[2]) and plusZ 0.9 and not isBullExplosion
    bool bullDivInstant 
    = (hl2 hl2[1] and hl2[1] < hl2[2]) and (negZ negZ[1] and negZ[1] < negZ[2]) and negZ 0.9 and not isBearExplosion

    plotshape
    (showDiv and bullDivInstanttitle="Boπa Z-Div"style=shape.diamondlocation=location.belowbarcolor=color.rgb(018721250), size=size.small)
    plotshape(showDiv and bearDivInstanttitle="Ayύ Z-Div"style=shape.diamondlocation=location.abovebarcolor=color.rgb(2550050), size=size.small)

    // ─────────────────────────────────────────────────────────────────
    // 4. ήELALE ΗέZέMLERέ (Yφrόk MTF)
    // ─────────────────────────────────────────────────────────────────
    float y1   f_yoruk_pure() 
    float y3   request.security(syminfo.tickerid"3",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y5   request.security(syminfo.tickerid"5",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y15  request.security(syminfo.tickerid"15",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y60  request.security(syminfo.tickerid"60",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y240 request.security(syminfo.tickerid"240"f_yoruk_pure(), lookahead=barmerge.lookahead_off
    float yD   request.security(syminfo.tickerid"D",   f_yoruk_pure(), lookahead=barmerge.lookahead_off

    plot(y1,   "1m",  color=color.new(#ffeb3b, 0), linewidth=1, style=plot.style_stepline)
    plot(y3,   "3m",  color=color.new(#ff9800, 0), linewidth=1, style=plot.style_stepline)
    plot(y5,   "5m",  color=color.new(#e91e63, 0), linewidth=1, style=plot.style_stepline)
    plot(y15,  "15m"color=color.new(#9c27b0, 0), linewidth=2, style=plot.style_stepline)

    // ─────────────────────────────────────────────────────────────────
    // 5. MέKRO ATEήLEME & MANYETέK HEDEFLEME MANTIΠI
    // ─────────────────────────────────────────────────────────────────
    float safeAtr math.max(ta.atr(14), syminfo.mintick)
    bool isIgnition = (high low) >= (safeAtr 1.5)

    float atrH request.security(syminfo.tickerid"60"ta.atr(14), lookahead=barmerge.lookahead_off)
    float twapDistAtr atrH math.abs(close curTwapH) / atrH 0
    bool tensionOk 
    twapDistAtr <= maxTension

    bool breakBull 
    close y1 and close y3 and (open y1 or open y3 or close[1] < y1)
    bool breakBear close y1 and close y3 and (open y1 or open y3 or close[1] > y1)

    bool fireBull breakBull and isIgnition and close curTwapH and close open and tensionOk
    bool fireBear 
    breakBear and isIgnition and close curTwapH and close open and tensionOk

    bgcolor
    (fireBull color.new(#00e676, 75) : fireBear ? color.new(#ff1744, 75) : na, title="Ateώleme Zemin Flaώύ")

    var int   activeSide   0
    var float entryPrice   na
    var bool  hasMagnet    false 

    var line lineEntry na, var label lblEntry na

    if (fireBull and activeSide != 1)
        
    activeSide := 1entryPrice := closehasMagnet := y60 close
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry)
        
    lineEntry := line.new(bar_indexentryPricebar_index 5entryPricecolor=color.new(#00e676, 0), width=2)
        
    lblEntry  := label.new(bar_index 5entryPrice"GέRέή: " str.tostring(math.round(entryPrice2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    else if (fireBear and activeSide != -1)
        
    activeSide := -1entryPrice := closehasMagnet := y60 close
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry)
        
    lineEntry := line.new(bar_indexentryPricebar_index 5entryPricecolor=color.new(#ff1744, 0), width=2)
        
    lblEntry  := label.new(bar_index 5entryPrice"GέRέή: " str.tostring(math.round(entryPrice2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    if activeSide != 0
        line
    .set_x2(lineEntrybar_index 5), label.set_x(lblEntrybar_index 5)
        
        
    bool magnetHitBull activeSide == and hasMagnet and high >= y60
        bool magnetHitBear 
    activeSide == -and hasMagnet and low <= y60
        bool microStopBull 
    activeSide == and close y1
        bool microStopBear 
    activeSide == -and close y1
        
        
    if magnetHitBull or magnetHitBear
            activeSide 
    := 0
            line
    .set_color(lineEntrycolor.new(color.gray60)), label.set_color(lblEntrycolor.new(color.gray60))
            
        else if 
    microStopBull or microStopBear
            activeSide 
    := 0
            line
    .set_color(lineEntrycolor.new(color.gray60)), label.set_color(lblEntrycolor.new(color.gray60))

    // ─────────────────────────────────────────────────────────────────
    // 6. TERMINAL PUSULASI (TAM KONTROL HUD)
    // ─────────────────────────────────────────────────────────────────
    var table terminal table.new(position.bottom_right211bgcolor=color.new(color.black60), border_color=color.new(color.gray80), border_width=1)
    f_col(val) => close val #00e676 : close < val ? #ff1744 : color.silver

    if barstate.islast
        table
    .cell(terminal00"Aέ GEMέNέ PRO 2026"text_color=color.yellowtext_size=size.normalbgcolor=color.new(color.black40))
        
    table.merge_cells(terminal0010)
        
        
    string entryState activeSide == " (AKTέF/AL)" activeSide == -" (AKTέF/SAT)" " (KAPALI)"
        
    string entryStr not na(entryPrice) ? str.tostring(math.round(entryPrice2)) + entryState "BEKLENέYOR"
        
    color entryCol activeSide == #00e676 : activeSide == -1 ? #ff1744 : color.silver
        
        
    table.cell(terminal01"SON GέRέή"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal11entryStrtext_color=entryColtext_size=size.normal)
        
        
    float stopAvg = (y1 y3) / 2
        table
    .cell(terminal02"STOP"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal12str.tostring(math.round(stopAvg2)), text_color=color.orangetext_size=size.normal)

        
    table.cell(terminal03"1m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal13str.tostring(math.round(y12)), text_color=f_col(y1), text_size=size.normal)
        
    table.cell(terminal04"3m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal14str.tostring(math.round(y32)), text_color=f_col(y3), text_size=size.normal)
        
    table.cell(terminal05"5m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal15str.tostring(math.round(y52)), text_color=f_col(y5), text_size=size.normal)
        
    table.cell(terminal06"15m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal16str.tostring(math.round(y152)), text_color=f_col(y15), text_size=size.normal)
        
    table.cell(terminal07"60m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal17str.tostring(math.round(y602)), text_color=f_col(y60), text_size=size.normal)
        
    table.cell(terminal08"4S"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal18str.tostring(math.round(y2402)), text_color=f_col(y240), text_size=size.normal)
        
    table.cell(terminal09"1G"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal19str.tostring(math.round(yD2)), text_color=f_col(yD), text_size=size.normal)

        
    table.cell(terminal010"@yφrόk@ Yatύrύm Tavsiyesi DEΠέLDέR."text_color=color.whitetext_size=size.normal)
        
    table.merge_cells(terminal010110)

    // ─────────────────────────────────────────────────────────────────
    // GΦRECELέ GάΗ έSTέHBARATI (RELATIVE STRENGTH)
    // ─────────────────────────────────────────────────────────────────
    string symB input.symbol("BIST:XU100""Kύyaslanacak Endeks / Hisse")
    int zLen12 input.int(7"ZLEMA (Sύfύr Gecikme) Periyodu"minval=1)

    [
    o2h2l2c2hl2_2] = request.security(symBtimeframe.period, [openhighlowclosehl2], lookahead=barmerge.lookahead_off)

    float rs_o open o2
    float rs_h 
    high h2
    float rs_l 
    low l2
    float rs_c 
    close c2
    float rs_hl2 
    hl2 hl2_2

    // f_zlema1 έPTAL EDέLDέ! Sistem ana hafύzadaki f_zlema'yύ kullanύyor.
    float zlema_rs f_zlema(rs_hl2zLen12)

    bool isStrong rs_c zlema_rs
    color bullColor 
    color.new(#00e676, 0)
    color bearColor color.new(#ff1744, 0)
    color candleColor isStrong bullColor bearColor

    var table tbl table.new(position.top_right12bgcolor=color.new(color.black80), border_color=color.new(color.white20), border_width=1)

    if 
    barstate.islast
        string status 
    isStrong "💪 OLUMLU" "🩸 OLUMSUZ"
        
    table.cell(tbl00syminfo.ticker " / " syminfo.ticker(symB), text_color=color.whitetext_size=size.normal)
        
    table.cell(tbl01statustext_color=candleColortext_size=size.normaltext_formatting=text.format_bold)

    // ─────────────────────────────────────────────────────────────────
    // ASYMMETRIC TREND ENGINE (GΦRάNMEZ HESAPLAYICI)
    // ─────────────────────────────────────────────────────────────────
    float asy_src        hl2
    int   asy_lookback   
    30
    float asy_mult       
    3.5

    float asy_vol_threshold 
    ta.stdev(asy_srcasy_lookback) * asy_mult

    var float asy_trend_line na
    var int   asy_trend_dir  0
    var int   asy_prev_dir   0

    if na(asy_trend_line)
        
    asy_trend_line := asy_src
    else
        
    asy_prev_dir := asy_trend_dir
        
    if asy_trend_dir >= 0
            
    if asy_src asy_trend_line asy_vol_threshold 0.5
                asy_trend_line 
    := math.max(asy_trend_lineasy_src asy_vol_threshold 0.25)
                
    asy_trend_dir  := 1
            
    else if asy_src asy_trend_line asy_vol_threshold
                asy_trend_line 
    := asy_src asy_vol_threshold 0.25
                asy_trend_dir  
    := -1
        
    else
            if 
    asy_src asy_trend_line asy_vol_threshold 0.5
                asy_trend_line 
    := math.min(asy_trend_lineasy_src asy_vol_threshold 0.25)
                
    asy_trend_dir  := -1
            
    else if asy_src asy_trend_line asy_vol_threshold
                asy_trend_line 
    := asy_src asy_vol_threshold 0.25
                asy_trend_dir  
    := 1

    bool turned_bullish 
    asy_trend_dir == 1  and asy_trend_dir[1] == -1
    bool turned_bearish 
    asy_trend_dir == -and asy_trend_dir[1] == 1
    bool is_reversal    
    asy_trend_dir != asy_prev_dir and bar_index 0

    float yoruk_1m 
    ta.sma(hl221)
    plot(yoruk_1m"0"color=color.new(color.aqua20), linewidth=2)

    color rev_color asy_trend_dir == #00ffaa : #ff0000
    plotchar(is_reversal ? (asy_trend_dir == low high) : na"KKM Reversal""⦿"location location.absolutecolor rev_colorsize size.small)

    plotshape(turned_bullishstyle=shape.diamondlocation=location.belowbarcolor=#00ffaa, size=size.tiny, title="L Entry")
    plotshape(turned_bearishstyle=shape.diamondlocation=location.abovebarcolor=#ff0000, size=size.tiny, title="S Entry")

    alertcondition(turned_bullish"KKM Bullish Reversal""Kόtle έvmesi YUKARI dφndό!")
    alertcondition(turned_bearish"KKM Bearish Reversal""Kόtle έvmesi AήAΠI dφndό!")

    // ─────────────────────────────────────────────────────────────────
    // PURE TWAP-DVDI MOTORU (Hacimsiz Akύώ)
    // ─────────────────────────────────────────────────────────────────
    float kutle_src hl2 
    float hizli_twap 
    ta.sma(kutle_src1

    f_ema(float xint t) =>
        
    float _ema 0.0
        _ema 
    := na(_ema[1]) ? : (nz(_ema[1])) * (/ (1)) + nz(_ema[1])
        
    _ema

    f_twap_dvdi
    (float xint t1int t2) =>
        
    float twap_vol math.abs(ta.change(x))
        var 
    float pvi 0.0
        pvi 
    := nz(x[1]) ? pvi + (nz(x[1])) : pvi
        float psig 
    f_ema(pvit1)
        
    float pdiv f_ema(pvi psigt2)
        
        var 
    float nvi 0.0
        nvi 
    := nz(x[1]) ? nvi - (nz(x[1])) : nvi
        float nsig 
    f_ema(nvit1)
        
    float ndiv f_ema(nvi nsigt2)
        [
    pdivndiv]

    int per 255 
    int smper 
    1

    [pdivndiv] = f_twap_dvdi(hizli_twappersmper)

    color zemin_rengi = (pdiv ndiv) and (pdiv 0) ? #05ffa6 : 
                       
    (pdiv ndiv) and (pdiv <= 0) ? #00945f : 
                       
    (ndiv pdiv) and (ndiv 0) ? #ff0a70 : 
                       
    (ndiv pdiv) and (ndiv <= 0) ? #990040 : #cccccc

    bgcolor(color.new(zemin_rengi85), title="Kinetik Akύώ Zemini"
    16.07.2024 - 10.12.2024

  2. saηma fikirlerle...φrneklemeye devam...
    ai ye yazdύrύlan φrnekler...(not: ai isimlendirme yaparken, dalkavukluπu elden bύrakmύyor)

    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V7 - Zaman Maliyeti Matrisi]
    //@version=6
    indicator("KKM MTF Matris"shorttitle="Zaman Matrisi"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KέNETέK MOTOR GέRDέLERέ (YΦRάK)
    // ─────────────────────────────────────────────────────────────────
    int atrLen input.int(20"L1 Hafύza (ATR)")
    float atrMult input.float(3.5"L1 Gόrόltό Duvarύ"step=0.1)
    float mu input.float(0.6"L1 Yakύnsaklύk (μ)"step=0.1)

    // ─────────────────────────────────────────────────────────────────
    // 2. ANA HESAPLAMA (SAF YΦRάK)
    // ─────────────────────────────────────────────────────────────────
    f_yoruk_pure() =>
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 3. ZAMAN DέLέMLERέ (MTF YΦRάK KATMANLARI)
    // ─────────────────────────────────────────────────────────────────
    // Repaint yapmamasύ iηin lookahead_off ile ηekildi
    float y1   f_yoruk_pure() 
    float y3   request.security(syminfo.tickerid"3",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y5   request.security(syminfo.tickerid"5",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y15  request.security(syminfo.tickerid"15",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y60  request.security(syminfo.tickerid"60",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y240 request.security(syminfo.tickerid"240"f_yoruk_pure(), lookahead=barmerge.lookahead_off
    float yD   request.security(syminfo.tickerid"D",   f_yoruk_pure(), lookahead=barmerge.lookahead_off

    // ─────────────────────────────────────────────────────────────────
    // 4. ΗέZέMLER (ZAMAN MALέYETέ AΠI)
    // ─────────────────────────────────────────────────────────────────
    // MTF Katmanlarύ (Arka planda basamaklύ ώekilde dururlar)
    plot(yD,   "1G",  color=color.new(#ffeb3b, 20), linewidth=2, style=plot.style_stepline) // Sarύ
    plot(y240"4S",  color=color.new(#d500f9, 20), linewidth=2, style=plot.style_stepline) // Mor
    plot(y60,  "60m"color=color.new(#ff9100, 20), linewidth=1, style=plot.style_stepline) // Turuncu
    plot(y15,  "15m"color=color.new(#9e9e9e, 20), linewidth=1, style=plot.style_stepline) // Gri
    plot(y5,   "5m",  color=color.new(#2979ff, 20), linewidth=1, style=plot.style_stepline) // Mavi
    plot(y3,   "3m",  color=color.new(#00e676, 20), linewidth=1, style=plot.style_stepline) // Yeώil

    // Otonom 1m Ηizgisi (Her katmanύ kesecek olan asύl roketimiz)
    plot(y1,   "1m",  color=color.new(color.white0), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. KέNETέK DERέNLέK ZEMέNέ (HέYERARήέK RENKLENDέRME)
    // ─────────────────────────────────────────────────────────────────
    color bg na

    // Hiyerarώi en bόyόkten baώlar. 1m ηizgisi en son hangi katmanύ kύrdύysa zemin o rengi alύr.
    if y1 yD
        bg 
    := color.new(#ffeb3b, 85)      // 1 Gόnlόk kύrύldύ (Altύn Zemin) -> Ralli
    else if y1 y240
        bg 
    := color.new(#d500f9, 85)      // 4 Saatlik kύrύldύ (Mor Zemin) -> Gόηlό Trend
    else if y1 y60
        bg 
    := color.new(#ff9100, 85)      // 60 Dakikalύk kύrύldύ (Turuncu Zemin) -> Ana Yόkseliώ
    else if y1 y15
        bg 
    := color.new(#9e9e9e, 85)      // 15 Dakikalύk kύrύldύ (Gri Zemin) -> Orta έvme
    else if y1 y5
        bg 
    := color.new(#2979ff, 85)      // 5 Dakikalύk kύrύldύ (Mavi Zemin) -> Kύsa έvme
    else if y1 y3
        bg 
    := color.new(#00e676, 85)      // 3 Dakikalύk kύrύldύ (Yeώil Zemin) -> έlk Uyanύώ

    // Altύnda kalύrsa zemin kararύr (Ekran temiz kalύr).
    bgcolor(bgtitle="Zaman Maliyeti Derinliπi"
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V7 - Zaman Matrisi + SAR Fόzyonu]
    //@version=6
    indicator("KKM MTF Matris + SAR Fόzyonu"shorttitle="Zaman Matrisi FZ"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KέNETέK MOTOR GέRDέLERέ (YΦRάK)
    // ─────────────────────────────────────────────────────────────────
    int atrLen input.int(20"L1 Hafύza (ATR)"group="Kinetik Motor")
    float atrMult input.float(3.5"L1 Gόrόltό Duvarύ"step=0.1group="Kinetik Motor")
    float mu input.float(0.6"L1 Yakύnsaklύk (μ)"step=0.1group="Kinetik Motor")

    // ─────────────────────────────────────────────────────────────────
    // 2. ANA HESAPLAMA (SAF YΦRάK)
    // ─────────────────────────────────────────────────────────────────
    f_yoruk_pure() =>
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 3. ZAMAN DέLέMLERέ (MTF YΦRάK KATMANLARI)
    // ─────────────────────────────────────────────────────────────────
    float y1   f_yoruk_pure() 
    float y3   request.security(syminfo.tickerid"3",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y5   request.security(syminfo.tickerid"5",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y15  request.security(syminfo.tickerid"15",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y60  request.security(syminfo.tickerid"60",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y240 request.security(syminfo.tickerid"240"f_yoruk_pure(), lookahead=barmerge.lookahead_off
    float yD   request.security(syminfo.tickerid"D",   f_yoruk_pure(), lookahead=barmerge.lookahead_off

    // ─────────────────────────────────────────────────────────────────
    // 4. ΗέZέMLER (ZAMAN MALέYETέ AΠI)
    // ─────────────────────────────────────────────────────────────────
    plot(yD,   "1G",  color=color.new(#ffeb3b, 20), linewidth=2, style=plot.style_stepline)
    plot(y240"4S",  color=color.new(#d500f9, 20), linewidth=2, style=plot.style_stepline)
    plot(y60,  "60m"color=color.new(#ff9100, 20), linewidth=1, style=plot.style_stepline)
    plot(y15,  "15m"color=color.new(#9e9e9e, 20), linewidth=1, style=plot.style_stepline)
    plot(y5,   "5m",  color=color.new(#2979ff, 20), linewidth=1, style=plot.style_stepline)
    plot(y3,   "3m",  color=color.new(#00e676, 20), linewidth=1, style=plot.style_stepline)
    plot(y1,   "1m",  color=color.new(color.white0), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. KέNETέK DERέNLέK ZEMέNέ (HέYERARήέK RENKLENDέRME)
    // ─────────────────────────────────────────────────────────────────
    color bg na
    if y1 yD
        bg 
    := color.new(#ffeb3b, 85)
    else if y1 y240
        bg 
    := color.new(#d500f9, 85)
    else if y1 y60
        bg 
    := color.new(#ff9100, 85)
    else if y1 y15
        bg 
    := color.new(#9e9e9e, 85)
    else if y1 y5
        bg 
    := color.new(#2979ff, 85)
    else if y1 y3
        bg 
    := color.new(#00e676, 85)
    bgcolor(bgtitle="Zaman Maliyeti Derinliπi")

    // ─────────────────────────────────────────────────────────────────
    // 6. YENέ έCAT: SAR FάZYONU (Otonom Ηύkύώ Kalkanύ)
    // ─────────────────────────────────────────────────────────────────
    // Kόtle Merkezine (hl2) gφre hesaplanan iπne-kφr SAR
    float af_start 0.02
    float af_step  
    0.02
    float af_max   
    0.2

    var bool is_long true
    var float ep hl2
    var float sar_f na
    var float af af_start

    if na(sar_f)
        
    sar_f := hl2 ta.atr(14)

    float prev_sar sar_f
    float prev_ep 
    ep

    if is_long
        sar_f 
    := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        
    // Fiyat (hl2) SAR Fόzyonu'nu aώaπύ kύrarsa -> ΗIKIή!
        
    if hl2 sar_f
            is_long 
    := false
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start
    else
        
    sar_f := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        
    // Fiyat (hl2) SAR Fόzyonu'nu yukarύ kύrarsa -> έVME / GέRέή!
        
    if hl2 sar_f
            is_long 
    := true
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start

    // Sinyal Tanύmlarύ
    bool fuzyon_al is_long and not is_long[1]
    bool fuzyon_sat not is_long and is_long[1]

    // Fόzyon SAR Noktalarύ (Gφrsel έz)
    color sar_renk is_long color.new(color.yellow0) : color.new(#ff9100, 0)
    plot(sar_f"SAR Fόzyonu"color=sar_renkstyle=plot.style_circleslinewidth=1)

    // Otonom Ηύkύώ ve Giriώ έώaretleri
    plotshape(fuzyon_sattitle="Kar Al / Ηύkύώ"style=shape.diamondlocation=location.abovebarcolor=#ff1744, size=size.small)
    plotshape(fuzyon_altitle="Yeniden έvme"style=shape.diamondlocation=location.belowbarcolor=#00e676, size=size.small) 
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V7.1 - Zaman Matrisi + Ayna SAR]
    //@version=6
    indicator("KKM MTF Matris + Ayna SAR"shorttitle="Zaman Matrisi Ayna"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KέNETέK MOTOR GέRDέLERέ (YΦRάK)
    // ─────────────────────────────────────────────────────────────────
    int atrLen input.int(20"L1 Hafύza (ATR)"group="Kinetik Motor")
    float atrMult input.float(3.5"L1 Gόrόltό Duvarύ"step=0.1group="Kinetik Motor")
    float mu input.float(0.6"L1 Yakύnsaklύk (μ)"step=0.1group="Kinetik Motor")

    // ─────────────────────────────────────────────────────────────────
    // 2. ANA HESAPLAMA (SAF YΦRάK)
    // ─────────────────────────────────────────────────────────────────
    f_yoruk_pure() =>
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 3. ZAMAN DέLέMLERέ (MTF YΦRάK KATMANLARI)
    // ─────────────────────────────────────────────────────────────────
    float y1   f_yoruk_pure() 
    float y3   request.security(syminfo.tickerid"3",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y5   request.security(syminfo.tickerid"5",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y15  request.security(syminfo.tickerid"15",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y60  request.security(syminfo.tickerid"60",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y240 request.security(syminfo.tickerid"240"f_yoruk_pure(), lookahead=barmerge.lookahead_off
    float yD   request.security(syminfo.tickerid"D",   f_yoruk_pure(), lookahead=barmerge.lookahead_off

    // ─────────────────────────────────────────────────────────────────
    // 4. ΗέZέMLER (ZAMAN MALέYETέ AΠI - ZEMέN έPTAL)
    // ─────────────────────────────────────────────────────────────────
    plot(yD,   "1G",  color=color.new(#ffeb3b, 20), linewidth=2, style=plot.style_stepline)
    plot(y240"4S",  color=color.new(#d500f9, 20), linewidth=2, style=plot.style_stepline)
    plot(y60,  "60m"color=color.new(#ff9100, 20), linewidth=1, style=plot.style_stepline)
    plot(y15,  "15m"color=color.new(#9e9e9e, 20), linewidth=1, style=plot.style_stepline)
    plot(y5,   "5m",  color=color.new(#2979ff, 20), linewidth=1, style=plot.style_stepline)
    plot(y3,   "3m",  color=color.new(#00e676, 20), linewidth=1, style=plot.style_stepline)
    plot(y1,   "1m",  color=color.new(color.white0), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. YENέ έCAT: SAR FάZYONU VE AYNA SAR (ΦNCά KALKAN)
    // ─────────────────────────────────────────────────────────────────
    // Komutan Talimatύ: 0.01 - 0.01 - 0.2 deπerleri
    float af_start 0.01
    float af_step  
    0.01
    float af_max   
    0.2

    var bool is_long true
    var float ep hl2
    var float sar_f na
    var float af af_start

    if na(sar_f)
        
    sar_f := hl2 ta.atr(14)

    float prev_sar sar_f
    float prev_ep 
    ep

    // Klasik Fόzyon Hesaplamasύ (Arka Kalkan)
    if is_long
        sar_f 
    := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := false
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start
    else
        
    sar_f := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := true
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start

    // 🚀 AYNA SAR (ΦNCά GΦSTERGE) 🚀
    // Fiyatύ (hl2) merkez alarak, alttaki kalkanύn mesafesini yukarύya "hedef" olarak katlar.
    float sar_ayna = (hl2) - sar_f

    // Sinyaller
    bool fuzyon_al is_long and not is_long[1]
    bool fuzyon_sat not is_long and is_long[1]

    // Gφrseller
    // Normal SAR (Takip Eden) - Noktalύ
    color sar_renk is_long color.new(color.yellow0) : color.new(#ff9100, 0)
    plot(sar_f"SAR Fόzyonu"color=sar_renkstyle=plot.style_circleslinewidth=1)

    // Ayna SAR (Φncό Hedef) - Haη ήeklinde (Cross)
    color ayna_renk is_long color.new(color.aqua0) : color.new(color.fuchsia0)
    plot(sar_ayna"Ayna SAR (Φncό)"color=ayna_renkstyle=plot.style_crosslinewidth=1)

    // Elmaslar
    plotshape(fuzyon_sattitle="Kar Al / Ηύkύώ"style=shape.diamondlocation=location.abovebarcolor=#ff1744, size=size.small)
    plotshape(fuzyon_altitle="Yeniden έvme"style=shape.diamondlocation=location.belowbarcolor=#00e676, size=size.small) 
    16.07.2024 - 10.12.2024

  3. saηma fikirlerle...φrneklemeye devam...
    ai ye yazdύrύlan φrnekler...(not: ai isimlendirme yaparken, dalkavukluπu elden bύrakmύyor)

    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V8 - Yoπunluk Matrisi + SAR Fόzyonu]
    //@version=6
    indicator("KKM Yoπunluk Matrisi"shorttitle="Kόtle Yoπunluk"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. DέNAMέK YOΠUNLUK MOTORU (Zamanύ Deπil, Maddeyi Φlηer)
    // ─────────────────────────────────────────────────────────────────
    // Bu motor aynύ 1m verisini alύr ama ona farklύ kόtle direnηleri uygular.
    f_kutu_kόtle(int _atrLenfloat _atrMultfloat _mu) =>
        
    float threshold ta.atr(_atrLen) * _atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred _mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 2. KάTLE MATRέSέ (Camdan Ηeliπe Kurumsal Maliyetler)
    // ─────────────────────────────────────────────────────────────────
    // Aynύ 1 dakikalύk grafikte, merminin (fiyatύn) deleceπi katmanlar:
    float cam   f_kutu_kόtle(101.50.8)   // CAM: Ηok kύrύlgan, mermi anύnda deler.
    float tahta f_kutu_kόtle(203.50.6)   // TAHTA: Standart perakende direnci.
    float beton f_kutu_kόtle(405.00.3)   // BETON: Orta φlηekli balina maliyeti.
    float demir f_kutu_kόtle(808.00.1)   // DEMέR: Kurumsal fonlarύn aπύr duvarύ.
    float celik f_kutu_kόtle(1,  1.00.01)  // ΗELέK: Komutanύn Tank Zύrhύ! (Delinmesi en zor)

    // ─────────────────────────────────────────────────────────────────
    // 3. YOΠUNLUK ΗέZέMLERέ (Ekranύ Kirletmeden)
    // ─────────────────────────────────────────────────────────────────
    plot(celik"Ηelik"color=color.new(#d500f9, 0), linewidth=2, style=plot.style_stepline) // Mor
    plot(demir"Demir"color=color.new(#ff9100, 0), linewidth=2, style=plot.style_stepline) // Turuncu
    plot(beton"Beton"color=color.new(#2979ff, 0), linewidth=1, style=plot.style_stepline) // Mavi
    plot(tahta"Tahta"color=color.new(#00e676, 0), linewidth=1, style=plot.style_stepline) // Yeώil
    plot(cam,   "Cam",   color=color.new(color.white0), linewidth=1style=plot.style_stepline// Beyaz

    // ─────────────────────────────────────────────────────────────────
    // 4. SAR FάZYONU VE AYNASI (Φncό Kalkan)
    // ─────────────────────────────────────────────────────────────────
    float af_start 0.01
    float af_step  
    0.01
    float af_max   
    0.2

    var bool is_long true
    var float ep hl2
    var float sar_f na
    var float af af_start

    if na(sar_f)
        
    sar_f := hl2 ta.atr(14)

    float prev_sar sar_f
    float prev_ep 
    ep

    if is_long
        sar_f 
    := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := false
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start
    else
        
    sar_f := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := true
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start

    // 🚀 AYNA SAR (Hedef ve Gerginlik Φlηer)
    float sar_ayna = (hl2) - sar_f

    // Sinyaller
    bool fuzyon_al is_long and not is_long[1]
    bool fuzyon_sat not is_long and is_long[1]

    // Gφrseller
    color sar_renk is_long color.new(color.yellow0) : color.new(#ff1744, 0)
    plot(sar_f"SAR Fόzyonu"color=sar_renkstyle=plot.style_circleslinewidth=1)

    color ayna_renk is_long color.new(color.aqua0) : color.new(color.fuchsia0)
    plot(sar_ayna"Ayna SAR"color=ayna_renkstyle=plot.style_crosslinewidth=1)

    plotshape(fuzyon_sattitle="Sat"style=shape.diamondlocation=location.abovebarcolor=#ff1744, size=size.small)
    plotshape(fuzyon_altitle="Al"style=shape.diamondlocation=location.belowbarcolor=#00e676, size=size.small) 
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V8.2 - 1m Sniper Tetik]
    //@version=6
    indicator("KKM Sniper 1m"shorttitle="Sniper 1m"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KάTLE MOTORU (Tόrkηe karakter iηermez)
    // ─────────────────────────────────────────────────────────────────
    f_kutu_kutle(int _atrLenfloat _atrMultfloat _mu) =>
        
    float threshold ta.atr(_atrLen) * _atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred _mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 2. 1m SCALPING KADEMELERέ (Sύkύώtύrύlmύώ Parametreler)
    // ─────────────────────────────────────────────────────────────────
    float l1 f_kutu_kutle(5,  0.50.8)  // L1: Bot Gόrόltόsό
    float l2 f_kutu_kutle(101.00.5)  // L2: Perakende Direnci
    float l3 f_kutu_kutle(151.50.3)  // L3: Minφr Ηekilme
    float l4 f_kutu_kutle(212.00.1)  // L4: TETέK DUVARI
    float l5 f_kutu_kutle(1,  1.00.01// L5: Ana Zύrh (Dόz Hat)

    // Ηizimler
    plot(l5"L5 Zirh"color=color.new(#d500f9, 0), linewidth=2, style=plot.style_stepline)
    plot(l4"L4 Tetik"color=color.new(#ff9100, 0), linewidth=2, style=plot.style_stepline)
    plot(l3"L3"color=color.new(#2979ff, 0), linewidth=1, style=plot.style_stepline)
    plot(l2"L2"color=color.new(#00e676, 0), linewidth=1, style=plot.style_stepline)
    plot(l1"L1"color=color.new(color.white0), linewidth=1style=plot.style_stepline)

    // ─────────────────────────────────────────────────────────────────
    // 3. TEK ATIήLIK KESKέN NέήANCI TETέΠέ (Giriώ)
    // ─────────────────────────────────────────────────────────────────
    // Fiyatύn (hl2) DΦRT katmanύn da όzerine/altύna AYNI ANDA geηtiπi o kusursuz an
    bool long_cond hl2 l1 and hl2 l2 and hl2 l3 and hl2 l4
    bool long_trigger 
    long_cond and not long_cond[1]

    bool short_cond hl2 l1 and hl2 l2 and hl2 l3 and hl2 l4
    bool short_trigger 
    short_cond and not short_cond[1]

    // Ekranda SADECE tetik anύnda zemin flaώύ patlar
    bgcolor(long_trigger color.new(#00e676, 75) : short_trigger ? color.new(#ff1744, 75) : na, title="Sniper Tetik Flasi")

    // ─────────────────────────────────────────────────────────────────
    // 4. SAR FάZYONU VE AYNASI (Ηύkύώ/Kalkan)
    // ─────────────────────────────────────────────────────────────────
    float af_start 0.01
    float af_step  
    0.01
    float af_max   
    0.2

    var bool is_long true
    var float ep hl2
    var float sar_f na
    var float af af_start

    if na(sar_f)
        
    sar_f := hl2 ta.atr(14)

    float prev_sar sar_f
    float prev_ep 
    ep

    if is_long
        sar_f 
    := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := false
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start
    else
        
    sar_f := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := true
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start

    float sar_ayna 
    = (hl2) - sar_f

    bool fuzyon_al 
    is_long and not is_long[1]
    bool fuzyon_sat not is_long and is_long[1]

    color sar_renk is_long color.new(color.yellow0) : color.new(#ff1744, 0)
    plot(sar_f"SAR Fuzyonu"color=sar_renkstyle=plot.style_circleslinewidth=1)

    color ayna_renk is_long color.new(color.aqua0) : color.new(color.fuchsia0)
    plot(sar_ayna"Ayna SAR"color=ayna_renkstyle=plot.style_crosslinewidth=1)

    plotshape(fuzyon_sattitle="Sat / Cikis"style=shape.diamondlocation=location.abovebarcolor=#ff1744, size=size.small)
    plotshape(fuzyon_altitle="Al / Cikis"style=shape.diamondlocation=location.belowbarcolor=#00e676, size=size.small) 
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V9 - Balistik Sniper]
    //@version=6
    indicator("KKM Balistik Sniper"shorttitle="Kόtle Yoπunluk"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KάTLE MOTORU (έvme ve Yoπunluk Filtresi)
    // ─────────────────────────────────────────────────────────────────
    f_kutu_kutle(int _atrLenfloat _atrMultfloat _mu) =>
        
    float threshold ta.atr(_atrLen) * _atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred _mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 2. BALέSTέK MATERYALLER (Sadece Cam ve Ηelik)
    // ─────────────────────────────────────────────────────────────────
    // Cam: Gόrόltό ve perakende direnci (Kύrύlgan)
    float cam f_kutu_kutle(101.50.8)   

    // Ηelik: Zύrh Delici Kurumsal Mermi (Parabolik)
    float celik f_kutu_kutle(11.00.01

    // ─────────────────────────────────────────────────────────────────
    // 3. SAR FάZYONU VE YΦRάNGE AYNASI
    // ─────────────────────────────────────────────────────────────────
    float af_start 0.01
    float af_step  
    0.01
    float af_max   
    0.2

    var bool is_long true
    var float ep hl2
    var float sar_f na
    var float af af_start

    if na(sar_f)
        
    sar_f := hl2 ta.atr(14)

    float prev_sar sar_f
    float prev_ep 
    ep

    if is_long
        sar_f 
    := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := false
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start
    else
        
    sar_f := prev_sar af * (prev_ep prev_sar)
        if 
    hl2 ep
            ep 
    := hl2
            af 
    := math.min(af af_stepaf_max)
        if 
    hl2 sar_f
            is_long 
    := true
            sar_f 
    := ep
            ep 
    := hl2
            af 
    := af_start

    // 🚀 AYNA SAR (Mermiye kavis veren vakum)
    float sar_ayna = (hl2) - sar_f

    // ─────────────────────────────────────────────────────────────────
    // 4. ΗέZέMLER (Senin ekranύnla birebir aynύ)
    // ─────────────────────────────────────────────────────────────────
    plot(celik"Ηelik (Mermi)"color=color.new(#d500f9, 0), linewidth=2) // Pembe Parabol
    plot(sar_ayna"Ayna SAR (Kavis)"color=color.new(#00e5ff, 0), linewidth=1) // Turkuaz Yφrόnge
    plot(cam"Cam (Hedef)"color=color.new(#ffeb3b, 0), linewidth=1, style=plot.style_stepline) // Sarύ Kύrύlgan

    // ─────────────────────────────────────────────────────────────────
    // 5. BALέSTέK TETέK MANTIΠI (Tek Atύώ)
    // ─────────────────────────────────────────────────────────────────
    // Mermi kavisini yukarύ ηevirmiώ VE Fiyat Camύ paramparηa etmiώse -> ATEή!
    bool mermi_havada_long celik celik[1]
    bool cam_kirildi_long ta.crossover(hl2cam)
    bool long_atis mermi_havada_long and cam_kirildi_long

    // Mermi kavisini aώaπύ ηevirmiώ VE Fiyat Camύ aώaπύ kύrmύώsa -> ATEή!
    bool mermi_havada_short celik celik[1]
    bool cam_kirildi_short ta.crossunder(hl2cam)
    bool short_atis mermi_havada_short and cam_kirildi_short

    // Kusursuz Tetik Flaώlarύ
    plotshape(long_atistitle="Long Atύώ"style=shape.triangleuplocation=location.belowbarcolor=#00e676, size=size.normal)
    plotshape(short_atistitle="Short Atύώ"style=shape.triangledownlocation=location.abovebarcolor=#ff1744, size=size.normal)

    // Ayna SAR'a ηarpύp yorulma (Kβr Al / Ηύkύώ)
    bool kar_al_long is_long and ta.crossunder(hl2sar_ayna)
    bool kar_al_short not is_long and ta.crossover(hl2sar_ayna)
    plotshape(kar_al_long or kar_al_shorttitle="Mermi Hedefe Ulaώtύ (Ηύkύώ)"style=shape.xcrosslocation=location.absolutecolor=color.whitesize=size.tiny
    16.07.2024 - 10.12.2024

  4. saηma fikirlerle...φrneklemeye devam...
    ai ye yazdύrύlan φrnekler...(not: ai isimlendirme yaparken, dalkavukluπu elden bύrakmύyor)

    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V10 - Vortex Barlar + Ηelik Mermi]
    //@version=6
    indicator("KKM Nihai Scalping"shorttitle="Kόtle+Vortex"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. KάTLE MOTORU (έvme ve Yoπunluk)
    // ─────────────────────────────────────────────────────────────────
    f_kutu_kutle(int _atrLenfloat _atrMultfloat _mu) =>
        
    float threshold ta.atr(_atrLen) * _atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred _mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    // ─────────────────────────────────────────────────────────────────
    // 2. CEPHE HATLARI (Cam, Ηelik ve Siperler)
    // ─────────────────────────────────────────────────────────────────
    float cam   f_kutu_kutle(101.50.8)   // 1m Gόrόltό Filtresi
    float celik f_kutu_kutle(1,  1.00.01)  // Aπύr Kurumsal Mermi (Parabolik)

    float y3 request.security(syminfo.tickerid"3"f_kutu_kutle(203.50.6), lookahead=barmerge.lookahead_off)
    float y5 request.security(syminfo.tickerid"5"f_kutu_kutle(203.50.6), lookahead=barmerge.lookahead_off)

    // Ηizimler
    plot(celik"Ηelik (Mermi)"color=color.new(#d500f9, 0), linewidth=2) // Pembe Parabol
    plot(cam,   "Cam",           color=color.new(color.white0), linewidth=1style=plot.style_stepline)
    plot(y3,    "3m Siper",      color=color.new(#ff9100, 0), linewidth=1, style=plot.style_stepline)
    plot(y5,    "5m Siper",      color=color.new(#ff1744, 0), linewidth=1, style=plot.style_stepline)

    // ─────────────────────────────────────────────────────────────────
    // 3. Z-VORTEX KέNETέK BARLAR (Boyama Sistemi)
    // ─────────────────────────────────────────────────────────────────
    // Vortex έvmesi: Fiyatύn kόtle merkezine gφre anlύk kopuώ hύzύ
    int length 14
    float tr 
    ta.tr(true)
    float vm_plus math.abs(high low[1])
    float vm_minus math.abs(low high[1])

    float sum_tr math.sum(trlength)
    float sum_vm_plus math.sum(vm_pluslength)
    float sum_vm_minus math.sum(vm_minuslength)

    float vi_plus sum_tr == sum_vm_plus sum_tr
    float vi_minus 
    sum_tr == sum_vm_minus sum_tr

    // Vortex ZLEMA Filtresi (Sύfύr Gecikme)
    int z_len 5
    float z_vi_plus 
    ta.ema(vi_plus + (vi_plus vi_plus[z_len/2]), z_len)
    float z_vi_minus ta.ema(vi_minus + (vi_minus vi_minus[z_len/2]), z_len)

    // Bar Renklendirme ήartlarύ
    bool kudurma_long z_vi_plus z_vi_minus and hl2 celik
    bool kudurma_short 
    z_vi_minus z_vi_plus and hl2 celik

    color bar_color 
    kudurma_long color.new(#00e676, 0) : kudurma_short ? color.new(#ff1744, 0) : color.new(#9e9e9e, 50)
    barcolor(bar_colortitle="Vortex Barlar")

    // ─────────────────────────────────────────────────────────────────
    // 4. BALέSTέK TETέK (Gφrsel Flaώlar)
    // ─────────────────────────────────────────────────────────────────
    // Barlar yeώile dφndόπόnde ve mermi yukarύ kavis aldύπύnda net atύώ!
    bool long_atis kudurma_long and not kudurma_long[1] and celik celik[1]
    bool short_atis kudurma_short and not kudurma_short[1] and celik celik[1]

    plotshape(long_atistitle="Long Atύώ"style=shape.triangleuplocation=location.belowbarcolor=#00e676, size=size.normal)
    plotshape(short_atistitle="Short Atύώ"style=shape.triangledownlocation=location.abovebarcolor=#ff1744, size=size.normal) 
    16.07.2024 - 10.12.2024

  5. TWde de...kodlara isimler verilirken....

    sanki anahtar kelimeler gibi... sniper... machine learning...auto..smart...AI.. focus...kelimeleri kullanύlύyor...

    aynύsύnύ... AI yapύyor... kendine gφre... ilgi ηekecek isimler veriyor...

    yφrόk... boώuna uπraώύyon...
    16.07.2024 - 10.12.2024

  6. saηma fikirlerle...φrneklemeye devam...
    ai ye yazdύrύlan φrnekler...(not: ai isimlendirme yaparken, dalkavukluπu elden bύrakmύyor)

    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.9 Terminal + Z-Vortex + Z-Div]
    //@version=6
    indicator("yunus emre otonom"shorttitle=":)"overlay=truemax_labels_count=50max_lines_count=50)

    // ─────────────────────────────────────────────────────────────────
    // 0. MERKEZέ FONKSέYONLAR (Paylaώύmlύ Kuantum Hafύzasύ)
    // ─────────────────────────────────────────────────────────────────
    // Bu motor her ηaπrύldύπύnda kendisine φzel, yalύtύlmύώ bir hafύza aηar. 
    // Hem Vortex hem de Gφreceli Gόη (RS) modόlleri bu motoru ηakύώmadan kullanύr.
    f_zlema(series float srcsimple int len) =>
        
    float ema1 ta.ema(srclen)
        
    float ema2 ta.ema(ema1len)
        
    ema1 + (ema1 ema2)

    // ─────────────────────────────────────────────────────────────────
    // 7. SAR HESAPLAMALARI VE ΗέZέMLER
    // ─────────────────────────────────────────────────────────────────
    float roSarSlow     ta.sar(0.010.010.2)
    float roSarModerate ta.sar(0.010.020.2)
    float roSarFast     ta.sar(0.010.030.2)

    plot(roSarSlow,     title="C"style=plot.style_crosscolor=color.yellow,  linewidth=1)
    plot(roSarModeratetitle="B",  style=plot.style_crosscolor=color.yellowlinewidth=1)
    plot(roSarFast,     title="A"style=plot.style_crosscolor=color.yellow,   linewidth=1)

    float sarMavi ta.sar(0.00.0030.02), sarSari ta.sar(0.00.0010.02), sarFusya ta.sar(0.0010.00050.02)
    plot(sarMavi"X"color.new(#040cfb, 0), 1, plot.style_cross)
    plot(sarSari"Y"color.new(#040cfb, 0), 1, plot.style_cross)
    plot(sarFusya"Z"color.new(#040cfb, 0), 1, plot.style_cross)

    // ─────────────────────────────────────────────────────────────────
    // 1. GέRDέLER
    // ─────────────────────────────────────────────────────────────────
    group_l1 "1. Kinetik Motor (Yφrόk)"
    int atrLen input.int(20"L1 Hafύza (ATR)"group=group_l1)
    float atrMult input.float(3.5"L1 Gόrόltό Duvarύ"step=0.1group=group_l1)
    float mu input.float(0.6"L1 Yakύnsaklύk (μ)"step=0.1group=group_l1)

    group_vx "2. Z-Vortex Barlar & Z-Div"
    int vLen input.int(30"Vortex Periyodu"group=group_vx)
    int zLen input.int(5,  "ZLEMA (Sύfύr Gecikme)"group=group_vx)
    float vHot input.float(1.1"Patlama Eώiπi"step=0.05group=group_vx)
    bool showDiv input.bool(true"Z-Div (Kinetik Uyumsuzluk) Gφster"group=group_vx)

    group_holy "3. Kurumsal S-TWAP Filtresi"
    float maxTension input.float(2.0"Maksimum Gerginlik Sύnύrύ"step=0.1group=group_holy)

    // ─────────────────────────────────────────────────────────────────
    // 2. ARKA PLAN HESAPLAMALARI (SAF YΦRάK VE TWAP)
    // ─────────────────────────────────────────────────────────────────
    f_yoruk_pure() =>
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v
        z

    bool isNew15m 
    ta.change(time("15")) != 0
    var float sumPrice15m 0.0, var float barCount15m 0.0
    if isNew15m or bar_index == 0
        sumPrice15m 
    := hl2barCount15m := 1.0
    else
        
    sumPrice15m += hl2barCount15m += 1.0
    float curTwap15m 
    sumPrice15m barCount15m

    bool isNewHour 
    ta.change(time("60")) != 0
    var float sumPriceH 0.0, var float barCountH 0.0
    if isNewHour or bar_index == 0
        sumPriceH 
    := hl2barCountH := 1.0
    else
        
    sumPriceH += hl2barCountH += 1.0
    float curTwapH 
    sumPriceH barCountH

    bool isNewDay 
    ta.change(time("D")) != 0
    var float sumPriceD 0.0, var float barCountD 0.0
    if isNewDay or bar_index == 0
        sumPriceD 
    := hl2barCountD := 1.0
    else
        
    sumPriceD += hl2barCountD += 1.0
    float curTwapD 
    sumPriceD barCountD

    // ─────────────────────────────────────────────────────────────────
    // 3. Z-VORTEX & Z-DIV (KέNETέK UYUMSUZLUK - FέLTRELέ)
    // ─────────────────────────────────────────────────────────────────
    float vPlusBase math.sum(math.abs(high low[1]), vLen)
    float vNegBase  math.sum(math.abs(low high[1]), vLen)
    float tRange    math.sum(ta.atr(1), vLen)

    float vPlus tRange vPlusBase tRange 0
    float vNeg  
    tRange vNegBase tRange 0

    float plusZ 
    f_zlema(vPluszLen)
    float negZ  f_zlema(vNegzLen)

    // Patlama (Kudurma) Durumlarύ - FέLTRE έΗέN GEREKLέ
    bool isBullExplosion plusZ vHot
    bool isBearExplosion 
    negZ vHot

    // Barlarύ Renklendirme
    color vxColor isBullExplosion #00e676 : isBearExplosion ? #ff1744 : #787b86
    barcolor(vxColortitle="Z-Vortex Barlar")

    // FέLTRELέ Z-DIV (Kinetik Uyumsuzluk Susturucusu)
    bool bearDivInstant = (hl2 hl2[1] and hl2[1] > hl2[2]) and (plusZ plusZ[1] and plusZ[1] < plusZ[2]) and plusZ 0.9 and not isBullExplosion
    bool bullDivInstant 
    = (hl2 hl2[1] and hl2[1] < hl2[2]) and (negZ negZ[1] and negZ[1] < negZ[2]) and negZ 0.9 and not isBearExplosion

    plotshape
    (showDiv and bullDivInstanttitle="Boπa Z-Div"style=shape.diamondlocation=location.belowbarcolor=color.rgb(018721250), size=size.small)
    plotshape(showDiv and bearDivInstanttitle="Ayύ Z-Div"style=shape.diamondlocation=location.abovebarcolor=color.rgb(2550050), size=size.small)

    // ─────────────────────────────────────────────────────────────────
    // 4. ήELALE ΗέZέMLERέ (Yφrόk MTF)
    // ─────────────────────────────────────────────────────────────────
    float y1   f_yoruk_pure() 
    float y3   request.security(syminfo.tickerid"3",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y5   request.security(syminfo.tickerid"5",   f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y15  request.security(syminfo.tickerid"15",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y60  request.security(syminfo.tickerid"60",  f_yoruk_pure(), lookahead=barmerge.lookahead_off)
    float y240 request.security(syminfo.tickerid"240"f_yoruk_pure(), lookahead=barmerge.lookahead_off
    float yD   request.security(syminfo.tickerid"D",   f_yoruk_pure(), lookahead=barmerge.lookahead_off

    plot(y1,   "1m",  color=color.new(#ffeb3b, 0), linewidth=1, style=plot.style_stepline)
    plot(y3,   "3m",  color=color.new(#ff9800, 0), linewidth=1, style=plot.style_stepline)
    plot(y5,   "5m",  color=color.new(#e91e63, 0), linewidth=1, style=plot.style_stepline)
    plot(y15,  "15m"color=color.new(#9c27b0, 0), linewidth=2, style=plot.style_stepline)

    // ─────────────────────────────────────────────────────────────────
    // 5. MέKRO ATEήLEME & MANYETέK HEDEFLEME MANTIΠI
    // ─────────────────────────────────────────────────────────────────
    float safeAtr math.max(ta.atr(14), syminfo.mintick)
    bool isIgnition = (high low) >= (safeAtr 1.5)

    float atrH request.security(syminfo.tickerid"60"ta.atr(14), lookahead=barmerge.lookahead_off)
    float twapDistAtr atrH math.abs(close curTwapH) / atrH 0
    bool tensionOk 
    twapDistAtr <= maxTension

    bool breakBull 
    close y1 and close y3 and (open y1 or open y3 or close[1] < y1)
    bool breakBear close y1 and close y3 and (open y1 or open y3 or close[1] > y1)

    bool fireBull breakBull and isIgnition and close curTwapH and close open and tensionOk
    bool fireBear 
    breakBear and isIgnition and close curTwapH and close open and tensionOk

    bgcolor
    (fireBull color.new(#00e676, 75) : fireBear ? color.new(#ff1744, 75) : na, title="Ateώleme Zemin Flaώύ")

    var int   activeSide   0
    var float entryPrice   na
    var bool  hasMagnet    false 

    var line lineEntry na, var label lblEntry na

    if (fireBull and activeSide != 1)
        
    activeSide := 1entryPrice := closehasMagnet := y60 close
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry)
        
    lineEntry := line.new(bar_indexentryPricebar_index 5entryPricecolor=color.new(#00e676, 0), width=2)
        
    lblEntry  := label.new(bar_index 5entryPrice"GέRέή: " str.tostring(math.round(entryPrice2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    else if (fireBear and activeSide != -1)
        
    activeSide := -1entryPrice := closehasMagnet := y60 close
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry)
        
    lineEntry := line.new(bar_indexentryPricebar_index 5entryPricecolor=color.new(#ff1744, 0), width=2)
        
    lblEntry  := label.new(bar_index 5entryPrice"GέRέή: " str.tostring(math.round(entryPrice2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    if activeSide != 0
        line
    .set_x2(lineEntrybar_index 5), label.set_x(lblEntrybar_index 5)
        
        
    bool magnetHitBull activeSide == and hasMagnet and high >= y60
        bool magnetHitBear 
    activeSide == -and hasMagnet and low <= y60
        bool microStopBull 
    activeSide == and close y1
        bool microStopBear 
    activeSide == -and close y1
        
        
    if magnetHitBull or magnetHitBear
            activeSide 
    := 0
            line
    .set_color(lineEntrycolor.new(color.gray60)), label.set_color(lblEntrycolor.new(color.gray60))
            
        else if 
    microStopBull or microStopBear
            activeSide 
    := 0
            line
    .set_color(lineEntrycolor.new(color.gray60)), label.set_color(lblEntrycolor.new(color.gray60))

    // ─────────────────────────────────────────────────────────────────
    // 6. TERMINAL PUSULASI (TAM KONTROL HUD)
    // ─────────────────────────────────────────────────────────────────
    var table terminal table.new(position.bottom_right211bgcolor=color.new(color.black60), border_color=color.new(color.gray80), border_width=1)
    f_col(val) => close val #00e676 : close < val ? #ff1744 : color.silver

    if barstate.islast
        table
    .cell(terminal00"Aέ GEMέNέ PRO 2026"text_color=color.yellowtext_size=size.normalbgcolor=color.new(color.black40))
        
    table.merge_cells(terminal0010)
        
        
    string entryState activeSide == " (AKTέF/AL)" activeSide == -" (AKTέF/SAT)" " (KAPALI)"
        
    string entryStr not na(entryPrice) ? str.tostring(math.round(entryPrice2)) + entryState "BEKLENέYOR"
        
    color entryCol activeSide == #00e676 : activeSide == -1 ? #ff1744 : color.silver
        
        
    table.cell(terminal01"SON GέRέή"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal11entryStrtext_color=entryColtext_size=size.normal)
        
        
    float stopAvg = (y1 y3) / 2
        table
    .cell(terminal02"STOP"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal12str.tostring(math.round(stopAvg2)), text_color=color.orangetext_size=size.normal)

        
    table.cell(terminal03"1m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal13str.tostring(math.round(y12)), text_color=f_col(y1), text_size=size.normal)
        
    table.cell(terminal04"3m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal14str.tostring(math.round(y32)), text_color=f_col(y3), text_size=size.normal)
        
    table.cell(terminal05"5m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal15str.tostring(math.round(y52)), text_color=f_col(y5), text_size=size.normal)
        
    table.cell(terminal06"15m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal16str.tostring(math.round(y152)), text_color=f_col(y15), text_size=size.normal)
        
    table.cell(terminal07"60m"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal17str.tostring(math.round(y602)), text_color=f_col(y60), text_size=size.normal)
        
    table.cell(terminal08"4S"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal18str.tostring(math.round(y2402)), text_color=f_col(y240), text_size=size.normal)
        
    table.cell(terminal09"1G"text_color=color.whitetext_size=size.normal)
        
    table.cell(terminal19str.tostring(math.round(yD2)), text_color=f_col(yD), text_size=size.normal)

        
    table.cell(terminal010"@yφrόk@ Yatύrύm Tavsiyesi DEΠέLDέR."text_color=color.whitetext_size=size.normal)
        
    table.merge_cells(terminal010110)

    // ─────────────────────────────────────────────────────────────────
    // GΦRECELέ GάΗ έSTέHBARATI (RELATIVE STRENGTH)
    // ─────────────────────────────────────────────────────────────────
    string symB input.symbol("BIST:XU100""Kύyaslanacak Endeks / Hisse")
    int zLen12 input.int(7"ZLEMA (Sύfύr Gecikme) Periyodu"minval=1)

    [
    o2h2l2c2hl2_2] = request.security(symBtimeframe.period, [openhighlowclosehl2], lookahead=barmerge.lookahead_off)

    float rs_o open o2
    float rs_h 
    high h2
    float rs_l 
    low l2
    float rs_c 
    close c2
    float rs_hl2 
    hl2 hl2_2

    // f_zlema1 έPTAL EDέLDέ! Sistem ana hafύzadaki f_zlema'yύ kullanύyor.
    float zlema_rs f_zlema(rs_hl2zLen12)

    bool isStrong rs_c zlema_rs
    color bullColor 
    color.new(#00e676, 0)
    color bearColor color.new(#ff1744, 0)
    color candleColor isStrong bullColor bearColor

    var table tbl table.new(position.top_right12bgcolor=color.new(color.black80), border_color=color.new(color.white20), border_width=1)

    if 
    barstate.islast
        string status 
    isStrong "💪 OLUMLU" "🩸 OLUMSUZ"
        
    table.cell(tbl00syminfo.ticker " / " syminfo.ticker(symB), text_color=color.whitetext_size=size.normal)
        
    table.cell(tbl01statustext_color=candleColortext_size=size.normaltext_formatting=text.format_bold)

    // ─────────────────────────────────────────────────────────────────
    // ASYMMETRIC TREND ENGINE (GΦRάNMEZ HESAPLAYICI)
    // ─────────────────────────────────────────────────────────────────
    float asy_src        hl2
    int   asy_lookback   
    50
    float asy_mult       
    5.5

    float asy_vol_threshold 
    ta.stdev(asy_srcasy_lookback) * asy_mult

    var float asy_trend_line na
    var int   asy_trend_dir  0
    var int   asy_prev_dir   0

    if na(asy_trend_line)
        
    asy_trend_line := asy_src
    else
        
    asy_prev_dir := asy_trend_dir
        
    if asy_trend_dir >= 0
            
    if asy_src asy_trend_line asy_vol_threshold 0.5
                asy_trend_line 
    := math.max(asy_trend_lineasy_src asy_vol_threshold 0.25)
                
    asy_trend_dir  := 1
            
    else if asy_src asy_trend_line asy_vol_threshold
                asy_trend_line 
    := asy_src asy_vol_threshold 0.25
                asy_trend_dir  
    := -1
        
    else
            if 
    asy_src asy_trend_line asy_vol_threshold 0.5
                asy_trend_line 
    := math.min(asy_trend_lineasy_src asy_vol_threshold 0.25)
                
    asy_trend_dir  := -1
            
    else if asy_src asy_trend_line asy_vol_threshold
                asy_trend_line 
    := asy_src asy_vol_threshold 0.25
                asy_trend_dir  
    := 1

    bool turned_bullish 
    asy_trend_dir == 1  and asy_trend_dir[1] == -1
    bool turned_bearish 
    asy_trend_dir == -and asy_trend_dir[1] == 1
    bool is_reversal    
    asy_trend_dir != asy_prev_dir and bar_index 0

    float yoruk_1m 
    ta.sma(hl221)
    //plot(yoruk_1m, "0", color=color.new(color.aqua, 20), linewidth=2)

    color rev_color asy_trend_dir == #00ffaa : #ff0000
    plotchar(is_reversal ? (asy_trend_dir == low high) : na"KKM Reversal""⦿"location location.absolutecolor rev_colorsize size.small)

    //plotshape(turned_bullish, style=shape.diamond, location=location.belowbar, color=#00ffaa, size=size.tiny, title="L Entry")
    //plotshape(turned_bearish, style=shape.diamond, location=location.abovebar, color=#ff0000, size=size.tiny, title="S Entry")

    alertcondition(turned_bullish"KKM Bullish Reversal""Kόtle έvmesi YUKARI dφndό!")
    alertcondition(turned_bearish"KKM Bearish Reversal""Kόtle έvmesi AήAΠI dφndό!")

    // ─────────────────────────────────────────────────────────────────
    // PURE TWAP-DVDI MOTORU (Hacimsiz Akύώ)
    // ─────────────────────────────────────────────────────────────────
    float kutle_src hl2 
    float hizli_twap 
    ta.sma(kutle_src1

    f_ema(float xint t) =>
        
    float _ema 0.0
        _ema 
    := na(_ema[1]) ? : (nz(_ema[1])) * (/ (1)) + nz(_ema[1])
        
    _ema

    f_twap_dvdi
    (float xint t1int t2) =>
        
    float twap_vol math.abs(ta.change(x))
        var 
    float pvi 0.0
        pvi 
    := nz(x[1]) ? pvi + (nz(x[1])) : pvi
        float psig 
    f_ema(pvit1)
        
    float pdiv f_ema(pvi psigt2)
        
        var 
    float nvi 0.0
        nvi 
    := nz(x[1]) ? nvi - (nz(x[1])) : nvi
        float nsig 
    f_ema(nvit1)
        
    float ndiv f_ema(nvi nsigt2)
        [
    pdivndiv]

    int per 255 
    int smper 
    31

    [pdivndiv] = f_twap_dvdi(hizli_twappersmper)

    color zemin_rengi = (pdiv ndiv) and (pdiv 0) ? #05ffa6 : 
                       
    (pdiv ndiv) and (pdiv <= 0) ? #00945f : 
                       
    (ndiv pdiv) and (ndiv 0) ? #ff0a70 : 
                       
    (ndiv pdiv) and (ndiv <= 0) ? #990040 : #cccccc

    bgcolor(color.new(zemin_rengi85), title="Kinetik Akύώ Zemini"
    16.07.2024 - 10.12.2024

  7. PHP Code:
    // © BigBeluga (Modifiye: Saf Maliyet Hattύ)
    //@version=6
    indicator("Saf Maliyet Hattύ [Modifiye]"overlay true)

    // ─────────────────────────────────────────────────────────────────
    // GέRDέLER VE RENKLER
    // ─────────────────────────────────────────────────────────────────
    int len input.int(13"Maliyet Uzunluπu")

    color col_up  input.color(#00e676, "Yόkseliώ Rengi (Yeώil)")
    color col_dn  input.color(#ff1744, "Dόώόώ Rengi (Kύrmύzύ)")
    color col_mid input.color(color.fuchsia"Merkez Ηizgi Rengi")

    // ─────────────────────────────────────────────────────────────────
    // HESAPLAMA (Sύfύr Gecikmeli Pόrόzsόz Merkez)
    // ─────────────────────────────────────────────────────────────────
    float mid ta.hma(ta.median(hl2len 2), 10)

    // ─────────────────────────────────────────────────────────────────
    // ΗέZέM VE BOYA
    // ─────────────────────────────────────────────────────────────────
    // Tek beyaz merkez hattύ
    plot(midtitle "Maliyet"color col_midlinewidth 1)

    // Sadece Kύrmύzύ ve Yeώil mantύπύ
    color bar_col close mid col_up close mid col_dn color.gray

    // Mumlarύ ve sύnύrlarύ boya
    //plotcandle(open, high, low, close, title='Renk Mumlarύ', color = bar_col, wickcolor=bar_col, bordercolor = bar_col)
    barcolor(bar_col
    16.07.2024 - 10.12.2024

  8. sar denemesi....
    PHP Code:
    //@version=6
    indicator(":]"overlay=truemax_lines_count=50max_labels_count=500)

    // ==========================================
    // 1. 5 KADEMELέ EXTENDED SAR MOTORU
    // ==========================================
    sarext(simple float start_value=0.0simple float offset_on_reverse=0.0,
           
    simple float af_init_long=0.simple float af_long=0.02simple float af_max_long=0.20,
           
    simple float af_init_short=0.simple float af_short=0.02simple float af_max_short=0.20) =>
        if 
    af_init_long 0
            runtime
    .error("AF init long must be >= 0")
        if 
    af_long 0
            runtime
    .error("AF long must be >= 0")
        if 
    af_max_long af_init_long
            runtime
    .error("AF max long must be >= AF init long")
        if 
    af_init_short 0
            runtime
    .error("AF init short must be >= 0")
        if 
    af_short 0
            runtime
    .error("AF short must be >= 0")
        if 
    af_max_short af_init_short
            runtime
    .error("AF max short must be >= AF init short")

        var 
    bool is_long true
        
    var float sar na
        
    var float ep na
        
    var float af af_init_long
        
    var float result na

        
    if bar_index == 0
            result 
    := na
        
    else if bar_index == 1
            
    if start_value 0
                is_long 
    := true
                sar 
    := math.abs(start_value)
            else if 
    start_value 0
                is_long 
    := false
                sar 
    := math.abs(start_value)
            else
                
    float plus_dm high high[1]
                
    float minus_dm low[1] - low
                
    if plus_dm 0
                    plus_dm 
    := 0
                
    if minus_dm 0
                    minus_dm 
    := 0
                is_long 
    := plus_dm minus_dm
                sar 
    := is_long low[1] : high[1]

            
    ep := is_long high low
            af 
    := is_long af_init_long af_init_short

            
    if is_long
                
    if sar low[1]
                    
    sar := low[1]
                if 
    sar low
                    sar 
    := low
            
    else
                if 
    sar high[1]
                    
    sar := high[1]
                if 
    sar high
                    sar 
    := high

            result 
    := is_long sar : -sar
        
    else
            
    float new_sar sar af * (ep sar)

            if 
    is_long
                new_sar 
    := math.min(new_sarlow[1])
                
    new_sar := math.min(new_sarlow[2])
                if 
    low new_sar
                    is_long 
    := false
                    new_sar 
    := ep
                    
    if offset_on_reverse != 0
                        new_sar 
    := new_sar offset_on_reverse
                    ep 
    := low
                    af 
    := af_init_short
                
    else
                    if 
    high ep
                        ep 
    := high
                        af 
    := math.min(af af_longaf_max_long)
            else
                
    new_sar := math.max(new_sarhigh[1])
                
    new_sar := math.max(new_sarhigh[2])
                if 
    high new_sar
                    is_long 
    := true
                    new_sar 
    := ep
                    
    if offset_on_reverse != 0
                        new_sar 
    := new_sar offset_on_reverse
                    ep 
    := high
                    af 
    := af_init_long
                
    else
                    if 
    low ep
                        ep 
    := low
                        af 
    := math.min(af af_shortaf_max_short)

            
    sar := new_sar
            result 
    := is_long new_sar : -new_sar
        result

    // έvme (AF) Deπerleri
    i_af_h1 0.20   // Hύzlύ 1
    i_af_h2 0.05   // Hύzlύ 2
    i_af_de 0.02   // Denge
    i_af_y1 0.005  // Yavaώ 1
    i_af_y2 0.001  // Yavaώ 2
    i_af_mx 0.2    

    // Motorlarύ Ηalύώtύr
    s_h1 sarext(0.00.0i_af_h1i_af_h1math.max(i_af_h1i_af_mx), i_af_h1i_af_h1math.max(i_af_h1i_af_mx))
    s_h2 sarext(0.00.0i_af_h2i_af_h2math.max(i_af_h2i_af_mx), i_af_h2i_af_h2math.max(i_af_h2i_af_mx))
    s_de sarext(0.00.0i_af_dei_af_demath.max(i_af_dei_af_mx), i_af_dei_af_demath.max(i_af_dei_af_mx))
    s_y1 sarext(0.00.0i_af_y1i_af_y1math.max(i_af_y1i_af_mx), i_af_y1i_af_y1math.max(i_af_y1i_af_mx))
    s_y2 sarext(0.00.0i_af_y2i_af_y2math.max(i_af_y2i_af_mx), i_af_y2i_af_y2math.max(i_af_y2i_af_mx))


    // ==========================================
    // 2. HAKέKέ AYNA (SέMETRέK HEDEF HESAPLAMASI)
    // ==========================================
    // Denge (0.02) motorunun mesafesini alύp fiyatύn karώύ tarafύna yansύtan Ayna Formόlό
    float s_de_abs math.abs(s_de)
    bool is_de_up s_de 0
    float delta_de 
    math.abs(close s_de_abs)
    float raw_mirror is_de_up close delta_de close delta_de
    float ayna_hma 
    ta.hma(raw_mirror55// Pόrόzsόzleώtirilmiώ Yansύma Hedefi

    // ==========================================
    // 3. HAFIZA VE KIRILIM MANTIΠI
    // ==========================================
    var float p_h1 na, var float n_h1 na
    var float p_h2 na, var float n_h2 na
    var float p_de na, var float n_de na
    var float p_y1 na, var float n_y1 na
    var float p_y2 na, var float n_y2 na

    bool is_p_h1 
    s_h1 0
    bool is_p_h2 
    s_h2 0
    bool is_p_de 
    s_de 0
    bool is_p_y1 
    s_y1 0
    bool is_p_y2 
    s_y2 0

    if is_p_h1
        p_h1 
    := math.abs(s_h1)
    else
        
    n_h1 := math.abs(s_h1)

    if 
    is_p_h2
        p_h2 
    := math.abs(s_h2)
    else
        
    n_h2 := math.abs(s_h2)

    if 
    is_p_de
        p_de 
    := math.abs(s_de)
    else
        
    n_de := math.abs(s_de)

    if 
    is_p_y1
        p_y1 
    := math.abs(s_y1)
    else
        
    n_y1 := math.abs(s_y1)

    if 
    is_p_y2
        p_y2 
    := math.abs(s_y2)
    else
        
    n_y2 := math.abs(s_y2)

    bool prev_h1 bar_index is_p_h1[1] : is_p_h1
    bool prev_h2 
    bar_index is_p_h2[1] : is_p_h2
    bool prev_de 
    bar_index is_p_de[1] : is_p_de
    bool prev_y1 
    bar_index is_p_y1[1] : is_p_y1
    bool prev_y2 
    bar_index is_p_y2[1] : is_p_y2

    bool brk_h1_neg 
    prev_h1 and not is_p_h1 
    bool brk_h1_pos 
    not prev_h1 and is_p_h1 
    bool brk_h2_neg 
    prev_h2 and not is_p_h2
    bool brk_h2_pos 
    not prev_h2 and is_p_h2
    bool brk_de_neg 
    prev_de and not is_p_de
    bool brk_de_pos 
    not prev_de and is_p_de
    bool brk_y1_neg 
    prev_y1 and not is_p_y1
    bool brk_y1_pos 
    not prev_y1 and is_p_y1
    bool brk_y2_neg 
    prev_y2 and not is_p_y2
    bool brk_y2_pos 
    not prev_y2 and is_p_y2

    // ==========================================
    // 4. AΠI EKRANA ΗέZME VE HESAPLAMALAR
    // ==========================================
    //plot(is_p_h1 ? math.abs(s_h1) : na, "H1 (+)", color=color.new(color.yellow, 0), style=plot.style_cross, linewidth=2)
    //plot(not is_p_h1 ? math.abs(s_h1) : na, "H1 (-)", color=color.new(color.yellow, 0),  style=plot.style_cross, linewidth=2)

    //plot(is_p_h2 ? math.abs(s_h2) : na, "H2 (+)", color=color.new(color.yellow, 0), style=plot.style_cross, linewidth=2)
    //plot(not is_p_h2 ? math.abs(s_h2) : na, "H2 (-)", color=color.new(color.yellow, 0), style=plot.style_cross, linewidth=2)

    //plot(is_p_de ? math.abs(s_de) : na, "D(+)", color=color.new(color.lime, 0), style=plot.style_line, linewidth=2)
    //plot(not is_p_de ? math.abs(s_de) : na, "D(-)", color=color.new(color.red, 0),  style=plot.style_line, linewidth=2)

    // ALTIN AYNAYI ΗέZME (Gelecek Hedefi)
    //plot(ayna_hma, "SarAyna", color=color.new(#f700ff, 0), linewidth=2, style=plot.style_line)

    //plot(is_p_y1 ? math.abs(s_y1) : na, "Y1 (+)", color=color.new(color.blue, 0), style=plot.style_cross, linewidth=2) 
    //plot(not is_p_y1 ? math.abs(s_y1) : na, "Y1 (-)", color=color.new(color.blue, 0), style=plot.style_cross, linewidth=2) 

    //plot(is_p_y2 ? math.abs(s_y2) : na, "Y2 (+)", color=color.new(color.blue, 0),   style=plot.style_cross, linewidth=2)
    //plot(not is_p_y2 ? math.abs(s_y2) : na, "Y2 (-)", color=color.new(color.blue, 0), style=plot.style_cross, linewidth=2)

    float avg_sar_val = (math.abs(s_h1) + math.abs(s_h2) + math.abs(s_de) + math.abs(s_y1) + math.abs(s_y2)) / 5.0

    // TEMέZ HAVA SAHASI: DURUM HESAPLAMASI
    bool durum_al = (close n_de) and (close p_h1) and (close n_h1) and (close p_h2) and (close n_h2)
    bool durum_sat = (close p_de) and (close p_h1) and (close n_h1) and (close p_h2) and (close n_h2)

    string durum_metni durum_al "AL" durum_sat "SAT" "BEKLE"
    color durum_rengi  durum_al color.lime durum_sat color.red color.gray
    color durum_yazi_rengi 
    durum_al color.black durum_sat color.white color.black

    // ==========================================
    // 5. MOMENTUM RADARLI KOMUTA MERKEZέ
    // ==========================================
    var table dash table.new(position.top_right316border_width 1border_color color.new(color.gray80))

    if 
    barstate.islast
        table
    .cell(dash00"@yφrόk@ Yatύrύm Tavsiyesi DEΠέLDέR."text_color=color.whitebgcolor=color.new(color.black0), text_size=size.normaltext_halign=text.align_center)
        
    table.merge_cells(dash0020)
        
        
    table.cell(dash01"Anlύk Fiyat:"text_color=color.whitebgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash11str.tostring(closeformat.mintick), text_color=color.whitebgcolor=color.new(color.black40), text_halign=text.align_right)
        
    table.merge_cells(dash1121)

        
    table.cell(dash02"Ortak Merkez (Ort):"text_color=color.yellowbgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash12str.tostring(avg_sar_valformat.mintick), text_color=color.yellowbgcolor=color.new(color.black40), text_halign=text.align_right)
        
    table.merge_cells(dash1222)

        
    table.cell(dash03"Genel Durum:"text_color=color.whitebgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash13durum_metnitext_color=durum_yazi_rengibgcolor=durum_rengitext_halign=text.align_right)
        
    table.merge_cells(dash1323)

        
    // ALTIN AYNA HEDEF SATIRI EKLENDέ
        
    table.cell(dash04"Hedef (TP/SL):"text_color=#FFD700, bgcolor=color.new(color.black, 40), text_halign=text.align_left)
        
    table.cell(dash14str.tostring(ayna_hmaformat.mintick), text_color=#FFD700, bgcolor=color.new(color.black, 40), text_halign=text.align_right)
        
    table.cell(dash24is_de_up "DέRENΗ" "DESTEK"text_color=color.blackbgcolor=#FFD700, text_halign=text.align_center)

        // --- HIZLI 1 (0.20) ---
        
    c_bg_p1 brk_h1_neg color.yellow color.new(color.black40)
        
    c_tx_p1 brk_h1_neg color.black : (is_p_h1 color.lime color.gray)
        
    t_st_p1 brk_h1_neg "KIRILDI!" : (is_p_h1 "AKTέF (+)" "Pasif")
        
    table.cell(dash05"Hύzlύ 1 (+):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash15str.tostring(p_h1format.mintick), text_color=c_tx_p1bgcolor=c_bg_p1text_halign=text.align_right)
        
    table.cell(dash25t_st_p1text_color=c_tx_p1bgcolor=c_bg_p1text_halign=text.align_center)

        
    c_bg_n1 brk_h1_pos color.yellow color.new(color.black40)
        
    c_tx_n1 brk_h1_pos color.black : (not is_p_h1 color.red color.gray)
        
    t_st_n1 brk_h1_pos "KIRILDI!" : (not is_p_h1 "AKTέF (-)" "Pasif")
        
    table.cell(dash06"Hύzlύ 1 (-):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash16str.tostring(n_h1format.mintick), text_color=c_tx_n1bgcolor=c_bg_n1text_halign=text.align_right)
        
    table.cell(dash26t_st_n1text_color=c_tx_n1bgcolor=c_bg_n1text_halign=text.align_center)

        
    // --- HIZLI 2 (0.05) ---
        
    c_bg_p2 brk_h2_neg color.yellow color.new(color.black40)
        
    c_tx_p2 brk_h2_neg color.black : (is_p_h2 color.lime color.gray)
        
    t_st_p2 brk_h2_neg "KIRILDI!" : (is_p_h2 "AKTέF (+)" "Pasif")
        
    table.cell(dash07"Hύzlύ 2 (+):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash17str.tostring(p_h2format.mintick), text_color=c_tx_p2bgcolor=c_bg_p2text_halign=text.align_right)
        
    table.cell(dash27t_st_p2text_color=c_tx_p2bgcolor=c_bg_p2text_halign=text.align_center)

        
    c_bg_n2 brk_h2_pos color.yellow color.new(color.black40)
        
    c_tx_n2 brk_h2_pos color.black : (not is_p_h2 color.red color.gray)
        
    t_st_n2 brk_h2_pos "KIRILDI!" : (not is_p_h2 "AKTέF (-)" "Pasif")
        
    table.cell(dash08"Hύzlύ 2 (-):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash18str.tostring(n_h2format.mintick), text_color=c_tx_n2bgcolor=c_bg_n2text_halign=text.align_right)
        
    table.cell(dash28t_st_n2text_color=c_tx_n2bgcolor=c_bg_n2text_halign=text.align_center)

        
    // --- DENGE (0.02) ---
        
    c_bg_pd brk_de_neg color.yellow color.new(color.black40)
        
    c_tx_pd brk_de_neg color.black : (is_p_de color.lime color.gray)
        
    t_st_pd brk_de_neg "KIRILDI!" : (is_p_de "AKTέF (+)" "Pasif")
        
    table.cell(dash09"Denge   (+):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash19str.tostring(p_deformat.mintick), text_color=c_tx_pdbgcolor=c_bg_pdtext_halign=text.align_right)
        
    table.cell(dash29t_st_pdtext_color=c_tx_pdbgcolor=c_bg_pdtext_halign=text.align_center)

        
    c_bg_nd brk_de_pos color.yellow color.new(color.black40)
        
    c_tx_nd brk_de_pos color.black : (not is_p_de color.red color.gray)
        
    t_st_nd brk_de_pos "KIRILDI!" : (not is_p_de "AKTέF (-)" "Pasif")
        
    table.cell(dash010"Denge   (-):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash110str.tostring(n_deformat.mintick), text_color=c_tx_ndbgcolor=c_bg_ndtext_halign=text.align_right)
        
    table.cell(dash210t_st_ndtext_color=c_tx_ndbgcolor=c_bg_ndtext_halign=text.align_center)

        
    // --- YAVAή 1 (0.005) ---
        
    c_bg_py1 brk_y1_neg color.yellow color.new(color.black40)
        
    c_tx_py1 brk_y1_neg color.black : (is_p_y1 color.lime color.gray)
        
    t_st_py1 brk_y1_neg "KIRILDI!" : (is_p_y1 "AKTέF (+)" "Pasif")
        
    table.cell(dash011"Yavaώ 1 (+):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash111str.tostring(p_y1format.mintick), text_color=c_tx_py1bgcolor=c_bg_py1text_halign=text.align_right)
        
    table.cell(dash211t_st_py1text_color=c_tx_py1bgcolor=c_bg_py1text_halign=text.align_center)

        
    c_bg_ny1 brk_y1_pos color.yellow color.new(color.black40)
        
    c_tx_ny1 brk_y1_pos color.black : (not is_p_y1 color.red color.gray)
        
    t_st_ny1 brk_y1_pos "KIRILDI!" : (not is_p_y1 "AKTέF (-)" "Pasif")
        
    table.cell(dash012"Yavaώ 1 (-):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash112str.tostring(n_y1format.mintick), text_color=c_tx_ny1bgcolor=c_bg_ny1text_halign=text.align_right)
        
    table.cell(dash212t_st_ny1text_color=c_tx_ny1bgcolor=c_bg_ny1text_halign=text.align_center)

        
    // --- YAVAή 2 (0.001) ---
        
    c_bg_py2 brk_y2_neg color.yellow color.new(color.black40)
        
    c_tx_py2 brk_y2_neg color.black : (is_p_y2 color.lime color.gray)
        
    t_st_py2 brk_y2_neg "KIRILDI!" : (is_p_y2 "AKTέF (+)" "Pasif")
        
    table.cell(dash013"Yavaώ 2 (+):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash113str.tostring(p_y2format.mintick), text_color=c_tx_py2bgcolor=c_bg_py2text_halign=text.align_right)
        
    table.cell(dash213t_st_py2text_color=c_tx_py2bgcolor=c_bg_py2text_halign=text.align_center)

        
    c_bg_ny2 brk_y2_pos color.yellow color.new(color.black40)
        
    c_tx_ny2 brk_y2_pos color.black : (not is_p_y2 color.red color.gray)
        
    t_st_ny2 brk_y2_pos "KIRILDI!" : (not is_p_y2 "AKTέF (-)" "Pasif")
        
    table.cell(dash014"Yavaώ 2 (-):"text_color=color.graybgcolor=color.new(color.black40), text_halign=text.align_left)
        
    table.cell(dash114str.tostring(n_y2format.mintick), text_color=c_tx_ny2bgcolor=c_bg_ny2text_halign=text.align_right)
        
    table.cell(dash214t_st_ny2text_color=c_tx_ny2bgcolor=c_bg_ny2text_halign=text.align_center)

    // ==========================================
    // 6. SAVAή BORUSU (ALARM ENTEGRASYONU)
    // ==========================================
    alertcondition(durum_al and barstate.isconfirmedtitle="🟢 HάCUM: Temiz Hava Sahasύ!"message="Bόtόn direnηler kύrύldύ! Yφn: YUKARI (AL)")
    alertcondition(durum_sat and barstate.isconfirmedtitle="🔴 Dάήάή: Aπύr Baskύ!"message="Bόtόn destekler kύrύldύ! Yφn: AήAΠI (SAT)")
    //////////////

    // ==========================================
    // ┌──────────────────────────────────────────────────────────────────────────────┐
    // │ 1. SAR MOTORLARI (HIZLI VE YAVAή)                                            │
    // └──────────────────────────────────────────────────────────────────────────────┘
    float yemre ta.sar(0.0.010.2
    float yusuf ta.sar(0.0.050.2)
    float fato ta.sar(0.0.090.2)
    float mf = (yemre yusuf fato) / 3

    // ==========================================
    // 5. KALKAN GάCά (MUM BOYAMA)
    // ==========================================
    int kalkan 0
    if close yemre 
        kalkan 
    += 1
    if close yusuf 
        kalkan 
    += 1
    if close fato 
        kalkan 
    += 1

    if close yemre and close mf
        kalkan 
    += 1
    if close yusuf and close mf
        kalkan 
    += 1
    if close fato and close mf
        kalkan 
    += 1

    color bar_col 
    na
    if kalkan >= 3
        bar_col 
    := close mf color.rgb(025513250) : color.rgb(2504450)
    else if 
    kalkan == 2
        bar_col 
    := color.rgb(215249)
    else
        
    bar_col := color.rgb(2123249)

    barcolor(bar_col)

    // ==========================================

    //////////////////

    // έMZA
    var table ytd_table table.new(position.bottom_center11)
    if 
    barstate.islast
        table
    .cell(ytd_table00"(Aέ) Eπitim ηalύώmasύdύr. Yatύrύm tavsiyesi KULLANILAMAZ."text_color=color.new(color.white00), text_size=size.normal)
    ///////////////// 
    16.07.2024 - 10.12.2024

Sayfa 409/418 έlkέlk ... 309359399407408409410411 ... SonSon

Yer έmleri

Yer έmleri

Gφnderi Kurallarύ

  • Yeni konu aηamazsύnύz
  • Konulara cevap yazamazsύnύz
  • Yazύlara ek gφnderemezsiniz
  • Yazύlarύnύzύ deπiώtiremezsiniz
  •