Artan
Azalan
��lem
BIST 30
BIST 50
BIST 100
NASDAQ 100
Hisse Fiyat Fark% Hacim (TL) D���k / Y�ksek
390,50 10% 6,56 Mn 355,50 / 390,50
6,05 10% 13,27 Mn 5,45 / 6,05
17,60 10% 185,59 Mn 16,11 / 17,60
86,90 10% 807,14 Mn 78,20 / 86,90
12,55 9.99% 1,76 Mr 11,46 / 12,55
Hisse Fiyat Fark% Hacim (TL) D���k / Y�ksek
19,17 -10% 785,37 Mn 19,17 / 22,00
22,14 -10% 192,04 Mn 22,14 / 25,00
108,90 -10% 1,22 Mr 108,90 / 122,00
324,00 -10% 558,18 Mn 324,00 / 373,50
19,80 -10% 1,76 Mr 19,80 / 23,80
Hisse Fiyat Fark% Hacim (TL) D���k / Y�ksek
2,91 -9.91% 25,75 Mr 2,91 / 3,25
335,00 0.53% 16,24 Mr 310,00 / 336,50
189,00 5.06% 12,33 Mr 171,20 / 196,30
304,00 -0.57% 9,56 Mr 304,00 / 310,00
29,00 6.62% 8,49 Mr 26,56 / 29,00
Hisse Fiyat Fark% Hacim (TL) D���k / Y�ksek
20,70 1.67% 1,29 Mr 20,22 / 21,04
71,55 -1.65% 7,57 Mr 71,05 / 73,70
412,75 -1.55% 5,70 Mr 410,75 / 423,50
335,00 0.53% 16,24 Mr 310,00 / 336,50
813,00 4.1% 6,27 Mr 786,50 / 814,50
Hisse Fiyat Fark% Hacim (TL) D���k / Y�ksek
20,70 1.67% 1,29 Mr 20,22 / 21,04
71,55 -1.65% 7,57 Mr 71,05 / 73,70
100,40 -0.59% 385,64 Mn 99,95 / 102,50
113,40 -1.13% 218,40 Mn 113,20 / 115,90
412,75 -1.55% 5,70 Mr 410,75 / 423,50
Hisse Fiyat Fark% Hacim (TL) D���k / Y�ksek
20,70 1.67% 1,29 Mr 20,22 / 21,04
36,80 3.66% 267,89 Mn 35,70 / 37,16
71,55 -1.65% 7,57 Mr 71,05 / 73,70
10,97 -4.11% 338,77 Mn 10,97 / 11,57
85,10 0.65% 519,84 Mn 84,15 / 86,90

Masrafsz Bankaclk + 1.000 TL Nakit! Enparadan ifte Avantaj

Masrafsz Bankaclk + 1.000 TL Nakit! Enparadan ifte Avantaj
Sayfa 8/11 lklk ... 678910 ... SonSon
Arama sonucu : 87 madde; 57 - 64 aras.

Konu: @yrk@n Heybesinden

  1. PHP Code:
    //@version=6
    indicator("."overlay=truemax_bars_back=1000)

    // ==========================================
    // 1. DL MOTORU EKRDE
    // ==========================================
    tanh(v) => (math.exp(-v)) / (math.exp(-v))
    td(s)   => nz((nz(s[1])) / nz(s[1]))
    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_calc_dl(n_arrw_arr) =>
        
    float out 0.0
        
    for 0 to 5
            float s 
    0.0
            
    for 0 to 3
                s 
    += array.get(n_arrj) * array.get(w_arr, (5) + j)
            
    out += tanh(+ array.get(w_arr, (5) + 4)) * array.get(w_arr30 i)
        
    tanh(out + array.get(w_arr36))

    float dl_val f_calc_dl(n_inw_c)

    // ==========================================
    // 3. REAKTR VE ENERJ TPLER
    // ==========================================
    float mtk_p89 ta.sar(0.0020.020.2)
    float tork89 ta.sma(math.abs(mtk_p89 nz(mtk_p89[1])), 50) * 10
    float doluluk 
    math.abs(close mtk_p89) / (tork89 == tork89) * 100

    float mtk_p 
    ta.sar(0.020.020.2)
    float tork ta.sma(math.abs(mtk_p nz(mtk_p[1])), 100) * 10
    float bar_ust 
    close mtk_p mtk_p tork mtk_p tork
    plotcandle
    (bar_ustmtk_pbar_ustmtk_p"KAPasite"color=color.rgb(25525525575), bordercolor=na)
    plotcandle(closemtk_p89closemtk_p89"Glenme"color=doluluk >= 100 color.rgb(333100) : color.rgb(333100), bordercolor=na)

    // ==========================================
    ///////////MZA//////////////
    var table ytd_table table.new(position.bottom_center11)
    if 
    barstate.islast
        table
    .cell(ytd_table00"Eitim almasdr.  YATIRIM TAVSYES olarak KULLANILAMAZ."text_color=color.new(color.white00), text_size=size.normal)
    // ==========================================
    // 1. 9-SAR HESAPLAMA (ANA EKRDEK)
    // ==========================================
    // Sar (0.02), Mavi (0.015), Krmz (0.01)
    kv1 ta.sar(0.020.020.2), kv2 ta.sar(0.0020.0020.02), kv3 ta.sar(0.00020.00020.002)
    ov1 ta.sar(0.0150.0150.15), ov2 ta.sar(0.00150.00150.015), ov3 ta.sar(0.000150.000150.0015)
    uv1 ta.sar(0.010.010.1), uv2 ta.sar(0.0010.0010.01), uv3 ta.sar(0.00010.00010.001)
      
    plot(kv1"1"color=color.yellowstyle=plot.style_circleslinewidth=1)
    plot(ov1"2"color=color.bluestyle=plot.style_circleslinewidth=1)
    plot(uv1"3"color=color.redstyle=plot.style_circleslinewidth=1)
    float KV11 ta.sar(0.020.0020.2)     
    float UV11   ta.sar(0.010.0010.1)  
    plot(KV11"1-DNG"color=color.whitestyle=plot.style_crosslinewidth=1)
    plot(UV11"2-DNG"color=color.whitestyle=plot.style_crosslinewidth=1)
    float KV111 ta.sar(0.00020.0020.2)    
    plot(KV111"3-DNG"color=color.whitestyle=plot.style_crosslinewidth=1)
    // ksa vade Ortalama Hatt
    float sur_agresif78 ta.sar(0.020.020.2)
    float sur_sabirli78  ta.sar(0.0150.0150.15)
    float sur_patron78  ta.sar(0.010.010.1)
    float trident_avg78 math.avg(sur_agresif78sur_sabirli78sur_patron78)
    plot(trident_avg78"TREND"color=close trident_avg78 #33ff00 : #ff0000, linewidth=2, style=plot.style_line)
    // Skma Motoru
    float sur_hizli     ta.sar(0.020.020.2)
    float sur_sabirli   ta.sar(0.0020.020.2// Senin sarslmaz mizann
    float band_mesafe   math.abs(sur_hizli sur_sabirli)
    float ort_mesafe    ta.sma(band_mesafe2)
    bool sikisma_var    band_mesafe < (ort_mesafe 0.2)
    // 2. PUANLAMA (9 PUAN ZERNDEN - ANLIK & ORTA)
    // ==========================================
    // Anlklar 1p, Ortalar 2p (Analar 3p deerinde ama rehber olarak ayrld)
    int p_anlik = (close kv1 0) + (close ov1 0) + (close uv1 0)
    int p_orta  = (close kv2 0) + (close ov2 0) + (close uv20)
    int total_puan p_anlik p_orta

    // 3. LKT KANAL & AKSYON RENG
    // ==========================================
    float omurga_hizli = (kv1 kv2 kv3 ov1 ov2 ov3 uv1 uv2uv3) / 9
    float omurga_yavas 
    = (kv3 ov3 uv3) / 3

    // ===============NHAYET SON YRK 2026 YUNUS EMREYE HEDYEMDR.===========================
    // Skma iddeti (0-100 aras bir deer retir)
    //float sikisma_siddeti = math.min(100, (1 - (band_mesafe / (ort_mesafe > 0 ? ort_mesafe : 1))) * 100)
    // ==========================================
    // WIDGET (KONTROL PANEL) ENTEGRASYONU
    // ==========================================
    var table widget table.new(position.top_right211bgcolor color.new(color.black20), border_width 1border_color color.gray)

    if 
    barstate.islast
        
    // Balklar
        
    table.cell(widget00"SSTEM VERS"text_color color.whitebgcolor color.rgb(446280))
        
    table.cell(widget10"DEER / DURUM"text_color color.whitebgcolor color.rgb(446280))

        
    // 1. DL Motoru k (Zeka)
        
    table.cell(widget01"DL Motor Gc"text_color color.white)
        
    table.cell(widget11str.tostring(dl_val"#.####"), text_color dl_val color.lime color.red)

        
    // 2. Reaktr Doluluk (Enerji)
        
    table.cell(widget02"Enerji Doluluk"text_color color.white)
        
    table.cell(widget12"%" str.tostring(doluluk"#.#"), text_color doluluk >= 100 color.lime color.orange)

        
    // 3. Toplam Sistem Puan (Mizan)
        
    table.cell(widget03"Sistem Puan"text_color color.white)
        
    table.cell(widget13str.tostring(total_puan) + " / 9"bgcolor total_puan >= color.new(color.green00) : color.new(color.red00))

        
    // 5. Ana Trend stikameti
        
    table.cell(widget05"Ana Trend"text_color color.white)
        
    table.cell(widget15close trident_avg78 "YUKARI" "AAI"bgcolor close trident_avg78 color.new(color.green00) : color.new(color.red00))

    // ==========================================
    // DNG - KAPASTE TEMAS ANALZR (MULTI-TOUCH)
    // ==========================================

    // 1. Kapasite Duvarlarn Tanmla (Meknn Snrlar)
    float k_alt math.min(mtk_pbar_ust)
    float k_ust math.max(mtk_pbar_ust)

    // 2. Hassasiyet (Temas Tolerans - Fiyatn binde 1.5'i)
    // ok kat olursak "1-2-3" yakalamak zorlar, o yzden hafif esneklik (rahmet) pay brakyoruz.
    float tol close 0.00015

    // 3. Her Bir Dngnn Temas Kontrol
    // Hem alta hem ste bakyoruz, nk mizan her iki uta da kurulabilir.
    bool t1 = (math.abs(k_alt KV11) < tol) or (math.abs(k_ust KV11) < tol)
    bool t2 = (math.abs(k_alt UV11) < tol) or (math.abs(k_ust UV11) < tol)
    bool t3 = (math.abs(k_alt KV111) < tol) or (math.abs(k_ust KV111) < tol)

    // 4. Metin Oluturma (String Builder)
    string s_temas ""

    if t1
        s_temas 
    := "1"

    if t2
        
    // Eer s_temas doluysa (yani 1 varsa) yanna tire koy, yoksa direkt "2" yaz
        
    s_temas := s_temas != "" s_temas "-2" "2"

    if t3
        
    // Eer s_temas doluysa (1 veya 2 varsa) yanna tire koy, yoksa direkt "3" yaz
        
    s_temas := s_temas != "" s_temas "-3" "3"

    // Hibiri yoksa
    if s_temas == ""
        
    s_temas := "YOK"

    // 5. Renk Atamas (Durumun Ciddiyetine Gre)
    color c_temas color.gray
    if s_temas == "1" or s_temas == "2" or s_temas == "3"
        
    c_temas := color.yellow // Tekli Temas (Uyar)
    else if s_temas == "YOK"
        
    c_temas := color.gray   // Sakin
    else
        
    c_temas := color.lime   // oklu Temas (1-2, 1-3, 1-2-3) -> KAVUMA!

    // ==========================================
    // WIDGET TABLOSUNA YAZDIRMA
    // ==========================================

    table.cell(widget08"Dng Temas"text_color color.white)
    table.cell(widget18s_temasbgcolor s_temas != "YOK" color.new(c_temas30) : color.new(color.black0), text_color color.whitetext_size size.small)

    // 1. l Konum Kontrol
    // Fiyatn HEPSNN stnde olmas (AL Saf)
    bool saf_al = (close kv1) and (close ov1) and (close uv1)

    // Fiyatn HEPSNN altnda olmas (SAT Saf)
    bool saf_sat = (close kv1) and (close ov1) and (close uv1)

    // 2. Durum Metni ve Rengi
    string saf_msg  "DAINIK / NTR"
    color saf_renk  color.gray

    if saf_al
        saf_msg  
    := "AL"
        
    saf_renk := color.lime
    else if saf_sat
        saf_msg  
    := "SAT"
        
    saf_renk := color.red

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

    table.cell(widget010"PSAR "text_color color.white)
    table.cell(widget110saf_msgbgcolor saf_msg != "DAINIK / NTR" saf_renk color.new(color.gray80), text_color color.whitetext_size size.small)

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

  2. multi sistem... ai almas....
    PHP Code:
    //@version=6
    indicator("SON YRK - KOMUTA MERKEZ (v1.0 Gold)"overlay=truemax_lines_count=500max_bars_back=500)

    // ==========================================
    // KULLANICI SEM MENS
    // ==========================================
    string secim input.string("SSTEM 1: L SAR""AKTF SSTEM SE"options=["SSTEM 1: L SAR""SSTEM 2: DL+KAPASTE+DNG""SSTEM 3: SAR AYNA (KANAL)""SSTEM 4: SAR PVOT (DESTEK/DREN)""SSTEM 5: TETK (SIKIMA)""SSTEM 6: GENEL BAKI (ZET)"])

    // ==========================================
    // 1. MOTOR: 3'L SAR (SABT OMURGA)
    // ==========================================
    // --- SAR 1: HIZLI ---
    float sar_1 ta.sar(0.020.020.2)
    bool  al_1  close sar_1

    // --- SAR 2: ORTA ---
    float sar_2 ta.sar(0.0150.0150.15)
    bool  al_2  close sar_2

    // --- SAR 3: YAVA ---
    float sar_3 ta.sar(0.010.010.1)
    bool  al_3  close sar_3

    // Durum Analizi
    string durum_sar "NTR"
    color durum_renk color.gray

    if al_1 and al_2 and al_3
        durum_sar 
    := "AL"
        
    durum_renk := color.lime
    else if not al_1 and not al_2 and not al_3
        durum_sar 
    := "SAT"
        
    durum_renk := color.red
    else
        
    durum_sar := "NTR"
        
    durum_renk := color.silver

    float fark_12 
    math.abs(sar_1 sar_2) / close
    float fark_23 
    math.abs(sar_2 sar_3) / close
    if (fark_12 0.002) and (fark_23 0.002)
        
    durum_sar := "DKKAT"
        
    durum_renk := color.yellow

    string sabit_detay 
    = (al_1 "1:AL" "1:SAT") + " | " + (al_2 "2:AL" "2:SAT") + " | " + (al_3 "3:AL" "3:SAT")

    // ==========================================
    // 2. MOTOR: SSTEM 2 (DL + KAPASTE)
    // ==========================================
    float dongu_1 ta.sar(0.0020.0020.2)   
    float dongu_2 ta.sar(0.00150.00150.15
    float dongu_3 ta.sar(0.0010.0010.1)   

    tanh(v) => (math.exp(-v)) / (math.exp(-v))
    td(s)   => nz((nz(s[1])) / nz(s[1]))
    var 
    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_calc_dl(n_arrw_arr) =>
        
    float out 0.0
        
    for 0 to 5
            float s 
    0.0
            
    for 0 to 3
                s 
    += array.get(n_arrj) * array.get(w_arr, (5) + j)
            
    out += tanh(+ array.get(w_arr, (5) + 4)) * array.get(w_arr30 i)
        
    tanh(out + array.get(w_arr36))
    float dl_val f_calc_dl(n_inw_c)

    float volatilite ta.atr(14)
    float sapma volatilite * (math.abs(dl_val)) 
    float dl_direnc close + (sapma 0.5)
    float dl_destek close - (sapma 0.5)

    float mtk_p ta.sar(0.020.020.2)
    float tork ta.sma(math.abs(mtk_p nz(mtk_p[1])), 100) * 10
    float cap_ust 
    close mtk_p mtk_p tork mtk_p
    float cap_alt 
    close mtk_p mtk_p mtk_p tork
    float bar_cap_top 
    close mtk_p cap_ust cap_alt 
    float bar_cap_bot 
    close mtk_p cap_alt cap_ust 

    bool temas_1 
    = (bar_cap_top >= dongu_1) and (bar_cap_bot <= dongu_1)
    bool temas_2 = (bar_cap_top >= dongu_2) and (bar_cap_bot <= dongu_2)
    bool temas_3 = (bar_cap_top >= dongu_3) and (bar_cap_bot <= dongu_3)
    bool temas_var temas_1 or temas_2 or temas_3


    // ==========================================
    // 3. MOTOR: SSTEM 3 (SAR AYNA)
    // ==========================================
    f_sar_mirror(_start_inc_max_smooth) =>
        
    float _sar ta.sar(_start_inc_max)
        
    float _delta math.abs(close _sar)
        
    bool _is_up  close _sar
        float _raw_mirror 
    _is_up close _delta close _delta
        float _tavan 
    ta.wma(_raw_mirror_smooth)
        [
    _sar_tavan]

    [
    s3_sar1s3_tavan1] = f_sar_mirror(0.020.020.27)    
    [
    s3_sar2s3_tavan2] = f_sar_mirror(0.0150.0150.1514
    [
    s3_sar3s3_tavan3] = f_sar_mirror(0.010.010.121)   


    // ==========================================
    // 4. MOTOR: SSTEM 4 (SAR PVOT - SNIPER)
    // ==========================================
    var float pivot_seviye na
    var color pivot_renk color.gray
    var float takip_high high
    var float takip_low low
    bool pivot_degisim 
    al_3 != al_3[1]

    if 
    pivot_degisim
        
    if al_3 
            pivot_seviye 
    := takip_low
            pivot_renk 
    := color.lime 
            takip_high 
    := high 
        
    else 
            
    pivot_seviye := takip_high
            pivot_renk 
    := color.red 
            takip_low 
    := low 
    else
        if 
    al_3 
            takip_high 
    := math.max(takip_highhigh)
        else 
            
    takip_low := math.min(takip_lowlow)

    // ==========================================
    // 5. MOTOR: SSTEM 5 (TETK / SIKIMA)
    // ==========================================
    float en_buyuk_sar math.max(sar_1math.max(sar_2sar_3))
    float en_kucuk_sar math.min(sar_1math.min(sar_2sar_3))
    float sar_farki    = (en_buyuk_sar en_kucuk_sar) / close
    bool sikisma_var 
    sar_farki 0.005
    string tetik_yon 
    "YOK"
    if sikisma_var
        
    if close en_buyuk_sar
            tetik_yon 
    := "YUKARI (AL)"
        
    else if close en_kucuk_sar
            tetik_yon 
    := "AAI (SAT)"

    // ==========================================
    // 6. MOTOR: ALARM SSTEM (BEK)
    // ==========================================
    // Bu ksm grafik zerine izim yapmaz, sadece tetiklendiinde uyar gnderir.

    // Alarm 1: Ana Trend Dn (Sistem 1)
    alertcondition(al_3 != al_3[1], title="ANA TREND DN"message="DKKAT: Ana Trend Yn Deitirdi!")

    // Alarm 2: Pivot Krlm (Sistem 4)
    bool pivot_kirilim ta.crossover(closepivot_seviye) or ta.crossunder(closepivot_seviye)
    alertcondition(pivot_kirilimtitle="PVOT KIRILIMI"message="UYARI: Destek/Diren Krld!")

    // Alarm 3: Tetikleme (Sistem 5)
    alertcondition(sikisma_vartitle="SIKIMA UYARISI"message="TETK: Fiyat Skyor, Patlama Yakn!")


    // ==========================================
    // GRSELLETRME
    // ==========================================
    // Sistem 6 (GENEL BAKI) seiliyse grafii tamamen temiz tut.

    // --- SABT OMURGA ---
    bool goster_omurga = (secim != "SSTEM 6: GENEL BAKI (ZET)")
    plot(goster_omurga sar_1 na"SAR 1"color=color.yellowstyle=plot.style_circleslinewidth=2)
    plot(goster_omurga sar_2 na"SAR 2"color=color.blue,   style=plot.style_circleslinewidth=2)
    plot(goster_omurga sar_3 na"SAR 3"color=color.red,    style=plot.style_circleslinewidth=2)

    // --- SSTEM 2 ---
    bool goster_s2 = (secim == "SSTEM 2: DL+KAPASTE+DNG")
    plotcandle(goster_s2 dl_destek nagoster_s2 dl_direnc nagoster_s2 dl_destek nagoster_s2 dl_direnc natitle="DL Atmosfer"color=color.new(color.silver40), bordercolor=nawickcolor=na)
    plotcandle(goster_s2 bar_cap_bot nagoster_s2 bar_cap_top nagoster_s2 bar_cap_bot nagoster_s2 bar_cap_top natitle="SAR ekirdek"color=color.new(color.white70), bordercolor=nawickcolor=na)
    plot(goster_s2 dongu_1 na"Dng 1"color=color.yellowstyle=plot.style_crosslinewidth=1)
    plot(goster_s2 dongu_2 na"Dng 2"color=color.blue,   style=plot.style_crosslinewidth=1)
    plot(goster_s2 dongu_3 na"Dng 3"color=color.red,    style=plot.style_crosslinewidth=1)

    // --- SSTEM 3 ---
    bool goster_s3 = (secim == "SSTEM 3: SAR AYNA (KANAL)")
    plot(goster_s3 s3_tavan1 na"Tavan 1"color=color.yellowlinewidth=1style=plot.style_line)
    plot(goster_s3 s3_tavan2 na"Tavan 2"color=color.bluelinewidth=1style=plot.style_line)
    plot(goster_s3 s3_tavan3 na"Tavan 3"color=color.redlinewidth=1style=plot.style_line)

    // --- SSTEM 4 (SAR PVOT) ---
    bool goster_s4 = (secim == "SSTEM 4: SAR PVOT (DESTEK/DREN)")
    plot(goster_s4 pivot_seviye na"Pivot Hatt"color=pivot_renklinewidth=2style=plot.style_linebr)

    // --- SSTEM 5 (TETK) ---
    bool goster_s5 = (secim == "SSTEM 5: TETK (SIKIMA)")
    plotshape(goster_s5 and sikisma_var and close en_buyuk_sar"AL Tetik"shape.labeluplocation.belowbarcolor.limetext="TETK"textcolor=color.white)
    plotshape(goster_s5 and sikisma_var and close en_kucuk_sar"SAT Tetik"shape.labeldownlocation.abovebarcolor.redtext="TETK"textcolor=color.white)


    // ==========================================
    // WIDGET PANEL (GENEL BAKI MODU DAHL)
    // ==========================================
    var table panel table.new(position.top_right28bgcolor=color.new(color.black50), border_width=1)

    if 
    barstate.islast
        
    // --- SABT KISIM ---
        
    table.cell(panel00"DURUM"text_color=color.whitetext_size=size.small)
        
    table.cell(panel10durum_sartext_color=durum_renktext_size=size.smallbgcolor=color.new(durum_renk85))
        
    table.cell(panel01"SNYALLER"text_color=color.graytext_size=size.small)
        
    table.cell(panel11sabit_detaytext_color=color.silvertext_size=size.small)
        
    table.cell(panel02"----------------"text_color=color.gray
        
    table.cell(panel12"----------------"text_color=color.gray)

        
    // --- DEKEN KISIM ---
        
    if secim == "SSTEM 1: L SAR"
            
    table.cell(panel03"MOD"text_color=color.white)
            
    table.cell(panel13"SADE ZLEME"text_color=color.yellow)
            
    table.cell(panel04""bgcolor=color.black)
            
    table.cell(panel14""bgcolor=color.black)
            
    table.cell(panel05""bgcolor=color.black)
            
    table.cell(panel15""bgcolor=color.black)
            
    table.cell(panel06""bgcolor=color.black)
            
    table.cell(panel16""bgcolor=color.black)
            
    table.cell(panel07""bgcolor=color.black)
            
    table.cell(panel17""bgcolor=color.black)

        else if 
    secim == "SSTEM 2: DL+KAPASTE+DNG"
            
    table.cell(panel03"DL DREN"text_color=color.silvertext_size=size.small)
            
    table.cell(panel13str.tostring(dl_direncformat.mintick), text_color=color.redtext_size=size.small)
            
    table.cell(panel04"DL DESTEK"text_color=color.silvertext_size=size.small)
            
    table.cell(panel14str.tostring(dl_destekformat.mintick), text_color=color.limetext_size=size.small)
            
    table.cell(panel05"TEMAS"text_color=color.whitetext_size=size.small)
            
    string temas_txt temas_var "⚠️ KRTK" "TEMZ"
            
    color temas_col  temas_var color.red color.gray
            table
    .cell(panel15temas_txttext_color=temas_coltext_size=size.small)
            
    table.cell(panel06""bgcolor=color.black)
            
    table.cell(panel16""bgcolor=color.black)
            
    table.cell(panel07""bgcolor=color.black)
            
    table.cell(panel17""bgcolor=color.black)

        else if 
    secim == "SSTEM 3: SAR AYNA (KANAL)"
            
    table.cell(panel03"KANAL"text_color=color.graytext_size=size.small)
            
    table.cell(panel13"ST / ALT"text_color=color.graytext_size=size.small)
            
    table.cell(panel04"1 (SARI)"text_color=color.yellowtext_size=size.small)
            
    string k1 str.tostring(s3_tavan1format.mintick) + " / " str.tostring(s3_sar1format.mintick)
            
    table.cell(panel14k1text_color=color.yellowtext_size=size.small)
            
    table.cell(panel05"2 (MAV)"text_color=color.bluetext_size=size.small)
            
    string k2 str.tostring(s3_tavan2format.mintick) + " / " str.tostring(s3_sar2format.mintick)
            
    table.cell(panel15k2text_color=color.bluetext_size=size.small)
            
    table.cell(panel06"3 (KRZ)"text_color=color.redtext_size=size.small)
            
    string k3 str.tostring(s3_tavan3format.mintick) + " / " str.tostring(s3_sar3format.mintick)
            
    table.cell(panel16k3text_color=color.redtext_size=size.small)
            
    table.cell(panel07""bgcolor=color.black)
            
    table.cell(panel17""bgcolor=color.black)

        else if 
    secim == "SSTEM 4: SAR PVOT (DESTEK/DREN)"
            
    table.cell(panel03"PVOT MODU"text_color=color.whitetext_size=size.small)
            
    table.cell(panel13"AKTF"text_color=pivot_renktext_size=size.small)
            
    table.cell(panel04"SEVYE"text_color=color.graytext_size=size.small)
            
    table.cell(panel14str.tostring(pivot_seviyeformat.mintick), text_color=pivot_renktext_size=size.small)
            
    table.cell(panel05"UZAKLIK"text_color=color.graytext_size=size.small)
            
    float p_fark close pivot_seviye
            string p_txt 
    p_fark "+" ""
            
    table.cell(panel15p_txt str.tostring(p_farkformat.mintick), text_color=color.whitetext_size=size.small)
            
    table.cell(panel06""bgcolor=color.black)
            
    table.cell(panel16""bgcolor=color.black)
            
    table.cell(panel07""bgcolor=color.black)
            
    table.cell(panel17""bgcolor=color.black)

        else if 
    secim == "SSTEM 5: TETK (SIKIMA)"
            
    table.cell(panel03"TETK MODU"text_color=color.whitetext_size=size.small)
            
    string t_durum sikisma_var "SIKIMA VAR" "BEKLEMEDE"
            
    color t_renk sikisma_var color.yellow color.gray
            table
    .cell(panel13t_durumtext_color=t_renktext_size=size.small)
            
    table.cell(panel04"OLASI YN"text_color=color.silvertext_size=size.small)
            
    color yon_renk tetik_yon == "YUKARI (AL)" color.lime : (tetik_yon == "AAI (SAT)" color.red color.gray)
            
    table.cell(panel14tetik_yontext_color=yon_renktext_size=size.small)
            
    table.cell(panel05"FYAT"text_color=color.whitetext_size=size.small)
            
    table.cell(panel15str.tostring(closeformat.mintick), text_color=color.whitetext_size=size.small)
            
    table.cell(panel06""bgcolor=color.black)
            
    table.cell(panel16""bgcolor=color.black)
            
    table.cell(panel07""bgcolor=color.black)
            
    table.cell(panel17""bgcolor=color.black)
        
        else if 
    secim == "SSTEM 6: GENEL BAKI (ZET)"
            
    // TM SSTEMLERN ZET
            // 1. Pivot Durumu
            
    table.cell(panel03"PVOT"text_color=color.whitetext_size=size.small)
            
    string p_durum close pivot_seviye "DESTEKTE" "DRENTE"
            
    color p_renk close pivot_seviye color.lime color.red
            table
    .cell(panel13p_durumtext_color=p_renktext_size=size.small)
            
            
    // 2. Tetik Durumu
            
    table.cell(panel04"TETK"text_color=color.whitetext_size=size.small)
            
    string t_d sikisma_var "UYARI !" "SAKN"
            
    color t_r sikisma_var color.yellow color.gray
            table
    .cell(panel14t_dtext_color=t_rtext_size=size.small)
            
            
    // 3. Fiyat
            
    table.cell(panel05"FYAT"text_color=color.silvertext_size=size.small)
            
    table.cell(panel15str.tostring(closeformat.mintick), text_color=color.whitetext_size=size.small)
            
            
    // 4. Kanal Modu (Sistem 3)
            
    table.cell(panel06"KANAL"text_color=color.whitetext_size=size.small)
            
    string k_durum close s3_tavan1 "AIRI ALIM" : (close s3_sar1 "AIRI SATIM" "NORMAL")
            
    color k_renk k_durum == "NORMAL" color.gray color.orange
            table
    .cell(panel16k_durumtext_color=k_renktext_size=size.small)
            
            
    table.cell(panel07""bgcolor=color.black)
            
    table.cell(panel17""bgcolor=color.black
    16.07.2024 - 10.12.2024

  3. PHP Code:
    //@version=6
    indicator("SSTEM: TERS PULLBACK (Grsel Ofsetli)"overlay=false)

    // ==========================================
    // 1. MOTOR (SAR ve AYNA)
    // ==========================================
    s1 ta.sar(0.080.050.2)
    s2 ta.sar(0.010.050.2)
    s3 ta.sar(0.040.040.2)
    avg_sar = (s1 s2 s3) / 3

    f_mirror
    (_sar_len) =>
        
    float _delta math.abs(close _sar)
        
    float _raw close _sar close _delta close _delta
        ta
    .linreg(_raw_len0)

    m1 f_mirror(s19)
    m2 f_mirror(s221)
    m3 f_mirror(s350)
    avg_mir = (m1 m2 m3) / 3

    // ==========================================
    // 2. G METR (OSLATR)
    // ==========================================
    float power_sar ta.hma((close avg_sar) / syminfo.mintick9)
    float power_mir ta.hma((avg_mir close) / syminfo.mintick5)

    // ==========================================
    // 3. TERS PULLBACK MANTII
    // ==========================================
    // Olay: Ayna'nn SAR' kesmesi
    bool event_bull_bounce power_sar and ta.crossover(power_mirpower_sar) and power_mir 0
    bool event_bear_bounce 
    power_sar and ta.crossunder(power_mirpower_sar) and power_mir 0

    // Trend Deiim Olay
    bool event_trend_up ta.crossover(power_sar0)
    bool event_trend_dn ta.crossunder(power_sar0)

    // ==========================================
    // 4. SNYAL KONTROL (BAR KAPANII)
    // ==========================================
    bool signal_reverse_sell false
    bool signal_reverse_buy 
    false
    bool signal_trend_up 
    false
    bool signal_trend_dn 
    false

    if barstate.isconfirmed
        
    // Ters Pullback Sinyalleri
        
    if event_bull_bounce
            signal_reverse_sell 
    := true // Normalde AL iken SAT yapyoruz
        
    if event_bear_bounce
            signal_reverse_buy 
    := true  // Normalde SAT iken AL yapyoruz

        // Trend Deiim Sinyalleri
        
    if event_trend_up
            signal_trend_up 
    := true
        
    if event_trend_dn
            signal_trend_dn 
    := true

    // ==========================================
    // 5. GRSELLETRME (OFSET EKLEND)
    // ==========================================
    hline(0"Trend Snr"color=color.graylinestyle=hline.style_solid)

    // Alanlar ve izgiler (Ofset yok, anlk durum)
    plot(power_sar"SAR Alan"color=color.new(color.gray70), linewidth=1style=plot.style_area)

    color col_mir na
    if power_sar 0
        col_mir 
    := power_mir power_sar color.aqua color.orange 
    else
        
    col_mir := power_mir power_sar color.aqua color.orange 
    plot
    (power_mir"AYNA izgisi"color=col_mirlinewidth=2)

    // --- SNYALLER (3 BAR GERYE) ---
    // offset = -3 parametresi grseli 3 bar sola kaydrr.
    // Hesaplama u an yaplr, ama iaret gemie konur.

    // TERS AL (Yeil Daire)
    plotshape(signal_reverse_buytitle="Ters AL"style=shape.circlelocation=location.bottomcolor=color.limesize=size.smalltext="TERS\nAL"textcolor=color.limeoffset=-3)

    // TERS SAT (Krmz Daire)
    plotshape(signal_reverse_selltitle="Ters SAT"style=shape.circlelocation=location.topcolor=color.redsize=size.smalltext="TERS\nSAT"textcolor=color.redoffset=-3)

    // Trend Balangc (Yeil arp)
    plotshape(signal_trend_up"Trend Balangc"shape.xcrosslocation=location.bottomcolor=color.greensize=size.smalloffset=-3)

    // Trend Bitii (Krmz arp)
    plotshape(signal_trend_dn"Trend Bitii"shape.xcrosslocation=location.topcolor=color.redsize=size.smalloffset=-3)

    // ==========================================
    // 6. DURUM PANEL
    // ==========================================
    var table panel table.new(position.top_right22bgcolor=color.new(color.black60))
    if 
    barstate.islast
        string msg 
    "YATAY"
        
    color c_msg color.gray
        
        
    if power_sar 0
            
    if power_mir power_sar
                msg 
    := "TREND GL"
                
    c_msg := color.green
            
    else
                
    msg := "AYNA ERDE"
                
    c_msg := color.orange
        
    else
            if 
    power_mir power_sar
                msg 
    := "D GL"
                
    c_msg := color.red
            
    else
                
    msg := "AYNA ERDE"
                
    c_msg := color.orange
                
        table
    .cell(panel00"MOD:"text_color=color.whitetext_size=size.small)
        
    table.cell(panel10msgtext_color=c_msgtext_size=size.small
    16.07.2024 - 10.12.2024

  4. PHP Code:
    //@version=6
    indicator("SSTEM: TRINITY (3 Boyutlu Grafik)"overlay=true)

    // ==========================================
    // 1. KATMAN: SKELET (HEIKIN ASHI - NCE BARLAR)
    // ==========================================
    // Grevi: Grlty silmek ve ANA TREND gstermek.
    // Grsel: Arka planda, silik, ince ubuklar.

    var float ha_open na
    ha_close 
    = (open high low close) / 4
    ha_open 
    := na(ha_open[1]) ? (open close) / : (ha_open[1] + ha_close[1]) / 2
    ha_high 
    math.max(highmath.max(ha_openha_close))
    ha_low math.min(lowmath.min(ha_openha_close))

    // Renk (Trend Yn)
    color col_ha ha_close ha_open color.new(color.green60) : color.new(color.red60)

    // izim (nce ubuk / Bar Stili)
    // Sadece fitilleri (high-low) ve gvdeyi incecik iziyoruz.
    plotcandle(ha_openha_highha_lowha_close"Katman 1: HA Trend"color=col_hawickcolor=col_habordercolor=col_ha)

    // BU KATMANA ZEL NDKATR:
    // Trend (Heikin Ashi) Yeile dndyse "Trend Pozitif" sinyali retir.
    bool trend_bull ha_close ha_open
    bool trend_bear 
    ha_close ha_open

    // ==========================================
    // 2. KATMAN: GEREKLK (STANDART MUMLAR)
    // ==========================================
    // Grevi: Gerek alm-satm yerini gstermek (Price Action).
    // Grsel: n planda, net, standart mumlar.

    // Renk (Gerek Yn)
    color col_real close open color.lime color.red

    // izim (Standart Mum)
    // bordercolor parametresini siyah yapyoruz ki arkadaki HA'dan ayrlsn.
    plotcandle(openhighlowclose"Katman 2: Gerek Fiyat"color=col_realwickcolor=col_realbordercolor=color.black)

    // BU KATMANA ZEL NDKATR:
    // Gerek fiyat bir nceki mumun zerine kt m? (Breakout)
    bool breakout_up close high[1]
    bool breakout_dn close low[1]

    // ==========================================
    // 3. KATMAN: AKI (ZG)
    // ==========================================
    // Grevi: Fiyatn ortalama arlk merkezini gstermek (Mknats).
    // Grsel: En stte, kaln izgi.

    // HMA (Hull Moving Average) kullanyoruz nk izgi gibi akar.
    float akis_cizgisi ta.hma(close14)

    // Renk (Eime gre)
    color col_line akis_cizgisi akis_cizgisi[1] ? color.white color.yellow

    // izim (izgi Grafik)
    plot(akis_cizgisi"Katman 3: Ak"color=col_linelinewidth=3)

    // BU KATMANA ZEL NDKATR:
    // Fiyat izginin stnde mi altnda m?
    bool price_above_line close akis_cizgisi
    bool price_below_line 
    close akis_cizgisi

    // ==========================================
    // 4. "TRINITY" SNYAL (3' BR ARADA)
    // ==========================================
    // Efsanevi Sinyal:
    // 1. Arka plandaki Bar (Trend) YEL olacak.
    // 2. n plandaki Mum (Gerek) BR NCEKN GEECEK.
    // 3. Fiyat izginin (Akn) STNDE olacak.

    bool trinity_buy trend_bull and breakout_up and price_above_line and barstate.isconfirmed
    bool trinity_sell 
    trend_bear and breakout_dn and price_below_line and barstate.isconfirmed

    // Sinyal izimi
    plotshape(trinity_buy"TRINITY AL"shape.triangleuplocation.belowbarcolor=color.whitesize=size.smalltext="3D\nAL"textcolor=color.white)
    plotshape(trinity_sell"TRINITY SAT"shape.triangledownlocation.abovebarcolor=color.yellowsize=size.smalltext="3D\nSAT"textcolor=color.yellow)

    // ==========================================
    // 5. DASHBOARD (3 BOYUT ANALZ)
    // ==========================================
    var table panel table.new(position.bottom_right24bgcolor=color.new(color.black40))

    if 
    barstate.islast
        table
    .cell(panel00"3D ANALZ"text_color=color.whitebgcolor=color.gray)
        
    table.merge_cells(panel0010)

        
    // 1. Boyut: Trend
        
    table.cell(panel01"TREND (HA)"text_color=color.whitetext_halign=text.align_left)
        
    table.cell(panel11trend_bull "YUKARI" "AAI"text_color=trend_bull color.green color.red)

        
    // 2. Boyut: Gerek
        
    table.cell(panel02"MUM (REAL)"text_color=color.whitetext_halign=text.align_left)
        
    table.cell(panel12close open "BOA" "AYI"text_color=col_real)

        
    // 3. Boyut: Ak
        
    table.cell(panel03"AKI (ZG)"text_color=color.whitetext_halign=text.align_left)
        
    table.cell(panel13price_above_line "POZTF" "NEGATF"text_color=price_above_line color.white color.yellow
    16.07.2024 - 10.12.2024

  5. PHP Code:
    //@version=6
    indicator(".."overlay=true)

    // ==========================================
    // 1. KATMAN: SKELET (HEIKIN ASHI - NCE BARLAR)
    // ==========================================
    // Grevi: Grlty silmek ve ANA TREND gstermek.
    // Grsel: Arka planda, silik, ince ubuklar.

    var float ha_open na
    ha_close 
    = (open high low close) / 4
    ha_open 
    := na(ha_open[1]) ? (open close) / : (ha_open[1] + ha_close[1]) / 2
    ha_high 
    math.max(highmath.max(ha_openha_close))
    ha_low math.min(lowmath.min(ha_openha_close))

    // Renk (Trend Yn)
    color col_ha ha_close ha_open color.new(color.lime00) : color.new(color.red00)

    // izim (nce ubuk / Bar Stili)
    // Sadece fitilleri (high-low) ve gvdeyi incecik iziyoruz.
    plotcandle(ha_openha_highha_lowha_close"HA"color=col_hawickcolor=col_habordercolor=col_ha)

    // BU KATMANA ZEL NDKATR:
    // Trend (Heikin Ashi) Yeile dndyse "Trend Pozitif" sinyali retir.
    bool trend_bull ha_close ha_open
    bool trend_bear 
    ha_close ha_open

    // ==========================================
    // 2. KATMAN: GEREKLK (STANDART MUMLAR)
    // ==========================================
    // Grevi: Gerek alm-satm yerini gstermek (Price Action).
    // Grsel: n planda, net, standart mumlar.

    // Renk (Gerek Yn)
    color col_real close open color.lime color.red

    // izim (Standart Mum)
    // bordercolor parametresini siyah yapyoruz ki arkadaki HA'dan ayrlsn.
    plotcandle(openhighlowclose"Gerek"color=col_realwickcolor=col_realbordercolor=color.black)

    // BU KATMANA ZEL NDKATR:
    // Gerek fiyat bir nceki mumun zerine kt m? (Breakout)
    bool breakout_up close high[1]
    bool breakout_dn close low[1]

    // ==========================================
    // 3. KATMAN: AKI (ZG)
    // ==========================================
    // Grevi: Fiyatn ortalama arlk merkezini gstermek (Mknats).
    // Grsel: En stte, kaln izgi.

    // HMA (Hull Moving Average) kullanyoruz nk izgi gibi akar.
    float akis_cizgisi ta.hma(close55)
    float akis_cizgisi1 ta.hma(close21)

    // Renk (Eime gre)
    color col_line akis_cizgisi akis_cizgisi[1] ? color.white color.red
    color col_line1 
    akis_cizgisi1 akis_cizgisi1[1] ? color.white color.red

    // izim (izgi Grafik)
    plot(akis_cizgisi"55"color=col_linelinewidth=1)
    plot(akis_cizgisi1"21"color=col_line1linewidth=1)

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

  6. PHP Code:
    //@version=6
    indicator("SSTEM: SARKA (Overlay Modu)"overlay=true)

    // ==========================================
    // 1. SARKA MERKEZ (EKM GC)
    // ==========================================
    s1 ta.sar(0.080.050.2)
    s2 ta.sar(0.010.050.2)
    s3 ta.sar(0.040.040.2)
    float merkez = (s1 s2 s3) / 

    // ==========================================
    // 2. ENERJ HESAPLAMALARI
    // ==========================================

    // --- A. POTANSYEL ENERJ (GERLM) ---
    // Fiyat merkezden ne kadar uzak?
    // Bu bize mumun  RENGN verecek.
    float dist_sar math.abs(close merkez) / close 1000
    // Merkezden uzaklatka renk PARLAR, yaklatka GRLER.
    color col_pot color.from_gradient(dist_sar05color.new(color.gray30), close merkez color.lime color.red)

    // --- B. KNETK ENERJ (HIZ) ---
    // Fiyat ne kadar hzl hareket ediyor?
    // Bu bize mumun KENAR ZGSN (BORDER) verecek.
    float velocity math.abs(close open)
    float max_vol ta.highest(velocity20)
    // Hzlysa MAV/TURUNCU (Neon), Yavasa GR.
    color col_kin color.gray
    if close open
        col_kin 
    := color.from_gradient(velocity0max_volcolor.bluecolor.gray)
    else
        
    col_kin := color.from_gradient(velocity0max_volcolor.orangecolor.fuchsia)

    // --- C. AKI ENERJS (YRNGE) ---
    // Bu bize YILAN ZGSN verecek.
    float flow_line ta.hma(close9)
    color col_flow flow_line flow_line[1] ? color.white color.yellow

    // ==========================================
    // 3. GRSELLETRME (HEPS BR ARADA)
    // ==========================================

    // 1. Mumu iz (Gvde: Potansiyel, Kenar: Kinetik)
    // Orijinal mumlar gizlemeyi unutma!
    plotcandle(openhighlowclose"Sarka Mumu"color=col_potwickcolor=col_kinbordercolor=col_kin)

    // 2. Ak izgisini iz
    plot(flow_line"Ak Hatt"color=col_flowlinewidth=3)

    // 3. Sarka Merkezini (Grnmez Destek) iz
    plot(merkez"Sarka Merkezi"color=color.new(color.gray50), style=plot.style_cross)

    // ==========================================
    // 4. BLG PANEL
    // ==========================================
    var table panel table.new(position.bottom_right24bgcolor=color.new(color.black40))
    if 
    barstate.islast
        table
    .cell(panel00"SARKA DURUMU"text_color=color.whitebgcolor=color.gray)
        
    table.merge_cells(panel0010)
        
        
    // Potansiyel Durumu
        
    string pot_txt dist_sar "YKSEK GERLM" "DENGEDE"
        
    table.cell(panel01"POTANSYEL"text_color=color.whitetext_halign=text.align_left)
        
    table.cell(panel11pot_txttext_color=col_pottext_halign=text.align_right)

        
    // Kinetik Durumu
        
    string kin_txt velocity > (max_vol 0.7) ? "AIRI HIZLI" "NORMAL"
        
    table.cell(panel02"KNETK"text_color=color.whitetext_halign=text.align_left)
        
    table.cell(panel12kin_txttext_color=col_kintext_halign=text.align_right
    16.07.2024 - 10.12.2024

  7. PHP Code:
    //@version=6
    indicator("(DL + SAR)"overlay=truemax_lines_count=50max_bars_back=50)

    // ==========================================
    // 1. YAPAY ZEKA (DL) EKRDE
    // ==========================================
    // Aktivasyon Fonksiyonlar
    tanh(v) => (math.exp(-v)) / (math.exp(-v))
    td(s)   => nz((nz(s[1])) / nz(s[1]))

    // Arlk Matrisi (Senin Modelin)
    var 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)

    // Giri Verileri
    n_in = array.from(tanh(td(open)), tanh(td(high)), tanh(td(low)), tanh(td(close)))

    // Hesaplama Fonksiyonu
    f_calc_dl(n_arrw_arr) =>
        
    float out 0.0
        
    for 0 to 5
            float s 
    0.0
            
    for 0 to 3
                s 
    += array.get(n_arrj) * array.get(w_arr, (5) + j)
            
    out += tanh(+ array.get(w_arr, (5) + 4)) * array.get(w_arr30 i)
        
    tanh(out + array.get(w_arr36))
        
    float dl_val f_calc_dl(n_inw_c// AI kts (-1 ile 1 aras)

    // ==========================================
    // 2. SAR HESAPLAMALARI
    // ==========================================
    s1 ta.sar(0.080.050.2// Sar (Hzl)
    s2 ta.sar(0.010.050.2// Mavi (Denge)
    s3 ta.sar(0.040.040.2// Krmz (Yava)

    // ==========================================
    // 3. ATMOSFER KATMANLARI (SAR + AI)
    // ==========================================
    // AI Faktr: DL deeri arttka atmosfer ier (Volatilite arpan)
    // Normalde 1'dir, risk varsa 2'ye kadar kar.
    float ai_factor 0.1 math.abs(dl_val)

    // Mesafeleri Hesapla (ATR yerine geecekler)
    float dist_yellow math.abs(close s1// ekirdek Mesafesi
    float dist_blue   math.abs(s1 s2)    // Manto Mesafesi
    float dist_red    math.abs(s2 s3)    // Kabuk Mesafesi

    // Katmanlar Fiyatn Etrafna r (Merkezden Da Doru)

    // 1. KATMAN (SARI - ekirdek)
    // Fiyattan s1 kadar uzaa git + AI etkisi
    float l1_top close + (dist_yellow ai_factor)
    float l1_bot close - (dist_yellow ai_factor)

    // 2. KATMAN (MAV - Manto)
    // Sar katmann bittii yerden Mavi mesafe kadar daha al
    float l2_top l1_top + (dist_blue ai_factor)
    float l2_bot l1_bot - (dist_blue ai_factor)

    // 3. KATMAN (KIRMIZI - Kabuk)
    // Mavi katmann bittii yerden Krmz mesafe kadar daha al
    float l3_top l2_top + (dist_red ai_factor)
    float l3_bot l2_bot - (dist_red ai_factor)

    // ==========================================
    // 4. GRSELLETRME (RENKL BARLAR)
    // ==========================================
    // En dtan en ie doru iziyoruz ki kkler altta kalmasn.

    // DI KABUK (Krmz)
    plotcandle(l3_botl3_topl3_botl3_toptitle="Atmosfer (Krmz)"color=color.new(color.red70), bordercolor=nawickcolor=na)

    // ORTA KATMAN (Mavi)
    plotcandle(l2_botl2_topl2_botl2_toptitle="Atmosfer (Mavi)"color=color.new(color.blue70), bordercolor=nawickcolor=na)

    //  EKRDEK (Sar)
    plotcandle(l1_botl1_topl1_botl1_toptitle="Atmosfer (Sar)"color=color.new(color.yellow70), bordercolor=nawickcolor=na)

    // Referans iin SAR noktalarn da gsterelim (ncecik)
    // ==========================================
    // 2. LSMA NC HAT
    // ==========================================
    f_mirror_lsma(_sar_val_len) =>
        
    float _delta math.abs(close _sar_val)
        
    bool _is_up  close _sar_val
        float _raw 
    _is_up close _delta close _delta
        ta
    .linreg(_raw_len0)

    // Hesaplama (Uzunluk: 20)
    float oncu_hat f_mirror_lsma(s120)

    // Renk Mant
    bool hat_ustte oncu_hat close
    color col_oncu 
    hat_ustte color.red color.lime

    // izim
    plot(oncu_hat"nc Hat"color=col_onculinewidth=2)

    // ==========================================
    // 3. YRK ZMLER (SAR NOKTALARI)
    // ==========================================
    plot(s1"SAR Hzl"style=plot.style_crosscolor=color.yellowlinewidth=2)
    plot(s2"SAR Denge"style=plot.style_crosscolor=color.bluelinewidth=2)
    plot(s3"SAR Yava"style=plot.style_crosscolor=color.redlinewidth=2)

    // ==========================================
    // 4. "3'L KLT" SNYAL MANTII
    // ==========================================
    // Sar, Mavi ve Krmz eit mi?
    bool esit_1_2 math.abs(s1 s2) < syminfo.mintick
    bool esit_2_3 
    math.abs(s2 s3) < syminfo.mintick
    bool tam_kilit 
    esit_1_2 and esit_2_3

    // Sinyaller
    bool sinyal_al tam_kilit and close s1
    bool sinyal_sat 
    tam_kilit and close s1

    // ==========================================
    // 5. SNYAL GRSELLER (ELMAS)
    // ==========================================
    // Etiket (Yaz) yerine sadece ekil (Elmas) kullanyoruz.
    plotshape(sinyal_al"KLT AL"shape.diamondlocation.belowbarcolor=color.limesize=size.small)
    plotshape(sinyal_sat"KLT SAT"shape.diamondlocation.abovebarcolor=color.redsize=size.small)
    ////////////////////)/////

    // ==========================================
    // 1. KATMAN: SKELET (HEIKIN ASHI - NCE BARLAR)
    // ==========================================
    // Grevi: Grlty silmek ve ANA TREND gstermek.
    // Grsel: Arka planda, silik, ince ubuklar.

    var float ha_open na
    ha_close 
    = (open high low close) / 4
    ha_open 
    := na(ha_open[1]) ? (open close) / : (ha_open[1] + ha_close[1]) / 2
    ha_high 
    math.max(highmath.max(ha_openha_close))
    ha_low math.min(lowmath.min(ha_openha_close))

    // Renk (Trend Yn)
    color col_ha ha_close ha_open color.new(color.lime00) : color.new(color.red00)

    // izim (nce ubuk / Bar Stili)
    // Sadece fitilleri (high-low) ve gvdeyi incecik iziyoruz.
    plotcandle(ha_openha_highha_lowha_close"HA"color=col_hawickcolor=col_habordercolor=col_ha)

    // BU KATMANA ZEL NDKATR:
    // Trend (Heikin Ashi) Yeile dndyse "Trend Pozitif" sinyali retir.
    bool trend_bull ha_close ha_open
    bool trend_bear 
    ha_close ha_open

    // ==========================================
    // 2. KATMAN: GEREKLK (STANDART MUMLAR)
    // ==========================================
    // Grevi: Gerek alm-satm yerini gstermek (Price Action).
    // Grsel: n planda, net, standart mumlar.

    // Renk (Gerek Yn)
    color col_real close open color.lime color.red

    // izim (Standart Mum)
    // bordercolor parametresini siyah yapyoruz ki arkadaki HA'dan ayrlsn.
    plotcandle(openhighlowclose"Gerek"color=col_realwickcolor=col_realbordercolor=color.black)

    // BU KATMANA ZEL NDKATR:
    // Gerek fiyat bir nceki mumun zerine kt m? (Breakout)
    bool breakout_up close high[1]
    bool breakout_dn close low[1]

    // ==========================================
    // 3. KATMAN: AKI (ZG)
    // ==========================================
    // Grevi: Fiyatn ortalama arlk merkezini gstermek (Mknats).
    // Grsel: En stte, kaln izgi.

    // HMA (Hull Moving Average) kullanyoruz nk izgi gibi akar.
    float akis_cizgisi ta.hma(close55)
    float akis_cizgisi1 ta.hma(close21)

    // Renk (Eime gre)
    color col_line akis_cizgisi akis_cizgisi[1] ? color.white color.red
    color col_line1 
    akis_cizgisi1 akis_cizgisi1[1] ? color.white color.red

    // izim (izgi Grafik)
    plot(akis_cizgisi"55"color=col_linelinewidth=1)
    plot(akis_cizgisi1"21"color=col_line1linewidth=1)

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

  8. PHP Code:
    //@version=6
    indicator("SSTEM: GLGE HEDEF (Trend Takip - No Repaint)"overlay=true)

    // ==========================================
    // 1. HAM VERLER (SAR ve AYNA)
    // ==========================================
    s1 ta.sar(0.080.050.2)
    s2 ta.sar(0.010.050.2)
    s3 ta.sar(0.040.040.2)
    avg_sar = (s1 s2 s3) / // STOP NOKTASI

    f_mirror(_sar_len) =>
        
    float _delta math.abs(close _sar)
        
    float _raw close _sar close _delta close _delta
        ta
    .linreg(_raw_len0)

    m1 f_mirror(s120)
    m2 f_mirror(s220)
    m3 f_mirror(s320)
    avg_mir = (m1 m2 m3) / // MERKEZ HATTI

    // ==========================================
    // 2. GLGE HEDEF HESABI
    // ==========================================
    // Hedef = Ayna + (Fiyat - SAR Fark)
    float vector_force close avg_sar
    float shadow_target 
    avg_mir vector_force

    // ==========================================
    // 3. RENK VE TREND MANTII
    // ==========================================
    // Trendin ynn belirliyoruz.
    // Boa: Fiyat SAR'n zerinde.
    // Ay: Fiyat SAR'n altnda.

    bool trend_bull close avg_sar
    bool trend_bear 
    close avg_sar

    color col_shadow 
    trend_bull color.green color.red

    // ==========================================
    // 4. SNYAL MANTII (RENK DEM)
    // ==========================================
    // Hedefe dokunma deil, RENK DEM (Trend Dn) sinyaldir.
    // Repaint olmamas iin barstate.isconfirmed kullanyoruz.

    bool signal_exit_long false
    bool signal_exit_short 
    false

    if barstate.isconfirmed
        
    // Yeil'den Krmzya Dn (Long k)
        
    if trend_bull[1] and trend_bear
            signal_exit_long 
    := true
            
        
    // Krmz'dan Yeile Dn (Short k)
        
    if trend_bear[1] and trend_bull
            signal_exit_short 
    := true

    // ==========================================
    // 5. GRSELLETRME
    // ==========================================
    // SAR (Gri Stop izgisi)
    plot(avg_sar"Stop Hatt (SAR)"color=color.graylinewidth=2)

    // AYNA (Mavi Merkez Hatt)
    plot(avg_mir"Denge Hatt (Ayna)"color=color.bluelinewidth=1)

    // GLGE HEDEF (Renkli Noktalar)
    plot(shadow_target"Glge Hedef"color=col_shadowlinewidth=2style=plot.style_circles)

    // Aradaki Alan (Potansiyel Vakum)
    fill(plot(avg_mirdisplay=display.none), plot(shadow_targetdisplay=display.none), color=color.new(col_shadow85), title="Potansiyel Alan")

    // SNYALLER (Trend Bitii / Renk Deiimi)
    // Ofset -1 veriyoruz ki sinyalin olutuu mumun tepesine koysun.
    plotshape(signal_exit_long"LONG IKI"shape.labeldownlocation.abovebarcolor=color.redtext="L\n(K)"textcolor=color.whitesize=size.tinyoffset=-1)
    plotshape(signal_exit_short"SHORT IKI"shape.labeluplocation.belowbarcolor=color.greentext="S\n(K)"textcolor=color.whitesize=size.tinyoffset=-1)

    // ==========================================
    // 6. DASHBOARD (SABT WIDGET)
    // ==========================================
    var table panel table.new(position.middle_right25bgcolor=color.new(color.black40), frame_color=color.grayborder_width=1)

    if 
    barstate.islast
        string yon_txt 
    "YATAY"
        
    color yon_col color.gray
        
        
    if trend_bull
            yon_txt 
    := "YKSEL (YEL)"
            
    yon_col := color.green
        
    else
            
    yon_txt := "D (KIRMIZI)"
            
    yon_col := color.red

        
    // Balk
        
    table.cell(panel00"GLGE TREND"text_color=color.whitebgcolor=color.new(color.gray20), text_size=size.small)
        
    table.merge_cells(panel0010)
        
        
    // Yn
        
    table.cell(panel01"TREND YN"text_color=color.whitetext_size=size.smalltext_halign=text.align_left)
        
    table.cell(panel11yon_txttext_color=yon_coltext_size=size.smalltext_halign=text.align_right)

        
    // Hedef Fiyat (Potansiyel)
        
    table.cell(panel02"POTANSYEL HEDEF"text_color=color.whitetext_size=size.smalltext_halign=text.align_left)
        
    table.cell(panel12str.tostring(shadow_targetformat.mintick), text_color=yon_coltext_size=size.smalltext_halign=text.align_right)

        
    // Stop (Trend Deiim Snr)
        
    table.cell(panel03"STOP (SAR)"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(panel13str.tostring(avg_sarformat.mintick), text_color=color.graytext_size=size.smalltext_halign=text.align_right)
        
        
    // Kalan Mesafe
        
    float dist math.abs(shadow_target close)
        
    table.cell(panel04"KALAN POTANSYEL"text_color=color.graytext_size=size.smalltext_halign=text.align_left)
        
    table.cell(panel14str.tostring(distformat.mintick), text_color=color.whitetext_size=size.smalltext_halign=text.align_right
    16.07.2024 - 10.12.2024

Sayfa 8/11 lklk ... 678910 ... SonSon

Yer mleri

Yer mleri

Gnderi Kurallar

  • Yeni konu aamazsnz
  • Konulara cevap yazamazsnz
  • Yazlara ek gnderemezsiniz
  • Yazlarnz deitiremezsiniz
  •