Artan
Azalan
Ýþlem
BIST 30
BIST 50
BIST 100
NASDAQ 100
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
5,83 10% 1,06 Mr 5,49 / 5,83
11,99 10% 336,27 Mn 10,90 / 11,99
124,30 10% 112,66 Mn 116,00 / 124,30
35,42 10% 122,32 Mn 32,38 / 35,42
6,93 10% 401,38 Mn 5,67 / 6,93
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
1.170,00 -10% 101,24 Mn 1.170,00 / 1.290,00
481,50 -10% 434,72 Mn 481,50 / 532,00
43,74 -10% 96,29 Mn 43,74 / 48,36
6,48 -10% 126,65 Mn 6,48 / 7,28
17,10 -10% 1,93 Mr 17,10 / 19,25
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
121,30 -5.53% 24,17 Mr 121,30 / 136,30
3,20 1.27% 16,88 Mr 3,16 / 3,29
425,50 2.65% 16,34 Mr 415,50 / 434,25
264,00 3.63% 10,28 Mr 252,00 / 264,00
314,50 -0.4% 9,53 Mr 313,00 / 317,75
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
18,61 -1.27% 555,50 Mn 18,41 / 19,11
73,70 -2.96% 8,42 Mr 73,65 / 76,90
425,50 2.65% 16,34 Mr 415,50 / 434,25
264,00 3.63% 10,28 Mr 252,00 / 264,00
727,00 -0.41% 2,16 Mr 721,50 / 739,00
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
18,61 -1.27% 555,50 Mn 18,41 / 19,11
73,70 -2.96% 8,42 Mr 73,65 / 76,90
97,15 1.09% 607,34 Mn 95,70 / 98,05
112,30 -2.43% 247,63 Mn 111,80 / 115,70
425,50 2.65% 16,34 Mr 415,50 / 434,25
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
18,61 -1.27% 555,50 Mn 18,41 / 19,11
30,92 2.59% 121,66 Mn 30,22 / 30,98
73,70 -2.96% 8,42 Mr 73,65 / 76,90
10,22 -0.68% 218,42 Mn 10,22 / 10,44
83,15 0.12% 582,64 Mn 82,70 / 85,15

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 403/404 ÝlkÝlk ... 303353393401402403404 SonSon
Arama sonucu : 3229 madde; 3,217 - 3,224 arasý.

Konu: Tradingview

  1. ai kullanarak...200 satýrla hesaplamaya çalýþtýðýmýz þeyi...

    bilen.... tek satýrla yapýyor....

    istediði uzunluktaki...hma alýp... bunun medyanýný hesaplatýp.... istediði uzunlukla prüzü alýyor....

    sonuç böyle gözüküyor.... https://www.tradingview.com/x/BTt577LA/ hem de gecikmesiz....
    16.07.2024 - 10.12.2024

  2. deneme... istemediðiniz yeri silin... istediðiniz deðeri kullanýn...

    PHP Code:
    // © Kinetik Komuta Merkezi [V15 - Hibrit Güvenli Bölge (8-34 PT) Entegrasyonu]
    //@version=6
    indicator("Kinetik Komuta Merkezi [V15]"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(20"Hýzlý Motor (Zemin 1)"group=group_motor)
    int len_slow input.int(50"Yavaþ Motor (Zemin 2)"group=group_motor)

    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(8"PT Hýzlý (EMA)"group=group_pt)
    int pt_sma_len input.int(34"PT Yavaþ (SMA)"group=group_pt)
    int pt_consec_low input.int(10"Minimum Mum (Low > EMA)"group=group_pt)
    int pt_consec_ema input.int(5"Minimum Mum (EMA > SMA)"group=group_pt)

    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(#787b86, "Flat (Bulut Ýçi)", group=group_kin)

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

    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(525600"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(15"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_fastcolor=color.whitelinewidth=1title="Hýzlý Zemin"display=display.pane)
    p_slow plot(mid_slowcolor=color.new(color.white50), linewidth=1title="Yavaþ Zemin"display=display.pane)
    fill(p_fastp_slowis_bull_trend col_cloud_up col_cloud_dntitle="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=col_up1width=2style=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=col_dn1width=2style=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)     
    float s4 ta.sar(0.00.00010.02)    
    float s5 ta.sar(0.0010.000010.02

    plot(s3"1 (SAR Mavi)"color=color.new(#040cfb, 0), linewidth=1, style=plot.style_cross, display=display.pane)
    plot(s4"2 (SAR Sarý)"color=color.new(color.yellow0), linewidth=1style=plot.style_crossdisplay=display.pane)
    plot(s5"3 (SAR Fuþya)"color=color.new(color.fuchsia0), linewidth=1style=plot.style_crossdisplay=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(023011820) : color.rgb(255236820)

    plotshape(trigger matchVal na"3'lü SAR Elmasý"shape.diamondlocation.absolutecolor=diamondColorsize=size.smalldisplay=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"1σ Hedef\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"1σ Hedef\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 
    := -1nextsar := epep := src_laf := _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 
    := 1nextsar := epep := src_haf := _start
            sar_val 
    := nextsar
        
    [sar_valtrend]

    bool yeni_gun ta.change(time("D")) != 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>()

    if 
    not na(ph_ayna)
        
    line w_up line.new(bar_index[pivot_len], ph_aynabar_indexph_aynacolor=col_up1width=2style=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=2style=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 Ýzi"color=color.new(color.gray80), linewidth=1display=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 6. MOTOR: MUM ANATOMÝSÝ VE HACÝM DELTASI (RÖNTGEN)
    // ─────────────────────────────────────────────────────────────────
    float tr_val ta.tr(true)
    float priceRange math.max(tr_valsyminfo.mintick)

    float body close open
    float bodySize 
    math.abs(body)
    float upperWick high math.max(openclose)
    float lowerWick math.min(openclose) - low

    float totalCandle 
    bodySize upperWick lowerWick
    totalCandle 
    := totalCandle == syminfo.mintick totalCandle

    float bodyRatio 
    body priceRange
    float wickBuy 
    lowerWick totalCandle
    float wickSell 
    upperWick totalCandle
    float closePos 
    = (close low) / priceRange

    float buyStrength 
    = (closePos 0.6) + (wickBuy 0.25) + (bodyRatio bodyRatio 0.35 0)
    float sellStrength = ((closePos) * 0.6) + (wickSell 0.25) + (bodyRatio ? -bodyRatio 0.35 0)

    float estBuyVol volume buyStrength
    float estSellVol 
    volume sellStrength
    float normTotal 
    estBuyVol estSellVol

    estBuyVol  
    := normTotal volume * (estBuyVol normTotal) : 0
    estSellVol 
    := normTotal volume * (estSellVol normTotal) : 0

    float deltaPct 
    normTotal ? ((estBuyVol estSellVol) / normTotal) * 100 0

    string deltaStatus 
    deltaPct >= 65 "Balina Alýmý" deltaPct >= 20 "Güçlü Alým" deltaPct <= -65 "Balina Satýþý" deltaPct <= -20 "Güçlü Satýþ" "Nötr / Dengeli"
    color deltaCol deltaPct >= 65 color.new(#00e676, 0) : deltaPct >= 20 ? color.new(#26a69a, 0) : deltaPct <= -65 ? color.new(#ff1744, 0) : deltaPct <= -20 ? color.new(#ef5350, 0) : color.new(#787b86, 0)

    // ─────────────────────────────────────────────────────────────────
    // 7. MOTOR: GÜVENLÝ BÖLGE (8-34 POWER TREND FÝLTRESÝ)
    // ─────────────────────────────────────────────────────────────────
    float ema_pt ta.ema(closept_ema_len)
    float sma_pt ta.sma(closept_sma_len)

    bool lowAboveEMA na(low) or (low == close) ? close ema_pt low ema_pt
    bool emaAboveSMA 
    ema_pt sma_pt
    bool smaUp       
    sma_pt sma_pt[1]
    bool barUp       na(open) or (open == close) ? (close close[1]) : (close open)

    var 
    int consecLow 0
    consecLow 
    := lowAboveEMA nz(consecLow[1]) + 0

    var int consecEMA 0
    consecEMA 
    := emaAboveSMA nz(consecEMA[1]) + 0

    bool onConditions 
    consecLow >= pt_consec_low and consecEMA >= pt_consec_ema and smaUp and barUp
    bool offCross 
    ta.crossunder(ema_ptsma_pt)

    var 
    bool ptOn false
    if offCross
        ptOn 
    := false
    else if onConditions
        ptOn 
    := true

    bgcolor
    (show_pt_bg and ptOn color.new(color.green88) : natitle="Güvenli Bölge Arka Planý")

    // ─────────────────────────────────────────────────────────────────
    // 8. 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(pos412border_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
        table
    .cell(dash00"KÝNETÝK KOMUTA MERKEZÝ"text_color=color.whitetext_halign=text.align_centerbgcolor=color.new(#2962ff, 50), text_size=size.small)
        
    table.merge_cells(dash0030)
        
        
    table.cell(dash01"Fiyat | Hýz | Atalet"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.aquatext_size=size.smalltext_halign=text.align_center)
        
    table.cell(dash31str.tostring(mid_slowformat.mintick), text_color=color.orangetext_size=size.smalltext_halign=text.align_center)

        
    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"3 Mührü (Duvar)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash12"Boða:\n" txt_bull_sealtext_color=col_up1text_size=size.small)
        
    table.cell(dash22"Ayý:\n" txt_bear_sealtext_color=col_dn1text_size=size.small)
        
    table.merge_cells(dash2232)

        
    table.cell(dash03"Boða 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)

        
    table.cell(dash04"Ayý 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)

        
    table.cell(dash05"3'lü SAR"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)

        
    table.cell(dash06"SAR (Mavi-Sarý-Fuþya)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash16str.tostring(s3format.mintick), text_color=color.new(#040cfb, 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)

        
    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 Elmas"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)

        
    table.cell(dash08"Ayna (Gerilim)"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)

        
    table.cell(dash09"Anlýk Delta (Baský)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    string txt_delta = (deltaPct "+" "") + str.tostring(deltaPct"#.0") + "% (" deltaStatus ")"
        
    table.cell(dash19txt_deltatext_color=deltaColtext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1939)

        
    // YENÝ GÜNCELLEME: Güvenli Bölge Durumu
        
    table.cell(dash010"Güvenli Bölge (PT)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    string txt_pt ptOn "AKTÝF (Trend Onaylý)" "BEKLEMEDE"
        
    color col_pt ptOn color.new(#00e676, 0) : color.new(#787b86, 0)
        
    table.cell(dash110txt_pttext_color=col_pttext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash110310)

        
    table.cell(dash011"(AÝ) Eðitim çalýþmasýdýr. Yatýrým tavsiyesi DEÐÝLDÝR."text_color=color.new(color.gray50), text_size=size.tiny)
        
    table.merge_cells(dash011311
    16.07.2024 - 10.12.2024

  3. deneme...aynalý kanal...
    PHP Code:
    // © Kinetik Komuta Merkezi [V17 - Kuantum Risk Motoru & Dinamik Lot]
    //@version=6
    indicator("Kinetik Komuta Merkezi [V17]"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_risk "Kuantum Risk Motoru (Kasa)"
    float acc_size input.float(1000.0"Kasa Büyüklüðü ($)"group=group_risk)
    float risk_pct input.float(1.0"Ýþlem Baþý Risk (%)"group=group_risk)
    float val_point input.float(1.0"1 Puan Çarpaný (Kripto=1)"group=group_risk)

    group_motor "Çift Motor & Bulut"
    int len_fast input.int(20"Hýzlý Motor (Zemin 1)"group=group_motor)
    int len_slow input.int(50"Yavaþ Motor (Zemin 2)"group=group_motor)

    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(8"PT Hýzlý (EMA)"group=group_pt)
    int pt_sma_len input.int(34"PT Yavaþ (SMA)"group=group_pt)

    group_ayna "Kinetik Ayna Kanalý"
    int pivot_len input.int(15"Kanal Hassasiyeti (Pivot Uzunluðu)"group=group_ayna)
    int max_pivots input.int(5"Baðlanacak Pivot Sayýsý (Geriye Dönük)"minval=2maxval=20group=group_ayna)
    float h_start input.float(0.06"Ayna SAR Baþlangýç"group=group_ayna)
    float h_inc   input.float(0.06"Ayna SAR Ývme"group=group_ayna)
    float h_max   input.float(0.30"Ayna SAR Max"group=group_ayna)

    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(#787b86, "Flat (Bulut Ýçi)", group=group_kin)

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

    // ─────────────────────────────────────────────────────────────────
    // 1. MOTOR: ÇÝFT ZEMÝN (KÝNETÝK BULUT)
    // ─────────────────────────────────────────────────────────────────
    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_fastcolor=color.whitelinewidth=1title="Hýzlý Zemin"display=display.pane)
    p_slow plot(mid_slowcolor=color.new(color.white50), linewidth=1title="Yavaþ Zemin"display=display.pane)
    fill(p_fastp_slowis_bull_trend col_cloud_up col_cloud_dntitle="Kinetik Bulut")

    color bar_col close math.max(mid_fastmid_slow) ? col_up1 close math.min(mid_fastmid_slow) ? col_dn1 col_flat
    barcolor
    (bar_col)

    // ─────────────────────────────────────────────────────────────────
    // 2. MOTOR: 3'LÜ SAR (1-2-3 HEDEFLERÝ)
    // ─────────────────────────────────────────────────────────────────
    float s1 ta.sar(0.020.020.2), s2 ta.sar(0.010.010.1), s3 ta.sar(0.0050.0050.05)

    float t_up1 ta.hma(close math.abs(close s1), 10)
    float t_up2 ta.hma(close math.abs(close s2), 10)
    float t_up3 ta.hma(close math.abs(close s3), 10)

    float t_dn1 ta.hma(close math.abs(close s1), 10)
    float t_dn2 ta.hma(close math.abs(close s2), 10)
    float t_dn3 ta.hma(close math.abs(close s3), 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

    plotchar
    (hit_u1title="1"char="1"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)
    plotchar(hit_u2title="2"char="2"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)
    plotchar(hit_u3title="3"char="3"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)

    plotchar(hit_d1title="1"char="1"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)
    plotchar(hit_d2title="2"char="2"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)
    plotchar(hit_d3title="3"char="3"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 3. MOTOR: EÐÝMLÝ AYNA TREND KANALI (MAKRO HAFIZA)
    // ─────────────────────────────────────────────────────────────────
    f_sar(hl_s_i_m_r) =>
        var 
    int t 0, var float s 0.0, var float e 0.0, var float a 0.0
        
    if == and not na(h[1])
            
    := >= h[1] or >= l[1] ? : -1:= l[1] : h[1], := h[1] : l[1], := _s
        
    else
            if 
    _r
                a 
    := _s
            
    if 0
                
    if h[1] > e
                    e 
    := h[1], := math.min(_m_i)
                
    := math.min(math.min(l[1], l[2]), * (s))
                if 
    l
                    t 
    := -1:= e:= l:= _s
            
    else
                if 
    l[1] < e
                    e 
    := l[1], := math.min(_m_i)
                
    := math.max(math.max(h[1], h[2]), * (s))
                if 
    h
                    t 
    := 1:= e:= h:= _s
        
    [st]

    [
    aynaSARaynaTr] = f_sar(highlowh_starth_inch_maxta.change(time("D")) != 0)
    float aynaVal aynaTr close math.abs(close aynaSAR) : close math.abs(close aynaSAR)
    plot(aynaVal"Ayna Ýzi"color.new(color.gray85), display=display.pane)

    float ph ta.pivothigh(aynaValpivot_lenpivot_len)
    float pl ta.pivotlow(aynaValpivot_lenpivot_len)

    var array<
    intph_x = array.new<int>(), var array<floatph_y = array.new<float>()
    var array<
    intpl_x = array.new<int>(), var array<floatpl_y = array.new<float>()
    var 
    float lastPHP 0.0, var float lastPLP 0.0

    if not na(ph)
        
    lastPHP := ph
        
    array.unshift(ph_xbar_index[pivot_len]), array.unshift(ph_yph)
        if array.
    size(ph_x) > max_pivots
            
    array.pop(ph_x), array.pop(ph_y)

    if 
    not na(pl)
        
    lastPLP := pl
        
    array.unshift(pl_xbar_index[pivot_len]), array.unshift(pl_ypl)
        if array.
    size(pl_x) > max_pivots
            
    array.pop(pl_x), array.pop(pl_y)

    var 
    line topTrend na, var line botTrend na
    if array.size(ph_x) >= max_pivots
        line
    .delete(topTrend)
        
    topTrend := line.new(array.get(ph_xmax_pivots 1), array.get(ph_ymax_pivots 1), array.get(ph_x0), array.get(ph_y0), color=col_up1width=2style=line.style_dottedextend=extend.right)

    if array.
    size(pl_x) >= max_pivots
        line
    .delete(botTrend)
        
    botTrend := line.new(array.get(pl_xmax_pivots 1), array.get(pl_ymax_pivots 1), array.get(pl_x0), array.get(pl_y0), color=col_dn1width=2style=line.style_dottedextend=extend.right)

    // ─────────────────────────────────────────────────────────────────
    // 4. MOTOR: 5'LÝ SAR, ELMAS TETÝK VE RÝSK/LOT HESAPLAYICI
    // ─────────────────────────────────────────────────────────────────
    float sarMavi ta.sar(0.00.0030.02), sarSari ta.sar(0.00.00010.02), sarFusya ta.sar(0.0010.000010.02)
    plot(sarMavi"Mavi SAR"color.new(#040cfb, 0), 1, plot.style_cross, display=display.pane)
    plot(sarSari"Sarý SAR"color.new(color.yellow0), 1plot.style_crossdisplay=display.pane)
    plot(sarFusya"Fuþya SAR"color.new(color.fuchsia0), 1plot.style_crossdisplay=display.pane)

    isEq(v1v2) => math.abs(v1 v2) <= syminfo.mintick
    isEq3
    (v1v2v3) => isEq(v1v2) and isEq(v1v3)
    any3 isEq3(s1s2sarMavi) or isEq3(s1s2sarSari) or isEq3(s1s2sarFusya) or isEq3(s1sarMavisarSari) or isEq3(s1sarMavisarFusya) or isEq3(s1sarSarisarFusya) or isEq3(s2sarMavisarSari) or isEq3(s2sarMavisarFusya) or isEq3(s2sarSarisarFusya) or isEq3(sarMavisarSarisarFusya)

    float mVal isEq3(s1s2sarMavi) ? s1 sarMavi
    trigger 
    any3 and not any3[1]
    isSupp close mVal
    plotshape
    (trigger mVal na"Elmas"shape.diamondlocation.absoluteisSupp col_up1 col_dn1size=size.smalldisplay=display.pane)

    var 
    float last_d_pr na, var int last_d_dir 0
    var float trade_entry na, var float trade_stop na, var float trade_lot na

    if trigger
        last_d_pr 
    := mVal
        last_d_dir 
    := isSupp : -1
        
    // Kuantum Risk Hesaplayýcý Tetiklenir
        
    trade_entry := close
        trade_stop 
    := isSupp ? (lastPLP lastPLP low) : (lastPHP lastPHP high)
        
    float risk_dist math.abs(trade_entry trade_stop)
        
    trade_lot := risk_dist ? (acc_size * (risk_pct 100)) / (risk_dist val_point) : na

    // ─────────────────────────────────────────────────────────────────
    // 5. 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 >= 10 and emaPT smaPT true ptOn)
    bgcolor(show_pt_bg and ptOn color.new(color.green88) : natitle="Güvenli Bölge Arka Planý")

    // ─────────────────────────────────────────────────────────────────
    // 6. GÖRSEL TERMÝNAL (DASHBOARD) - YENÝ RÝSK/LOT MODÜLÜ ÝLE
    // ─────────────────────────────────────────────────────────────────
    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(pos413bgcolor=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"KÝNETÝK KOMUTA MERKEZÝ"bgcolor=color.new(#2962ff, 50), text_color=color.white, text_size=size.small, text_halign=text.align_center)
        
    table.merge_cells(dash0030)
        
        
    table.cell(dash01"Fiyat | Hýz | Atalet"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.aquatext_size=size.smalltext_halign=text.align_center)
        
    table.cell(dash31str.tostring(mid_slowformat.mintick), text_color=color.orangetext_size=size.smalltext_halign=text.align_center)

        
    table.cell(dash02"Boða 1-2-3"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash12str.tostring(t_up1format.mintick), text_color=col_up1text_size=size.small)
        
    table.cell(dash22str.tostring(t_up2format.mintick), text_color=col_up1text_size=size.small)
        
    table.cell(dash32str.tostring(t_up3format.mintick), text_color=col_up1text_size=size.small)

        
    table.cell(dash03"Ayý 1-2-3"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash13str.tostring(t_dn1format.mintick), text_color=col_dn1text_size=size.small)
        
    table.cell(dash23str.tostring(t_dn2format.mintick), text_color=col_dn1text_size=size.small)
        
    table.cell(dash33str.tostring(t_dn3format.mintick), text_color=col_dn1text_size=size.small)

        
    table.cell(dash04"3'lü SAR"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash14str.tostring(s1format.mintick), text_color=color.silvertext_size=size.small)
        
    table.cell(dash24str.tostring(s2format.mintick), text_color=color.silvertext_size=size.small)
        
    table.cell(dash34str.tostring(s3format.mintick), text_color=color.silvertext_size=size.small)

        
    table.cell(dash05"SAR (Mavi-Sarý-Fuþya)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash15str.tostring(sarMaviformat.mintick), text_color=color.new(#040cfb, 0), text_size=size.small)
        
    table.cell(dash25str.tostring(sarSariformat.mintick), text_color=color.new(color.yellow0), text_size=size.small)
        
    table.cell(dash35str.tostring(sarFusyaformat.mintick), text_color=color.new(color.fuchsia0), text_size=size.small)

        
    string txt_elmas na(last_d_pr) ? "-" str.tostring(last_d_prformat.mintick)
        
    color col_elmas last_d_dir == col_up1 last_d_dir == -col_dn1 color.gray
        table
    .cell(dash06"Son Elmas"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash16txt_elmastext_color=col_elmastext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1636)

        
    table.cell(dash07"Ayna (Gerilim)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash17str.tostring(aynaValformat.mintick), text_color=color.new(#d500f9, 0), text_size=size.small, text_halign=text.align_center)
        
    table.merge_cells(dash1737)

        
    table.cell(dash08"Güvenli Bölge (PT)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash18ptOn "AKTÝF" "BEKLEMEDE"text_color=ptOn col_up1 color.graytext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1838)

        
    // YENÝ: Kuantum Risk / Lot Hesaplayýcý (Sadece Elmas Yandýðýnda Güncellenir)
        
    table.cell(dash09"Plan (Giriþ | Stop)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    string txt_plan na(trade_entry) ? "-" str.tostring(trade_entryformat.mintick) + " | " str.tostring(trade_stopformat.mintick)
        
    table.cell(dash19txt_plantext_color=color.silvertext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1939)

        
    table.cell(dash010"Önerilen Lot Miktarý"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    string txt_lot na(trade_lot) ? "-" str.tostring(trade_lot"#.####")
        
    table.cell(dash110txt_lottext_color=color.new(color.yellow0), text_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash110310)

        
    table.cell(dash011"(AÝ) Eðitim çalýþmasýdýr. Yatýrým tavsiyesi DEÐÝLDÝR."text_color=color.new(color.gray50), text_size=size.tiny)
        
    table.merge_cells(dash011311
    16.07.2024 - 10.12.2024

  4. deneme...
    PHP Code:
    // © Kinetik Komuta Merkezi [V16.2 - Makro Pivot Kanalý (Son 5 Tepe/Dip)]
    //@version=6
    indicator("Kinetik Komuta Merkezi [V16.2]"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(20"Hýzlý Motor (Zemin 1)"group=group_motor)
    int len_slow input.int(50"Yavaþ Motor (Zemin 2)"group=group_motor)

    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(8"PT Hýzlý (EMA)"group=group_pt)
    int pt_sma_len input.int(34"PT Yavaþ (SMA)"group=group_pt)

    group_ayna "Kinetik Ayna Kanalý"
    int pivot_len input.int(15"Kanal Hassasiyeti (Pivot Uzunluðu)"group=group_ayna)
    int max_pivots input.int(5"Baðlanacak Pivot Sayýsý (Geriye Dönük)"minval=2maxval=20group=group_ayna)
    float h_start input.float(0.06"Ayna SAR Baþlangýç"group=group_ayna)
    float h_inc   input.float(0.06"Ayna SAR Ývme"group=group_ayna)
    float h_max   input.float(0.30"Ayna SAR Max"group=group_ayna)

    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(#787b86, "Flat (Bulut Ýçi)", group=group_kin)

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

    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(525600"Yýllýk Mum (1dk)"group=group_stat)

    // ─────────────────────────────────────────────────────────────────
    // 1. MOTOR: ÇÝFT ZEMÝN (KÝNETÝK BULUT)
    // ─────────────────────────────────────────────────────────────────
    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_fastcolor=color.whitelinewidth=1title="Hýzlý Zemin"display=display.pane)
    p_slow plot(mid_slowcolor=color.new(color.white50), linewidth=1title="Yavaþ Zemin"display=display.pane)
    fill(p_fastp_slowis_bull_trend col_cloud_up col_cloud_dntitle="Kinetik Bulut")

    color bar_col close math.max(mid_fastmid_slow) ? col_up1 close math.min(mid_fastmid_slow) ? col_dn1 col_flat
    barcolor
    (bar_col)

    // ─────────────────────────────────────────────────────────────────
    // 2. MOTOR: 3'LÜ SAR (1-2-3 HEDEFLERÝ)
    // ─────────────────────────────────────────────────────────────────
    float s1 ta.sar(0.020.020.2), s2 ta.sar(0.010.010.1), s3 ta.sar(0.0050.0050.05)

    float t_up1 ta.hma(close math.abs(close s1), 10)
    float t_up2 ta.hma(close math.abs(close s2), 10)
    float t_up3 ta.hma(close math.abs(close s3), 10)

    float t_dn1 ta.hma(close math.abs(close s1), 10)
    float t_dn2 ta.hma(close math.abs(close s2), 10)
    float t_dn3 ta.hma(close math.abs(close s3), 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

    plotchar
    (hit_u1title="1"char="1"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)
    plotchar(hit_u2title="2"char="2"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)
    plotchar(hit_u3title="3"char="3"location=location.abovebarcolor=col_up1size=size.tinydisplay=display.pane)

    plotchar(hit_d1title="1"char="1"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)
    plotchar(hit_d2title="2"char="2"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)
    plotchar(hit_d3title="3"char="3"location=location.belowbarcolor=col_dn1size=size.tinydisplay=display.pane)

    // ─────────────────────────────────────────────────────────────────
    // 3. MOTOR: 5'LÝ SAR VE ELMAS TETÝK
    // ─────────────────────────────────────────────────────────────────
    float sarMavi ta.sar(0.00.0030.02), sarSari ta.sar(0.00.00010.02), sarFusya ta.sar(0.0010.000010.02)

    plot(sarMavi"Mavi SAR"color.new(#040cfb, 0), 1, plot.style_cross, display=display.pane)
    plot(sarSari"Sarý SAR"color.new(color.yellow0), 1plot.style_crossdisplay=display.pane)
    plot(sarFusya"Fuþya SAR"color.new(color.fuchsia0), 1plot.style_crossdisplay=display.pane)

    isEq(v1v2) => math.abs(v1 v2) <= syminfo.mintick
    isEq3
    (v1v2v3) => isEq(v1v2) and isEq(v1v3)
    any3 isEq3(s1s2sarMavi) or isEq3(s1s2sarSari) or isEq3(s1s2sarFusya) or isEq3(s1sarMavisarSari) or isEq3(s1sarMavisarFusya) or isEq3(s1sarSarisarFusya) or isEq3(s2sarMavisarSari) or isEq3(s2sarMavisarFusya) or isEq3(s2sarSarisarFusya) or isEq3(sarMavisarSarisarFusya)

    float mVal isEq3(s1s2sarMavi) ? s1 sarMavi
    trigger 
    any3 and not any3[1]
    isSupp close mVal
    plotshape
    (trigger mVal na"Elmas"shape.diamondlocation.absoluteisSupp col_up1 col_dn1size=size.smalldisplay=display.pane)

    var 
    float last_d_pr na, var int last_d_dir 0
    if trigger
        last_d_pr 
    := mVallast_d_dir := isSupp : -1

    // ─────────────────────────────────────────────────────────────────
    // 4. MOTOR: ÝSTATÝSTÝKSEL VOLATÝLÝTE (1σ)
    // ─────────────────────────────────────────────────────────────────
    float rawV ta.stdev(math.log(close nz(close[1], close)), volLength) * math.sqrt(barsPerYear)
    coneP(basevoltdir) => base math.exp(dir 1.0 vol math.sqrt(barsPerYear))

    var 
    label sigLbl na, var line sigLn na
    if barstate.islast
        label
    .delete(sigLbl), line.delete(sigLn)
        
    float target is_bull_trend coneP(closerawVprojBars1) : coneP(closerawVprojBars, -1)
        
    sigLbl := label.new(bar_index projBarstarget"1σ Hedef\n" str.tostring(targetformat.mintick), color=color.new(is_bull_trend?col_up1:col_dn180), textcolor=is_bull_trend?col_up1:col_dn1style=label.style_label_leftsize=size.small)
        
    sigLn := line.new(bar_indexclosebar_index projBarstargetcolor=color.new(is_bull_trend?col_up1:col_dn150), style=line.style_dotted)

    // ─────────────────────────────────────────────────────────────────
    // 5. MOTOR: EÐÝMLÝ AYNA TREND KANALI (MAKRO HAFIZA)
    // ─────────────────────────────────────────────────────────────────
    f_sar(hl_s_i_m_r) =>
        var 
    int t 0, var float s 0.0, var float e 0.0, var float a 0.0
        
    if == and not na(h[1])
            
    := >= h[1] or >= l[1] ? : -1:= l[1] : h[1], := h[1] : l[1], := _s
        
    else
            if 
    _r
                a 
    := _s
            
    if 0
                
    if h[1] > e
                    e 
    := h[1], := math.min(_m_i)
                
    := math.min(math.min(l[1], l[2]), * (s))
                if 
    l
                    t 
    := -1:= e:= l:= _s
            
    else
                if 
    l[1] < e
                    e 
    := l[1], := math.min(_m_i)
                
    := math.max(math.max(h[1], h[2]), * (s))
                if 
    h
                    t 
    := 1:= e:= h:= _s
        
    [st]

    [
    aynaSARaynaTr] = f_sar(highlowh_starth_inch_maxta.change(time("D")) != 0)
    float aynaVal aynaTr close math.abs(close aynaSAR) : close math.abs(close aynaSAR)
    plot(aynaVal"Ayna Ýzi"color.new(color.gray85), display=display.pane)

    float ph ta.pivothigh(aynaValpivot_lenpivot_len)
    float pl ta.pivotlow(aynaValpivot_lenpivot_len)

    // Dinamik Diziler (Geçmiþ pivotlarý hafýzada tutmak için)
    var array<intph_x = array.new<int>()
    var array<
    floatph_y = array.new<float>()
    var array<
    intpl_x = array.new<int>()
    var array<
    floatpl_y = array.new<float>()

    if 
    not na(ph)
        array.
    unshift(ph_xbar_index[pivot_len])
        array.
    unshift(ph_yph)
        if array.
    size(ph_x) > max_pivots
            
    array.pop(ph_x)
            array.
    pop(ph_y)

    if 
    not na(pl)
        array.
    unshift(pl_xbar_index[pivot_len])
        array.
    unshift(pl_ypl)
        if array.
    size(pl_x) > max_pivots
            
    array.pop(pl_x)
            array.
    pop(pl_y)

    var 
    line topTrend na
    var line botTrend na

    // Son 5 (veya ayarlanan sayýdaki) tepeyi baðlar
    if array.size(ph_x) >= max_pivots
        line
    .delete(topTrend)
        
    topTrend := line.new(array.get(ph_xmax_pivots 1), array.get(ph_ymax_pivots 1), array.get(ph_x0), array.get(ph_y0), color=col_up1width=2style=line.style_dottedextend=extend.right)

    // Son 5 (veya ayarlanan sayýdaki) dibi baðlar
    if array.size(pl_x) >= max_pivots
        line
    .delete(botTrend)
        
    botTrend := line.new(array.get(pl_xmax_pivots 1), array.get(pl_ymax_pivots 1), array.get(pl_x0), array.get(pl_y0), color=col_dn1width=2style=line.style_dottedextend=extend.right)

    // ─────────────────────────────────────────────────────────────────
    // 6. 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 >= 10 and emaPT smaPT true ptOn)
    bgcolor(show_pt_bg and ptOn color.new(color.green88) : natitle="Güvenli Bölge Arka Planý")

    // ─────────────────────────────────────────────────────────────────
    // 7. GÖRSEL 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(pos410bgcolor=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"KÝNETÝK KOMUTA MERKEZÝ"bgcolor=color.new(#2962ff, 50), text_color=color.white, text_size=size.small, text_halign=text.align_center)
        
    table.merge_cells(dash0030)
        
        
    table.cell(dash01"Fiyat | Hýz | Atalet"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.aquatext_size=size.smalltext_halign=text.align_center)
        
    table.cell(dash31str.tostring(mid_slowformat.mintick), text_color=color.orangetext_size=size.smalltext_halign=text.align_center)

        
    table.cell(dash02"Boða 1-2-3"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash12str.tostring(t_up1format.mintick), text_color=col_up1text_size=size.small)
        
    table.cell(dash22str.tostring(t_up2format.mintick), text_color=col_up1text_size=size.small)
        
    table.cell(dash32str.tostring(t_up3format.mintick), text_color=col_up1text_size=size.small)

        
    table.cell(dash03"Ayý 1-2-3"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash13str.tostring(t_dn1format.mintick), text_color=col_dn1text_size=size.small)
        
    table.cell(dash23str.tostring(t_dn2format.mintick), text_color=col_dn1text_size=size.small)
        
    table.cell(dash33str.tostring(t_dn3format.mintick), text_color=col_dn1text_size=size.small)

        
    table.cell(dash04"3'lü SAR"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash14str.tostring(s1format.mintick), text_color=color.silvertext_size=size.small)
        
    table.cell(dash24str.tostring(s2format.mintick), text_color=color.silvertext_size=size.small)
        
    table.cell(dash34str.tostring(s3format.mintick), text_color=color.silvertext_size=size.small)

        
    table.cell(dash05"SAR (Mavi-Sarý-Fuþya)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash15str.tostring(sarMaviformat.mintick), text_color=color.new(#040cfb, 0), text_size=size.small)
        
    table.cell(dash25str.tostring(sarSariformat.mintick), text_color=color.new(color.yellow0), text_size=size.small)
        
    table.cell(dash35str.tostring(sarFusyaformat.mintick), text_color=color.new(color.fuchsia0), text_size=size.small)

        
    string txt_elmas na(last_d_pr) ? "-" str.tostring(last_d_prformat.mintick)
        
    color col_elmas last_d_dir == col_up1 last_d_dir == -col_dn1 color.gray
        table
    .cell(dash06"Son Elmas"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash16txt_elmastext_color=col_elmastext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1636)

        
    table.cell(dash07"Ayna (Gerilim)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash17str.tostring(aynaValformat.mintick), text_color=color.new(#d500f9, 0), text_size=size.small, text_halign=text.align_center)
        
    table.merge_cells(dash1737)

        
    table.cell(dash08"Güvenli Bölge (PT)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(dash18ptOn "AKTÝF" "BEKLEMEDE"text_color=ptOn col_up1 color.graytext_size=size.smalltext_halign=text.align_center)
        
    table.merge_cells(dash1838)

        
    table.cell(dash09"(AÝ) Eðitim çalýþmasýdýr. Yatýrým tavsiyesi DEÐÝLDÝR."text_color=color.new(color.gray50), text_size=size.tiny)
        
    table.merge_cells(dash0939
    16.07.2024 - 10.12.2024

  5. https://tr.tradingview.com/v/6YcVIGsL/ kod 1607 satýr...her þeyiyle....
    ama bakýldýðý an... hileli olduðunu... bilen anlar....

    yok öyle... her meta da... 2 üstü kar factor.... hem tepede sat... hem de tepeyi doðru iþaretle... repaint yap....

    kodu... promt yaptýðýnýz bir ai ye sorsanýz....

    ben sorunca....

    Backtest (Geriye Dönük Kar Çalma)
    Kodun 605 ile 620. satýrlarý arasýna inildiðinde, tarihin en büyük backtest (geçmiþ test) sahtekarlýðý yatýyor. Kodu yazan kiþi þu mantýðý kurmuþ:
    PHP Code:
    // HÝLELÝ SATIRLAR:
    bool tradeClosedThisBar = (slHit or tp3Hit) and activeDir != DIR_FLAT

    if tradeClosedThisBar and useBacktestInput
        float closedR 
    0.0
        bool isWin 
    false
        
    if tp3Hit
            closedR 
    := effTP3
            isWin   
    := true
        
    else if tp2Reached // DÝKKAT!
            
    closedR := effTP2
            isWin   
    := true
        
    else if tp1Reached // DÝKKAT!
            
    closedR := effTP1
            isWin   
    := true
        
    else
            
    closedR := -1.0
            isWin   
    := false 
    Sen iþleme girdin, fiyat TP2 (Kar Al 2) hedefine deðdi ama sen TP3'ü bekliyorsun. Sonra piyasa aniden tersine döndü, çakýldý ve senin Stop-Loss'unu (Zarar Kes) patlattý. Normalde sen bu iþlemden para kaybettin veya baþa baþ (Break-even) çýktýn, deðil mi?

    Ama bu sahtekar kod, geçmiþ test raporuna þunu yazar: "Fiyat düþmeden önce bir ara TP2'ye deðmiþti, trader kesin tam orada tüm pozisyonunu satmýþtýr. O yüzden bunu +2R KAZANÇ olarak yazýyorum!"

    Hatta kodun kendi yorum satýrýnda (595. satýr) bunu utanmadan itiraf etmiþ:
    // closedR reflects the highest TP reached, since that's where a disciplined trader would have booked at minimum. (Disiplinli bir trader zaten en yüksek noktada satardý, o yüzden en yüksek noktayý kar yazarým.)

    Canlý piyasada fiyatýn nereden döneceðini bilip en tepede %100 mal boþaltmak imkansýzdýr. Bu hile, Kar Faktörünü suni olarak þiþirip sana sistemi kusursuz gösterir.

    Mum Gecikmeli "Geleceði Görme" (Repainting Ýllüzyonu)
    Kodun 250. ve 251. satýrlarýna bakalým:
    float rawPivotHigh = ta.pivothigh(pivotLenInput, pivotLenInput)
    Buradaki pivotLenInput varsayýlan olarak 13.

    Bu fonksiyonun TradingView'daki çalýþma mantýðý þudur: Bir mumun "Tepe" (Pivot High) olabilmesi için, o mumdan sonra tam 13 tane daha düþük mum kapanmasý gerekir.
    Yani sistem sana trendin döndüðünü ve yeni bir Fib seviyesi çizilmesi gerektiðini, tepe oluþtuktan 13 mum (13 dakika) SONRA söyler. Ama ekrana o "H" (High) etiketini 13 mum Geriye (geçmiþe) basar!

    Sen grafiðe bakarsýn; "Vay canýna, indikatör tam milimetrik tepede etiket yakmýþ" dersin. Ama o etiket canlý piyasada o an orada yoktur; sen çoktan terste kalýp zarar ettikten dakikalar sonra geçmiþe boyanmýþtýr.


    her kod... denemedir.... incelemeden... test etmeden.... kod kullanýlmaz.... bu temel kuraldýr.... unutmamak gerekir....
    16.07.2024 - 10.12.2024

  6. yoksa... burada yazýlanlarýn hepsi boþuna olur....

    elbette... emek veriliyor... en azýndan kendi adýma.... boþuna uðraþmýyorum....

    kutsal kase derdim yok ki.... kendimi geliþtirmek istiyorum....

    aklýma gelen fikirleri.... deneme amaçlý... koda döküyorum (ai yapýyor)...

    belki... farklý fikirlerle.... farklý þeyler olabilir... diyerek... paylaþýyorum....

    ben fikri hür... insanlarý seviyorum....

    not... yukarda yazdýðým.... 3221 mesajda... fikri hür olan insanýn... þerhinden ibarettir....
    16.07.2024 - 10.12.2024

  7. Eline, emeðine saðlýk @yörük@ hocam.
    Karþýlýksýz yýllardýr çabalayan, üreten nadir insanlardansýn.
    "Ýyilik yap denize at balýk bilmezse halik bilir." demiþler.

    Bu sürecin en büyük katkýsý da kendi geliþimin olmuþtur tahminim.
    Bu arada yapay zeka olarak ne kullanýyorsun?

    Ben Codex ve Cursor'ýn desktop versiyonlarýný kullanýyorum.
    Kodlama için verimliler, ayrýca gerekli izinleri verirsen test et, kopyala yapýþtýr, taþý... Benzeri dertlerden de kurtarýyor.

    Kodu yazýyor, yüklüyor, test ediyor, hata alýrsa gerekli düzenlemeyi yapýp süreci yeniden baþlatabiliyorlar.

  8.  Alýntý Originally Posted by Oblo Yazýyý Oku
    Eline, emeðine saðlýk @yörük@ hocam.
    Karþýlýksýz yýllardýr çabalayan, üreten nadir insanlardansýn.
    "Ýyilik yap denize at balýk bilmezse halik bilir." demiþler.

    Bu sürecin en büyük katkýsý da kendi geliþimin olmuþtur tahminim.
    Bu arada yapay zeka olarak ne kullanýyorsun?

    Ben Codex ve Cursor'ýn desktop versiyonlarýný kullanýyorum.
    Kodlama için verimliler, ayrýca gerekli izinleri verirsen test et, kopyala yapýþtýr, taþý... Benzeri dertlerden de kurtarýyor.

    Kodu yazýyor, yüklüyor, test ediyor, hata alýrsa gerekli düzenlemeyi yapýp süreci yeniden baþlatabiliyorlar.
    Teþekkür ederim.... Oblo hocam.
    Dediðin gibi... kendimi geliþtirmeye devam...
    Gemini Pro kullanýyorum...
    Selamlar...
    16.07.2024 - 10.12.2024

Sayfa 403/404 ÝlkÝlk ... 303353393401402403404 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
  •