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 414/418 έlkέlk ... 314364404412413414415416 ... SonSon
Arama sonucu : 3337 madde; 3,305 - 3,312 arasύ.

Konu: Tradingview

  1. PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.9 - Z-PDH/PDL Likidite Radarύ]
    //@version=6
    indicator("KKM V6.9 Z-PDH/PDL (Likidite Radarύ)"overlay=true)

    // ─────────────────────────────────────────────────────────────────
    // 1. GέRDέLER VE KONFέGάRASYON (Sadeleώtirilmiώ)
    // ─────────────────────────────────────────────────────────────────
    int N input.int(3"Gφsterilecek Gόn Sayύsύ (Geηmiώ)"minval=1maxval=10)
    bool showCurrent input.bool(true"Mevcut Gόnό de Ηiz (Dinamik)")
    color colH input.color(color.new(#ff1744, 20), "Tepe (PDH) Likidite Rengi")
    color colL input.color(color.new(#00e676, 20), "Dip (PDL) Likidite Rengi")
    int offset input.int(0"Gece Yarύsύ Dόzeltmesi (Saat)"minval=-12maxval=12tooltip="Aracύ kurum saat farkύ iηin")

    // ─────────────────────────────────────────────────────────────────
    // 2. TέPLER VE DέZέLER (Gφrsel Hafύza)
    // ─────────────────────────────────────────────────────────────────
    type DayData
        int startTime
        int endTime
        float dHigh
        float dLow
        line hLine
        line lLine
        label hLabel
        label lLabel

    var array<DayDatadays = array.new<DayData>()

    var 
    int curStart na
    var float curH na
    var float curL na
    var line curHLn na
    var line curLLn na

    // ─────────────────────────────────────────────────────────────────
    // 3. ZAMAN VE GάN MANTIΠI
    // ─────────────────────────────────────────────────────────────────
    // Yeni gόnό, gece yarύsύ dόzeltmesiyle milisaniye cinsinden hesapla
    int rawMidnight timestamp(syminfo.timezoneyearmonthdayofmonth00)
    int adjMidnight rawMidnight + (offset 3600000)
    bool isNewDay ta.change(adjMidnight) != 0

    // ─────────────────────────────────────────────────────────────────
    // 4. ΗέZέM YARDIMCILARI (Segmentasyon)
    // ─────────────────────────────────────────────────────────────────
    f_clean_oldest() =>
        if array.
    size(days) > 0
            DayData oldest 
    = array.shift(days)
            if 
    not na(oldest.hLine)
                
    line.delete(oldest.hLine)
            if 
    not na(oldest.lLine)
                
    line.delete(oldest.lLine)
            if 
    not na(oldest.hLabel)
                
    label.delete(oldest.hLabel)
            if 
    not na(oldest.lLabel)
                
    label.delete(oldest.lLabel)

    f_store_day(startTendThighPlowP) =>
        
    line hl line.new(startThighPendThighPxloc=xloc.bar_timecolor=colHwidth=2style=line.style_dashed)
        
    line ll line.new(startTlowPendTlowPxloc=xloc.bar_timecolor=colLwidth=2style=line.style_dashed)
        
        
    label hLab label.new(startT 60000highP"PDH"xloc=xloc.bar_timecolor=color.new(color.white100), textcolor=colHstyle=label.style_label_leftsize=size.tiny)
        
    label lLab label.new(startT 60000lowP"PDL"xloc=xloc.bar_timecolor=color.new(color.white100), textcolor=colLstyle=label.style_label_leftsize=size.tiny)

        array.
    push(daysDayData.new(startTendThighPlowPhlllhLablLab))

        while array.
    size(days) > N
            f_clean_oldest
    ()

    // ─────────────────────────────────────────────────────────────────
    // 5. ANA MOTOR (Gόnlόk Likidite Takibi)
    // ─────────────────────────────────────────────────────────────────
    if barstate.isfirst
        curStart 
    := adjMidnight
        curH 
    := high
        curL 
    := low
    else
        if 
    isNewDay
            
    // Bir φnceki gόnό hafύzaya al ve ηiz
            
    if not na(curStart)
                
    f_store_day(curStartadjMidnightcurHcurL)
            
            
    // Yeni gόnό baώlat
            
    curStart := adjMidnight
            curH 
    := high
            curL 
    := low
            
            
    // Dόnόn dinamik ηizgilerini sil
            
    if not na(curHLn)
                
    line.delete(curHLn)
            if 
    not na(curLLn)
                
    line.delete(curLLn)
            
    curHLn := na
            curLLn 
    := na
        
    else
            
    // Mevcut gόnό gόncelle
            
    curH := math.max(curHhigh)
            
    curL := math.min(curLlow)

    // Mevcut gόnόn dinamik ηizgisi (Opsiyonel)
    if showCurrent and not na(curStart)
        if 
    na(curHLn)
            
    curHLn := line.new(curStartcurHtimecurHxloc=xloc.bar_timecolor=color.new(colH50), width=1style=line.style_dotted)
            
    curLLn := line.new(curStartcurLtimecurLxloc=xloc.bar_timecolor=color.new(colL50), width=1style=line.style_dotted)
        else
            
    line.set_xy1(curHLncurStartcurH)
            
    line.set_xy2(curHLntimecurH)
            
    line.set_xy1(curLLncurStartcurL)
            
    line.set_xy2(curLLntimecurL)
    else
        if 
    not na(curHLn)
            
    line.delete(curHLn)
        if 
    not na(curLLn)
            
    line.delete(curLLn
    16.07.2024 - 10.12.2024

  2. PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V5 - Nihai Kuantum Radar]
    //@version=6
    indicator("KKM Masterpiece V5"shorttitle=":"overlay=truemax_labels_count=100)
    /////////
    // 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. L1 Kinetik Filtre (@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_core "2. Sύfύr Gecikmeli Ηekirdek (ZLEMA)"
    int i_coreLen input.int(55"Ηekirdek Uzunluπu"group=group_core)

    group_trade "3. Vur-Kaη Hedefi"
    float i_tpPct input.float(1.0"Kiώisel Hedef (%)"step=0.1group=group_trade)

    group_stat "4. έstatistiksel Volatilite (Kutup Yύldύzύ)"
    int volLength input.int(500"Volatilite Periyodu"group=group_stat)
    int projBars  input.int(3"έleriye Dφnόk Mum (T)"group=group_stat)
    int barsPerYear input.int(525600"Yύllύk Mum (1dk=525600)"group=group_stat)

    // ─────────────────────────────────────────────────────────────────
    // 2. MATEMATέKSEL MOTOR (MTF Uyumlu, HL2 Kόtle Merkezi)
    // ─────────────────────────────────────────────────────────────────
    f_calc() =>
        
    // A. ZLEMA (Kinetik TP / Momentum Ηekirdeπi)
        
    float ema1 ta.ema(hl2i_coreLen)
        
    float ema2 ta.ema(ema1i_coreLen)
        
    float val_core ema1 + (ema1 ema2)

        
    // B. L1 @yφrόk@ (Kinetik Stop / Dinamik Zύrh)
        
    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

        
    // C. Saatlik Saf TWAP (Mikro Trambolin)
        
    bool isNewHour ta.change(time("60")) != 0
        
    var float sumPriceH 0.0
        
    var float barCountH 0.0
        
    if isNewHour or bar_index == 0
            sumPriceH 
    := hl2
            barCountH 
    := 1.0
        
    else
            
    sumPriceH += hl2
            barCountH 
    += 1.0
        float val_twap_h 
    sumPriceH barCountH

        
    // D. Gόnlόk Saf TWAP (Makro Kόtle)
        
    bool isNewDay ta.change(time("D")) != 0
        
    var float sumPriceD 0.0
        
    var float barCountD 0.0
        
    if isNewDay or bar_index == 0
            sumPriceD 
    := hl2
            barCountD 
    := 1.0
        
    else
            
    sumPriceD += hl2
            barCountD 
    += 1.0
        float val_twap_d 
    sumPriceD barCountD

        
    [val_corezval_twap_hval_twap_dhl2]

    // ─────────────────────────────────────────────────────────────────
    // 3. MEVCUT GRAFέK έΗέN HESAPLAMA VE ΗέZέM
    // ─────────────────────────────────────────────────────────────────
    [curCorecurYorukcurTwapHcurTwapDcurPrice] = f_calc()

    plot(curTwapD"Gόnlόk TWAP"color=color.rgb(255152100100), linewidth=3style=plot.style_linebrdisplay=display.pane)
    plot(curTwapH"Saatlik TWAP"color=color.rgb(2552040100), linewidth=1style=plot.style_linebrdisplay=display.pane)
    plot(curYoruk"Stop"color=color.fuchsialinewidth=2style=plot.style_stepline)
    plot(curCore"@yφrόk@"color=color.aqualinewidth=1)

    // ─────────────────────────────────────────────────────────────────
    // 4. έSTATέSTέKSEL VOLATέLέTE (KUTUP YILDIZI BEKLENTέSέ)
    // ─────────────────────────────────────────────────────────────────
    float logReturn math.log(close nz(close[1], close))
    float rawVol    ta.stdev(logReturnvolLength)
    float annualVol rawVol math.sqrt(barsPerYear)
    float drift     1.0 annualVol math.sqrt(float(projBars) / float(barsPerYear)) // 1σ έvme
    float expMovePct= (math.exp(drift) - 1) * 100 // Beklenen %'lik hareket

    // ─────────────────────────────────────────────────────────────────
    // 5. KέNETέK ATEήLEME & KABUL DEVRESέ (ZLEMA RAF SέSTEMέ)
    // ─────────────────────────────────────────────────────────────────
    bool trendBull curPrice curCore and curPrice curYoruk and curPrice curTwapH and curPrice curTwapD
    bool trendBear 
    curPrice curCore and curPrice curYoruk and curPrice curTwapH and curPrice curTwapD

    float safeAtr 
    math.max(ta.atr(14), syminfo.mintick)
    bool isIgnition = (high low) >= (safeAtr 1.5)

    bool fireBull trendBull and isIgnition and close open
    bool fireBear 
    trendBear and isIgnition and close open

    var int   activeSide   0
    var float activeLevel  na
    var float shelfLevel   na
    var int   startBar     na
    var float accScore     0.0
    var float statTp       na

    var line lineEntry na
    var line lineShelf na

    if (fireBull and activeSide != 1)
        
    activeSide  := 1
        activeLevel 
    := close
        shelfLevel  
    := curCore
        startBar    
    := bar_index
        accScore    
    := 0.0
        statTp      
    := close * (+ (i_tpPct 100))
        
        if 
    not na(lineEntry)
            
    line.delete(lineEntry)
            
    line.delete(lineShelf)
            
        
    lineEntry := line.new(bar_indexactiveLevelbar_index 3activeLevelcolor=color.new(#00e676, 0), width=2)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 3shelfLevelcolor=color.new(#ff1744, 0), width=1, style=line.style_dashed)

    else if (fireBear and activeSide != -1)
        
    activeSide  := -1
        activeLevel 
    := close
        shelfLevel  
    := curCore
        startBar    
    := bar_index
        accScore    
    := 0.0
        statTp      
    := close * (- (i_tpPct 100))
        
        if 
    not na(lineEntry)
            
    line.delete(lineEntry)
            
    line.delete(lineShelf)
            
        
    lineEntry := line.new(bar_indexactiveLevelbar_index 3activeLevelcolor=color.new(#ff1744, 0), width=2)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 3shelfLevelcolor=color.new(#00e676, 0), width=1, style=line.style_dashed)

    if activeSide != 0
        line
    .set_x2(lineEntrybar_index 2)
        
    line.set_x2(lineShelfbar_index 2)
        
        
    bool isBeyond activeSide == close activeLevel close activeLevel
        
    if isBeyond
            accScore 
    := math.min(100accScore 20
            
        
    bool stopOut   = (activeSide == and curPrice curYoruk) or (activeSide == -and curPrice curYoruk)
        
    bool shelfFail activeSide == close shelfLevel close shelfLevel
        bool tpOut     
    = (activeSide == and high >= statTp) or (activeSide == -and low <= statTp)
        
        if 
    stopOut or shelfFail or tpOut
            activeSide 
    := 0
            accScore   
    := 0.0
            line
    .set_color(lineEntrycolor.new(color.gray70)) 
            
    line.set_color(lineShelfcolor.new(color.gray70))

    color bCol trendBull #00e676 : trendBear ? #ff1744 : color.rgb(229, 4, 245)
    barcolor(bCol)

    // ─────────────────────────────────────────────────────────────────
    // 6. MTF VERέ ΗEKέMέ
    // ─────────────────────────────────────────────────────────────────
    [f1y1th1td1c1] = request.security(syminfo.tickerid"1",  f_calc())
    [
    f3y3th3td3c3] = request.security(syminfo.tickerid"3",  f_calc())
    [
    f5y5th5td5c5] = request.security(syminfo.tickerid"5",  f_calc())
    [
    f15y15th15td15c15] = request.security(syminfo.tickerid"15"f_calc())
    [
    f30y30th30td30c30] = request.security(syminfo.tickerid"30"f_calc())
    [
    f60y60th60td60c60] = request.security(syminfo.tickerid"60"f_calc())

    // ─────────────────────────────────────────────────────────────────
    // 7. NέHAέ MTF RADARI & VUR-KAΗ PANOSU (15 SATIR)
    // ─────────────────────────────────────────────────────────────────
    var table mtfDash table.new(position.top_right515bgcolor=color.new(color.black15), border_color=color.new(color.gray80), border_width=1)

    f_draw_row(table tint rowstring tffloat corefloat yorukfloat twapHfloat twapDfloat ref_c) =>
        
    color rowBg row == color.new(color.black40) : color.new(color.gray90)
        
    color c_c  ref_c >= core #00e676 : #ff1744
        
    color c_y  ref_c >= yoruk #00e676 : #ff1744
        
    color c_th ref_c >= twapH #00e676 : #ff1744
        
    color c_td ref_c >= twapD #00e676 : #ff1744
        
        
    table.cell(t0rowtftext_color=color.whitetext_size=size.smallbgcolor=rowBg)
        
    table.cell(t1rowstr.tostring(math.round(core2)), text_color=c_ctext_size=size.smallbgcolor=rowBg)
        
    table.cell(t2rowstr.tostring(math.round(yoruk2)), text_color=c_ytext_size=size.smallbgcolor=rowBg)
        
    table.cell(t3rowstr.tostring(math.round(twapH2)), text_color=c_thtext_size=size.smallbgcolor=rowBg)
        
    table.cell(t4rowstr.tostring(math.round(twapD2)), text_color=c_tdtext_size=size.smallbgcolor=rowBg)

    if 
    barstate.islast
        
    // άst Baώlύklar
        
    table.cell(mtfDash00"MTF"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray80))
        
    table.cell(mtfDash10"@yφrόk@ 2026"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray80))
        
    table.cell(mtfDash20"STOP"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray80))
        
    table.cell(mtfDash30"SAAT"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray80))
        
    table.cell(mtfDash40"GάN"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray80))
        
        
    // Matris Verileri
        
    f_draw_row(mtfDash1"1m"f1y1th1td1c1)
        
    f_draw_row(mtfDash2"3m"f3y3th3td3c3)
        
    f_draw_row(mtfDash3"5m"f5y5th5td5c5)
        
    f_draw_row(mtfDash4"15m"f15y15th15td15c15)
        
    f_draw_row(mtfDash5"30m"f30y30th30td30c30)
        
    f_draw_row(mtfDash6"1S"f60y60th60td60c60)
        
        
    // ── VUR-KAΗ RADARI ──
        
    table.cell(mtfDash07"── ANALέZ ──"text_color=color.graytext_size=size.smallbgcolor=color.new(color.black40))
        
    table.merge_cells(mtfDash0747)
        
        
    // Sinyal
        
    string sigText activeSide == "ALIM AKTέF" activeSide == -"SATIή AKTέF" "BEKLENέYOR"
        
    color sigCol   activeSide == #00e676 : activeSide == -1 ? #ff1744 : #787b86
        
    table.cell(mtfDash08"SέNYAL"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.black40))
        
    table.cell(mtfDash18sigTexttext_color=sigColtext_size=size.smallbgcolor=color.new(color.black40))
        
    table.merge_cells(mtfDash1848)
        
        
    // Kabul Skoru
        
    color scoreCol accScore >= 80 #00e676 : accScore >= 40 ? color.orange : #ff1744
        
    table.cell(mtfDash09"KABUL SKORU"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray90))
        
    table.cell(mtfDash19activeSide != str.tostring(accScore) + "/100" "-"text_color=scoreColtext_size=size.smallbgcolor=color.new(color.gray90))
        
    table.merge_cells(mtfDash1949)

        
    // Kinetik Stop
        
    table.cell(mtfDash010"KέN. STOP"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.black40))
        
    table.cell(mtfDash110activeSide != str.tostring(math.round(curYoruk2)) : "-"text_color=#ff1744, text_size=size.small, bgcolor=color.new(color.black, 40))
        
    table.merge_cells(mtfDash110410)

        
    // Kinetik TP (Raf)
        
    table.cell(mtfDash011"KέN. TP (RED)"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray90))
        
    table.cell(mtfDash111activeSide != str.tostring(math.round(shelfLevel2)) : "-"text_color=color.aquatext_size=size.smallbgcolor=color.new(color.gray90))
        
    table.merge_cells(mtfDash111411)
        
        
    // Sabit %1 Hedef
        
    table.cell(mtfDash012"%" str.tostring(i_tpPct) + " HEDEF"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.black40))
        
    table.cell(mtfDash112activeSide != str.tostring(math.round(statTp2)) : "-"text_color=#00e676, text_size=size.small, bgcolor=color.new(color.black, 40))
        
    table.merge_cells(mtfDash112412)

        
    // έstatistiksel Kutup Yύldύzύ (% έvme Gόcό)
        
    table.cell(mtfDash013"έVME GάCά"text_color=color.whitetext_size=size.smallbgcolor=color.new(color.gray90))
        
    table.cell(mtfDash113"%" str.tostring(expMovePct"#.##"), text_color=color.yellowtext_size=size.smallbgcolor=color.new(color.gray90))
        
    table.merge_cells(mtfDash113413)

        
    // YTD Mόhrό
        
    table.cell(mtfDash014"Yatύrύm tavsiyesi DEΠέLDέR."text_color=color.whitetext_size=size.normalbgcolor=color.new(color.black40), text_halign=text.align_center)
        
    table.merge_cells(mtfDash014414
    16.07.2024 - 10.12.2024

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

    // ─────────────────────────────────────────────────────────────────
    // 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

    f_zlema
    (series float srcsimple int len) =>
        
    float ema1 ta.ema(srclen)
        
    float ema2 ta.ema(ema1len)
        
    ema1 + (ema1 ema2)

    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)
    // Ayύ Uyumsuzluπu: Fiyat ηύkύyor, Alύm Gόcό dόώόyor. VE Bar Neon Yeώil DEΠέL! (Trend yoruluyor)
    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

    // Boπa Uyumsuzluπu: Fiyat dόώόyor, Satύώ Gόcό dόώόyor. VE Bar Kan Kύrmύzύ DEΠέL! (Satύώ yoruluyor)
    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.aquasize=size.tiny)
    plotshape(showDiv and bearDivInstanttitle="Ayύ Z-Div"style=shape.diamondlocation=location.abovebarcolor=color.orangesize=size.tiny)
    // ─────────────────────────────────────────────────────────────────
    // 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 Yφrόk",  color=color.new(#ffeb3b, 0), linewidth=1, style=plot.style_stepline)
    plot(y3,   "3m Yφrόk",  color=color.new(#ff9800, 0), linewidth=1, style=plot.style_stepline)
    plot(y5,   "5m Yφrόk",  color=color.new(#e91e63, 0), linewidth=1, style=plot.style_stepline)
    plot(y15,  "15m Yφrόk"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, 85) : fireBear ? color.new(#ff1744, 85) : 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"KKM MICRO SNIPER PRO"text_color=color.graytext_size=size.smallbgcolor=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.small)
        
    table.cell(terminal11entryStrtext_color=entryColtext_size=size.small)
        
        
    float stopAvg = (y1 y3) / 2
        table
    .cell(terminal02"STOP (1m+3m)"text_color=color.whitetext_size=size.small)
        
    table.cell(terminal12str.tostring(math.round(stopAvg2)), text_color=color.orangetext_size=size.small)

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

        
    table.cell(terminal010"YTD"text_color=color.graytext_size=size.tiny)
        
    table.merge_cells(terminal010110)
    //////////////
    // ─────────────────────────────────────────────────────────────────
    // 1. GέRDέLER VE έSTέHBARAT
    // ─────────────────────────────────────────────────────────────────
    string symB input.symbol("BIST:XU100""Kύyaslanacak Endeks / Hisse")
    int zLen12 input.int(7"ZLEMA (Sύfύr Gecikme) Periyodu"minval=1)

    // Endeksin verilerini sύfύr gecikme ve repaint olmadan (lookahead_off) ηek
    [o2h2l2c2hl2_2] = request.security(symBtimeframe.period, [openhighlowclosehl2], lookahead=barmerge.lookahead_off)

    // ─────────────────────────────────────────────────────────────────
    // 2. KέNETέK ORAN (RELATIVE STRENGTH) MATEMATέΠέ
    // ─────────────────────────────────────────────────────────────────
    // Hisse fiyatύnύ, Endeks fiyatύna bφlerek "Gφreceli Gόη Mumlarύ" yaratύyoruz.
    float rs_o open o2
    float rs_h 
    high h2
    float rs_l 
    low l2
    float rs_c 
    close c2

    // Kόtle merkezlerinin oranύ (Ana Kuantum Ηekirdeπi)
    float rs_hl2 hl2 hl2_2

    // ─────────────────────────────────────────────────────────────────
    // 3. ZLEMA MOTORU (SIFIR GECέKMELέ έVME)
    // ─────────────────────────────────────────────────────────────────
    f_zlema1(series float srcsimple int len) =>
        
    float ema1 ta.ema(srclen)
        
    float ema2 ta.ema(ema1len)
        
    ema1 + (ema1 ema2)

    // Gφreceli Gόcόn Sύfύr Gecikmeli Trendi
    float zlema_rs f_zlema1(rs_hl2zLen12)

    // ─────────────────────────────────────────────────────────────────
    // 4. EKRAN ΗέZέMέ VE KOKPέT (HUD)
    // ─────────────────────────────────────────────────────────────────
    // Hisse endeksten gόηlό mό (ZLEMA'nύn όstόnde mi)?
    bool isStrong rs_c zlema_rs

    color bullColor 
    color.new(#00e676, 0) // Neon Yeώil (Gόηlό)
    color bearColor color.new(#ff1744, 0) // Kan Kύrmύzύ (Zayύf)
    color candleColor isStrong bullColor bearColor

    // Sentetik RS Mumlarύnύ Ηiz
    //plotcandle(rs_o, rs_h, rs_l, rs_c, title="RS Mumlarύ", color=candleColor, wickcolor=candleColor, bordercolor=candleColor)

    // ZLEMA Kinetik έvme Ηizgisi
    //plot(zlema_rs, color=color.white, title="Z-RS Motoru", linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. DURUM TABLOSU
    // ─────────────────────────────────────────────────────────────────
    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.small)
        
    table.cell(tbl01statustext_color=candleColortext_size=size.smalltext_formatting=text.format_bold)
    /////////////////

    // ─────────────────────────────────────────────────────────────────
    // 1. ASYMMETRIC TREND ENGINE (GΦRάNMEZ HESAPLAYICI)
    // ─────────────────────────────────────────────────────────────────
    // Komutan Talimatύ: hl2 Kaynak, 30 Lookback, 3.5 Mult
    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

    // Dφnόώ Teyitleri
    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

    // ─────────────────────────────────────────────────────────────────
    // 2. KKM V6.9 YORUK CORE (GΦRSEL REFERANS)
    // ─────────────────────────────────────────────────────────────────
    // Ekranύn asύl kahramanlarύ: Kurumsal Maliyet Trambolinleri
    float yoruk_1m ta.sma(hl221)
    plot(yoruk_1m"Yoruk"color=color.new(color.aqua20), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 3. SAF QUANT GΦRSELLEήTέRME (SADECE DΦNάήLER)
    // ─────────────────────────────────────────────────────────────────
    // Trend ηizgisi plot edilmiyor, sadece dφnόώ anύnda hedef belirleniyor
    color rev_color asy_trend_dir == #00ffaa : #ff0000

    // Reversal Noktasύ: Sadece trend yφn deπiώtirdiπinde o barύn altύna/όstόne '⦿' koyar
    plotchar(is_reversal ? (asy_trend_dir == low high) : na
             
    "KKM Reversal""⦿"location location.absolute
             
    color rev_colorsize size.small)

    // KKM V6.9 Vur-Kaη Elmaslarύ (Trendle Uyumluysa Yak)
    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")

    // ─────────────────────────────────────────────────────────────────
    // 4. ALERTLER (OPERASYONEL BέLDέRέM)
    // ─────────────────────────────────────────────────────────────────
    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ό!"
    16.07.2024 - 10.12.2024

  4. 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)

    // ─────────────────────────────────────────────────────────────────
    // 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

    f_zlema
    (series float srcsimple int len) =>
        
    float ema1 ta.ema(srclen)
        
    float ema2 ta.ema(ema1len)
        
    ema1 + (ema1 ema2)

    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)
    // Ayύ Uyumsuzluπu: Fiyat ηύkύyor, Alύm Gόcό dόώόyor. VE Bar Neon Yeώil DEΠέL! (Trend yoruluyor)
    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

    // Boπa Uyumsuzluπu: Fiyat dόώόyor, Satύώ Gόcό dόώόyor. VE Bar Kan Kύrmύzύ DEΠέL! (Satύώ yoruluyor)
    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)
    //////////////
    // ─────────────────────────────────────────────────────────────────
    // 1. GέRDέLER VE έSTέHBARAT
    // ─────────────────────────────────────────────────────────────────
    string symB input.symbol("BIST:XU100""Kύyaslanacak Endeks / Hisse")
    int zLen12 input.int(7"ZLEMA (Sύfύr Gecikme) Periyodu"minval=1)

    // Endeksin verilerini sύfύr gecikme ve repaint olmadan (lookahead_off) ηek
    [o2h2l2c2hl2_2] = request.security(symBtimeframe.period, [openhighlowclosehl2], lookahead=barmerge.lookahead_off)

    // ─────────────────────────────────────────────────────────────────
    // 2. KέNETέK ORAN (RELATIVE STRENGTH) MATEMATέΠέ
    // ─────────────────────────────────────────────────────────────────
    // Hisse fiyatύnύ, Endeks fiyatύna bφlerek "Gφreceli Gόη Mumlarύ" yaratύyoruz.
    float rs_o open o2
    float rs_h 
    high h2
    float rs_l 
    low l2
    float rs_c 
    close c2

    // Kόtle merkezlerinin oranύ (Ana Kuantum Ηekirdeπi)
    float rs_hl2 hl2 hl2_2

    // ─────────────────────────────────────────────────────────────────
    // 3. ZLEMA MOTORU (SIFIR GECέKMELέ έVME)
    // ─────────────────────────────────────────────────────────────────
    f_zlema1(series float srcsimple int len) =>
        
    float ema1 ta.ema(srclen)
        
    float ema2 ta.ema(ema1len)
        
    ema1 + (ema1 ema2)

    // Gφreceli Gόcόn Sύfύr Gecikmeli Trendi
    float zlema_rs f_zlema1(rs_hl2zLen12)

    // ─────────────────────────────────────────────────────────────────
    // 4. EKRAN ΗέZέMέ VE KOKPέT (HUD)
    // ─────────────────────────────────────────────────────────────────
    // Hisse endeksten gόηlό mό (ZLEMA'nύn όstόnde mi)?
    bool isStrong rs_c zlema_rs

    color bullColor 
    color.new(#00e676, 0) // Neon Yeώil (Gόηlό)
    color bearColor color.new(#ff1744, 0) // Kan Kύrmύzύ (Zayύf)
    color candleColor isStrong bullColor bearColor

    // Sentetik RS Mumlarύnύ Ηiz
    //plotcandle(rs_o, rs_h, rs_l, rs_c, title="RS Mumlarύ", color=candleColor, wickcolor=candleColor, bordercolor=candleColor)

    // ZLEMA Kinetik έvme Ηizgisi
    //plot(zlema_rs, color=color.white, title="Z-RS Motoru", linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. DURUM TABLOSU
    // ─────────────────────────────────────────────────────────────────
    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)
    /////////////////

    // ─────────────────────────────────────────────────────────────────
    // 1. ASYMMETRIC TREND ENGINE (GΦRάNMEZ HESAPLAYICI)
    // ─────────────────────────────────────────────────────────────────
    // Komutan Talimatύ: hl2 Kaynak, 30 Lookback, 3.5 Mult
    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

    // Dφnόώ Teyitleri
    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

    // ─────────────────────────────────────────────────────────────────
    // 2. KKM V6.9 YORUK CORE (GΦRSEL REFERANS)
    // ─────────────────────────────────────────────────────────────────
    // Ekranύn asύl kahramanlarύ: Kurumsal Maliyet Trambolinleri
    float yoruk_1m ta.sma(hl221)
    plot(yoruk_1m"0"color=color.new(color.aqua20), linewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 3. SAF QUANT GΦRSELLEήTέRME (SADECE DΦNάήLER)
    // ─────────────────────────────────────────────────────────────────
    // Trend ηizgisi plot edilmiyor, sadece dφnόώ anύnda hedef belirleniyor
    color rev_color asy_trend_dir == #00ffaa : #ff0000

    // Reversal Noktasύ: Sadece trend yφn deπiώtirdiπinde o barύn altύna/όstόne '⦿' koyar
    plotchar(is_reversal ? (asy_trend_dir == low high) : na
             
    "KKM Reversal""⦿"location location.absolute
             
    color rev_colorsize size.small)

    // KKM V6.9 Vur-Kaη Elmaslarύ (Trendle Uyumluysa Yak)
    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")

    // ─────────────────────────────────────────────────────────────────
    // 4. ALERTLER (OPERASYONEL BέLDέRέM)
    // ─────────────────────────────────────────────────────────────────
    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ό!")
    /////////////

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

    // ─────────────────────────────────────────────────────────────────
    // 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 255 
    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(hl2, 255), "Denge", color=color.new(color.silver, 0), linewidth=1)
    //////////////// 
    16.07.2024 - 10.12.2024

  5. PHP Code:
    // © Kinetik Komuta Merkezi [V13.2 - Estetik & Renk Kodlu Terminal]
    //@version=6
    indicator("@yφrόk@ 2026"overlay truemax_lines_count 500)

    // ─────────────────────────────────────────────────────────────────
    // 0. GέRDέLER VE RENK PALETέ
    // ─────────────────────────────────────────────────────────────────
    group_dash "Gφsterge Paneli (Dashboard)"
    bool show_dash input.bool(true"Paneli Gφster"group=group_dash)
    string dash_pos input.string("Top Right""Panel Konumu"options=["Top Right""Top Left""Bottom Right""Bottom Left"], group=group_dash)

    group_motor "Ηift Motor & Bulut"
    int len_fast input.int(5"Hύzlύ Motor (Zemin 1)"group=group_motor)
    int len_slow input.int(20"Yavaώ Motor (Zemin 2)"group=group_motor)

    group_kin "Kinetik Renkler"
    col_up1 input.color(#00e676, "Boπa Ana", group=group_kin)
    col_dn1 input.color(#ff1744, "Ayύ Ana", group=group_kin)
    col_flatinput.color(#edf506, "Flat (Bulut έηi)", group=group_kin)

    color col_cloud_up color.new(#00e676, 75)
    color col_cloud_dn color.new(#ff1744, 75)

    group_stat "1σ έstatistiksel Hedef"
    int volLength input.int(20"Volatilite Periyodu"group=group_stat)
    int projBars  input.int(15"έleriye Dφnόk Mum (T)"group=group_stat)
    int barsPerYear input.int(5000"Yύllύk Mum (1dk=525600)"group=group_stat)

    group_ayna "Makro Duvarlar (Yin-Yang Ayna)"
    float h_start input.float(0.06"Hύzlύ SAR Baώlangύη"step=0.01group=group_ayna)
    float h_inc   input.float(0.06"Hύzlύ SAR έvme"step=0.01group=group_ayna)
    float h_max   input.float(0.30"Hύzlύ SAR Max"step=0.1group=group_ayna)
    int pivot_len input.int(10"Duvar Tespiti (Pivot Uzunluπu)"group=group_ayna)

    // ─────────────────────────────────────────────────────────────────
    // 1. MOTOR: ΗέFT ZEMέN (KέNETέK BULUT VE MUM RENGέ)
    // ─────────────────────────────────────────────────────────────────
    float mid_fast ta.hma(ta.median(hl2len_fast 2), 10)
    float mid_slow ta.hma(ta.median(hl2len_slow 2), 10)

    bool is_bull_trend mid_fast mid_slow
    bool is_bear_trend 
    mid_fast mid_slow

    //p_fast = plot(mid_fast, color=color.rgb(247, 223, 6, 100), linewidth=1, title="Hύzlύ Zemin", display=display.pane)
    //p_slow = plot(mid_slow, color=color.new(#03d9f5, 100), linewidth=1, title="Yavaώ Zemin", display=display.pane)
    ////fill(p_fast, p_slow, is_bull_trend ? col_cloud_up : col_cloud_dn, title="Kinetik Bulut")

    float cloud_top math.max(mid_fastmid_slow)
    float cloud_bot math.min(mid_fastmid_slow)
    color bar_col close cloud_top col_up1 close cloud_bot col_dn1 col_flat
    //barcolor(bar_col)

    // ─────────────────────────────────────────────────────────────────
    // 2. MOTOR: 3'Lά SAR (TAKTέKSEL 1-2-3 HEDEFLERέ)
    // ─────────────────────────────────────────────────────────────────
    float sar_a ta.sar(0.020.020.2)
    float sar_b ta.sar(0.010.010.1)
    float sar_c ta.sar(0.0050.0050.05)

    float t_up1 ta.hma(close math.abs(close sar_a), 10)
    float t_up2 ta.hma(close math.abs(close sar_b), 10)
    float t_up3 ta.hma(close math.abs(close sar_c), 10)

    float t_dn1 ta.hma(close math.abs(close sar_a), 10)
    float t_dn2 ta.hma(close math.abs(close sar_b), 10)
    float t_dn3 ta.hma(close math.abs(close sar_c), 10)

    bool hit_u3 ta.crossover(hight_up3) and is_bull_trend
    bool hit_u2 
    ta.crossover(hight_up2) and is_bull_trend and not hit_u3
    bool hit_u1 
    ta.crossover(hight_up1) and is_bull_trend and not hit_u2 and not hit_u3

    bool hit_d3 
    ta.crossunder(lowt_dn3) and is_bear_trend
    bool hit_d2 
    ta.crossunder(lowt_dn2) and is_bear_trend and not hit_d3
    bool hit_d1 
    ta.crossunder(lowt_dn1) and is_bear_trend and not hit_d2 and not hit_d3

    plot
    (hit_u1 t_up1 nastyle=plot.style_circleslinewidth=2color=col_up1display=display.pane)
    plot(hit_u2 t_up2 nastyle=plot.style_circleslinewidth=3color=col_up1display=display.pane)
    plot(hit_u3 t_up3 nastyle=plot.style_circleslinewidth=4color=col_up1display=display.pane)

    plot(hit_d1 t_dn1 nastyle=plot.style_circleslinewidth=2color=col_dn1display=display.pane)
    plot(hit_d2 t_dn2 nastyle=plot.style_circleslinewidth=3color=col_dn1display=display.pane)
    plot(hit_d3 t_dn3 nastyle=plot.style_circleslinewidth=4color=col_dn1display=display.pane)

    plotchar(hit_u1char="1"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)
    plotchar(hit_u2char="2"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)
    plotchar(hit_u3char="3"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)

    plotchar(hit_d1char="1"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)
    plotchar(hit_d2char="2"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)
    plotchar(hit_d3char="3"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)

    var 
    float bull_seal_price na
    var float bear_seal_price na
    var line bull_seal na
    var line bear_seal na

    if hit_u3
        bull_seal_price 
    := high
        
    if not na(bull_seal)
            
    line.delete(bull_seal)
        
    bull_seal := line.new(bar_indexhighbar_index 1highcolor=color.rgb(4250131100), width=1style=line.style_dashedextend=extend.right)

    if 
    hit_d3
        bear_seal_price 
    := low
        
    if not na(bear_seal)
            
    line.delete(bear_seal)
        
    bear_seal := line.new(bar_indexlowbar_index 1lowcolor=color.rgb(24944100), width=1style=line.style_dashedextend=extend.right)

    // ─────────────────────────────────────────────────────────────────
    // 3. MOTOR: 5'Lέ SAR ΗAKIήMASI (ELMAS TETέK)
    // ─────────────────────────────────────────────────────────────────
    float s1 ta.sar(0.00.0010.02)
    float s2 ta.sar(0.00.0020.02)
    float s3 ta.sar(0.00.0030.02)     // Mavi
    float s4 ta.sar(0.00.00010.02)    // Sarύ
    float s5 ta.sar(0.0010.000010.02// Fuώya

    // SAR Ηizimleri Ekrana Dφndό (Sol Menόden Gizli)
    //plot(s3, "1 (SAR Mavi)", color=color.new(#04effb, 0), linewidth=1, style=plot.style_cross, display=display.pane)
    //plot(s4, "2 (SAR Sarύ)", color=color.new(color.yellow, 0), linewidth=1, style=plot.style_cross, display=display.pane)
    //plot(s5, "3 (SAR Fuώya)", color=color.new(color.fuchsia, 0), linewidth=1, style=plot.style_cross, display=display.pane)

    isEq(v1v2) => math.abs(v1 v2) <= syminfo.mintick
    isEq3
    (v1v2v3) => isEq(v1v2) and isEq(v1v3)

    c1 isEq3(s1s2s3)
    c2 isEq3(s1s2s4)
    c3 isEq3(s1s2s5)
    c4 isEq3(s1s3s4)
    c5 isEq3(s1s3s5)
    c6 isEq3(s1s4s5)
    c7 isEq3(s2s3s4)
    c8 isEq3(s2s3s5)
    c9 isEq3(s2s4s5)
    c10 isEq3(s3s4s5)

    any3 c1 or c2 or c3 or c4 or c5 or c6 or c7 or c8 or c9 or c10

    float matchVal 
    na
    if c1 or c2 or c3 or c4 or c5 or c6
        matchVal 
    := s1
    else if c7 or c8 or c9
        matchVal 
    := s2
    else if c10
        matchVal 
    := s3

    trigger 
    any3 and not any3[1]
    isSupport close matchVal
    diamondColor 
    isSupport color.rgb(023011850) : color.rgb(255236850)

    //plotshape(trigger ? matchVal : na, "3'lό SAR Elmasύ", shape.diamond, location.absolute, color=diamondColor, size=size.normal, display=display.pane)

    var float last_diamond_price na
    var int last_diamond_dir 0
    if trigger
        last_diamond_price 
    := matchVal
        last_diamond_dir 
    := isSupport : -1

    // ─────────────────────────────────────────────────────────────────
    // 4. MOTOR: έSTATέSTέKSEL VOLATέLέTE (KUTUP YILDIZI)
    // ─────────────────────────────────────────────────────────────────
    logReturn math.log(close nz(close[1], close))
    rawVol    ta.stdev(logReturnvolLength)
    annualVol rawVol math.sqrt(barsPerYear)

    conePrice(float basePricefloat volint tfloat sigmaMultiplierint direction) =>
        
    drift direction sigmaMultiplier vol math.sqrt(float(t) / float(barsPerYear))
        
    basePrice math.exp(drift)

    var 
    label[] sigmaLabels = array.new<label>()
    var 
    line[]  sigmaLines  = array.new<line>()

    if 
    barstate.islast
        
    if sigmaLabels.size() > 0
            
    for 0 to sigmaLabels.size() - 1
                label
    .delete(sigmaLabels.get(i))
                
    line.delete(sigmaLines.get(i))
            
    sigmaLabels.clear()
            
    sigmaLines.clear()

        
    float tip1up conePrice(closeannualVolprojBars1.0,  1)
        
    float tip1dn conePrice(closeannualVolprojBars1.0, -1)
        
    int tipX bar_index projBars 

        
    if is_bull_trend
            sigmaLabels
    .push(label.new(tipXtip1up"YTD.\n" str.tostring(tip1upformat.mintick), color=color.new(col_up180), textcolor=col_up1style=label.style_label_leftsize=size.small))
            
    sigmaLines.push(line.new(bar_indexclosetipXtip1upcolor=color.new(col_up150), style=line.style_dotted))
        else if 
    is_bear_trend
            sigmaLabels
    .push(label.new(tipXtip1dn"YTD.\n" str.tostring(tip1dnformat.mintick), color=color.new(col_dn180), textcolor=col_dn1style=label.style_label_leftsize=size.small))
            
    sigmaLines.push(line.new(bar_indexclosetipXtip1dncolor=color.new(col_dn150), style=line.style_dotted))

    // ─────────────────────────────────────────────────────────────────
    // 5. MOTOR: YέN-YANG AYNASI VE MAKRO DUVARLAR
    // ─────────────────────────────────────────────────────────────────
    f_ozel_sar(src_hsrc_l_start_inc_max_reset_hiz) =>
        var 
    int trend 0
        
    var float sar_val 0.0
        
    var float ep 0.0
        
    var float af 0.0
        
    if trend == and not na(src_h[1])
            
    trend   := src_h >= src_h[1] or src_l >= src_l[1] ? : -1
            sar_val 
    := trend src_l[1] : src_h[1]
            
    ep      := trend src_h[1] : src_l[1]
            
    af      := _start
        
    else 
            if 
    _reset_hiz
                af 
    := _start
            float nextsar 
    sar_val
            
    if trend 0
                
    if src_h[1] > ep
                    ep 
    := src_h[1]
                    
    af := math.min(_maxaf _inc)
                
    nextsar := sar_val af * (ep sar_val)
                
    nextsar := math.min(math.min(src_l[1], src_l[2]), nextsar)
                if 
    nextsar src_l
                    trend   
    := -1
                    nextsar 
    := ep
                    ep      
    := src_l
                    af      
    := _start
            
    else 
                if 
    src_l[1] < ep
                    ep 
    := src_l[1]
                    
    af := math.min(_maxaf _inc)
                
    nextsar := sar_val af * (ep sar_val)
                
    nextsar := math.max(math.max(src_h[1], src_h[2]), nextsar)
                if 
    nextsar src_h
                    trend   
    := 1
                    nextsar 
    := ep
                    ep      
    := src_h
                    af      
    := _start
            sar_val 
    := nextsar
        
    [sar_valtrend]

    bool yeni_gun ta.change(time("W")) != 0
    [sar_hizlitrend_hizli] = f_ozel_sar(highlowh_starth_inch_maxyeni_gun)

    float ayna_hizli trend_hizli close math.abs(close sar_hizli) : close math.abs(close sar_hizli)

    float ph_ayna ta.pivothigh(ayna_hizlipivot_lenpivot_len)
    float pl_ayna ta.pivotlow(ayna_hizlipivot_lenpivot_len)

    var array<
    linemacro_up_walls = array.new<line>()
    var array<
    linemacro_dn_walls = array.new<line>()

    // ZARέF DOKUNUή: style=line.style_dotted olarak deπiώtirildi
    if not na(ph_ayna)
        
    line w_up line.new(bar_index[pivot_len], ph_aynabar_indexph_aynacolor=col_up1width=1style=line.style_dottedextend=extend.right)
        array.
    push(macro_up_wallsw_up)
        if array.
    size(macro_up_walls) > 2
            line
    .delete(array.shift(macro_up_walls))

    if 
    not na(pl_ayna)
        
    line w_dn line.new(bar_index[pivot_len], pl_aynabar_indexpl_aynacolor=col_dn1width=1style=line.style_dottedextend=extend.right)
        array.
    push(macro_dn_wallsw_dn)
        if array.
    size(macro_dn_walls) > 2
            line
    .delete(array.shift(macro_dn_walls))

    plot(ayna_hizli"Ayna"color=color.new(color.gray00), linewidth=1display=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 6. GΦRSEL MOTOR: VERέ TERMέNALέ (DASHBOARD)
    // ─────────────────────────────────────────────────────────────────
    var pos dash_pos == "Top Right" position.top_right dash_pos == "Top Left" position.top_left dash_pos == "Bottom Right" position.bottom_right position.bottom_left
    var table dash table.new(pos410border_width 1border_color color.new(#363a45, 50), frame_color = color.new(#363a45, 50), frame_width = 1, bgcolor = color.new(#131722, 10))

    if show_dash and barstate.islast
        
    // Baώlύk
        
    table.cell(dash00"GEMέNέ PRO ΗALIήMASIDIR. @yφrόk@ 2026"text_color=color.whitetext_halign=text.align_centerbgcolor=color.new(#2962ff, 50), text_size=size.small)
        
    table.merge_cells(dash0030)
        
        
    // Fiyat ve Zeminler (Hύzlύ/Yavaώ)
        
    table.cell(dash01"Fiyat | Hύz | Denge"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash11str.tostring(closeformat.mintick), text_color=color.whitetext_size=size.smalltext_halign=text.align_center)
        
    table.cell(dash21str.tostring(mid_fastformat.mintick), text_color=color.yellowtext_size=size.smalltext_halign=text.align_center)
        
    table.cell(dash31str.tostring(mid_slowformat.mintick), text_color=color.aquatext_size=size.smalltext_halign=text.align_center)

        
    // 3 Mόhrό (Duvarlar)
        
    string txt_bull_seal na(bull_seal_price) ? "-" str.tostring(bull_seal_priceformat.mintick)
        
    string txt_bear_seal na(bear_seal_price) ? "-" str.tostring(bear_seal_priceformat.mintick)
        
    table.cell(dash02"Sayύm 3 (Son)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash12"SS\n" txt_bull_sealtext_color=col_up1text_size=size.small)
        
    table.cell(dash22"LS\n" txt_bear_sealtext_color=col_dn1text_size=size.small)
        
    table.merge_cells(dash2232)

        
    // Boπa Hedefleri (Yeώil)
        
    table.cell(dash03"Boπa Hedefleri 1-2-3"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash13str.tostring(t_up1format.mintick), text_color=col_up1text_size=size.small)
        
    table.cell(dash23str.tostring(t_up2format.mintick), text_color=col_up1text_size=size.small)
        
    table.cell(dash33str.tostring(t_up3format.mintick), text_color=col_up1text_size=size.small)

        
    // Ayύ Hedefleri (Kύrmύzύ)
        
    table.cell(dash04"Ayύ Hedefleri 1-2-3"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash14str.tostring(t_dn1format.mintick), text_color=col_dn1text_size=size.small)
        
    table.cell(dash24str.tostring(t_dn2format.mintick), text_color=col_dn1text_size=size.small)
        
    table.cell(dash34str.tostring(t_dn3format.mintick), text_color=col_dn1text_size=size.small)

        
    // 3'lό SAR Motoru
        
    table.cell(dash05"Scalping (H-O-Y)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash15str.tostring(sar_aformat.mintick), text_color=color.silvertext_size=size.small)
        
    table.cell(dash25str.tostring(sar_bformat.mintick), text_color=color.silvertext_size=size.small)
        
    table.cell(dash35str.tostring(sar_cformat.mintick), text_color=color.silvertext_size=size.small)

        
    // YENέ GάNCELLEME: Mavi, Sarύ, Fuώya Kendi Renkleriyle Tabloda!
        
    table.cell(dash06"Swing (H-O-Y)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash16str.tostring(s3format.mintick), text_color=color.new(#04fbea, 0), text_size=size.small)
        
    table.cell(dash26str.tostring(s4format.mintick), text_color=color.new(color.yellow0), text_size=size.small)
        
    table.cell(dash36str.tostring(s5format.mintick), text_color=color.new(color.fuchsia0), text_size=size.small)

        
    // Son Elmas Deπeri ve Rengi
        
    string txt_elmas na(last_diamond_price) ? "-" str.tostring(last_diamond_priceformat.mintick)
        
    color col_elmas last_diamond_dir == col_up1 last_diamond_dir == -col_dn1 color.gray
        table
    .cell(dash07"Son Sar Ηakύώmasύ"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash17txt_elmastext_color=col_elmastext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1737)

        
    // Makro Ayna Deπeri
        
    table.cell(dash08"Olasύlύk"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash18str.tostring(ayna_hizliformat.mintick), text_color=color.new(#d500f9, 0), text_size=size.small, text_halign=text.align_center)
        
    table.merge_cells(dash1838)

        
    // Alt Bilgi
        
    table.cell(dash09"Yatύrύm tavsiyesi DEΠέLDέR."text_color=color.new(color.white0), text_size=size.small)
        
    table.merge_cells(dash0939
    16.07.2024 - 10.12.2024

  6. PHP Code:
    // © Kinetik Komuta Merkezi [V13.2 - Estetik & Renk Kodlu Terminal]
    //@version=6
    indicator("@yφrόk@ 2026"overlay truemax_lines_count 500)



    color col_cloud_up1 color.new(#00e676, 0)
    color col_cloud_dn1 color.new(#ff1744, 0)



    group_ayna "Makro Duvarlar (Yin-Yang Ayna)"
    float h_start input.float(0.06"Hύzlύ SAR Baώlangύη"step=0.01group=group_ayna)
    float h_inc   input.float(0.06"Hύzlύ SAR έvme"step=0.01group=group_ayna)
    float h_max   input.float(0.30"Hύzlύ SAR Max"step=0.1group=group_ayna)
    int pivot_len input.int(10"Duvar Tespiti (Pivot Uzunluπu)"group=group_ayna)


    // ─────────────────────────────────────────────────────────────────
    // 5. MOTOR: YέN-YANG AYNASI VE MAKRO DUVARLAR
    // ─────────────────────────────────────────────────────────────────
    f_ozel_sar(src_hsrc_l_start_inc_max_reset_hiz) =>
        var 
    int trend 0
        
    var float sar_val 0.0
        
    var float ep 0.0
        
    var float af 0.0
        
    if trend == and not na(src_h[1])
            
    trend   := src_h >= src_h[1] or src_l >= src_l[1] ? : -1
            sar_val 
    := trend src_l[1] : src_h[1]
            
    ep      := trend src_h[1] : src_l[1]
            
    af      := _start
        
    else 
            if 
    _reset_hiz
                af 
    := _start
            float nextsar 
    sar_val
            
    if trend 0
                
    if src_h[1] > ep
                    ep 
    := src_h[1]
                    
    af := math.min(_maxaf _inc)
                
    nextsar := sar_val af * (ep sar_val)
                
    nextsar := math.min(math.min(src_l[1], src_l[2]), nextsar)
                if 
    nextsar src_l
                    trend   
    := -1
                    nextsar 
    := ep
                    ep      
    := src_l
                    af      
    := _start
            
    else 
                if 
    src_l[1] < ep
                    ep 
    := src_l[1]
                    
    af := math.min(_maxaf _inc)
                
    nextsar := sar_val af * (ep sar_val)
                
    nextsar := math.max(math.max(src_h[1], src_h[2]), nextsar)
                if 
    nextsar src_h
                    trend   
    := 1
                    nextsar 
    := ep
                    ep      
    := src_h
                    af      
    := _start
            sar_val 
    := nextsar
        
    [sar_valtrend]

    bool yeni_gun ta.change(time("W")) != 0
    [sar_hizlitrend_hizli] = f_ozel_sar(highlowh_starth_inch_maxyeni_gun)

    float ayna_hizli trend_hizli close math.abs(close sar_hizli) : close math.abs(close sar_hizli)

    float ph_ayna ta.pivothigh(ayna_hizlipivot_lenpivot_len)
    float pl_ayna ta.pivotlow(ayna_hizlipivot_lenpivot_len)

    var array<
    linemacro_up_walls = array.new<line>()
    var array<
    linemacro_dn_walls = array.new<line>()

    // ZARέF DOKUNUή: style=line.style_dotted olarak deπiώtirildi
    if not na(ph_ayna)
        
    line w_up line.new(bar_index[pivot_len], ph_aynabar_indexph_aynacolor=col_cloud_up1width=1style=line.style_dottedextend=extend.right)
        array.
    push(macro_up_wallsw_up)
        if array.
    size(macro_up_walls) > 2
            line
    .delete(array.shift(macro_up_walls))

    if 
    not na(pl_ayna)
        
    line w_dn line.new(bar_index[pivot_len], pl_aynabar_indexpl_aynacolor=col_cloud_dn1width=1style=line.style_dottedextend=extend.right)
        array.
    push(macro_dn_wallsw_dn)
        if array.
    size(macro_dn_walls) > 2
            line
    .delete(array.shift(macro_dn_walls))

    plot(ayna_hizli"Ayna"color=color.new(color.gray100), linewidth=1display=display.pane)

    // ───────────────────────────────────────────────────────────────── 
    16.07.2024 - 10.12.2024

  7. PHP Code:
    // © Kinetik Komuta Merkezi [V19.6 - Saf Ηekirdek & Yόzen Kuantum Aπύ]
    //@version=6
    indicator(":]"overlay true,  max_lines_count 500)

    // ─────────────────────────────────────────────────────────────────
    // 0. GέRDέLER VE AYARLAR
    // ─────────────────────────────────────────────────────────────────
    group_l1 "L1 Kinetik Filtre (Ana baseline)"
    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_motor "Kinetik Zeminler (Trinity)"
    int len_fast input.int(5"Hύzlύ Zemin (Zemin 1)"group=group_motor)
    int len_slow input.int(20"Yavaώ Zemin (Zemin 2)"group=group_motor)

    group_dash "Gφsterge Paneli"
    bool show_dash input.bool(true"Paneli Gφster"group=group_dash)
    string dash_pos input.string("Top Right""Panel Konumu"options=["Top Right""Top Left""Bottom Right""Bottom Left"], group=group_dash)

    group_kin "Renk Paleti"
    col_up input.color(#00e676, "Destek (S) / Boπa", group=group_kin)
    col_dn input.color(#ff1744, "Direnη (R) / Ayύ", group=group_kin)
    col_flat input.color(#787b86, "Flat (Nφtr)", group=group_kin)
    col_eq input.color(#ff9800, "Merkez Pivot (Turuncu Denge)", group=group_kin)

    group_pt "Gόvenli Bφlge (8-34 PT Filtresi)"
    bool show_pt_bg input.bool(true"Yeώil Arka Planύ Gφster"group=group_pt)
    int pt_ema_len input.int(21"PT Hύzlύ (EMA)"group=group_pt)
    int pt_sma_len input.int(89"PT Yavaώ (SMA)"group=group_pt)

    group_stat "1σ έstatistiksel Hedef (Kutup Yύldύzύ)"
    int volLength input.int(500"Volatilite Periyodu"group=group_stat)
    int projBars  input.int(3"έleriye Dφnόk Mum (T)"group=group_stat)
    int barsPerYear input.int(500"Yύllύk Mum (1dk=525600)"group=group_stat)

    group_ayna "Makro Duvarlar (Yin-Yang Ayna)"
    float h_start input.float(0.06"Hύzlύ SAR Baώlangύη"step=0.01group=group_ayna)
    float h_inc   input.float(0.06"Hύzlύ SAR έvme"step=0.01group=group_ayna)
    float h_max   input.float(0.30"Hύzlύ SAR Max"step=0.1group=group_ayna)

    // ─────────────────────────────────────────────────────────────────
    // 1. MOTOR: L1 KέNETέK FέLTRE (ANA BASELINE)
    // ─────────────────────────────────────────────────────────────────
    float threshold ta.atr(atrLen) * atrMult
    var float z na
    var float v 0.0

    if bar_index == 0
        z 
    := close
    else
        
    float zPrev z[1], float vPrev v[1]
        
    float zPred zPrev vPrev
        float zTemp 
    zPred mu * (close zPred)
        
    float diff zTemp zPrev
        
    if math.abs(diff) > threshold
            v 
    := math.sign(diff) * (math.abs(diff) - threshold)
        else
            
    := 0.0
        z 
    := zPrev v

    plot
    (z"@yφrόk@"color=color.new(color.fuchsia0), linewidth=1style=plot.style_steplinedisplay=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 2. MOTOR: TRINITY ZEMέNLER (5 - 20)
    // ─────────────────────────────────────────────────────────────────
    float fast_floor ta.hma(zlen_fast)
    float slow_floor ta.hma(zlen_slow)

    // Bar Renklendirme
    color bar_col close math.max(fast_floorslow_floor) ? col_up close math.min(fast_floorslow_floor) ? col_dn col_flat
    barcolor
    (bar_col)

    // ─────────────────────────────────────────────────────────────────
    // 3. ANALέZ: άΗLά KAVUήUM (YάZEN PέVOT AΠI)
    // ─────────────────────────────────────────────────────────────────
    isEq(v1v2) => math.abs(v1 v2) <= syminfo.mintick
    bool trinity_aligned 
    isEq(zfast_floor) and isEq(zslow_floor)

    var 
    float last_eq_val na
    var float last_eq_step na

    var line line_p na,  var label lbl_p na
    var line line_r1 na, var label lbl_r1 na
    var line line_r2 na, var label lbl_r2 na
    var line line_r3 na, var label lbl_r3 na
    var line line_s1 na, var label lbl_s1 na
    var line line_s2 na, var label lbl_s2 na
    var line line_s3 na, var label lbl_s3 na

    if trinity_aligned
        last_eq_val 
    := z
        last_eq_step 
    := threshold 

    if not na(last_eq_val)
        
    int ext 10 
        float val_p  
    last_eq_val
        float val_r1 
    last_eq_val last_eq_step 1
        float val_r2 
    last_eq_val last_eq_step 2
        float val_r3 
    last_eq_val last_eq_step 3
        float val_s1 
    last_eq_val last_eq_step 1
        float val_s2 
    last_eq_val last_eq_step 2
        float val_s3 
    last_eq_val last_eq_step 3

        
    if na(line_p)
            
    line_p  := line.new(bar_indexval_p,  bar_index extval_p,  color=col_eqwidth=2style=line.style_dotted)
            
    line_r1 := line.new(bar_indexval_r1bar_index extval_r1color=color.new(col_dn30), width=1style=line.style_dotted)
            
    line_r2 := line.new(bar_indexval_r2bar_index extval_r2color=color.new(col_dn30), width=1style=line.style_dotted)
            
    line_r3 := line.new(bar_indexval_r3bar_index extval_r3color=color.new(col_dn30), width=1style=line.style_dotted)
            
    line_s1 := line.new(bar_indexval_s1bar_index extval_s1color=color.new(col_up30), width=1style=line.style_dotted)
            
    line_s2 := line.new(bar_indexval_s2bar_index extval_s2color=color.new(col_up30), width=1style=line.style_dotted)
            
    line_s3 := line.new(bar_indexval_s3bar_index extval_s3color=color.new(col_up30), width=1style=line.style_dotted)
            
            
    lbl_p  := label.new(bar_index extval_p,  "P: " str.tostring(val_pformat.mintick),  color=color.new(color.white100), textcolor=col_eqstyle=label.style_label_leftsize=size.normal)
            
    lbl_r1 := label.new(bar_index extval_r1"R1: " str.tostring(val_r1format.mintick), color=color.new(color.white100), textcolor=col_dnstyle=label.style_label_leftsize=size.normal)
            
    lbl_r2 := label.new(bar_index extval_r2"R2: " str.tostring(val_r2format.mintick), color=color.new(color.white100), textcolor=col_dnstyle=label.style_label_leftsize=size.normal)
            
    lbl_r3 := label.new(bar_index extval_r3"R3: " str.tostring(val_r3format.mintick), color=color.new(color.white100), textcolor=col_dnstyle=label.style_label_leftsize=size.normal)
            
    lbl_s1 := label.new(bar_index extval_s1"S1: " str.tostring(val_s1format.mintick), color=color.new(color.white100), textcolor=col_upstyle=label.style_label_leftsize=size.normal)
            
    lbl_s2 := label.new(bar_index extval_s2"S2: " str.tostring(val_s2format.mintick), color=color.new(color.white100), textcolor=col_upstyle=label.style_label_leftsize=size.normal)
            
    lbl_s3 := label.new(bar_index extval_s3"S3: " str.tostring(val_s3format.mintick), color=color.new(color.white100), textcolor=col_upstyle=label.style_label_leftsize=size.normal)
        else
            
    line.set_xy1(line_p,  bar_indexval_p),  line.set_xy2(line_p,  bar_index extval_p)
            
    line.set_xy1(line_r1bar_indexval_r1), line.set_xy2(line_r1bar_index extval_r1)
            
    line.set_xy1(line_r2bar_indexval_r2), line.set_xy2(line_r2bar_index extval_r2)
            
    line.set_xy1(line_r3bar_indexval_r3), line.set_xy2(line_r3bar_index extval_r3)
            
    line.set_xy1(line_s1bar_indexval_s1), line.set_xy2(line_s1bar_index extval_s1)
            
    line.set_xy1(line_s2bar_indexval_s2), line.set_xy2(line_s2bar_index extval_s2)
            
    line.set_xy1(line_s3bar_indexval_s3), line.set_xy2(line_s3bar_index extval_s3)
            
            
    label.set_xy(lbl_p,  bar_index extval_p),  label.set_text(lbl_p,  "P: " str.tostring(val_pformat.mintick))
            
    label.set_xy(lbl_r1bar_index extval_r1), label.set_text(lbl_r1"R1: " str.tostring(val_r1format.mintick))
            
    label.set_xy(lbl_r2bar_index extval_r2), label.set_text(lbl_r2"R2: " str.tostring(val_r2format.mintick))
            
    label.set_xy(lbl_r3bar_index extval_r3), label.set_text(lbl_r3"R3: " str.tostring(val_r3format.mintick))
            
    label.set_xy(lbl_s1bar_index extval_s1), label.set_text(lbl_s1"S1: " str.tostring(val_s1format.mintick))
            
    label.set_xy(lbl_s2bar_index extval_s2), label.set_text(lbl_s2"S2: " str.tostring(val_s2format.mintick))
            
    label.set_xy(lbl_s3bar_index extval_s3), label.set_text(lbl_s3"S3: " str.tostring(val_s3format.mintick))

    // Sinyal Takibi
    var int trendL1 0
    if z[1]
        
    trendL1 := 1
    else if z[1]
        
    trendL1 := -1

    var string last_sig_type "-"
    var float last_sig_price na

    if ta.change(trendL1) != 0
        last_sig_type 
    := trendL1 == "AL" "SAT"
        
    last_sig_price := close

    // ─────────────────────────────────────────────────────────────────
    // 4. MOTOR: GάVENLέ BΦLGE (8-34 POWER TREND FέLTRESέ)
    // ─────────────────────────────────────────────────────────────────
    float emaPT ta.ema(closept_ema_len), float smaPT ta.sma(closept_sma_len)
    var 
    int cL 0
    cL 
    := (low emaPT) ? nz(cL[1]) + 0
    var bool ptOn false
    ptOn 
    := ta.crossunder(emaPTsmaPT) ? false : (cL >= and emaPT smaPT true ptOn)
    bgcolor(show_pt_bg and ptOn color.new(color.gray68) : natitle="Gόvenli Bφlge Arka Planύ")

    // ─────────────────────────────────────────────────────────────────
    // 5. MOTOR: YέN-YANG AYNASI (DUVARLAR έPTAL EDέLDέ)
    // ─────────────────────────────────────────────────────────────────
    f_ozel_sar(src_hsrc_l_start_inc_max_reset_hiz) =>
        var 
    int trend 0
        
    var float sar_val 0.0
        
    var float ep 0.0
        
    var float af 0.0
        
    if trend == and not na(src_h[1])
            
    trend   := src_h >= src_h[1] or src_l >= src_l[1] ? : -1
            sar_val 
    := trend src_l[1] : src_h[1]
            
    ep      := trend src_h[1] : src_l[1]
            
    af      := _start
        
    else 
            if 
    _reset_hiz
                af 
    := _start
            float nextsar 
    sar_val
            
    if trend 0
                
    if src_h[1] > ep
                    ep 
    := src_h[1]
                    
    af := math.min(_maxaf _inc)
                
    nextsar := sar_val af * (ep sar_val)
                
    nextsar := math.min(math.min(src_l[1], src_l[2]), nextsar)
                if 
    nextsar src_l
                    trend   
    := -1
                    nextsar 
    := ep
                    ep      
    := src_l
                    af      
    := _start
            
    else 
                if 
    src_l[1] < ep
                    ep 
    := src_l[1]
                    
    af := math.min(_maxaf _inc)
                
    nextsar := sar_val af * (ep sar_val)
                
    nextsar := math.max(math.max(src_h[1], src_h[2]), nextsar)
                if 
    nextsar src_h
                    trend   
    := 1
                    nextsar 
    := ep
                    ep      
    := src_h
                    af      
    := _start
            sar_val 
    := nextsar
        
    [sar_valtrend]

    bool yeni_gun ta.change(time("D")) != 
    [sar_hizlitrend_hizli] = f_ozel_sar(highlowh_starth_inch_maxyeni_gun)

    float ayna_hizli trend_hizli close math.abs(close sar_hizli) : close math.abs(close sar_hizli)

    // SADECE AYNA ΗέZGέSέ EKRANDA KALDI
    plot(ayna_hizli"Olasύlύk"color=color.new(color.silver0), linewidth=1display=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 6. MOTOR: έSTATέSTέKSEL VOLATέLέTE (KUTUP YILDIZI)
    // ─────────────────────────────────────────────────────────────────
    logReturn math.log(close nz(close[1], close))
    rawVol    ta.stdev(logReturnvolLength)
    annualVol rawVol math.sqrt(barsPerYear)

    conePrice(float basePricefloat volint tfloat sigmaMultiplierint direction) =>
        
    drift direction sigmaMultiplier vol math.sqrt(float(t) / float(barsPerYear))
        
    basePrice math.exp(drift)

    var 
    label[] sigmaLabels = array.new<label>()
    var 
    line[]  sigmaLines  = array.new<line>()

    if 
    barstate.islast
        
    if sigmaLabels.size() > 0
            
    for 0 to sigmaLabels.size() - 1
                label
    .delete(sigmaLabels.get(i))
                
    line.delete(sigmaLines.get(i))
            
    sigmaLabels.clear()
            
    sigmaLines.clear()

        
    float tip1up conePrice(closeannualVolprojBars1.0,  1)
        
    float tip1dn conePrice(closeannualVolprojBars1.0, -1)
        
    int tipX bar_index projBars 

        
    if trend_hizli 0
            sigmaLabels
    .push(label.new(tipXtip1up"YTD.\n" str.tostring(tip1upformat.mintick), color=color.new(col_up80), textcolor=col_upstyle=label.style_label_leftsize=size.small))
            
    sigmaLines.push(line.new(bar_indexclosetipXtip1upcolor=color.new(col_up50), style=line.style_dotted))
        else if 
    trend_hizli 0
            sigmaLabels
    .push(label.new(tipXtip1dn"YTD.\n" str.tostring(tip1dnformat.mintick), color=color.new(col_dn80), textcolor=col_dnstyle=label.style_label_leftsize=size.small))
            
    sigmaLines.push(line.new(bar_indexclosetipXtip1dncolor=color.new(col_dn50), style=line.style_dotted))

    // ─────────────────────────────────────────────────────────────────
    // 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=1display=display.pane)
    plot(roSarModeratetitle="B",  style=plot.style_crosscolor=color.yellowlinewidth=1display=display.pane)
    plot(roSarFast,     title="A"style=plot.style_crosscolor=color.yellow,   linewidth=1display=display.pane)

    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, display=display.pane)
    plot(sarSari"Y"color.new(#040cfb, 0), 1, plot.style_cross, display=display.pane)
    plot(sarFusya"Z"color.new(#040cfb, 0), 1, plot.style_cross, display=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 8. GΦRSEL TERMέNAL (DASHBOARD)
    // ─────────────────────────────────────────────────────────────────
    var pos dash_pos == "Top Right" position.bottom_center dash_pos == "Top Left" position.top_left dash_pos == "Bottom Right" position.bottom_right position.bottom_left
    var table dash table.new(pos29bgcolor=color.new(#131722, 10), border_width=1, border_color=color.new(#363a45, 50), frame_color=color.new(#363a45, 50), frame_width=1)

    if show_dash and barstate.islast
        table
    .cell(dash00"@yφrόk@ 2026 Gemini Pro Eπitim Ηalύώmasύdύr."bgcolor=color.new(#2962ff, 50), text_color=color.white, text_size=size.normal, text_halign=text.align_center)
        
    table.merge_cells(dash0010)
        
        
    table.cell(dash01"Fiyat"text_color=color.graytext_size=size.normal)
        
    table.cell(dash11str.tostring(closeformat.mintick), text_color=color.whitetext_size=size.normal)
        
        
    table.cell(dash02"@yφrόk@"text_color=color.fuchsiatext_size=size.normal)
        
    table.cell(dash12str.tostring(zformat.mintick), text_color=color.fuchsiatext_size=size.normal)
        
        
    table.cell(dash03"Hύzlύ| Yavaώ"text_color=color.aquatext_size=size.normal)
        
    table.cell(dash13str.tostring(fast_floorformat.mintick) + " | " str.tostring(slow_floorformat.mintick), text_color=color.aquatext_size=size.normal)
        
        
    table.cell(dash04"Denge"text_color=color.orangetext_size=size.normal)
        
    table.cell(dash14na(last_eq_val) ? "-" str.tostring(last_eq_valformat.mintick), text_color=col_eqtext_size=size.normal)

        
    // Yeni Eklenen SAR Deπerleri
        
    table.cell(dash05"SAR A | B | C"text_color=color.yellowtext_size=size.normal)
        
    table.cell(dash15str.tostring(roSarFastformat.mintick) + " | " str.tostring(roSarModerateformat.mintick) + " | " str.tostring(roSarSlowformat.mintick), text_color=color.yellowtext_size=size.normal)

        
    table.cell(dash06"SAR X | Y | Z"text_color=color.bluetext_size=size.normal)
        
    table.cell(dash16str.tostring(sarMaviformat.mintick) + " | " str.tostring(sarSariformat.mintick) + " | " str.tostring(sarFusyaformat.mintick), text_color=color.new(#040cfb, 0), text_size=size.normal)
        
        
    color sig_col last_sig_type == "AL" col_up last_sig_type == "SAT" col_dn color.gray
        table
    .cell(dash07"Son Sinyal"text_color=color.whitetext_size=size.normal)
        
    table.cell(dash17last_sig_type " (" str.tostring(last_sig_priceformat.mintick) + ")"text_color=sig_coltext_size=size.normal)

        
    table.cell(dash08"Yatύrύm tavsiyesi DEΠέLDέR."text_color=color.new(color.white0), text_size=size.normal)
        
    table.merge_cells(dash0818
    16.07.2024 - 10.12.2024

  8. PHP Code:
    //@version=5
    indicator("Little Chart [Tekil ICS 21]"overlay=truemax_boxes_count=500max_lines_count=500max_labels_count=50)

    // ========================================================================= //
    // =============================== GέRDέLER ================================ //
    // ========================================================================= //

    grp_pos "PENCERE VE BOYUT AYARLARI"
    i_bars    input.int(50,    "Gφsterilecek Mum Sayύsύ"group=grp_posminval=10)
    i_width   input.int(100,   "Pencere Geniώliπi (Bar)"group=grp_posminval=20)
    i_offset  input.int(10,    "Yatay Uzaklύk (Saπa)",    group=grp_pos)
    i_vScale  input.float(35.0"Dikey Φlηekleme (%)",    group=grp_posstep=1.0)

    grp_style "RENKLER VE GΦRSELLέK"
    c_up      input.color(color.new(#00e676, 0), "Yόkseliώ Mumu", group=grp_style)
    c_down    input.color(color.new(#ff1744, 0), "Dόώόώ Mumu",    group=grp_style)
    c_bg      input.color(color.new(#0b0e14, 20), "Arka Plan Kutusu",group=grp_style)
    c_border  input.color(color.new(#ffffff, 80), "Pencere Ηerηevesi",group=grp_style)

    c_fillUp  input.color(color.new(#26a69a, 60), "Bulut (Yόkseliώ)", group=grp_style)
    c_fillDn  input.color(color.new(#ef5350, 60), "Bulut (Dόώόώ)",    group=grp_style)
    c_fillRng input.color(color.new(#888888, 60), "Bulut (Yatay)",     group=grp_style)

    // ========================================================================= //
    // ================== ICS 21 MATEMATέΠέ (YERLEήέK HESAPLAMA) =============== //
    // ========================================================================= //
    // Dizi (Array) kullanmadan, doπrudan zaman serisi όzerinden ηalύώύr. Ηφkmez.

    f_yz_sigma(len) =>
        
    float _yzOR math.log(open nz(close[1], open))
        
    float _yzCO math.log(close open)
        
    float _yzHO math.log(high open)
        
    float _yzHC math.log(high close)
        
    float _yzLO math.log(low  open)
        
    float _yzLC math.log(low  close)
        
    float _sqOR ta.variance(_yzORlen)
        
    float _sqCO ta.variance(_yzCOlen)
        
    float _sqRS ta.sma(_yzHO _yzHC _yzLO _yzLClen)
        
    float _k    0.34 / (1.34 + (len 1.0) / math.max(len 1.01.0))
        
    float _sq   nz(_sqOR) + _k nz(_sqCO) + (1.0 _k) * nz(_sqRS)
        
    math.max(math.sqrt(math.max(_sq0.0)), 1e-10)

    f_icsLine(p1x1p2x2targetXsig) =>
        
    float out p1
        
    if x1 != x2 and p1 and p2 and sig 1e-10
            float y1 
    math.log(p1) / sig
            float y2 
    math.log(p2) / sig
            float yT 
    y1 + (y2 y1) * (targetX x1) / (x2 x1)
            
    out := math.exp(yT sig)
        
    out

    f_icsAngle
    (p1x1p2x2sig) =>
        
    float out 0.0
        
    if x1 != x2 and p1 and p2 and sig 1e-10
            float y1 
    math.log(p1) / sig
            float y2 
    math.log(p2) / sig
            out 
    := math.atan((y2 y1) / (x2 x1)) * 180.0 math.pi
        out

    f_ics_calc
    () =>
        
    int P 21
        float sig 
    f_yz_sigma(20)
        
        
    float h0 ta.highest(highP), float l0 ta.lowest(lowP)
        
        if 
    bar_index 5
            
    [h0l00.0]
        else
            
    float h1 h0[P],   float l1 l0[P]
            
    float h2 h0[P*2], float l2 l0[P*2]
            
    float h3 h0[P*3], float l3 l0[P*3]
            
    float h4 h0[P*4], float l4 l0[P*4]

            
    float g0 = (h0 and l0 0) ? math.exp((math.log(h0) + math.log(l0)) / 2.0) : na
            float g1 
    = (h1 and l1 0) ? math.exp((math.log(h1) + math.log(l1)) / 2.0) : na
            float g2 
    = (h2 and l2 0) ? math.exp((math.log(h2) + math.log(l2)) / 2.0) : na
            float g3 
    = (h3 and l3 0) ? math.exp((math.log(h3) + math.log(l3)) / 2.0) : na
            float g4 
    = (h4 and l4 0) ? math.exp((math.log(h4) + math.log(l4)) / 2.0) : na

            int pd 
    g0 g1 : -1
            int seg 
    1
            
    if g0 != g1
                
    if (g1 g2 : (g1 g2 ? -0)) == pd
                    seg 
    := 2
                    
    if (g2 g3 : (g2 g3 ? -0)) == pd
                        seg 
    := 3
                        
    if (g3 g4 : (g3 g4 ? -0)) == pd
                            seg 
    := 4

            int cx0 
    int(-P/2), int cx1 cx0 Pint cx2 cx1 Pint cx3 cx2 Pint cx4 cx3 P

            float fHH 
    h0float fLH h0float fHL l0float fLL l0
            int xHH 
    cx0int xLH cx0int xHL cx0int xLL cx0

            
    if seg >= 1
                
    if h1 fHH
                    fHH 
    := h1xHH := cx1
                
    if h1 fLH
                    fLH 
    := h1xLH := cx1
                
    if l1 fHL
                    fHL 
    := l1xHL := cx1
                
    if l1 fLL
                    fLL 
    := l1xLL := cx1
            
    if seg >= 2
                
    if h2 fHH
                    fHH 
    := h2xHH := cx2
                
    if h2 fLH
                    fLH 
    := h2xLH := cx2
                
    if l2 fHL
                    fHL 
    := l2xHL := cx2
                
    if l2 fLL
                    fLL 
    := l2xLL := cx2
            
    if seg >= 3
                
    if h3 fHH
                    fHH 
    := h3xHH := cx3
                
    if h3 fLH
                    fLH 
    := h3xLH := cx3
                
    if l3 fHL
                    fHL 
    := l3xHL := cx3
                
    if l3 fLL
                    fLL 
    := l3xLL := cx3
            
    if seg >= 4
                
    if h4 fHH
                    fHH 
    := h4xHH := cx4
                
    if h4 fLH
                    fLH 
    := h4xLH := cx4
                
    if l4 fHL
                    fHL 
    := l4xHL := cx4
                
    if l4 fLL
                    fLL 
    := l4xLL := cx4

            int sLx 
    seg == cx1 seg == cx2 seg == cx3 cx4
            int sRx 
    cx0

            float endG 
    seg == g1 seg == g2 seg == g3 g4
            float ang 
    f_icsAngle(endGsLxg0sRxsig)

            
    int dir math.abs(ang) <= 0.5 pd

            float uY1 
    fHHfloat uY2 fHHfloat lY1 fLLfloat lY2 fLL
            
    if dir == 1
                uY1 
    := f_icsLine(fLHxLHfHHxHHsLxsig), uY2 := f_icsLine(fLHxLHfHHxHHsRxsig)
                
    lY1 := f_icsLine(fLLxLLfHLxHLsLxsig), lY2 := f_icsLine(fLLxLLfHLxHLsRxsig)
            else if 
    dir == -1
                uY1 
    := f_icsLine(fHHxHHfLHxLHsLxsig), uY2 := f_icsLine(fHHxHHfLHxLHsRxsig)
                
    lY1 := f_icsLine(fHLxHLfLLxLLsLxsig), lY2 := f_icsLine(fHLxHLfLLxLLsRxsig)

            
    float uYa f_icsLine(uY1sLxuY2sRx0sig)
            
    float lYa f_icsLine(lY1sLxlY2sRx0sig)

            [
    uYalYafloat(dir)]

    // O anki mumun bulut deπerlerini global olarak alύyoruz
    [uYalYabulut_yon] = f_ics_calc()

    // ========================================================================= //
    // =========================== ΗέZέM MOTORU (HέYERARήέ) ==================== //
    // ========================================================================= //

    var box[]   kutu_bg     = array.new_box()
    var 
    line[]  cizgi_merkez= array.new_line()
    var 
    box[]   kutu_bulut  = array.new_box()
    var 
    line[]  cizgi_mum   = array.new_line()
    var 
    box[]   kutu_mum    = array.new_box()
    var 
    label[] etiketler   = array.new_label()

    f_temizle() =>
        for 
    b in kutu_bg
            box
    .delete(b)
        for 
    l in cizgi_merkez
            line
    .delete(l)
        for 
    b in kutu_bulut
            box
    .delete(b)
        for 
    l in cizgi_mum
            line
    .delete(l)
        for 
    b in kutu_mum
            box
    .delete(b)
        for 
    lbl in etiketler
            label
    .delete(lbl)
        array.
    clear(kutu_bg), array.clear(cizgi_merkez), array.clear(kutu_bulut)
        array.
    clear(cizgi_mum), array.clear(kutu_mum), array.clear(etiketler)

    if 
    barstate.islast
        f_temizle
    ()
        
        
    // --- 1. ADIM: EKRANIN GENEL MATEMATέΠέ VE SINIRLARI ---
        
    float max_val high
        float min_val 
    low
        
        
    // Son 'i_bars' kadar mumu geηmiώe doπru tarayύp o bφlgenin Max ve Min deπerlerini buluyoruz
        
    for 0 to i_bars 1
            float _h 
    high[i], float _l low[i]
            
    float _u uYa[i],  float _d lYa[i]
            
            
    max_val := math.max(max_val_h)
            
    min_val := math.min(min_val_l)
            if 
    not na(_u)
                
    max_val := math.max(max_val_u), min_val := math.min(min_val_u)
            if 
    not na(_d)
                
    max_val := math.max(max_val_d), min_val := math.min(min_val_d)
                
        
    // Pencereyi nereye ηizeceπiz? Ekranύn mevcut yόksekliπini referans alύyoruz
        
    float hv ta.highest(high300)
        
    float lv ta.lowest(low300)
        
    float cr hv lv == syminfo.mintick 100 hv lv
        float my 
    = (hv lv) / 2
        
        float er 
    cr * (i_vScale 100)
        
    float top_y my er 2
        float bot_y 
    my er 2
        float mid_y 
    = (top_y bot_y) / 2

        int start_x 
    bar_index i_offset
        int end_x   
    start_x i_width
        int mid_x   
    = (start_x end_x) / 2
        
        float hr 
    max_val min_val == syminfo.mintick max_val min_val
        float ir 
    top_y bot_y
        
        
    // Mumlar arasύ geniώlik hesaplamasύ
        
    float bs float(i_width) / i_bars
        int box_w 
    math.max(1int(bs 2))

        
    // --- 2. ADIM: HέYERARήέK ΗέZέM ---
        
        // Hiyerarώi 1: Ana Pencere (Zemin)
        
    array.push(kutu_bgbox.new(start_xtop_yend_xbot_yborder_color=c_borderbgcolor=c_bg))
        
        
    // Hiyerarώi 2: Merkez Denge Ηizgisi
        
    array.push(cizgi_merkezline.new(start_xmid_yend_xmid_ycolor=color.graystyle=line.style_dashed))

        
    // Hiyerarώi 3: Alt ve άst Max/Min Etiketleri
        
    array.push(etiketlerlabel.new(mid_xtop_y"Max: " str.tostring(max_valformat.mintick), color=color.new(color.black100), textcolor=color.graystyle=label.style_label_downsize=size.small))
        array.
    push(etiketlerlabel.new(mid_xbot_y"Min: " str.tostring(min_valformat.mintick), color=color.new(color.black100), textcolor=color.graystyle=label.style_label_upsize=size.small))

        
    // Hiyerarώi 4 & 5: Bulutlar (Arkada) ve Mumlar (Φnde)
        
    for 0 to i_bars 1
            int idx 
    i
            
            float _o 
    open[idx], float _h high[idx], float _l low[idx], float _c close[idx]
            
    float _u uYa[idx],  float _d lYa[idx],  float _dir bulut_yon[idx]
            
            
    // Fiyatlarύ mini ekranύn y-koordinatlarύna dφnόώtόrόyoruz
            
    float so bot_y + ((_o min_val) / hr) * ir
            float sh 
    bot_y + ((_h min_val) / hr) * ir
            float sl 
    bot_y + ((_l min_val) / hr) * ir
            float sc 
    bot_y + ((_c min_val) / hr) * ir
            
            int xp 
    end_x int(bs)
            
            
    // A) Φnce Bulutu Ηiz (Arkada kalmasύ iηin ilk bu ηizilir)
            
    if not na(_u) and not na(_d)
                
    float sy_u bot_y + ((_u min_val) / hr) * ir
                float sy_d 
    bot_y + ((_d min_val) / hr) * ir
                color cCloud 
    _dir == c_fillUp _dir == -c_fillDn c_fillRng
                
    array.push(kutu_bulutbox.new(xp box_wsy_uxp box_wsy_dborder_color=nabgcolor=cCloud))
            
            
    // B) Sonra Mumu Ηiz (άste biner)
            
    color col _c >= _o c_up c_down
            
    array.push(cizgi_mumline.new(xpshxpslcolor=col))
            
            
    float box_top math.max(sosc)
            
    float box_bot math.min(sosc)
            if 
    box_top == box_bot
                
    // Mum doji ise ηizgi ηek
                
    array.push(cizgi_mumline.new(xp 1box_topxp 1box_botcolor=colwidth=2))
            else
                
    // Normal mum gφvdesi
                
    array.push(kutu_mumbox.new(xp 1box_topxp 1box_botborder_color=colbgcolor=col)) 
    16.07.2024 - 10.12.2024

Sayfa 414/418 έlkέlk ... 314364404412413414415416 ... 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
  •