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 5/6 İlkİlk ... 3456 SonSon
Arama sonucu : 45 madde; 33 - 40 arası.

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

  1. PHP Code:
    //@version=6
    indicator("Aİ - V139 Hatasız"overlay=truemax_labels_count=500max_lines_count=500max_bars_back=500)

    // --- 1. Girdiler ---
    v_smooth input.int(1"Vibe Yumuşatma"minval=1)
    v_girth  input.int(2"Trend Çizgi Kalınlığı")

    sar_start input.float(0.02"SAR Başlangıç"step=0.01)
    sar_inc   input.float(0.02"SAR Artış"step=0.01)
    sar_max   input.float(0.2,  "SAR Maks"step=0.01)

    shrek_mode input.color(#48fb01, "Boğa Rengi")
    blood_bath input.color(#ff0000, "Ayı Rengi")

    // --- 2. Trend-Vibe Motoru ---
    var int vibes 0
    var float bagholder_entry na
    var float pain_threshold na

    consult_the_crystal_ball
    (int bias) =>
        
    float ancient_price open
        
    for 0 to 499 
            int candle_attitude 
    nz(close[i]) > nz(open[i]) ? nz(close[i]) < nz(open[i]) ? -0
            
    if candle_attitude == 0
                
    continue
            if 
    candle_attitude != bias
                
    break
            
    ancient_price := open[i]
        
    ancient_price

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

    get_origin
    (bias) =>
        
    float p open
        
    for 1 to 499 
            
    if (nz(close[i]) > nz(open[i]) ? : -1) != bias   
                
    break
            
    := open[i]
        
    p

    if vibes == and bar_index 10
        first_imp 
    close open : -1
        vibes 
    := first_imp
        bagholder_entry 
    := consult_the_crystal_ball(first_imp)
        
    pain_threshold := first_imp == high low

    if vibes == 1
        
    if high pain_threshold
            pain_threshold 
    := high
        bagholder_entry 
    := close open consult_the_crystal_ball(1) : archaeologist_jones(1)
    else if 
    vibes == -1
        
    if low pain_threshold
            pain_threshold 
    := low
        bagholder_entry 
    := close open consult_the_crystal_ball(-1) : archaeologist_jones(-1)

    shorts_sq vibes == -and ta.ema(closev_smooth) > bagholder_entry
    longs_rk  
    vibes == and ta.ema(closev_smooth) < bagholder_entry

    if shorts_sq or longs_rk
        vibes 
    := shorts_sq : -1
        bagholder_entry 
    := consult_the_crystal_ball(vibes)
        
    pain_threshold := vibes == high low

    active_crayon 
    vibes == shrek_mode blood_bath
    plot
    (bagholder_entry"TR"color=active_crayonlinewidth=v_girth)

    // --- 3. SAR Hesaplamaları ---
    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)

    plot(psar_fast"Hızlı"style=plot.style_crosscolor=active_crayonlinewidth=1)
    plot(psar_mid"Orta"style=plot.style_circlescolor=color.new(active_crayon50), linewidth=1)
    plot(psar_slow"Yavaş"style=plot.style_linebrcolor=color.new(active_crayon80), linewidth=1)

    // --- 4. İmza Tablosu ---
    var table tb table.new(position.top_right22bgcolor #161114, border_width = 1, border_color = color.gray)
    if barstate.islast
        vibe_txt 
    vibes == "BOĞA ↗" "AYI ↘"
        
    vibe_val str.tostring(bagholder_entryformat.mintick)
        
    sar_txt  "Hızlı: " str.tostring(psar_fastformat.mintick) + " | Orta: " str.tostring(psar_midformat.mintick) + " | Yavaş: " str.tostring(psar_slowformat.mintick)
        
    full_info "TR|@yörük@: " vibe_txt " (" vibe_val ") | " sar_txt "|@yörük@ 2026"
        
    table.cell(tb00full_infotext_color #f4f2ef, text_size = size.normal)

    // --- 5. DL Fonksiyonları ---
    tanh(v) => (math.exp(-v)) / (math.exp(-v))
    td(s)   => nz((s[1]) / 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)

    polyreg(slde) =>
        
    float[] res = array.new_float(0)
        if 
    barstate.islast
            X 
    matrix.new<float>(l10.0)
            
    matrix.new<float>(l10.0)
            for 
    0 to l 1
                matrix
    .set(Yi0s[i])
                for 
    0 to d
                    matrix
    .set(Xijmath.pow(ij))
            
    XtX matrix.mult(matrix.transpose(X), X)
            
    XtY matrix.mult(matrix.transpose(X), Y)
            
    matrix.mult(matrix.inv(XtX), XtY)
            for 
    0 to l 1
                p 
    0.0
                
    for 0 to d
                    p 
    += matrix.get(bj0) * math.pow(ij)
                array.
    push(resp)
        
    res

    // --- 6. Girdiler & Ağırlıklar ---
    gann_p input.float(0.1"Gann Hız Katsayısı (P)"step=0.01)
    gann_t input.int(21"Gann Zaman Aralığı (T)")
    poly_extra input.int(5"Polinom Tahmin Menzili")

    v_shrek input.color(#cd01fb00, "Vibe"), v_blood = input.color(#cd01fb00, "Vibe Boğa (Lime)")
    v_smooth22 input.int(21"Vibe Yumuşatma"minval=1)
    v_girth22 input.int(2"Vibe Çizgi Kalınlığı")

    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)

    // --- 7. Mizan Hesaplamaları ---
    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)

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

    // --- 8. 09:55 Mihenk & Gann Hız ---
    is_mihenk hour == and minute == 55
    var float m100 na, var float m1000 na, var int start_idx na, var float gann_hiz na
    if is_mihenk
        m100 
    := c100m1000 := c1000start_idx := bar_indexgann_hiz := c1000

    if not na(gann_hiz)
        
    decay = (syminfo.mintick 100 gann_p) / gann_t
        gann_hiz 
    := gann_hiz + (c100 m1000 decay : -decay)

    // --- 9. Vibe Motoru 2 (Değişken Tanımı Düzeltilmiş) ---
    var int vibe 
    var float entryPrice na
    var float threshold na

    if vibe == and bar_index 10
        vibe 
    := close open : -1
        entryPrice 
    := get_origin(vibe)
        
    threshold := vibe == high low

    if vibe == 1
        
    if high threshold
            threshold 
    := high
        entryPrice 
    := get_origin(1)
    else if 
    vibe == -1
        
    if low threshold
            threshold 
    := low
        entryPrice 
    := get_origin(-1)

    squeezed vibe == -and ta.ema(closev_smooth22) > entryPrice
    rekt     
    vibe == and ta.ema(closev_smooth22) < entryPrice

    if squeezed or rekt
        vibe 
    := squeezed : -1
        entryPrice 
    := get_origin(vibe)
        
    threshold := vibe == high low

    plot
    (entryPrice"0"color=vibe == v_blood v_shreklinewidth=v_girth22)

    // --- 10. Görselleştirme ---
    plotcandle(o100h100l100c100"4"color=c100 c100[100] ? color.rgb(24324423795) : color.rgb(2484495), bordercolor=color.new(color.yellow45))
    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), "3"color=nabordercolor=color.new(#d303f8, 25))
    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), "2"color=nabordercolor=color.new(color.lime30))

    isBull1000 c1000 o1000
    plotcandle
    (o1000 + (c1000 o1000) * 0.33f_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.red00), bordercolor=color.new(color.fuchsia100))

    plot(gann_hiz"Hız"color=color.aqualinewidth=1style=plot.style_linebr)

    // Yıldızlar & Polinom
    isC barstate.isconfirmed
    if isC and close open and close high[1] and open <= high[1] and c100 gann_hiz and c100 m1000
        label
    .new(bar_indexhigh ta.atr(14)*0.3"✦"color=color.new(color.yellow100), textcolor=color.yellowstyle=label.style_label_downsize=size.large)
    if 
    isC and close open and close low[1] and open >= low[1] and c100 gann_hiz and c100 m1000
        label
    .new(bar_indexlow ta.atr(14)*0.3"✦"color=color.new(color.blue100), textcolor=color.bluestyle=label.style_label_upsize=size.large)

    preds polyreg(closegann_t1poly_extra)
    if 
    barstate.islast and array.size(preds) > 0
        lVal 
    = array.get(preds, array.size(preds) - 1), pCol lVal > array.get(preds, array.size(preds) - 2) ? color.rgb(255255255) : color.rgb(000)
        
    pts = array.new<chart.point>(0)
        for 
    0 to array.size(preds) - 1
            
    array.push(ptschart.point.from_index(bar_index gann_t i, array.get(predsi)))
        
    polyline.new(ptsline_color=pColline_width=2)

    // --- 11. Tünel & Tablo ---
    var line L100 na, var line L1000 na, var linefill F_FILL na
    if not na(start_idx) and barstate.islast
        line
    .delete(L100), line.delete(L1000), linefill.delete(F_FILL)
        
    L100 := line.new(start_idxm100bar_index 10m100color=color.rgb(000), width=2)
        
    L1000 := line.new(start_idxm1000bar_index 10m1000color=color.rgb(253253253), width=2)

    var 
    table tb1 table.new(position.bottom_center11bgcolor #161114)
    if barstate.islast
        valTxt 
    na(m1000) ? "OTOMATİK HESAPLAMADIR." "Ş: " str.tostring(m1000format.mintick) + " | S: " str.tostring(m100format.mintick)
        
    table.cell(tb100'(Aİ)OLASILIK  | ' valTxt ' | Eğitim çalışması olup, Yatırım Tavsiyesi Olarak KULLANILAMAZ...@yörük@ 2026'text_color #f4f2ef)

    // --- 12. Gann Modülü (v6 Nizamı) ---
    tf_gann input.timeframe('60'title='Gann Zaman Dilimi')
    p_range input.float(0.1title='Gann Fiyat Aralığı')
    t_range input.int(21title='Gann Bar Aralığı')

    f_zigzag(_h_l) =>
        var 
    int _tr 0
        _up 
    _h _h[1]
        
    _dn _l _l[1]
        
    _tr := (_tr and _dn) ? -: (_tr and _up) ? : (_tr == ? (_up : -1) : _tr)
        
    ta.change(_tr) > _l[1] : ta.change(_tr) < _h[1] : na

    zigzag_raw 
    f_zigzag(highlow)
    zigzag_src request.security(syminfo.tickeridtf_gannta.valuewhen(not na(zigzag_raw), zigzag_raw0))

    f_bull_gann_line(_pr_tr_src) =>
        
    _decay _pr _tr
        
    var float _g_line na
        _g_line 
    := nz(_g_line) - _decay
        
    if ta.change(_src) != 0
            _g_line 
    := _src
        _g_line

    bull_gann_1_1 
    f_bull_gann_line(p_ranget_rangezigzag_src)
    plot(ta.change(zigzag_src) > na bull_gann_1_1title='Saat'color=color.new(#000000, 0), linewidth=2, style=plot.style_linebr)

    // --- 13. Mühürler (0 ve o) [HATA GİDERİLDİ] ---
    // [DÜZELTME]: Eksik tanımlamalar (isClosed963, Renkler) buraya eklendi.
    isClosed963 barstate.isconfirmed
    brightRed963 
    color.black // 0 için siyah (Gündüz modu için görünürlük)
    brightGreen963 color.white // 0 için beyaz

    spaceUp963 = (high close) * 0.35
    spaceDown963 
    = (open low) * 0.35
    bullRaw12963 
    isClosed963 and close[1] < open[1] and close open and close low[1]
    bearRaw12963 isClosed963 and close[1] > open[1] and close open and close high[1]

    if 
    bullRaw12963
        label
    .new(bar_index 1high[1] + spaceUp963'0'style=label.style_nonetextcolor=brightRed963size=size.huge)
        
    label.new(bar_index 1high spaceUp963'o'style=label.style_nonetextcolor=brightRed963size=size.huge)

    if 
    bearRaw12963
        label
    .new(bar_index 1low[1] - spaceDown963'0'style=label.style_nonetextcolor=brightGreen963size=size.huge)
        
    label.new(bar_index 1low spaceDown963'o'style=label.style_nonetextcolor=brightGreen963size=size.huge
    16.07.2024 - 10.12.2024

  2. PHP Code:
    //@version=6
    indicator("Ai"overlay=truemax_boxes_count=20max_lines_count=50max_labels_count=20)

    // --- 1. Temel Fonksiyonlar ---
    tanh(v) => (math.exp(-v)) / (math.exp(-v))
    td(s)   => nz((s[1]) / s[1])

    // --- 2. DL Motoru ---
    = array.from(tanh(td(open)), tanh(td(high)), tanh(td(low)), tanh(td(close)))
    calc_dl(w) =>
        
    = array.new_float(0)
        for 
    0 to 5
            float s 
    0.0
            
    for 0 to 3
                s 
    += array.get(nj) * array.get(w, (5) + j)
            
    h.push(tanh(+ array.get(w, (5) + 4)))
        
    float out = array.get(w36)
        for 
    0 to 5
            out 
    += array.get(hi) * array.get(w30 i)
        
    tanh(out)

    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)

    // --- 3. Fonksiyonu ---
    f_v(pwdiv) => * (- (calc_dl(w) - td(p) * div) / div)

    // --- 4. Temizlik  ---
    var box[] gBoxes = array.new_box()
    var 
    line[] gLines = array.new_line()
    var 
    label[] gLabels = array.new_label()

    if 
    barstate.islast
        
    if array.size(gBoxes) > 0
            
    for 0 to array.size(gBoxes) - 1
                box
    .delete(array.get(gBoxesi))
            array.
    clear(gBoxes)
        
        if array.
    size(gLines) > 0
            
    for 0 to array.size(gLines) - 1
                line
    .delete(array.get(gLinesi))
            array.
    clear(gLines)
        
        if array.
    size(gLabels) > 0
            
    for 0 to array.size(gLabels) - 1
                label
    .delete(array.get(gLabelsi))
            array.
    clear(gLabels)

        
    // 5. Hayalet Barlar ve Hesaplama
        
    div_arr = array.from(1000.0750.0500.0250.0100.0)
        
    float range_10 0.0
        float h_100 
    na
        float l_100 
    na

        
    for 0 to 4
            float d 
    = array.get(div_arri)
            
    float vh f_v(highw_hd)
            
    float vl f_v(loww_ld)
            
    float vo f_v(openw_od)
            
    float vc f_v(closew_cd)
            
            if 
    == 
                range_10 
    := math.abs(vh vl)
            if 
    == 
                h_100 
    := vh
                l_100 
    := vl

            int x1 
    bar_index 1
            int x2 
    bar_index 2
            
    array.push(gBoxesbox.new(x1math.max(vovc), x2math.min(vovc), border_color=color.blackbgcolor=color.new(color.black15)))
            array.
    push(gLinesline.new(x1 1vhx1 1vlcolor=color.black))

            
    // 6. 100'lük Bar Rakamları 
            
    if == 4
                float res_val 
    close + (range_10 2)
                
    float sup_val close - (range_10 2)
                
    float mid_val = (h_100 l_100) / 2

                
    // Direnç 3x
                
    array.push(gLinesline.new(bar_index 1res_valx2 1res_valcolor=color.redwidth=2))
                array.
    push(gLabelslabel.new(x2 1res_val"DİRENÇ: " str.tostring(res_val"#.##"), style=label.style_nonetextcolor=color.red))
                
                
    // Hayalet Mihenkleri (H, M, L)
                //array.push(gLabels, label.new(x2 + 1, h_100, "H: " + str.tostring(h_100, "#.##"), style=label.style_none, textcolor=color.gray))
                //array.push(gLabels, label.new(x2 + 1, mid_val, "M: " + str.tostring(mid_val, "#.##"), style=label.style_none, textcolor=color.gray))
                //array.push(gLabels, label.new(x2 + 1, l_100, "L: " + str.tostring(l_100, "#.##"), style=label.style_none, textcolor=color.gray))

                // Destek 2x
                
    array.push(gLinesline.new(bar_index 1sup_valx2 1sup_valcolor=color.greenwidth=2))
                array.
    push(gLabelslabel.new(x2 1sup_val"DESTEK: " str.tostring(sup_val"#.##"), style=label.style_nonetextcolor=color.green))

    //plot(close, ".", color=color.new(color.white, 90))
    // --- 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.limetransp) : color.new(color.redtransp)
            
            
    // 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.white00), style=line.style_dashed))

    //plot(close, color=color.new(color.white, 100)) 
    16.07.2024 - 10.12.2024

  3. 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)
    ///////////////////////////////İMZA BÖLÜMÜ/////////////
    var tb table.new(position.bottom_center11bgcolor #161114)
    if barstate.isfirst 
        table
    .cell(tb00'(Aİ-V5) Modellemedir. Yatırım tavsiyesi olarak KULLANILAMAZ. @yörük@ 2026 'text_size size.normaltext_color #f4f2ef)

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

    // --- 3 Bölüntülü Bar Çizimi ---
    isBull8 f_close8 f_open8
    mainColor8 
    isBull8 color.green color.red
    //plotcandle(f_open8, f_open8 + (f_close8 - f_open8) * 0.33, f_open8, f_open8 + (f_close8 - f_open8) * 0.33, "Üst", color = color.new(color.gray, 75))
    plotcandle(f_open8 + (f_close8 f_open8) * 0.33f_high8f_low8f_open8 + (f_close8 f_open8) * 0.66"Bar"color color.new(mainColor840))
    //plotcandle(f_open8 + (f_close8 - f_open8) * 0.66, f_close8, f_open8 + (f_close8 - f_open8) * 0.66, f_close8, "Alt", color = color.new(color.gray, 75))
    ////////////////////////////////////
    // --- 2. Gann Modülü (Hatanın Giderildiği Bölüm) ---
    tf_gann input.timeframe('15'title='Gann Zaman Dilimi')
    p_range input.float(0.1title='Gann Fiyat Aralığı')
    t_range input.int(21title='Gann Bar Aralığı')

    f_zigzag(_h_l) =>
        var 
    int _tr 0
        _up 
    _h _h[1]
        
    _dn _l _l[1]
        
    _tr := (_tr and _dn) ? -: (_tr and _up) ? : (_tr == ? (_up : -1) : _tr)
        
    ta.change(_tr) > _l[1] : ta.change(_tr) < _h[1] : na

    // v5'te fixnan fonksiyonu ta. kütüphanesine ait değildir, doğrudan çağrılır
    zigzag_src request.security(syminfo.tickeridtf_gannfixnan(f_zigzag(highlow)))

    f_bull_gann_line(_pr_tr_src) =>
        
    _decay _pr _tr
        
    var float _g_line na
        _g_line 
    := _g_line _decay
        
    if ta.change(_src) > 0
            _g_line 
    := _src
        _g_line

    bull_gann_1_1 
    f_bull_gann_line(p_ranget_rangezigzag_src)
    // --- 5. Görselleştirmeler ---
    plot(ta.change(zigzag_src) > na bull_gann_1_1title='Gann'color=color.new(color.yellow0), linewidth=1style=plot.style_linebr)
    ///////////////////////////////////
    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(1"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, 100), "Bullish CISD", group=crayon_box)
    blood_bath input.color(color.new(#ff0000, 100), "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"Trend"color=active_crayonlinewidth=girth_unitsstyle=plot.style_line)
    /////////////////////////////////////////
    // --- 1. Dalga Mantığı ---
    isClosed barstate.isconfirmed
    spaceUp 
    = (high close) * 0.65
    spaceDown 
    = (open low) * 0.65
    brightRed 
    color.rgb(000// Siyah
    brightGreen color.white      // Beyaz

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

    // --- 2. 6 Bar Hafıza Taraması ---
    // 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

    // --- 3. Ofsetli Sembol Yerleştirme ---
    // Etiketleri bar_index - 3 diyerek tam 'kırılma' barına ofsetliyoruz
    //if bullRaw12
        //label.new(bar_index - 3, high[3] + spaceUp, '1', style=label.style_none, textcolor=brightRed, size=size.huge)
        //label.new(bar_index-3, high + spaceUp, '0', style=label.style_none, textcolor=brightRed, size=size.huge)

    //if bearRaw12
        //label.new(bar_index - 3, low[3] - spaceDown, '1', style=label.style_none, textcolor=brightGreen, size=size.huge)
        //label.new(bar_index-3, low - spaceDown, '0', style=label.style_none, textcolor=brightGreen, size=size.huge)

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

    isZit3 
    hasSiyahIn63 and hasBeyazIn63
    // Zıtlık yokken kilitlerin hükmü geçerlidir
    isAlZone  lockAL and not isZit3
    isSatZone 
    lockSAT and not isZit3

    // Barları da kilitli bölge rengine göre boyayalım ki nizam tam olsun
    //barcolor(isZit3 ? color.gray : isAlZone ? color.lime : isSatZone ? color.red : na)
    ////////////////////
    // --- 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

    // --- 3. ÜÇE BÖLME (MENZİL DİLİMLERİ) ---
    // Dün ve Bugün arasındaki farkı 3'e bölüyoruz
    diff anchorToday anchorYesterday
    level1 
    anchorYesterday + (diff 0.33// İlk Dilim
    level2 anchorYesterday + (diff 0.66// İkinci Dilim

    // --- 4. ÇİZİMLER ---
    // Ana Mihenkler
    //plot(anchorYesterday, "Dün", color=color.new(color.gray, 20), linewidth=2, style=plot.style_linebr)
    plot(anchorToday"Bugün"color=color.new(color.white20), linewidth=2style=plot.style_linebr)
    ///////////////////

    // --- 5. Yörük Sinyali & PSAR ---
    psar ta.sar(0.00.0010.99)
    //plot(psar, "PSAR2", style=plot.style_line, color=active_crayon)

    psar1 ta.sar(0.00.010.99)
    plot(psar1"PSAR"style=plot.style_linecolor=active_crayon)
    ////////////////////// 
    16.07.2024 - 10.12.2024

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

    var 
    tb table.new(position.bottom_center11bgcolor #161114)
    if barstate.isfirst 
        table
    .cell(tb00'(Aİ-V5) Yatırım tavsiyesi olarak KULLANILAMAZ. @yörük@ 2026 'text_size size.normaltext_color #f4f2ef)
    //////////// --- 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)

    // --- 3 Bölüntülü Bar Çizimi ---
    isBull8 f_close8 f_open8
    mainColor8 
    isBull8 color.green color.red
    plotcandle
    (f_open8f_open8 + (f_close8 f_open8) * 0.33f_open8f_open8 + (f_close8 f_open8) * 0.33"1"color color.new(color.gray75))
    plotcandle(f_open8 + (f_close8 f_open8) * 0.33f_high8f_low8f_open8 + (f_close8 f_open8) * 0.66"2"color color.new(mainColor840))
    plotcandle(f_open8 + (f_close8 f_open8) * 0.66f_close8f_open8 + (f_close8 f_open8) * 0.66f_close8"3"color color.new(color.gray75))

    //////////// --- 2. Gann Modülü (Hatanın Giderildiği Bölüm) ---
    tf_gann input.timeframe('15'title='Gann Zaman Dilimi')
    p_range input.float(0.1title='Gann Fiyat Aralığı')
    t_range input.int(101title='Gann Bar Aralığı')

    f_zigzag(_h_l) =>
        var 
    int _tr 0
        _up 
    _h _h[1]
        
    _dn _l _l[1]
        
    _tr := (_tr and _dn) ? -: (_tr and _up) ? : (_tr == ? (_up : -1) : _tr)
        
    ta.change(_tr) > _l[1] : ta.change(_tr) < _h[1] : na

    // v5'te fixnan fonksiyonu ta. kütüphanesine ait değildir, doğrudan çağrılır
    zigzag_src request.security(syminfo.tickeridtf_gannfixnan(f_zigzag(highlow)))

    f_bull_gann_line(_pr_tr_src) =>
        
    _decay _pr _tr
        
    var float _g_line na
        _g_line 
    := _g_line _decay
        
    if ta.change(_src) > 0
            _g_line 
    := _src
        _g_line

    bull_gann_1_1 
    f_bull_gann_line(p_ranget_rangezigzag_src)
    // --- 5. Görselleştirmeler ---
    plot(ta.change(zigzag_src) > na bull_gann_1_1title='Gann'color=color.new(color.yellow0), linewidth=1style=plot.style_linebr)
    //////////reverse takibi///////
    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(1"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(#48fb01, 0), "Bullish CISD", group=crayon_box)
    blood_bath input.color(color.new(#ff0000, 0), "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"Trend"color=active_crayonlinewidth=girth_unitsstyle=plot.style_line)
    //////////////////////BU KODUN SONUDUR.///////////////////
    // --- 1. Dalga Mantığı ---
    isClosed barstate.isconfirmed
    spaceUp 
    = (high close) * 0.65
    spaceDown 
    = (open low) * 0.65
    brightRed 
    color.rgb(000// Siyah
    brightGreen color.white      // Beyaz

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

    // --- 2. 6 Bar Hafıza Taraması ---
    // 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

    // --- 3. Ofsetli Sembol Yerleştirme ---
    // Etiketleri bar_index - 3 diyerek tam 'kırılma' barına ofsetliyoruz
    if bullRaw12
        label
    .new(bar_index 3high[3] + spaceUp'1'style=label.style_nonetextcolor=brightRedsize=size.huge)
        
    label.new(bar_index-3high spaceUp'0'style=label.style_nonetextcolor=brightRedsize=size.huge)

    if 
    bearRaw12
        label
    .new(bar_index 3low[3] - spaceDown'1'style=label.style_nonetextcolor=brightGreensize=size.huge)
        
    label.new(bar_index-3low spaceDown'0'style=label.style_nonetextcolor=brightGreensize=size.huge)

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

    isZit3 
    hasSiyahIn63 and hasBeyazIn63
    // Zıtlık yokken kilitlerin hükmü geçerlidir
    isAlZone  lockAL and not isZit3
    isSatZone 
    lockSAT and not isZit3

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

    // --- 3. ÜÇE BÖLME  ---
    // Dün ve Bugün arasındaki farkı 3'e bölüyoruz
    diff anchorToday anchorYesterday
    level1 
    anchorYesterday + (diff 0.33// İlk Dilim
    level2 anchorYesterday + (diff 0.66// İkinci Dilim

    // --- 4. ÇİZİMLER ---
    // Ana Mihenkler
    plot(anchorYesterday"Yesterday"color=color.new(color.gray20), linewidth=2style=plot.style_linebr)
    plot(anchorToday"Today"color=color.new(color.white20), linewidth=2style=plot.style_linebr)
    ///////////////////
    // --- 5. Yörük Sinyali & PSAR ---
    psar ta.sar(0.00.0010.99)
    plot(psar"PSAR"style=plot.style_linecolor=active_crayon)

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

  5. PHP Code:
    //@version=5
    indicator("Crescent 4D Quantum-Zone v9.3.1 Data-Only"overlay=truemax_bars_back=1000max_lines_count=500max_boxes_count=500)

    // --- PARAMETRELER ---
    tlm_length  input.int(15"TLM Hassasiyeti")
    show_deep   input.bool(true"Hayalet Mumları Göster")

    // --- 1. DERİN ÖĞRENME HESAPLAMALARI (ANN) ---
    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)

    // Değişken tanımlamaları düzeltildi
    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)

    // Hayalet Mumlar
    plotcandle(show_deep f_open naf_highf_lowf_closetitle="Neural Ghost Bars"color=f_close f_open color.new(#00ffbb, 85) : color.new(#ff0055, 85), bordercolor=na)

    // --- 2. OLASILIK KALKAN HESAPLARI ---
    f_get_kalkan(_len) =>
        
    _stdev ta.stdev(f_close_len)
        
    _basis ta.sma(f_close_len)
        [
    _basis + (_stdev 2.0), _basis - (_stdev 2.0)]

    [
    up100dn100]   = f_get_kalkan(100)
    [
    up250dn250]   = f_get_kalkan(250)
    [
    up500dn500]   = f_get_kalkan(500)
    [
    up750dn750]   = f_get_kalkan(750)
    [
    up1000dn1000] = f_get_kalkan(1000)

    // --- 3. MARKOV REJİM VE VERİ TABLOSU ---
    int state close ta.sma(close50) ? close ta.sma(close50) ? -0
    string rejim_str 
    state == "BULL (POZİTİF)" state == -"BEAR (NEGATİF)" "NEUTRAL"
    color rejim_col  state == color.green state == -color.red color.gray

    var table stats_table table.new(position.top_right27border_width 1frame_color=color.gray)
    if 
    barstate.islast
        table
    .cell(stats_table00"OLASILIK KATMANI"bgcolor=color.blacktext_color=color.white)
        
    table.cell(stats_table10"DEĞER (ÜST / ALT)"bgcolor=color.blacktext_color=color.white)
        
        
    table.cell(stats_table01"MARKOV REJİMİ"bgcolor=color.new(color.gray70))
        
    table.cell(stats_table11rejim_strbgcolor=rejim_coltext_color=color.white)
        
        
    table.cell(stats_table02"100'LÜ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table12str.format("{0,number,#.#} / {1,number,#.#}"up100dn100))
        
        
    table.cell(stats_table03"250'Lİ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table13str.format("{0,number,#.#} / {1,number,#.#}"up250dn250))
        
        
    table.cell(stats_table04"500'LÜ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table14str.format("{0,number,#.#} / {1,number,#.#}"up500dn500))
        
        
    table.cell(stats_table05"750'Lİ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table15str.format("{0,number,#.#} / {1,number,#.#}"up750dn750))
        
        
    table.cell(stats_table06"1000'Lİ KUANTUM"bgcolor=color.new(color.purple80), text_color=color.white)
        
    table.cell(stats_table16str.format("{0,number,#.#} / {1,number,#.#}"up1000dn1000))

    // --- 4. QUANTUM-ZONE ---
    float ph ta.pivothigh(f_hightlm_lengthtlm_length)
    float pl ta.pivotlow(f_lowtlm_lengthtlm_length)

    if 
    not na(ph)
        
    box.new(bar_index tlm_lengthphbar_index 10ph 0.998border_color=color.new(color.red70), bgcolor=color.new(color.red95))
    if 
    not na(pl)
        
    box.new(bar_index tlm_lengthplbar_index 10pl 1.002border_color=color.new(color.green70), bgcolor=color.new(color.green95)) 
    16.07.2024 - 10.12.2024

  6. PHP Code:
    //@version=5
    indicator("Crescent 4D Quantum-Zone v9.4 Ultimate"overlay=truemax_bars_back=1000max_lines_count=500max_boxes_count=500)

    // --- PARAMETRELER ---
    tlm_length  input.int(15"TLM Hassasiyeti")
    mc_iter     1000 // Monte Carlo Simülasyon Derinliği

    // --- 1. DERİN ÖĞRENME HESAPLAMALARI (ANN) ---
    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)

    plotcandle(f_openf_highf_lowf_closetitle="Neural Ghost Bars"color=f_close f_open color.new(#00ffbb, 85) : color.new(#ff0055, 85), bordercolor=na)

    // --- 2. MONTE CARLO SİMÜLASYON MOTORU ---
    returns math.log(f_close f_close[1])
    mu      ta.sma(returns50)
    sigma   ta.stdev(returns50)

    // 1 Adım sonrası için Monte Carlo Tahmini (Basitleştirilmiş Gauss Dağılımı)
    mc_upper f_close math.exp(mu sigma 2.326// %99 güven aralığı
    mc_lower f_close math.exp(mu sigma 2.326)

    // --- 3. KADEMELİ ZIRH HESAPLARI ---
    f_get_kalkan(_len) =>
        
    _stdev ta.stdev(f_close_len)
        
    _basis ta.sma(f_close_len)
        [
    _basis + (_stdev 2.5), _basis - (_stdev 2.5)]

    [
    up100dn100]   = f_get_kalkan(100)
    [
    up500dn500]   = f_get_kalkan(500)
    [
    up1000dn1000] = f_get_kalkan(1000)

    // --- 4. AKILLI MARKOV VE ANALİZ TABLOSU ---
    var table stats_table table.new(position.top_right28border_width 1frame_color=color.gray)

    // Yakınlık Kontrol Fonksiyonu (Uyarı Rengi İçin)
    f_near_color(_val) =>
        
    math.abs(close _val) / _val 0.005 color.new(color.yellow30) : color.new(color.gray90)

    if 
    barstate.islast
        table
    .cell(stats_table00"KUANTUM METRİK"bgcolor=color.blacktext_color=color.white)
        
    table.cell(stats_table10"DEĞER / SİNYAL"bgcolor=color.blacktext_color=color.white)
        
        
    // Monte Carlo Projeksiyonu
        
    table.cell(stats_table01"MONTE CARLO (%99)"bgcolor=color.new(color.blue70), text_color=color.white)
        
    table.cell(stats_table11str.format("{0,number,#.#} - {1,number,#.#}"mc_uppermc_lower), bgcolor=color.new(color.blue90))

        
    // Zırhlar ve Dinamik Renklendirme
        
    table.cell(stats_table02"100'LÜ ZIRH"bgcolor=f_near_color(up100))
        
    table.cell(stats_table12str.format("{0,number,#.#} / {1,number,#.#}"up100dn100))
        
        
    table.cell(stats_table03"500'LÜ ZIRH"bgcolor=f_near_color(up500))
        
    table.cell(stats_table13str.format("{0,number,#.#} / {1,number,#.#}"up500dn500))
        
        
    table.cell(stats_table04"1000'Lİ KUANTUM"bgcolor=color.purpletext_color=color.white)
        
    table.cell(stats_table14str.format("{0,number,#.#} / {1,number,#.#}"up1000dn1000))

        
    // Rejim Durumu
        
    state_str close mc_upper "AŞIRI COŞKU" close mc_lower "AŞIRI KORKU" "STABİL AKIŞ"
        
    table.cell(stats_table05"PİYASA PSİKOLOJİSİ"bgcolor=color.blacktext_color=color.white)
        
    table.cell(stats_table15state_strbgcolor=close mc_upper color.red close mc_lower color.green color.graytext_color=color.white)

    // --- 5. QUANTUM-ZONE ---
    float ph ta.pivothigh(f_hightlm_lengthtlm_length)
    float pl ta.pivotlow(f_lowtlm_lengthtlm_length)
    if 
    not na(ph)
        
    box.new(bar_index tlm_lengthphbar_index 5ph 0.998border_color=color.new(color.red70), bgcolor=color.new(color.red95))
    if 
    not na(pl)
        
    box.new(bar_index tlm_lengthplbar_index 5pl 1.002border_color=color.new(color.green70), bgcolor=color.new(color.green95)) 
    16.07.2024 - 10.12.2024

  7. PHP Code:
    //@version=5
    indicator("Crescent 4D Quantum-Zone v9.3.1 Data-Only"overlay=truemax_bars_back=1000max_lines_count=500max_boxes_count=500)

    // --- PARAMETRELER ---
    tlm_length  input.int(15"TLM Hassasiyeti")
    show_deep   input.bool(true"Hayalet Mumları Göster")

    // --- 1. DERİN ÖĞRENME HESAPLAMALARI (ANN) ---
    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)

    // Değişken tanımlamaları düzeltildi
    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)

    // Hayalet Mumlar
    plotcandle(show_deep f_open naf_highf_lowf_closetitle="Neural Ghost Bars"color=f_close f_open color.new(#00ffbb, 85) : color.new(#ff0055, 85), bordercolor=na)

    // --- 2. OLASILIK KALKAN HESAPLARI ---
    f_get_kalkan(_len) =>
        
    _stdev ta.stdev(f_close_len)
        
    _basis ta.sma(f_close_len)
        [
    _basis + (_stdev 2.0), _basis - (_stdev 2.0)]

    [
    up100dn100]   = f_get_kalkan(100)
    [
    up250dn250]   = f_get_kalkan(250)
    [
    up500dn500]   = f_get_kalkan(500)
    [
    up750dn750]   = f_get_kalkan(750)
    [
    up1000dn1000] = f_get_kalkan(1000)

    // --- 3. MARKOV REJİM VE VERİ TABLOSU ---
    int state close ta.sma(close50) ? close ta.sma(close50) ? -0
    string rejim_str 
    state == "BULL (POZİTİF)" state == -"BEAR (NEGATİF)" "NEUTRAL"
    color rejim_col  state == color.green state == -color.red color.gray

    var table stats_table table.new(position.top_right27border_width 1frame_color=color.gray)
    if 
    barstate.islast
        table
    .cell(stats_table00"OLASILIK KATMANI"bgcolor=color.blacktext_color=color.white)
        
    table.cell(stats_table10"DEĞER (ÜST / ALT)"bgcolor=color.blacktext_color=color.white)
        
        
    table.cell(stats_table01"MARKOV REJİMİ"bgcolor=color.new(color.gray70))
        
    table.cell(stats_table11rejim_strbgcolor=rejim_coltext_color=color.white)
        
        
    table.cell(stats_table02"100'LÜ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table12str.format("{0,number,#.#} / {1,number,#.#}"up100dn100))
        
        
    table.cell(stats_table03"250'Lİ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table13str.format("{0,number,#.#} / {1,number,#.#}"up250dn250))
        
        
    table.cell(stats_table04"500'LÜ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table14str.format("{0,number,#.#} / {1,number,#.#}"up500dn500))
        
        
    table.cell(stats_table05"750'Lİ ZIRH"bgcolor=color.new(color.gray90))
        
    table.cell(stats_table15str.format("{0,number,#.#} / {1,number,#.#}"up750dn750))
        
        
    table.cell(stats_table06"1000'Lİ KUANTUM"bgcolor=color.new(color.purple80), text_color=color.white)
        
    table.cell(stats_table16str.format("{0,number,#.#} / {1,number,#.#}"up1000dn1000))

    // --- 4. QUANTUM-ZONE ---
    float ph ta.pivothigh(f_hightlm_lengthtlm_length)
    float pl ta.pivotlow(f_lowtlm_lengthtlm_length)

    if 
    not na(ph)
        
    box.new(bar_index tlm_lengthphbar_index 10ph 0.998border_color=color.new(color.red70), bgcolor=color.new(color.red95))
    if 
    not na(pl)
        
    box.new(bar_index tlm_lengthplbar_index 10pl 1.002border_color=color.new(color.green70), bgcolor=color.new(color.green95)) 
    16.07.2024 - 10.12.2024

  8. PHP Code:
    //@version=5
    indicator("Crescent 4D Quantum-Zone v9.2 Deep Learning"overlay=truemax_bars_back=1000max_lines_count=500max_boxes_count=500)

    // --- PARAMETRELER ---
    tlm_length  input.int(15"TLM Hassasiyeti")
    show_deep   input.bool(true"Derin Öğrenme Barlarını Göster")

    // --- 1. DERİN ÖĞRENME VE BAR HESAPLAMALARI (SENİN MATEMATİĞİN) ---
    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)

    // Derin Öğrenme Barlarını Çiz (Kuantum Gölgeler)
    plotcandle(show_deep f_open naf_highf_lowf_closetitle="Neural Ghost Bars"color=f_close f_open color.new(#00ffbb, 70) : color.new(#ff0055, 70), wickcolor=color.new(color.gray, 70), bordercolor=na)

    // --- 2. TLM PİVOT VE VEKTÖR SİSTEMİ ---
    float ph ta.pivothigh(f_hightlm_lengthtlm_length// Artık derin öğrenme yükseklerini baz alıyor
    float pl ta.pivotlow(f_lowtlm_lengthtlm_length)   // Artık derin öğrenme düşüklerini baz alıyor

    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

    if not na(ph)
        if 
    last_ph_x != 0
            line
    .new(last_ph_xlast_ph_ybar_index tlm_lengthphxloc=xloc.bar_indexextend=extend.rightcolor=color.new(color.red60), style=line.style_dashed)
        
    last_ph_x := bar_index tlm_length
        last_ph_y 
    := ph

    if not na(pl)
        if 
    last_pl_x != 0
            line
    .new(last_pl_xlast_pl_ybar_index tlm_lengthplxloc=xloc.bar_indexextend=extend.rightcolor=color.new(color.green60), style=line.style_dashed)
        
    last_pl_x := bar_index tlm_length
        last_pl_y 
    := pl

    // --- 3. MONTE CARLO HİLALLERİ (ANN DESTEKLİ) ---
    stdev_val ta.stdev(f_close50)
    basis ta.sma(f_close50)
    plot(basis + (stdev_val 2), "Üst Kalkan"color.new(color.red50))
    plot(basis - (stdev_val 2), "Alt Kalkan"color.new(color.green50))

    // --- 4. QUANTUM-ZONE ---
    if not na(ph)
        
    box.new(bar_index tlm_lengthphbar_index 10ph 0.998border_color=color.new(color.red50), bgcolor=color.new(color.red90))
    if 
    not na(pl)
        
    box.new(bar_index tlm_lengthplbar_index 10pl 1.002border_color=color.new(color.green50), bgcolor=color.new(color.green90)) 
    16.07.2024 - 10.12.2024

Sayfa 5/6 İlkİlk ... 3456 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
  •