Hisse Fiyat Fark% Hacim (TL) Düşük / Yüksek
0,45 32.74% 659,01 Mn 0,34 / 2,00
852,50 10% 13,90 Mn 815,00 / 852,50
29,70 10% 81,86 Mn 27,24 / 29,70
38,72 10% 34,78 Mn 36,80 / 38,72
45,98 10% 2,86 Mr 42,00 / 45,98
Hisse Fiyat Fark% Hacim (TL) Düşük / Yüksek
5,76 -10% 1,01 Mr 5,76 / 6,72
99,10 -9.99% 2,74 Mr 99,10 / 111,40
34,66 -9.97% 5,42 Mr 34,66 / 41,20
63,70 -9.96% 112,89 Mn 63,70 / 72,15
11,11 -9.75% 148,66 Mn 11,11 / 12,46
Hisse Fiyat Fark% Hacim (TL) Düşük / Yüksek
318,75 4.25% 26,57 Mr 308,00 / 319,25
87,95 -3.3% 23,82 Mr 86,85 / 91,00
17,46 3.68% 15,31 Mr 16,75 / 17,53
296,75 -0.92% 15,02 Mr 291,75 / 306,50
40,96 1.59% 13,23 Mr 39,38 / 41,08
Hisse Fiyat Fark% Hacim (TL) Düşük / Yüksek
20,22 2.95% 1,70 Mr 19,86 / 20,34
87,95 -3.3% 23,82 Mr 86,85 / 91,00
296,75 -0.92% 15,02 Mr 291,75 / 306,50
155,00 0.26% 3,34 Mr 154,00 / 158,00
683,50 2.7% 8,28 Mr 670,00 / 698,50
Hisse Fiyat Fark% Hacim (TL) Düşük / Yüksek
20,22 2.95% 1,70 Mr 19,86 / 20,34
87,95 -3.3% 23,82 Mr 86,85 / 91,00
109,20 4.1% 1,30 Mr 105,10 / 110,20
118,20 2.78% 846,99 Mn 115,20 / 118,80
296,75 -0.92% 15,02 Mr 291,75 / 306,50
Hisse Fiyat Fark% Hacim (TL) Düşük / Yüksek
20,22 2.95% 1,70 Mr 19,86 / 20,34
35,10 2.51% 261,50 Mn 34,60 / 35,38
87,95 -3.3% 23,82 Mr 86,85 / 91,00
11,03 1.29% 265,48 Mn 10,89 / 11,15
73,80 1.17% 602,35 Mn 73,40 / 74,80
Sayfa 6/6 İlkİlk ... 456
Arama sonucu : 45 madde; 41 - 45 arası.

Konu: @yörük@’ün Heybesinden

  1. PHP Code:
    //@version=6
    indicator("Crescent Markov-Fusion Elite"overlay true)

    // ==================== GİRDİLER ====================
    tlm_lookback input.int(20"TLM Hassasiyeti")
    mc_period    input.int(50"Monte Carlo/Markov Periyodu")
    radius_mult  input.int(25"Hilal Menzili")
    col_high     input.color(color.new(#ff0055, 20), "Direnç Kalkanı")
    col_low      input.color(color.new(#00ffbb, 20), "Destek Kalkanı")

    // ==================== MARKOV REJİM ANALİZİ (BASİTLEŞTİRİLMİŞ) ====================
    // Fiyatın ardışık mumlardaki değişimine göre "Durum Geçiş" olasılığı hesaplar
    up_move   close close[1] ? 0
    down_move 
    close close[1] ? 0

    // Boğa ve Ayı durumlarının son periyottaki yoğunluğu (Geçiş Olasılığı)
    bull_prob ta.sma(up_movemc_period)
    bear_prob ta.sma(down_movemc_period)
    market_regime bull_prob 0.55 "Bull" bear_prob 0.55 "Bear" "Neutral"

    // ==================== TLM & MONTE CARLO MOTORU ====================
    ph ta.pivothigh(tlm_lookbacktlm_lookback)
    pl ta.pivotlow(tlm_lookbacktlm_lookback)

    returns math.log(close close[1])
    sigma   ta.stdev(returnsmc_period)
    expected_vol sigma math.sqrt(radius_mult) * 1.96

    // ==================== MARKOV ONAYLI HİLAL ÇİZİMİ ====================
    ease_out(t) => * (t)

    // Üst Hilal (Markov "Bear" veya "Neutral" iken daha güçlü)
    var polyline hi_c na
    if not na(ph) and (market_regime == "Bear" or market_regime == "Neutral")
        
    pts = array.new<chart.point>()
        for 
    0 to 20
            float t 
    20.0
            float angle 
    math.pi + (ease_out(t) * math.pi)
            
    int x int(math.round(math.cos(angle) * radius_mult)) + bar_index radius_mult
            float y 
    math.sin(angle) * (expected_vol close) + high[tlm_lookback]
            
    pts.push(chart.point.from_index(xy))
        
        
    polyline.delete(hi_c)
        
    hi_c := polyline.new(ptscurved=trueline_color=col_highline_width=4)

    // Alt Hilal (Markov "Bull" veya "Neutral" iken daha güçlü)
    var polyline lo_c na
    if not na(pl) and (market_regime == "Bull" or market_regime == "Neutral")
        
    pts = array.new<chart.point>()
        for 
    0 to 20
            float t 
    20.0
            float angle 
    = (ease_out(t) * math.pi)
            
    int x int(math.round(math.cos(angle) * radius_mult)) + bar_index radius_mult
            float y 
    math.sin(angle) * (expected_vol close) + low[tlm_lookback]
            
    pts.push(chart.point.from_index(xy))
        
        
    polyline.delete(lo_c)
        
    lo_c := polyline.new(ptscurved=trueline_color=col_lowline_width=4)

    // ==================== GÖRSELLEŞTİRME & PANEL ====================
    var table board table.new(position.top_right22bgcolor=color.new(color.black80), border_width=1)
    if 
    barstate.islast
        regime_col 
    market_regime == "Bull" color.lime market_regime == "Bear" color.red color.gray
        table
    .cell(board00"Piyasa Rejimi:"text_color=color.white)
        
    table.cell(board10market_regimetext_color=regime_col)
        
    table.cell(board01"Boğa Olasılığı:"text_color=color.white)
        
    table.cell(board11"%" str.tostring(bull_prob 100"##.#"), text_color=color.lime
    16.07.2024 - 10.12.2024

  2. PHP Code:
    //@version=6
    indicator("Hatasız Çift Hilal Sistemi"overlay true)

    // --- GİRDİLER ---
    radius_mult input.int(25"Hilal Menzili")
    pivot_len   input.int(40"Pivot Hassasiyeti")
    col_high    input.color(color.new(#ff0055, 20), "Üst Ay (Direnç)")
    col_low     input.color(color.new(#00ffbb, 20), "Alt Ay (Destek)")

    // --- HESAPLAMALAR ---
    ph ta.pivothigh(pivot_lenpivot_len)
    pl ta.pivotlow(pivot_lenpivot_len)
    atr ta.atr(14)

    // --- ÜST AY MOTORU ---
    var polyline hi_crescent na
    if not na(ph)
        
    // Noktaları dizi olarak tanımlıyoruz
        
    array<chart.pointhi_points = array.new<chart.point>()
        for 
    0 to 20
            float angle 
    math.pi + (math.pi) / 20 
            int x 
    int(math.round(math.cos(angle) * radius_mult)) + bar_index[pivot_len] + radius_mult
            float y 
    math.sin(angle) * radius_mult * (atr 0.5) + high[pivot_len]
            
    hi_points.push(chart.point.from_index(xy))
        
        
    // Eski çizimi temizle ve yenisini ekle
        
    if not na(hi_crescent)
            
    polyline.delete(hi_crescent)
        
    hi_crescent := polyline.new(hi_pointscurved=trueline_color=col_highline_width=2)

    // --- ALT AY MOTORU ---
    var polyline lo_crescent na
    if not na(pl)
        array<
    chart.pointlo_points = array.new<chart.point>()
        for 
    0 to 20
            float angle 
    = (math.pi) / 20
            int x 
    int(math.round(math.cos(angle) * radius_mult)) + bar_index[pivot_len] + radius_mult
            float y 
    math.sin(angle) * radius_mult * (atr 0.5) + low[pivot_len]
            
    lo_points.push(chart.point.from_index(xy))
        
        if 
    not na(lo_crescent)
            
    polyline.delete(lo_crescent)
        
    lo_crescent := polyline.new(lo_pointscurved=trueline_color=col_lowline_width=2)

    // --- GÖRSEL İŞARETLER ---
    //plot(ph ? high[pivot_len] : na, "Üst Merkez", color.red, 4, plot.style_cross, offset=-pivot_len)
    //plot(pl ? low[pivot_len] : na, "Alt Merkez", color.lime, 4, plot.style_cross, offset=-pivot_len) 
    16.07.2024 - 10.12.2024

  3. PHP Code:
    //@version=6
    indicator("Crescent Monte Carlo Fusion"overlay true)

    // ==================== GİRDİLER ====================
    vpc_len     input.int(20"VPC/Hacim Periyodu")
    mc_period   input.int(50"Monte Carlo Simülasyon Periyodu")
    radius_mult input.int(25"Hilal Menzili (Olasılık Alanı)")
    col_high    input.color(color.new(#ff0055, 20), "Üst Olasılık Kalkanı")
    col_low     input.color(color.new(#00ffbb, 20), "Alt Olasılık Kalkanı")

    // ==================== MONTE CARLO (BEKLENEN DEĞER) ====================
    // Basit bir Monte Carlo simülasyonu: Standart sapma ve ortalama ile gelecek olasılık tahmini
    returns math.log(close close[1])
    mu      ta.sma(returnsmc_period)
    sigma   ta.stdev(returnsmc_period)
    // %95 Güven Aralığı (1.96 Standart Sapma)
    expected_volatility sigma math.sqrt(radius_mult) * 1.96

    // ==================== VPC & HACİM MOTORU ====================
    hst ta.highest(vpc_len), lst ta.lowest(vpc_len)
    new_h high == hstnew_l low == lst
    h_vwap 
    ta.vwap(highnew_h), l_vwap ta.vwap(lownew_l)

    var 
    float v_up na, var float v_lo na
    v_up 
    := new_h hst : (hst == hst[1] ? v_up[1] : math.min(hstnz(v_up[1])))
    v_lo := new_l lst : (lst == lst[1] ? v_lo[1] : math.max(lstnz(v_lo[1])))

    // ==================== OLASILIK TABANLI HİLAL ÇİZİMİ ====================
    // Math Easing: Quadratic Ease-Out
    ease_out_quad(t) => * (t)

    // Üst Hilal (Olasılık Üst Sınırı)
    var polyline hi_c na
    if new_h
        pts 
    = array.new<chart.point>()
        for 
    0 to 20
            float t 
    20.0
            float eased_t 
    ease_out_quad(t)
            
    float angle math.pi + (eased_t math.pi)
            
    int x int(math.round(math.cos(angle) * radius_mult)) + bar_index radius_mult
            
    // Y-ekseni Monte Carlo'dan gelen volatilite ile genişliyor
            
    float y math.sin(angle) * (expected_volatility close) + v_up
            pts
    .push(chart.point.from_index(xy))
        
        if 
    not na(hi_c)
            
    polyline.delete(hi_c)
        
    hi_c := polyline.new(ptscurved=trueline_color=col_highline_width=4)

    // Alt Hilal (Olasılık Alt Sınırı)
    var polyline lo_c na
    if new_l
        pts 
    = array.new<chart.point>()
        for 
    0 to 20
            float t 
    20.0
            float eased_t 
    ease_out_quad(t)
            
    float angle = (eased_t math.pi)
            
    int x int(math.round(math.cos(angle) * radius_mult)) + bar_index radius_mult
            float y 
    math.sin(angle) * (expected_volatility close) + v_lo
            pts
    .push(chart.point.from_index(xy))
        
        if 
    not na(lo_c)
            
    polyline.delete(lo_c)
        
    lo_c := polyline.new(ptscurved=trueline_color=col_lowline_width=4)

    // ==================== GÖRSELLEŞTİRME ====================
    plot(v_up"VPC Üst"color.new(col_high75), 1plot.style_linebr)
    plot(v_lo"VPC Alt"color.new(col_low75), 1plot.style_linebr)

    // Güven Skoru Paneli (Dashboard)
    var table board table.new(position.top_right11bgcolor=color.new(color.black80), border_width=1)
    if 
    barstate.islast
        confidence 
    = (sigma) * 100
        table
    .cell(board00"Olasılık Güveni: %" str.tostring(confidence"##.##"), text_color=color.white
    16.07.2024 - 10.12.2024

  4. PHP Code:
    //@version=5
    indicator("Crescent 4D: Neural Sentinel & TLM Vector"overlay=truemax_bars_back=1000max_lines_count=500max_boxes_count=500)

    // --- 1. DERİN ÖĞRENME (ANN) HESAPLAMALARI ---
    tangentdiff(_src) => nz((_src _src[1]) / _src[1])
    ActivationFunctionTanh(v1) => (math.exp(-v1)) / (math.exp(-v1))

    _ind1 = (open open[1]) / open[1], _ind2 = (high high[1]) / high[1]
    n_0 ActivationFunctionTanh(_ind1), n_1 ActivationFunctionTanh(_ind2)

    f_open  open  * (- (ActivationFunctionTanh(0.03 n_0 5.11 n_1) - tangentdiff(open) * 1000) / 1000)
    f_high  high  * (- (ActivationFunctionTanh(10.1 n_0 30.9 n_1) - tangentdiff(high) * 1000) / 1000)
    f_low   low   * (- (ActivationFunctionTanh(4.36 n_0 18.3 n_1) - tangentdiff(low) * 1000) / 1000)
    f_close close * (- (ActivationFunctionTanh(22.4 n_0 26.6 n_1) - tangentdiff(close) * 1000) / 1000)

    // --- 2. KADEMELİ ZIRH VE SENTINEL HESABI ---
    f_get_kalkan(_len) =>
        
    _stdev ta.stdev(f_close_len)
        
    _basis ta.sma(f_close_len)
        [
    _basis + (_stdev 2.5), _basis - (_stdev 2.5), _basis]

    [
    up100dn100b100]     = f_get_kalkan(100)
    [
    up250dn250b250]     = f_get_kalkan(250)
    [
    up500dn500b500]     = f_get_kalkan(500)
    [
    up750dn750b750]     = f_get_kalkan(750)
    [
    up1000dn1000b1000]   = f_get_kalkan(1000)

    // --- 3. TLM VEKTÖR SİSTEMİ (GEOMETRİK İSTİKAMET) ---
    ph ta.pivothigh(f_high1515), pl ta.pivotlow(f_low1515)
    var 
    int last_ph_x 0, var float last_ph_y 0.0
    var int last_pl_x 0, var float last_pl_y 0.0
    var float tlm_slope 0.0

    if not na(ph)
        if 
    last_ph_x != 0
            line
    .new(last_ph_xlast_ph_ybar_index 15phcolor=color.new(color.red50), width=1style=line.style_dashed)
            
    tlm_slope := (ph last_ph_y) / (bar_index 15 last_ph_x)
        
    last_ph_x := bar_index 15last_ph_y := ph

    if not na(pl)
        if 
    last_pl_x != 0
            line
    .new(last_pl_xlast_pl_ybar_index 15plcolor=color.new(color.green50), width=1style=line.style_dashed)
            
    tlm_slope := (pl last_pl_y) / (bar_index 15 last_pl_x)
        
    last_pl_x := bar_index 15last_pl_y := pl

    // --- 4. TLM TABANLI SİNYAL MOTORU ---
    // Sinyal: Fiyat zırhla etkileşime girmeli VE TLM eğimi (vektör) dönüşü onaylamalı
    bool buy_signal  ta.crossover(f_closedn100) and (f_close last_pl_y)
    bool sell_signal ta.crossunder(f_closeup100) and (f_close last_ph_y)

    plotshape(buy_signal,  title="AL",  style=shape.triangleup,   location=location.belowbarcolor=color.new(#00ffbb, 0), size=size.small, text="TLM BUY")
    plotshape(sell_signaltitle="SAT"style=shape.triangledownlocation=location.abovebarcolor=color.new(#ff0055, 0), size=size.small, text="TLM SELL")

    // --- 5. BACKTEST MOTORU (1000 BAR) ---
    var int total_trades 0, var int win_trades 0
    var float last_entry_price 0.0, var int last_trade_dir 0

    if buy_signal or sell_signal
        
    if last_trade_dir != 0
            
    if (last_trade_dir == and f_close last_entry_price) or (last_trade_dir == -and f_close last_entry_price)
                
    win_trades += 1
        total_trades 
    += 1
        last_entry_price 
    := f_closelast_trade_dir := buy_signal : -1

    float win_rate 
    total_trades ? (win_trades total_trades) * 100 0

    // --- 6. GÖRSELLEŞTİRME ---
    plotcandle(f_openf_highf_lowf_closetitle="Neural Ghost Bars"color=f_close f_open color.new(#00ffbb, 85) : color.new(#ff0055, 85), bordercolor=na)
    plotcandle(up100up100dn100dn100title="Sentinel Block"color=f_close b100 color.new(color.orange88) : color.new(color.purple88), bordercolor=na)

    // --- 7. MONTE CARLO VE MARKOV ---
    returns math.log(f_close f_close[1])
    mu ta.sma(returns50), sigma ta.stdev(returns50)
    mc_upper f_close math.exp(mu sigma 2.326), mc_lower f_close math.exp(mu sigma 2.326)
    markov_state f_close b500 ? (f_close up100 "AŞIRI BOĞA" "BOĞA") : (f_close dn100 "AŞIRI AYI" "AYI")

    // --- 8. ANALİZ DASHBOARD (TABLO) ---
    var table stats_table table.new(position.top_right212border_width 1frame_color=color.gray)
    f_near_color(_val) => math.abs(close _val) / _val 0.003 color.new(color.yellow30) : color.new(color.gray90)

    if 
    barstate.islast
        table
    .cell(stats_table00"DASHBOARD"bgcolor=color.blacktext_color=color.white)
        
    table.cell(stats_table10"ANALİZ"bgcolor=color.blacktext_color=color.white)
        
        
    table.cell(stats_table01"MARKOV REJİMİ"bgcolor=color.new(color.gray80))
        
    table.cell(stats_table11markov_statebgcolor=f_close b500 color.green color.redtext_color=color.white)
        
        
    table.cell(stats_table02"MONTE CARLO (%99)"bgcolor=color.new(color.blue70), text_color=color.white)
        
    table.cell(stats_table12str.format("{0,number,#.#}-{1,number,#.#}"mc_uppermc_lower))
        
        
    table.cell(stats_table03"100'LÜ ZIRH"bgcolor=f_near_color(up100))
        
    table.cell(stats_table13str.format("{0,number,#.#} / {1,number,#.#}"up100dn100))
        
        
    table.cell(stats_table07"1000'Lİ SENTINEL"bgcolor=color.purpletext_color=color.white)
        
    table.cell(stats_table17str.format("{0,number,#.#} / {1,number,#.#}"up1000dn1000))
        
        
    // BACKTEST SONUCU (TABLONUN EN SONUNDA)
        
    table.cell(stats_table08"BACKTEST (1000 BAR)"bgcolor=color.orangetext_color=color.black)
        
    table.cell(stats_table18str.format("WR: %{0,number,#.#} | İŞLEM: {1}"win_ratetotal_trades), bgcolor=color.orangetext_color=color.black)

    // --- 9. QUANTUM-ZONE BÖLGELERİ ---
    if not na(ph)
        
    box.new(bar_index 15phbar_index 5ph 0.998border_color=nabgcolor=color.new(color.red95))
    if 
    not na(pl)
        
    box.new(bar_index 15plbar_index 5pl 1.002border_color=nabgcolor=color.new(color.green95)) 
    16.07.2024 - 10.12.2024

  5. olasılık barlarıyla-5bar olasılık
    PHP Code:
    //@version=5
    indicator("Aİ"overlay truebehind_chart falsemax_lines_count=500max_labels_count=500max_polylines_count=100max_boxes_count=100,  max_bars_back 500)
    /////////////////////////////////////
    // --- Derin Öğrenme ve Bar Hesaplamaları ---
    src7778 closeo7778 openh7778 highl7778 lowc7778 close
    tangentdiff
    (_src8) => nz((_src8 _src8[1]) / _src8[1])
    ActivationFunctionTanh(v1) => (math.exp(-v1)) / (math.exp(-v1))

    _indicator18 = (o7778 o7778[1]) / o7778[1]
    _indicator28 = (h7778 h7778[1]) / h7778[1]

    n_08 ActivationFunctionTanh(_indicator18), n_18 ActivationFunctionTanh(_indicator28)

    f_open8  o7778 * (- (ActivationFunctionTanh(0.03 n_08 5.11 n_18) - tangentdiff(o7778) * 1000) / 1000)
    f_high8  h7778 * (- (ActivationFunctionTanh(10.1 n_08 30.9 n_18) - tangentdiff(h7778) * 1000) / 1000)
    f_low8   l7778 * (- (ActivationFunctionTanh(4.36 n_08 18.3 n_18) - tangentdiff(l7778) * 1000) / 1000)
    f_close8 c7778 * (- (ActivationFunctionTanh(22.4 n_08 26.6 n_18) - tangentdiff(c7778) * 1000) / 1000)

    //////////////////////////////////
    var string vanity_group "Visual Settings"

    magic_wand_toggle input.bool(true"Show Active CISD Level (Plot)"group=vanity_group)

    drama_filter input.string("Both""Triggered CISD Display"options=["Both""Bullish Only""Bearish Only""None"], group=vanity_group)

    amnesia_mode input.bool(false"Limit Displayed Historical Lines"group=vanity_group)
    short_term_memory input.int(10"Max Lines to Show"minval=1group=vanity_group)

    yell_at_me input.bool(true"Show Labels"group=vanity_group)
    girth_units input.int(4"Line Width"minval=1group=vanity_group)
    scream_volume input.string(size.normal"Label Size"options=[size.tinysize.smallsize.normalsize.large], group=vanity_group)

    hipster_font_toggle input.string("Default""Font Family"options=["Default""Monospace"], group=vanity_group)
    fashion_choice input.string("Solid""Triggered Line Style"options=["Solid""Dashed""Dotted"], group=vanity_group)

    crayon_box "Colors"
    shrek_mode input.color(color.new(#2ffb01, 00), "Bullish CISD", group=crayon_box)
    blood_bath input.color(color.new(#ff0000, 00), "Bearish CISD", group=crayon_box)

    nerd_stats "Debug"
    paranoia_switch input.bool(false"Debug: Show Extreme Tracking"group=nerd_stats)

    gossip_column "HTF Trend Panel" 
    stalker_mode input.bool(true"Show Multi-Timeframe Table"group=gossip_column)
    feng_shui input.string("Bottom Right""Table Position"options=["Top Right""Middle Right""Bottom Right""Bottom Left"], group=gossip_column)
    eye_test input.string("Small""Table Size"options=["Tiny""Small""Normal""Large"], group=gossip_column)
    // ---------------------------------------------------------

    var string fancy_typeface hipster_font_toggle == "Monospace" font.family_monospace font.family_default

    decode_fashion_statement
    (outfit) =>
        switch 
    outfit
            
    "Solid"  => line.style_solid
            
    "Dashed" => line.style_dashed
            
    => line.style_dotted

    chosen_style 
    decode_fashion_statement(fashion_choice)

    var 
    int vibes 0
    var float bagholder_entry na
    var int time_machine_setting na
    var float pain_threshold na

    var label sticky_note_of_shame na
    var array<linegraveyard_of_hopes = array.new<line>()
    var array<
    labelchoir_of_screams = array.new<label>()

    consult_the_crystal_ball(int bias) =>
        
    int temporal_shift 0
        float ancient_price 
    open
        
    for 0 to 500
            int candle_attitude 
    close[i] > open[i] ? close[i] < open[i] ? -0
            
    if candle_attitude == 0
                
    continue
            
    bool mood_match candle_attitude == bias
            
    if not mood_match
                
    break
            
    temporal_shift := i
            ancient_price 
    := open[i]
        [
    ancient_pricebar_index temporal_shift]

    archaeologist_jones(int bias) =>
        
    int i 1
        bool artifact_found 
    false
        int dig_site_idx 
    0
        float artifact_value 
    na
        
    for 1 to 500
            i 
    := j
            int candle_attitude 
    close[i] > open[i] ? close[i] < open[i] ? -0
            
    if candle_attitude == 0
                
    continue
            
    bool is_correct_era candle_attitude == bias
            
    if not artifact_found
                
    if is_correct_era
                    artifact_found 
    := true
                    dig_site_idx 
    := i
                    artifact_value 
    := open[i]
            else
                if 
    not is_correct_era
                    
    break
                
    dig_site_idx := i
                artifact_value 
    := open[i]
        [
    artifact_valuebar_index dig_site_idx]

    if 
    vibes == and bar_index 10
        int first_impression 
    close open close open ? -0
        
    if first_impression == 0
            
    for 1 to 50
                first_impression 
    := close[k] > open[k] ? close[k] < open[k] ? -0
                
    if first_impression != 0
                    
    break
        if 
    first_impression != 0
            vibes 
    := first_impression
            
    [origin_priceorigin_time] = consult_the_crystal_ball(first_impression)
            
    bagholder_entry := origin_price
            time_machine_setting 
    := origin_time
            pain_threshold 
    := first_impression == high low

    int candle_personality 
    close open close open ? -0
    float fresh_hopium 
    na
    int fresh_timestamp 
    na

    if vibes == 1
        
    if high pain_threshold
            pain_threshold 
    := high
            
    if candle_personality == 1
                
    [p_pricep_idx] = consult_the_crystal_ball(1)
                
    fresh_hopium := p_price
                fresh_timestamp 
    := p_idx
            
    else
                [
    p_pricep_idx] = archaeologist_jones(1)
                
    fresh_hopium := p_price
                fresh_timestamp 
    := p_idx
            bagholder_entry 
    := fresh_hopium
            time_machine_setting 
    := fresh_timestamp

    else if vibes == -1
        
    if low pain_threshold
            pain_threshold 
    := low
            
    if candle_personality == -1
                
    [p_pricep_idx] = consult_the_crystal_ball(-1)
                
    fresh_hopium := p_price
                fresh_timestamp 
    := p_idx
            
    else
                [
    p_pricep_idx] = archaeologist_jones(-1)
                
    fresh_hopium := p_price
                fresh_timestamp 
    := p_idx
            bagholder_entry 
    := fresh_hopium
            time_machine_setting 
    := fresh_timestamp

    bool shorts_squeezed 
    vibes == -and close bagholder_entry
    bool longs_rekt 
    vibes == and close bagholder_entry

    if shorts_squeezed or longs_rekt
        bool should_i_paint_it 
    false
        
        
    if drama_filter == "Both"
            
    should_i_paint_it := true
        
    else if drama_filter == "Bullish Only"
            
    should_i_paint_it := shorts_squeezed
        
    else if drama_filter == "Bearish Only"
            
    should_i_paint_it := longs_rekt

        
    if should_i_paint_it
            color mood_ring 
    shorts_squeezed shrek_mode blood_bath
            
    //line tragedy_line = line.new(time_machine_setting, bagholder_entry, bar_index, bagholder_entry, color=mood_ring, width=girth_units, style=chosen_style)
            //array.push(graveyard_of_hopes, tragedy_line)

            
    label loud_noise na
            
    //if yell_at_me
                //int middle_of_nowhere = math.round((time_machine_setting + bar_index) / 2)
                //string gibberish = shorts_squeezed ? "+ALL" : "-SAT"
                //color ink_color = shorts_squeezed ? shrek_mode : blood_bath
                //loud_noise := label.new(middle_of_nowhere, bagholder_entry, gibberish, style=shorts_squeezed ? label.style_label_down : label.style_label_up, color=color.new(#000000, 100), textcolor=ink_color, size=scream_volume, text_font_family = fancy_typeface)
            
            //array.push(choir_of_screams, loud_noise)

        
    int new_emotional_state shorts_squeezed : -1
        vibes 
    := new_emotional_state
        
    [reset_pricereset_time] = consult_the_crystal_ball(new_emotional_state)
        
    bagholder_entry := reset_price
        time_machine_setting 
    := reset_time
        pain_threshold 
    := new_emotional_state == high low

    color active_crayon 
    vibes == shrek_mode blood_bath

    plot
    (magic_wand_toggle bagholder_entry na"0"color=active_crayonlinewidth=girth_unitsstyle=plot.style_line)
    /////////////////////////////////////////
    // --- 1. Dalga Mantığı ---
    isClosed barstate.isconfirmed
    spaceUp 
    = (high close) * 0.65
    spaceDown 
    = (open low) * 0.65
    // Ham Koşullar (Senin formülün)
    bullRaw12 isClosed and close[3] < open[3] and close open and close low[3]
    bearRaw12 isClosed and close[3] > open[3] and close open and close high[3]

    // Son 6 bar içinde herhangi bir siyah veya beyaz sinyal var mı?
    hasSiyahIn6 ta.highest(bullRaw12 06) > 0
    hasBeyazIn6 
    ta.highest(bearRaw12 06) > 0

    // Karar Yapısı
    isZit hasSiyahIn6 and hasBeyazIn6
    isAl  
    hasBeyazIn6 and not hasSiyahIn6
    isSat 
    hasSiyahIn6 and not hasBeyazIn6

    // --- 4. Durum Bildirimleri ---
    if isZit and not isZit[1]
        
    label.new(bar_index-3high + (spaceUp 4), ""color=color.orangetextcolor=color.whitestyle=label.style_label_down)

    // --- 2. KİLİTLEME MEKANİZMASI (LOCK) ---
    var bool lockAL false
    var bool lockSAT false

    if bearRaw12
        lockAL 
    := true
        lockSAT 
    := false 

    if bullRaw12
        lockSAT 
    := true
        lockAL 
    := false 

    // --- 3. 6 Bar Hafıza ve Karar ---
    hasSiyahIn63 ta.highest(bullRaw12 06) > 0
    hasBeyazIn63 
    ta.highest(bearRaw12 06) > 0

    // --- C. 1-0 Mühürleri ---

    bullRaw isClosed and close[1] < open[1] and close open and close low[1]
    bearRaw isClosed and close[1] > open[1] and close open and close high[1]

    if 
    bullRaw
        label
    .new(bar_index 1high[1] + spaceUp'1'style=label.style_nonetextcolor=color.rgb(000), size=size.huge)
        
    label.new(bar_index 1high spaceUp'0'style=label.style_nonetextcolor=color.rgb(24933), size=size.huge)

    if 
    bearRaw
        label
    .new(bar_index 1low[1] - spaceDown'1'style=label.style_nonetextcolor=color.rgb(000), size=size.huge)
        
    label.new(bar_index 1low spaceDown'0'style=label.style_nonetextcolor=color.rgb(24933), size=size.huge)


    // --- 2. ZAMANIN MİZANI (18:05 ve 09:55) ---
    isPrevClose time(timeframe.period"1805-1810:1234567")
    isTodayOpen time(timeframe.period"0955-1000:1234567")

    var 
    float anchorYesterday na
    var float anchorToday na

    if isPrevClose
        anchorYesterday 
    := f_close8
    if isTodayOpen
        anchorToday 
    := f_close8

    // // Ana Mihenkler
    plot(anchorYesterday"Dün"color=color.new(color.gray20), linewidth=2style=plot.style_linebr)
    plot(anchorToday"Bugün"color=color.new(color.white20), linewidth=2style=plot.style_linebr)
    ///////////sonnnnnnnnnnnnnnnnnnnnn////////
    //@version=6

    // ==========================================
    // 1. AYARLAR (GİRDİLER)
    // ==========================================
    // --- Aİ Ayarları ---
    sar_start  input.float(0.02"SAR Başlangıç"step=0.01group="Aİ Ayarları")
    sar_inc    input.float(0.02"SAR Artış"step=0.01group="Aİ Ayarları")
    sar_max    input.float(0.2,  "SAR Maks"step=0.01group="Aİ Ayarları")

    // --- JayRogers Future Lines Ayarları ---
    INP_offsetTime input.int(-20"Zaman Ofseti (Bar)"group="Future Lines (JayRogers)")
    INP_fastLength input.int(1"Hızlı SMA Uzunluğu"minval=1group="Future Lines (JayRogers)")
    INP_slowLength input.int(201"Yavaş SMA Uzunluğu"minval=1group="Future Lines (JayRogers)")
    INP_vertLength input.int(1"Dikey Çizgi Çarpanı"group="Future Lines (JayRogers)")

    // ==========================================
    // 2. TEMEL MATEMATİK & FONKSİYONLAR
    // ==========================================
    // Aİ Fonksiyonları
    tanh(v) => (math.exp(-v)) / (math.exp(-v))
    td(s)   => nz((nz(s[1])) / nz(s[1]))

    calc_dl(float[] n_arrfloat[] w_arr) =>
        
    = array.new_float(0)
        for 
    0 to 5
            float s 
    0.0
            
    for 0 to 3
                s 
    += array.get(n_arrj) * array.get(w_arr, (5) + j)
            array.
    push(htanh(+ array.get(w_arr, (5) + 4)))
        
    float out = array.get(w_arr36)
        for 
    0 to 5
            out 
    += array.get(hi) * array.get(w_arr30 i)
        
    tanh(out)

    // JayRogers Zaman Ofset Fonksiyonu
    f_offsetTime(_userOffsetInput) =>
        
    int _timeNow time
        int _timeSeg 
    time time[1]
        
    int _segMult _timeSeg _userOffsetInput
        _timeNow 
    _segMult

    // ==========================================
    // 3. Aİ HESAPLAMALARI (DL & SAR)
    // ==========================================
    // Ağırlıklar
    w_o = array.from(0.03055.1130, -26.0857, -5.32027.35474.16797.2258, -0.8712, -8.8945, -7.0647, -0.8062, -0.3044, -3.9097, -5.00995.1275, -29.736028.66840.1384, -57.58852.8249, -0.42930.4827, -0.7897, -2.9874, -4.31071.7583, -0.61802.4493, -1.58311.1658, -0.6530, -4.6469, -1.6789, -17.07760.8754, -6.67246.9407)
    w_h = array.from(10.1865, -30.964821.6723, -40.89587.9574, -15.252314.845410.6214, -23.81782.9475, -15.1790, -30.011835.6504, -61.48043.898535.6564, -11.1343, -28.07152.9239, -1.80573.4623, -13.6440, -30.2263, -1.083923.0328, -47.265819.021810.5652, -27.52076.9475, -0.6965, -1.349427.2629, -1.0423, -0.5401, -10.73551.3032)
    w_l = array.from(4.3631, -18.3014, -15.376821.2085, -0.4581, -2.65185.2054, -5.9209, -4.84748.315513.8853, -5.5179, -15.2411, -8.6732, -4.954010.4904, -25.201510.2621, -1.1161, -5.2541, -14.68779.0302, -17.33248.06800.75510.8951, -1.73774.8991, -7.71845.49364.1329, -17.50154.6174, -28.4768, -5.8882, -24.434541.3187)
    w_c = array.from(22.4271, -26.69174.93719.0349, -10.6929, -38.288010.0500, -44.7063, -17.816330.5662, -33.995414.5017, -43.2865, -13.387424.7080, -14.392928.4830, -22.9793, -7.6582, -5.650528.8379, -26.35440.520625.0049, -17.8832, -4.8113, -4.0364, -8.3327, -1.15710.4667, -22.05333.6525, -4.39042.103020.027211.5101, -0.4150)

    n_in = array.from(tanh(td(open)), tanh(td(high)), tanh(td(low)), tanh(td(close)))
    f_v(pwdivn_arr) => * (- (calc_dl(n_arrw) - td(p) * div) / div)

    // DL Verileri
    o100 f_v(openw_o100n_in), h100 f_v(highw_h100n_in), l100 f_v(loww_l100n_in), c100 f_v(closew_c100n_in)
    o1000 f_v(openw_o1000n_in), c1000 f_v(closew_c1000n_in)

    // SAR Verileri
    psar_fast ta.sar(sar_startsar_incsar_max)
    psar_mid  ta.sar(sar_start 2sar_inc 2sar_max)
    psar_slow ta.sar(sar_start 4sar_inc 4sar_max)

    // ==========================================
    // 4. JAYROGERS FUTURE LINES HESAPLAMA
    // ==========================================
    _fastMA ta.sma(close[1], INP_fastLength)
    _slowMA ta.sma(close[1], INP_slowLength)

    // Hatlar için değişkenler
    var line _fastExtention na
    var line _slowExtention na

    // Zaman Ofseti
    int _offsetTime f_offsetTime(INP_offsetTime)

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

    // --- B. DL Barlar ---
    plotcandle(o100h100l100c100"5"color=c100 c100[1] ? color.rgb(243244237100) : color.rgb(24844100), bordercolor=color.new(#000000, 55))
    plotcandle(f_v(open,w_o,250,n_in), f_v(high,w_h,250,n_in), f_v(low,w_l,250,n_in), f_v(close,w_c,250,n_in), "4"color=nabordercolor=color.new(#000000, 55))
    plotcandle(f_v(open,w_o,500,n_in), f_v(high,w_h,500,n_in), f_v(low,w_l,500,n_in), f_v(close,w_c,500,n_in), "3"color=nabordercolor=color.new(#000000, 55))
    plotcandle(f_v(open,w_o,750,n_in), f_v(high,w_h,750,n_in), f_v(low,w_l,750,n_in), f_v(close,w_c,750,n_in), "2"color=nabordercolor=color.new(#000000, 55))

    isBull1000 c1000 o1000
    //plotcandle(o1000 + (c1000 - o1000) * 0.33, f_v(high,w_h,1000,n_in), f_v(low,w_l,1000,n_in), o1000 + (c1000 - o1000) * 0.66, "1", color=color.new(isBull1000 ? color.lime : color.red, 00), bordercolor=color.new(color.fuchsia, 100))

    // ==========================================
    // 6. GÖRSELLEŞTİRME (JAYROGERS FUTURE LINES)
    // ==========================================
    // Hızlı SMA Çizgisi
    if na(_fastExtention)
        
    _fastExtention := line.new(time_fastMA_offsetTime_fastMAxloc.bar_timeextend.none)
    line.set_xy1(_fastExtentiontime_fastMA)
    line.set_xy2(_fastExtention_offsetTime_fastMA)
    line.set_color(_fastExtentioncolor.blue)
    line.set_width(_fastExtention4)

    // Yavaş SMA Çizgisi
    //if na(_slowExtention)
       // _slowExtention := line.new(time, _slowMA, _offsetTime, _slowMA, xloc.bar_time, extend.none)
    //line.set_xy1(_slowExtention, time, _slowMA)
    //line.set_xy2(_slowExtention, _offsetTime, _slowMA)
    //line.set_color(_slowExtention, color.blue)
    //line.set_width(_slowExtention, 4)

    // Dikey Çizgiler ve Etiketler (Extra Fluff)
    var line _startLineVertical     na
    var line _finishLineVertical    na

    float _min 
    math.min(_fastMA_slowMA)
    float _max math.max(_fastMA_slowMA)
    float _len = (_max _min)
    float _top _max + (_len INP_vertLength)
    float _bot _min - (_len INP_vertLength)

    if 
    na(_startLineVertical)
        
    _startLineVertical := line.new(time_toptime_botxloc.bar_timeextend.nonewidth 4)
    line.set_xy1(_startLineVerticaltime_top)
    line.set_xy2(_startLineVerticaltime_bot)

    //if na(_finishLineVertical)
       // _finishLineVertical := line.new(_offsetTime, _top, _offsetTime, _bot, xloc.bar_time, extend.none)
    //line.set_xy1(_finishLineVertical, _offsetTime, _top)
    //line.set_xy2(_finishLineVertical, _offsetTime, _bot)

    //var label   _offsetLabel    = na
    //string _direction = INP_offsetTime > 0 ? " İleri" : INP_offsetTime < 0 ? " Geri" : ""
    //string _labelText = str.tostring(INP_offsetTime) + " " + _direction + " "

    //if na(_offsetLabel)
       // _offsetLabel := label.new(_offsetTime, _top, _labelText, xloc.bar_time)
    //label.set_xy(_offsetLabel, _offsetTime, _top)
    //label.set_text(_offsetLabel, _labelText)
    //label.set_style(_offsetLabel, INP_vertLength >= 0 ? label.style_label_down : label.style_label_up)

    // ==========================================
    // 7. İMZA TABLOSU
    // ==========================================
    var table tb table.new(position.bottom_right11bgcolor #161114)
    if barstate.islast
        sarTxt 
    "H: " str.tostring(psar_fastformat.mintick) + " | O: " str.tostring(psar_midformat.mintick) + " | Y: " str.tostring(psar_slowformat.mintick)
        
    finalTxt sarTxt " | YATIRIM TAVSİYESİ OLARAK KULLANILAMAZ. | @yörük@ 2026"
        
    table.cell(tb00finalTxttext_color color.whitetext_size size.large)
    ////////////////////
    //@version=6
    // --- 3. Zaman Fonksiyonu ---
    f_offset_time(b) => int(time + (time nz(time[1])) * b)

    // --- 4. Temizlik ve Kayıt  ---
    var box[] boxes = array.new_box()
    var 
    line[] lines = array.new_line()

    if 
    barstate.islast
        
    // Güvenli silme nizamı
        
    if array.size(boxes) > 0
            
    for 0 to array.size(boxes) - 1
                box
    .delete(array.get(boxesi))
            array.
    clear(boxes)
        if array.
    size(lines) > 0
            
    for 0 to array.size(lines) - 1
                line
    .delete(array.get(linesi))
            array.
    clear(lines)

        
    // Giriş verileri (Normalize)
        
    in_o tanh(td(open)), in_h tanh(td(high)), in_l tanh(td(low)), in_c tanh(td(close))
        
    divs = array.from(1000.0750.0500.0250.0100.0)

        
    // 5 Hayalet Bar Döngüsü
        
    for 0 to 4
            d 
    = array.get(divsi)
            
    float pred_o 0.0float pred_h 0.0float pred_l 0.0float pred_c 0.0
            
            
    // DL Hesaplama (Safe Indexing)
            
    for 0 to 5
                idx 
    5
                pred_o 
    += tanh(in_o * array.get(w_oidx) + in_h * array.get(w_oidx+1) + in_l * array.get(w_oidx+2) + in_c * array.get(w_oidx+3) + array.get(w_oidx+4)) * array.get(w_o30+n)
                
    pred_h += tanh(in_o * array.get(w_hidx) + in_h * array.get(w_hidx+1) + in_l * array.get(w_hidx+2) + in_c * array.get(w_hidx+3) + array.get(w_hidx+4)) * array.get(w_h30+n)
                
    pred_l += tanh(in_o * array.get(w_lidx) + in_h * array.get(w_lidx+1) + in_l * array.get(w_lidx+2) + in_c * array.get(w_lidx+3) + array.get(w_lidx+4)) * array.get(w_l30+n)
                
    pred_c += tanh(in_o * array.get(w_cidx) + in_h * array.get(w_cidx+1) + in_l * array.get(w_cidx+2) + in_c * array.get(w_cidx+3) + array.get(w_cidx+4)) * array.get(w_c30+n)

            
    // De-normalize Fiyat Tahminleri
            
    vo open * (- (tanh(pred_o + array.get(w_o36)) - td(open) * d) / d)
            
    vh high * (- (tanh(pred_h + array.get(w_h36)) - td(high) * d) / d)
            
    vl low  * (- (tanh(pred_l + array.get(w_l36)) - td(low)  * d) / d)
            
    vc close * (- (tanh(pred_c + array.get(w_c36)) - td(close) * d) / d)

            
    // --- Görselleştirme ---
            
    t1 f_offset_time(1)
            
    t2 f_offset_time(2)
            
    transp 30 + (12)
            
    b_col vc >= vo color.new(color.rgb(0230119100), transp) : color.new(color.rgb(2558282100), transp)
            
            
    // Kutular ve İğneler
            
    array.push(boxesbox.new(t1math.max(vovc), t2math.min(vovc), border_color=color.new(color.gray60), bgcolor=b_colxloc=xloc.bar_time))
            array.
    push(linesline.new(f_offset_time(1.5), vhf_offset_time(1.5), vlcolor=color.new(color.gray50), xloc=xloc.bar_time))

    // --- Momentum  Entegrasyonu ---
        
    sp // Hassasiyet
        
    dt time time[1]
        for 
    1 to 3
            dx 
    sp
            dy 
    close close[dx]
            array.
    push(linesline.new(timeclosetime dx dtclose dyxloc=xloc.bar_timecolor=color.new(color.black00), style=line.style_dashed))

    //plot(close, color=color.new(color.white, 100))
    ///// 
    fibo-sentinel olasılık....
    PHP Code:
    //@version=5
    indicator("Ai"overlay=truemax_bars_back=1000max_lines_count=500max_boxes_count=500)

    // --- 1. DERİN ÖĞRENME (ANN) HESAPLAMALARI ---
    tangentdiff(_src) => nz((_src _src[1]) / _src[1])
    ActivationFunctionTanh(v1) => (math.exp(-v1)) / (math.exp(-v1))

    _ind1 = (open open[1]) / open[1], _ind2 = (high high[1]) / high[1]
    n_0 ActivationFunctionTanh(_ind1), n_1 ActivationFunctionTanh(_ind2)

    f_open  open  * (- (ActivationFunctionTanh(0.03 n_0 5.11 n_1) - tangentdiff(open) * 1000) / 1000)
    f_high  high  * (- (ActivationFunctionTanh(10.1 n_0 30.9 n_1) - tangentdiff(high) * 1000) / 1000)
    f_low   low   * (- (ActivationFunctionTanh(4.36 n_0 18.3 n_1) - tangentdiff(low) * 1000) / 1000)
    f_close close * (- (ActivationFunctionTanh(22.4 n_0 26.6 n_1) - tangentdiff(close) * 1000) / 1000)

    // --- 2. KADEMELİ ZIRH VE SENTINEL HESABI ---
    f_get_kalkan(_len) =>
        
    _stdev ta.stdev(f_close_len)
        
    _basis ta.sma(f_close_len)
        [
    _basis + (_stdev 2.5), _basis - (_stdev 2.5), _basis]

    [
    up100dn100b100]     = f_get_kalkan(100)
    [
    up250dn250b250]     = f_get_kalkan(250)
    [
    up500dn500b500]     = f_get_kalkan(500)
    [
    up750dn750b750]     = f_get_kalkan(750)
    [
    up1000dn1000b1000]   = f_get_kalkan(1000)

    // --- 3. TLM VEKTÖR HESABI (GÖRÜNMEZ ANALİZ) ---
    ph ta.pivothigh(f_high1515), pl ta.pivotlow(f_low1515)
    var 
    float vector_direction 0.0
    if not na(ph)
        
    vector_direction := 1.0 // Ayı baskısı / Direnç
    if not na(pl)
        
    vector_direction := -1.0 // Boğa baskısı / Destek

    // --- 4. GÖRSELLEŞTİRME (ÇİZGİSİZ) ---
    plotcandle(f_openf_highf_lowf_closetitle="1"color=f_close f_open color.new(#00ffbb, 75) : color.new(#ff0055, 75), bordercolor=na)
    plotcandle(up100up100dn100dn100title="6"color=f_close b100 color.new(#faf9f8, 90) : color.new(#080808, 90), bordercolor=na)

    // --- 5. MONTE CARLO VE MARKOV REJİM ---
    returns math.log(f_close f_close[1])
    mu ta.sma(returns50), sigma ta.stdev(returns50)
    mc_upper f_close math.exp(mu sigma 2.326), mc_lower f_close math.exp(mu sigma 2.326)

    markov_state f_close b500 ? (f_close up100 "AŞIRI BOĞA" "BOĞA") : (f_close dn100 "AŞIRI AYI" "AYI")
    markov_col f_close b500 color.green color.red

    // --- 6. ULTIMATE DASHBOARD (TÜM VERİ BURADA) ---
    var table stats_table table.new(position.top_right211border_width 1frame_color=color.gray)
    f_near_color(_val) => math.abs(close _val) / _val 0.003 color.new(color.yellow30) : color.new(color.white50)

    if 
    barstate.islast
        table
    .cell(stats_table00"SİSTEM DURUMU"bgcolor=color.blacktext_color=color.white)
        
    table.cell(stats_table10"VERİ / ANALİZ"bgcolor=color.blacktext_color=color.white)
        
        
    table.cell(stats_table01"MARKOV "bgcolor=color.new(markov_col80))
        
    table.cell(stats_table11markov_statebgcolor=markov_coltext_color=color.white)

        
    table.cell(stats_table02"TLM "bgcolor=color.new(color.white80))
        
    table.cell(stats_table12vector_direction "DİRENÇ BASKISI" "DESTEK GÜCÜ"bgcolor=vector_direction color.new(color.red70) : color.new(color.green70), text_color=color.white)
        
        
    table.cell(stats_table03"MONTE CARLO "bgcolor=color.new(color.blue70), text_color=color.white)
        
    table.cell(stats_table13str.format("{0,number,#.#}-{1,number,#.#}"mc_uppermc_lower))
        
        
    table.cell(stats_table04"100'LÜ SENTINEL"bgcolor=f_near_color(up100))
        
    table.cell(stats_table14str.format("{0,number,#.#} / {1,number,#.#}"up100dn100))
        
        
    table.cell(stats_table05"250'Lİ SENTINEL"bgcolor=f_near_color(up250))
        
    table.cell(stats_table15str.format("{0,number,#.#} / {1,number,#.#}"up250dn250))
        
        
    table.cell(stats_table06"500'LÜ SENTINEL"bgcolor=f_near_color(up500))
        
    table.cell(stats_table16str.format("{0,number,#.#} / {1,number,#.#}"up500dn500))
        
        
    table.cell(stats_table07"750'Lİ SENTINEL"bgcolor=f_near_color(up750))
        
    table.cell(stats_table17str.format("{0,number,#.#} / {1,number,#.#}"up750dn750))
        
        
    table.cell(stats_table08"1000'Lİ SENTINEL"bgcolor=color.purpletext_color=color.white)
        
    table.cell(stats_table18str.format("{0,number,#.#} / {1,number,#.#}"up1000dn1000))

    // --- 7. QUANTUM-ZONE KUTULARI (ÇİZGİSİZ BÖLGELER) ---
    if not na(ph)
        
    box.new(bar_index 15phbar_index 5ph 0.998border_color=nabgcolor=color.new(color.red35))
    if 
    not na(pl)
        
    box.new(bar_index 15plbar_index 5pl 1.002border_color=nabgcolor=color.new(color.green35))
    ///////    /////////////////
    //@version=6

    // ==================== GİRDİLER ====================
    tlm_lookback input.int(15"TLM Pivot Hassasiyeti")
    mc_period    input.int(50"Monte Carlo Olasılık Periyodu")
    radius_mult  input.int(25"Hilal Menzili")
    col_high     input.color(color.new(#000000, 20), "Direnç Kalkanı")
    col_low      input.color(color.new(#ffffff, 20), "Destek Kalkanı")

    // ==================== TLM FİLTRE MOTORU (Saf Fiyat) ====================
    // Sadece güçlü, "noksansız" pivot noktalarını seçer
    ph33 ta.pivothigh(tlm_lookbacktlm_lookback)
    pl33 ta.pivotlow(tlm_lookbacktlm_lookback)

    // Filtre: Her pivotu değil, sadece yeni bir kanal sınırı oluşturanı kabul et
    new_h not na(ph33)
    new_l not na(pl33)

    // ==================== MONTE CARLO & VOLATİLİTE ====================
    returns33math.log(close close[1])
    sigma33   ta.stdev(returns33mc_period)
    expected_vol33 sigma33 math.sqrt(radius_mult) * 1.96

    // ==================== PRICE ACTION KANAL MANTIĞI ====================
    var float pa_upper na
    var float pa_lower na

    if new_h
        pa_upper 
    := high[tlm_lookback]
    if 
    new_l
        pa_lower 
    := low[tlm_lookback]

    // ==================== ELİTE HİLAL ÇİZİMİ (TLM ONAYLI) ====================
    ease_out(t) => * (t)

    // Üst Hilal (TLM Filtresinden Geçmiş Güçlü Direnç)
    var polyline hi_c na
    if new_h
        pts 
    = array.new<chart.point>()
        for 
    0 to 20
            float t 
    20.0
            float angle 
    math.pi + (ease_out(t) * math.pi)
            
    int x int(math.round(math.cos(angle) * radius_mult)) + bar_index radius_mult
            float y 
    math.sin(angle) * (expected_vol33 close) + pa_upper
            pts
    .push(chart.point.from_index(xy))
        
        
    polyline.delete(hi_c)
        
    hi_c := polyline.new(ptscurved=trueline_color=col_highline_width=2)

    // Alt Hilal (TLM Filtresinden Geçmiş Güçlü Destek)
    var polyline lo_c na
    if new_l
        pts 
    = array.new<chart.point>()
        for 
    0 to 20
            float t 
    20.0
            float angle 
    = (ease_out(t) * math.pi)
            
    int x int(math.round(math.cos(angle) * radius_mult)) + bar_index radius_mult
            float y 
    math.sin(angle) * (expected_vol33 close) + pa_lower
            pts
    .push(chart.point.from_index(xy))
        
        
    polyline.delete(lo_c)
        
    lo_c := polyline.new(ptscurved=trueline_color=col_lowline_width=2)

    // ==================== GÖRSELLEŞTİRME ====================
    plot(pa_upper"TLM Üst"color.new(col_high80), 2plot.style_linebroffset=-tlm_lookback)
    plot(pa_lower"TLM Alt"color.new(col_low80), 2plot.style_linebroffset=-tlm_lookback)
    ////////////////////
    //@version=6

    // --- GİRDİLER ---
    radius_mult555 input.int(5"Daire Büyüklüğü")
    pivot_len555   input.int(2"Pivot Hassasiyeti")
    //col_high    = input.color(color.new(color.red, 60), "Üst Daire Rengi")
    //col_low     = input.color(color.new(color.lime, 60), "Alt Daire Rengi")

    // --- HESAPLAMALAR ---
    ph55 ta.pivothigh(pivot_len555pivot_len555)
    pl55 ta.pivotlow(pivot_len555pivot_len555)
    atr ta.atr(14)

    // --- ÜST DAİRE MOTORU (Pivot High) ---
    var int hi_index na
    var float hi_price na
    var polyline hi_circle na

    if not na(ph55)
        
    hi_index := bar_index[pivot_len555]
        
    hi_price := high[pivot_len555]
        
        
    hi_points = array.new<chart.point>()
        for 
    0 to 40
            float angle 
    = (math.pi) / 40
            int x 
    int(math.round(math.cos(angle) * radius_mult555)) + hi_index
            float y 
    math.sin(angle) * radius_mult555 * (atr 0.5) + hi_price
            hi_points
    .push(chart.point.from_index(xy))
        
        if 
    not na(hi_circle)
            
    polyline.delete(hi_circle)
        
    hi_circle := polyline.new(hi_pointscurved=trueline_color=col_highfill_color=color.new(col_high93), line_width=2)

    // --- ALT DAİRE MOTORU (Pivot Low) ---
    var int lo_index na
    var float lo_price na
    var polyline lo_circle na

    if not na(pl55)
        
    lo_index := bar_index[pivot_len555]
        
    lo_price := low[pivot_len555]
        
        
    lo_points = array.new<chart.point>()
        for 
    0 to 40
            float angle 
    = (math.pi) / 40
            int x 
    int(math.round(math.cos(angle) * radius_mult555)) + lo_index
            float y 
    math.sin(angle) * radius_mult555 * (atr 0.5) + lo_price
            lo_points
    .push(chart.point.from_index(xy))
        
        if 
    not na(lo_circle)
            
    polyline.delete(lo_circle)
        
    lo_circle := polyline.new(lo_pointscurved=trueline_color=col_lowfill_color=color.new(col_low93), line_width=2)

    // --- MERKEZ İŞARETLERİ ---
    //plot(hi_price, "FiboÜst", color.rgb(255, 82, 82, 100), 2, plot.style_cross, offset=-pivot_len555, ****=false)
    //plot(lo_price, "FiboAlt", color.rgb(0, 230, 119, 100), 2, plot.style_cross, offset=-pivot_len555, ****=false)
    ///////////////////////// 
    16.07.2024 - 10.12.2024

Sayfa 6/6 İlkİlk ... 456

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
  •