Artan
Azalan
Ýţlem
BIST 30
BIST 50
BIST 100
NASDAQ 100
Hisse Fiyat Fark% Hacim (TL) Düţük / Yüksek
13,09 10% 10,90 Mn 13,09 / 13,09
87,45 10% 635,00 Mn 78,70 / 87,45
22,02 9.99% 206,50 Mn 20,02 / 22,02
25,32 9.99% 68,43 Mn 22,70 / 25,32
30,16 9.99% 1,84 Mr 28,14 / 30,16
Hisse Fiyat Fark% Hacim (TL) Düţük / Yüksek
1.053,00 -10% 16,61 Mn 1.053,00 / 1.053,00
14,60 -9.99% 983,11 Mn 14,60 / 17,35
13,35 -9.98% 38,96 Mn 13,35 / 13,35
12,48 -9.96% 407,45 Mn 12,48 / 12,79
1,75 -9.79% 302,16 Mn 1,75 / 1,96
Hisse Fiyat Fark% Hacim (TL) Düţük / Yüksek
308,25 -1.99% 17,26 Mr 305,25 / 311,50
132,00 8.82% 15,02 Mr 114,00 / 132,00
3,14 -1.88% 12,96 Mr 3,08 / 3,22
284,00 7.58% 12,78 Mr 260,00 / 284,00
420,25 -1.23% 11,48 Mr 418,25 / 431,00
Hisse Fiyat Fark% Hacim (TL) Düţük / Yüksek
18,98 1.99% 716,50 Mn 18,36 / 19,08
73,20 -0.68% 8,75 Mr 72,85 / 74,05
420,25 -1.23% 11,48 Mr 418,25 / 431,00
284,00 7.58% 12,78 Mr 260,00 / 284,00
741,50 1.99% 4,00 Mr 720,50 / 743,50
Hisse Fiyat Fark% Hacim (TL) Düţük / Yüksek
18,98 1.99% 716,50 Mn 18,36 / 19,08
73,20 -0.68% 8,75 Mr 72,85 / 74,05
95,65 -1.54% 576,94 Mn 94,25 / 96,75
111,90 -0.36% 293,60 Mn 110,80 / 112,70
420,25 -1.23% 11,48 Mr 418,25 / 431,00
Hisse Fiyat Fark% Hacim (TL) Düţük / Yüksek
18,98 1.99% 716,50 Mn 18,36 / 19,08
31,38 1.49% 126,31 Mn 30,10 / 31,66
73,20 -0.68% 8,75 Mr 72,85 / 74,05
10,59 3.62% 645,46 Mn 10,12 / 10,70
82,20 -1.14% 450,82 Mn 81,60 / 83,75

Masrafsýz Bankacýlýk + 1.000 TL Nakit! Enpara’dan Çifte Avantaj

Masrafsýz Bankacýlýk + 1.000 TL Nakit! Enpara’dan Çifte Avantaj
Sayfa 407/407 ÝlkÝlk ... 307357397405406407
Arama sonucu : 3251 madde; 3,249 - 3,251 arasý.

Konu: Tradingview

  1. örnek..
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.1 - Striker & Gravity]
    //@version=6
    indicator("KKM V6.1 Striker"shorttitle="KKM V6.1"overlay=truemax_labels_count=50max_lines_count=50)

    // ─────────────────────────────────────────────────────────────────
    // 1. GÝRDÝLER
    // ─────────────────────────────────────────────────────────────────
    group_l1 "1. Kinetik Motor"
    int i_coreLen input.int(55"Çekirdek (ZLEMA) Uzunluđu"group=group_l1)
    int atrLen input.int(20"L1 Hafýza (ATR)"group=group_l1)
    float atrMult input.float(3.5"L1 Gürültü Duvarý"step=0.1group=group_l1)
    float mu input.float(0.6"L1 Yakýnsaklýk (μ)"step=0.1group=group_l1)

    group_trade "2. Operasyon & Kasa"
    float i_tpPct input.float(1.0"Vur-Kaç Hedefi (%)"step=0.1group=group_trade)
    float i_riskPct input.float(1.0"Kabul Edilen Risk (Kasanýn %'si)"step=0.5group=group_trade)

    // ─────────────────────────────────────────────────────────────────
    // 2. MATEMATÝKSEL MOTOR & ZAMAN DÝLÝMLERÝ
    // ─────────────────────────────────────────────────────────────────
    f_calc() =>
        
    // ZLEMA
        
    float ema1 ta.ema(hl2i_coreLen)
        
    float ema2 ta.ema(ema1i_coreLen)
        
    float val_core ema1 + (ema1 ema2)

        
    // L1 @yörük@
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v

        
    // 5 Dakikalýk TWAP (Erken Yerçekimi)
        
    bool isNew5m ta.change(time("5")) != 0
        
    var float sumPrice5m 0.0, var float barCount5m 0.0
        
    if isNew5m or bar_index == 0
            sumPrice5m 
    := hl2barCount5m := 1.0
        
    else
            
    sumPrice5m += hl2barCount5m += 1.0
        float val_twap_5m 
    sumPrice5m barCount5m

        
    // Saatlik Saf TWAP (Ana Merkez)
        
    bool isNewHour ta.change(time("60")) != 0
        
    var float sumPriceH 0.0, var float barCountH 0.0
        
    if isNewHour or bar_index == 0
            sumPriceH 
    := hl2barCountH := 1.0
        
    else
            
    sumPriceH += hl2barCountH += 1.0
        float val_twap_h 
    sumPriceH barCountH

        
    [val_corezval_twap_5mval_twap_hhl2]

    [
    curCorecurYorukcurTwap5mcurTwapHcurPrice] = f_calc()

    // ─────────────────────────────────────────────────────────────────
    // 3. SESSÝZ MTF MAKRO ÇEKÝRDEK
    // ─────────────────────────────────────────────────────────────────
    f_zlema() =>
        
    e1 ta.ema(hl2i_coreLen)
        
    e2 ta.ema(e1i_coreLen)
        
    e1 + (e1 e2)

    [
    z1]  = request.security(syminfo.tickerid"1",  [f_zlema()])
    [
    z3]  = request.security(syminfo.tickerid"3",  [f_zlema()])
    [
    z5]  = request.security(syminfo.tickerid"5",  [f_zlema()])
    [
    z15] = request.security(syminfo.tickerid"15", [f_zlema()])
    [
    z60] = request.security(syminfo.tickerid"60", [f_zlema()])

    float mtfCore = (nz(z1curCore) + nz(z3curCore) + nz(z5curCore) + nz(z15curCore) + nz(z60curCore)) / 5.0
    bool isMacroBull 
    curPrice mtfCore

    // ─────────────────────────────────────────────────────────────────
    // 4. ÇÝZÝMLER
    // ─────────────────────────────────────────────────────────────────
    plot(mtfCore"MTF Makro Çekirdek"color=color.new(color.silver20), linewidth=3)
    plot(curTwapH"S-TWAP"color=color.rgb(2552040), linewidth=1style=plot.style_linebr)
    plot(curTwap5m"5m TWAP (Yerçekimi)"color=color.new(color.white30), linewidth=1style=plot.style_dotted)
    plot(curYoruk"@yörük@"color=color.fuchsialinewidth=2style=plot.style_stepline)
    plot(curCore"Çekirdek"color=color.aqualinewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. KÝNETÝK ATEŢLEME & ZEMÝN ALARMI
    // ─────────────────────────────────────────────────────────────────
    float safeAtr math.max(ta.atr(14), syminfo.mintick)
    bool isIgnition = (high low) >= (safeAtr 1.5)

    bool trendBull curPrice curCore and curPrice curYoruk and curPrice curTwapH 
    bool trendBear 
    curPrice curCore and curPrice curYoruk and curPrice curTwapH 

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

    // GÖRSEL ZEMÝN ALARMI (Arka Plan Flaţý)
    bgcolor(fireBull color.new(#00e676, 85) : fireBear ? color.new(#ff1744, 85) : na, title="Ateţleme Zemin Flaţý")

    var int   activeSide   0
    var float entryPrice   na
    var float shelfLevel   na
    var float statTp       na

    var line  lineEntry na, var label lblEntry na
    var line  lineShelf na, var label lblShelf na
    var line  lineTp    na, var label lblTp    na

    if (fireBull and activeSide != 1)
        
    activeSide := 1entryPrice := closeshelfLevel := curCorestatTp := close * (+ (i_tpPct 100))
        if 
    not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry), line.delete(lineShelf), label.delete(lblShelf), line.delete(lineTp), label.delete(lblTp)
        
    lineEntry := line.new(bar_indexentryPricebar_index 6entryPricecolor=color.new(#00e676, 0), width=2)
        
    lblEntry  := label.new(bar_index 6entryPrice"GÝRÝŢ: " str.tostring(math.round(entryPrice2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 6shelfLevelcolor=color.new(#ff1744, 0), width=1, style=line.style_dashed)
        
    lblShelf  := label.new(bar_index 6shelfLevel"ÝPTAL (Raf): " str.tostring(math.round(shelfLevel2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineTp    := line.new(bar_indexstatTpbar_index 6statTpcolor=color.new(#00bcd4, 0), width=2, style=line.style_dotted)
        
    lblTp     := label.new(bar_index 6statTp"HEDEF: " str.tostring(math.round(statTp2)), color=color.new(#00bcd4, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    else if (fireBear and activeSide != -1)
        
    activeSide := -1entryPrice := closeshelfLevel := curCorestatTp := close * (- (i_tpPct 100))
        if 
    not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry), line.delete(lineShelf), label.delete(lblShelf), line.delete(lineTp), label.delete(lblTp)
        
    lineEntry := line.new(bar_indexentryPricebar_index 6entryPricecolor=color.new(#ff1744, 0), width=2)
        
    lblEntry  := label.new(bar_index 6entryPrice"GÝRÝŢ: " str.tostring(math.round(entryPrice2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 6shelfLevelcolor=color.new(#00e676, 0), width=1, style=line.style_dashed)
        
    lblShelf  := label.new(bar_index 6shelfLevel"ÝPTAL (Raf): " str.tostring(math.round(shelfLevel2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineTp    := line.new(bar_indexstatTpbar_index 6statTpcolor=color.new(#00bcd4, 0), width=2, style=line.style_dotted)
        
    lblTp     := label.new(bar_index 6statTp"HEDEF: " str.tostring(math.round(statTp2)), color=color.new(#00bcd4, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    if activeSide != 0
        line
    .set_x2(lineEntrybar_index 6), label.set_x(lblEntrybar_index 6)
        
    line.set_x2(lineShelfbar_index 6), label.set_x(lblShelfbar_index 6)
        
    line.set_x2(lineTpbar_index 6),    label.set_x(lblTpbar_index 6)
        
        
    bool stopOut   = (activeSide == and curPrice curYoruk) or (activeSide == -and curPrice curYoruk)
        
    bool shelfFail activeSide == close shelfLevel close shelfLevel
        bool tpOut     
    = (activeSide == and high >= statTp) or (activeSide == -and low <= statTp)
        
        if 
    stopOut or shelfFail or tpOut
            activeSide 
    := 0
            color grayCol 
    color.new(color.gray60)
            
    line.set_color(lineEntrygrayCol), label.set_color(lblEntrygrayCol)
            
    line.set_color(lineShelfgrayCol), label.set_color(lblShelfgrayCol)
            
    line.set_color(lineTpgrayCol),    label.set_color(lblTpgrayCol)

    color bCol trendBull #00e676 : trendBear ? #ff1744 : #787b86
    barcolor(bCol)

    // ─────────────────────────────────────────────────────────────────
    // 6. MÝNÝ PUSULA (HUD) & KASA YÖNETÝMÝ & YERÇEKÝMÝ
    // ─────────────────────────────────────────────────────────────────
    var table miniHud table.new(position.bottom_right26bgcolor=color.new(color.black40), border_color=color.new(color.gray80), border_width=1)

    if 
    barstate.islast
        
    // Risk ve Kasa Hesaplamasý
        
    float refPrice activeSide != entryPrice close
        float stopDistPct 
    math.abs(refPrice curYoruk) / refPrice 100
        float recSize 
    stopDistPct ? (i_riskPct stopDistPct) * 100 0
        string sizeStr 
    stopDistPct 0.1 "ÇOK YAKIN" "%" str.tostring(math.round(recSize)) + " Kasa"
        
        
    // Yerçekimi (5m TWAP) Analizi
        
    bool isGravityPull = (activeSide == and curPrice curTwap5m) or (activeSide == -and curPrice curTwap5m)
        
    string gravText isGravityPull "⚠️ S-TWAP'A ÇEKÝLÝYOR" "5M DESTEKLÝYOR"
        
    color gravCol isGravityPull color.orange color.silver

        table
    .cell(miniHud00"KKM STRIKER"text_color=color.graytext_size=size.smallbgcolor=color.new(color.black40))
        
    table.merge_cells(miniHud0010)
        
        
    table.cell(miniHud01"MAKRO (MTF)"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud11isMacroBull "BOĐA RÜZGARI" "AYI BASKISI"text_color=isMacroBull #00e676 : #ff1744, text_size=size.small)
        
        
    table.cell(miniHud02"DURUM"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud12activeSide == "AKTÝF (AL)" activeSide == -"AKTÝF (SAT)" "TETÝKTE"text_color=activeSide == #00e676 : activeSide == -1 ? #ff1744 : color.silver, text_size=size.small)
        
        
    table.cell(miniHud03"KÝN. STOP"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud13activeSide != str.tostring(math.round(curYoruk2)) : "-"text_color=#ff1744, text_size=size.small)

        
    table.cell(miniHud04"RÝSK/KASA"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud14sizeStr " (Uzaklýk: %" str.tostring(stopDistPct"#.##") + ")"text_color=color.aquatext_size=size.small)

        
    table.cell(miniHud05"YERÇEKÝMÝ (5m)"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud15gravTexttext_color=gravColtext_size=size.small
    16.07.2024 - 10.12.2024

  2. örnek...
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.2 - Infinite Striker & Time Cost]
    //@version=6
    indicator("KKM V6.2 Infinite Striker"shorttitle="KKM V6.2"overlay=truemax_labels_count=50max_lines_count=50)

    // ─────────────────────────────────────────────────────────────────
    // 1. GÝRDÝLER
    // ─────────────────────────────────────────────────────────────────
    group_l1 "1. Kinetik Motor"
    int i_coreLen input.int(20"Çekirdek (ZLEMA) Uzunluđu"group=group_l1)
    int atrLen input.int(20"L1 Hafýza (ATR)"group=group_l1)
    float atrMult input.float(3.5"L1 Gürültü Duvarý"step=0.1group=group_l1)
    float mu input.float(0.6"L1 Yakýnsaklýk (μ)"step=0.1group=group_l1)

    group_trade "2. Operasyon & Kasa"
    float i_riskPct input.float(1.0"Kabul Edilen Risk (Kasanýn %'si)"step=0.5group=group_trade)

    // ─────────────────────────────────────────────────────────────────
    // 2. MATEMATÝKSEL MOTOR & ZAMAN MALÝYETLERÝ (TWAP)
    // ─────────────────────────────────────────────────────────────────
    f_calc() =>
        
    // ZLEMA 20 (Hýzlý Çekirdek)
        
    float ema1 ta.ema(hl2i_coreLen)
        
    float ema2 ta.ema(ema1i_coreLen)
        
    float val_core ema1 + (ema1 ema2)

        
    // L1 @yörük@
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v

        
    // 5 Dakikalýk TWAP (Erken Yerçekimi)
        
    bool isNew5m ta.change(time("5")) != 0
        
    var float sumPrice5m 0.0, var float barCount5m 0.0
        
    if isNew5m or bar_index == 0
            sumPrice5m 
    := hl2barCount5m := 1.0
        
    else
            
    sumPrice5m += hl2barCount5m += 1.0
        float val_twap_5m 
    sumPrice5m barCount5m

        
    // Saatlik Saf TWAP (S-TWAP)
        
    bool isNewHour ta.change(time("60")) != 0
        
    var float sumPriceH 0.0, var float barCountH 0.0
        
    if isNewHour or bar_index == 0
            sumPriceH 
    := hl2barCountH := 1.0
        
    else
            
    sumPriceH += hl2barCountH += 1.0
        float val_twap_h 
    sumPriceH barCountH

        
    // Günlük Saf TWAP (MAKRO G-TWAP)
        
    bool isNewDay ta.change(time("D")) != 0
        
    var float sumPriceD 0.0, var float barCountD 0.0
        
    if isNewDay or bar_index == 0
            sumPriceD 
    := hl2barCountD := 1.0
        
    else
            
    sumPriceD += hl2barCountD += 1.0
        float val_twap_d 
    sumPriceD barCountD

        
    [val_corezval_twap_5mval_twap_hval_twap_dhl2]

    [
    curCorecurYorukcurTwap5mcurTwapHcurTwapDcurPrice] = f_calc()

    bool isMacroBull curPrice curTwapD

    // ─────────────────────────────────────────────────────────────────
    // 3. ZAMAN MALÝYETLÝ BAR RENKLENDÝRME (Yeni Felsefe)
    // ─────────────────────────────────────────────────────────────────
    // Fiyat hem Saatlik hem Günlük Maliyetin (TWAP) üzerindeyse yeţil, altýndaysa kýrmýzý!
    color bCol = (curPrice curTwapD and curPrice curTwapH) ? #00e676 : (curPrice < curTwapD and curPrice < curTwapH) ? #ff1744 : #787b86
    barcolor(bCol)

    // ─────────────────────────────────────────────────────────────────
    // 4. ÇÝZÝMLER (Sýfýr Gecikme)
    // ─────────────────────────────────────────────────────────────────
    plot(curTwapD"MAKRO G-TWAP"color=color.new(color.silver20), linewidth=3)
    plot(curTwapH"S-TWAP"color=color.rgb(2552040), linewidth=1style=plot.style_linebr)
    plot(curTwap5m"5m TWAP (Yerçekimi)"color=color.new(color.white30), linewidth=1style=plot.style_dotted)
    plot(curYoruk"@yörük@"color=color.fuchsialinewidth=2style=plot.style_stepline)
    plot(curCore"Çekirdek"color=color.aqualinewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. KÝNETÝK ATEŢLEME & SONSUZ DALGA RAF SÝSTEMÝ
    // ─────────────────────────────────────────────────────────────────
    float safeAtr math.max(ta.atr(14), syminfo.mintick)
    bool isIgnition = (high low) >= (safeAtr 1.5)

    // Ateţleme için hem TWAP uyumu hem Çekirdek/Yörük hizalamasý aranýr
    bool trendBull curPrice curCore and curPrice curYoruk and curPrice curTwapH and curPrice curTwapD
    bool trendBear 
    curPrice curCore and curPrice curYoruk and curPrice curTwapH and curPrice curTwapD

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

    // GÖRSEL ZEMÝN ALARMI (Arka Plan Flaţý)
    bgcolor(fireBull color.new(#00e676, 85) : fireBear ? color.new(#ff1744, 85) : na, title="Ateţleme Zemin Flaţý")

    var int   activeSide   0
    var float entryPrice   na
    var float shelfLevel   na

    var line  lineEntry na, var label lblEntry na
    var line  lineShelf na, var label lblShelf na

    if (fireBull and activeSide != 1)
        
    activeSide := 1entryPrice := closeshelfLevel := curCore
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry), line.delete(lineShelf), label.delete(lblShelf)
        
    lineEntry := line.new(bar_indexentryPricebar_index 6entryPricecolor=color.new(#00e676, 0), width=2)
        
    lblEntry  := label.new(bar_index 6entryPrice"GÝRÝŢ: " str.tostring(math.round(entryPrice2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 6shelfLevelcolor=color.new(#ff1744, 0), width=1, style=line.style_dashed)
        
    lblShelf  := label.new(bar_index 6shelfLevel"ÝPTAL (Raf): " str.tostring(math.round(shelfLevel2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    else if (fireBear and activeSide != -1)
        
    activeSide := -1entryPrice := closeshelfLevel := curCore
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry), line.delete(lineShelf), label.delete(lblShelf)
        
    lineEntry := line.new(bar_indexentryPricebar_index 6entryPricecolor=color.new(#ff1744, 0), width=2)
        
    lblEntry  := label.new(bar_index 6entryPrice"GÝRÝŢ: " str.tostring(math.round(entryPrice2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 6shelfLevelcolor=color.new(#00e676, 0), width=1, style=line.style_dashed)
        
    lblShelf  := label.new(bar_index 6shelfLevel"ÝPTAL (Raf): " str.tostring(math.round(shelfLevel2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    if activeSide != 0
        line
    .set_x2(lineEntrybar_index 6), label.set_x(lblEntrybar_index 6)
        
    line.set_x2(lineShelfbar_index 6), label.set_x(lblShelfbar_index 6)
        
        
    // ÇIKIŢ SADECE STOPLA VEYA RAF ÝPTALÝYLE OLUR (SONSUZ DALGA)
        
    bool stopOut   = (activeSide == and curPrice curYoruk) or (activeSide == -and curPrice curYoruk)
        
    bool shelfFail activeSide == close shelfLevel close shelfLevel
        
        
    if stopOut or shelfFail
            activeSide 
    := 0
            color grayCol 
    color.new(color.gray60)
            
    line.set_color(lineEntrygrayCol), label.set_color(lblEntrygrayCol)
            
    line.set_color(lineShelfgrayCol), label.set_color(lblShelfgrayCol)

    // ─────────────────────────────────────────────────────────────────
    // 6. MÝNÝ PUSULA (HUD) & KASA YÖNETÝMÝ & YERÇEKÝMÝ
    // ─────────────────────────────────────────────────────────────────
    var table miniHud table.new(position.bottom_right27bgcolor=color.new(color.black40), border_color=color.new(color.gray80), border_width=1)

    if 
    barstate.islast
        
    // Risk ve Kasa Hesaplamasý
        
    float refPrice activeSide != entryPrice close
        float stopDistPct 
    math.abs(refPrice curYoruk) / refPrice 100
        float recSize 
    stopDistPct ? (i_riskPct stopDistPct) * 100 0
        string sizeStr 
    stopDistPct 0.1 "ÇOK YAKIN" "%" str.tostring(math.round(recSize)) + " Kasa"
        
        
    // Yerçekimi (5m TWAP) Analizi
        
    bool isGravityPull = (activeSide == and curPrice curTwap5m) or (activeSide == -and curPrice curTwap5m)
        
    string gravText isGravityPull "⚠️ S-TWAP'A ÇEKÝLÝYOR" "5M DESTEKLÝYOR"
        
    color gravCol isGravityPull color.orange color.silver

        
    // Anlýk Kâr/Zarar (Sonsuz Dalga Ýzleme)
        
    float livePnl activeSide == ? ((close entryPrice)/entryPrice)*100 activeSide == -? ((entryPrice close)/entryPrice)*100 0.0

        table
    .cell(miniHud00"KKM STRIKER"text_color=color.graytext_size=size.smallbgcolor=color.new(color.black40))
        
    table.merge_cells(miniHud0010)
        
        
    table.cell(miniHud01"MAKRO (G-TWAP)"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud11isMacroBull "Maliyet Üstü (BOĐA)" "Maliyet Altý (AYI)"text_color=isMacroBull #00e676 : #ff1744, text_size=size.small)
        
        
    table.cell(miniHud02"DURUM"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud12activeSide == "AKTÝF (AL)" activeSide == -"AKTÝF (SAT)" "TETÝKTE"text_color=activeSide == #00e676 : activeSide == -1 ? #ff1744 : color.silver, text_size=size.small)
        
        
    table.cell(miniHud03"SONSUZ DALGA"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud13activeSide != ? (livePnl "+" "") + str.tostring(livePnl"#.##") + "%" "-"text_color=livePnl #00e676 : livePnl < 0 ? #ff1744 : color.silver, text_size=size.small)

        
    table.cell(miniHud04"Ýz Süren Stop"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud14activeSide != str.tostring(math.round(curYoruk2)) : "-"text_color=#ff1744, text_size=size.small)

        
    table.cell(miniHud05"RÝSK/KASA"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud15sizeStr " (Uzaklýk: %" str.tostring(stopDistPct"#.##") + ")"text_color=color.aquatext_size=size.small)

        
    table.cell(miniHud06"YERÇEKÝMÝ (5m)"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud16gravTexttext_color=gravColtext_size=size.small)

    // ─────────────────────────────────────────────────────────────────
    // 7. OTONOM ALARMLAR
    // ─────────────────────────────────────────────────────────────────
    alertcondition(fireBulltitle="🟢 KKM STRIKER: BOĐA ATEŢLEMESÝ"message="ALIM AKTÝF! Kurumsal maliyet aţýldý, sonsuz dalgaya girildi.")
    alertcondition(fireBeartitle="🔴 KKM STRIKER: AYI ATEŢLEMESÝ"message="SATIŢ AKTÝF! Kurumsal maliyet kýrýldý, sonsuz dalgaya girildi."
    16.07.2024 - 10.12.2024

  3. örnek...
    PHP Code:
    // © Kinetik Komuta Merkezi [Masterpiece V6.3 - Infinite Striker & Cost Cascade]
    //@version=6
    indicator("KKM V6.3 Infinite Striker"shorttitle="KKM V6.3"overlay=truemax_labels_count=50max_lines_count=50)

    // ─────────────────────────────────────────────────────────────────
    // 1. GÝRDÝLER
    // ─────────────────────────────────────────────────────────────────
    group_l1 "1. Kinetik Motor"
    int i_coreLen input.int(20"Çekirdek (ZLEMA) Uzunluđu"group=group_l1)
    int atrLen input.int(20"L1 Hafýza (ATR)"group=group_l1)
    float atrMult input.float(3.5"L1 Gürültü Duvarý"step=0.1group=group_l1)
    float mu input.float(0.6"L1 Yakýnsaklýk (μ)"step=0.1group=group_l1)

    group_trade "2. Operasyon & Kasa"
    float i_riskPct input.float(1.0"Kabul Edilen Risk (Kasanýn %'si)"step=0.5group=group_trade)

    // ─────────────────────────────────────────────────────────────────
    // 2. MATEMATÝKSEL MOTOR & MALÝYET ŢELALESÝ (TWAP HÝYERARŢÝSÝ)
    // ─────────────────────────────────────────────────────────────────
    f_calc() =>
        
    // ZLEMA 20 (Hýzlý Çekirdek)
        
    float ema1 ta.ema(hl2i_coreLen)
        
    float ema2 ta.ema(ema1i_coreLen)
        
    float val_core ema1 + (ema1 ema2)

        
    // L1 @yörük@
        
    float threshold ta.atr(atrLen) * atrMult
        
    var float z na
        
    var float v 0.0
        
    if bar_index == 0
            z 
    := hl2
        
    else
            
    float zPrev z[1], float vPrev v[1]
            
    float zPred zPrev vPrev
            float zTemp 
    zPred mu * (hl2 zPred)
            
    float diff zTemp zPrev
            
    if math.abs(diff) > threshold
                v 
    := math.sign(diff) * (math.abs(diff) - threshold)
            else
                
    := 0.0
            z 
    := zPrev v

        
    // 15 Dakikalýk TWAP (Mikro Maliyet / Erken Yerçekimi)
        
    bool isNew15m ta.change(time("15")) != 0
        
    var float sumPrice15m 0.0, var float barCount15m 0.0
        
    if isNew15m or bar_index == 0
            sumPrice15m 
    := hl2barCount15m := 1.0
        
    else
            
    sumPrice15m += hl2barCount15m += 1.0
        float val_twap_15m 
    sumPrice15m barCount15m

        
    // Saatlik Saf TWAP (Seans Maliyeti)
        
    bool isNewHour ta.change(time("60")) != 0
        
    var float sumPriceH 0.0, var float barCountH 0.0
        
    if isNewHour or bar_index == 0
            sumPriceH 
    := hl2barCountH := 1.0
        
    else
            
    sumPriceH += hl2barCountH += 1.0
        float val_twap_h 
    sumPriceH barCountH

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

        
    [val_corezval_twap_15mval_twap_hval_twap_dhl2]

    [
    curCorecurYorukcurTwap15mcurTwapHcurTwapDcurPrice] = f_calc()

    // ─────────────────────────────────────────────────────────────────
    // 3. MALÝYET ŢELALESÝ & BAR RENKLENDÝRME
    // ─────────────────────────────────────────────────────────────────
    // Kusursuz Hizalanma Ţartlarý
    bool costBull curPrice curTwap15m and curTwap15m curTwapH and curTwapH curTwapD
    bool costBear 
    curPrice curTwap15m and curTwap15m curTwapH and curTwapH curTwapD

    color bCol 
    costBull #00e676 : costBear ? #ff1744 : #787b86
    barcolor(bCol)

    // ─────────────────────────────────────────────────────────────────
    // 4. ÇÝZÝMLER (Sýfýr Gecikme)
    // ─────────────────────────────────────────────────────────────────
    plot(curTwapD"MAKRO G-TWAP"color=color.new(color.silver20), linewidth=3)
    plot(curTwapH"S-TWAP"color=color.rgb(2552040), linewidth=1style=plot.style_linebr)
    plot(curTwap15m"15m TWAP (Mikro)"color=color.new(color.white30), linewidth=1style=plot.style_dotted)
    plot(curYoruk"@yörük@"color=color.fuchsialinewidth=2style=plot.style_stepline)
    plot(curCore"Çekirdek"color=color.aqualinewidth=2)

    // ─────────────────────────────────────────────────────────────────
    // 5. KÝNETÝK ATEŢLEME & SONSUZ DALGA RAF SÝSTEMÝ
    // ─────────────────────────────────────────────────────────────────
    float safeAtr math.max(ta.atr(14), syminfo.mintick)
    bool isIgnition = (high low) >= (safeAtr 1.5)

    // Ateţleme için hem Maliyet Ţelalesi hizalanmasý hem de ZLEMA/Yörük üstünlüđü aranýr
    bool trendBull costBull and curPrice curCore and curPrice curYoruk
    bool trendBear 
    costBear and curPrice curCore and curPrice curYoruk

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

    // GÖRSEL ZEMÝN ALARMI (Arka Plan Flaţý)
    bgcolor(fireBull color.new(#00e676, 85) : fireBear ? color.new(#ff1744, 85) : na, title="Ateţleme Zemin Flaţý")

    var int   activeSide   0
    var float entryPrice   na
    var float shelfLevel   na

    var line  lineEntry na, var label lblEntry na
    var line  lineShelf na, var label lblShelf na

    if (fireBull and activeSide != 1)
        
    activeSide := 1entryPrice := closeshelfLevel := curCore
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry), line.delete(lineShelf), label.delete(lblShelf)
        
    lineEntry := line.new(bar_indexentryPricebar_index 6entryPricecolor=color.new(#00e676, 0), width=2)
        
    lblEntry  := label.new(bar_index 6entryPrice"GÝRÝŢ: " str.tostring(math.round(entryPrice2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 6shelfLevelcolor=color.new(#ff1744, 0), width=1, style=line.style_dashed)
        
    lblShelf  := label.new(bar_index 6shelfLevel"ÝPTAL (Raf): " str.tostring(math.round(shelfLevel2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    else if (fireBear and activeSide != -1)
        
    activeSide := -1entryPrice := closeshelfLevel := curCore
        
    if not na(lineEntry)
            
    line.delete(lineEntry), label.delete(lblEntry), line.delete(lineShelf), label.delete(lblShelf)
        
    lineEntry := line.new(bar_indexentryPricebar_index 6entryPricecolor=color.new(#ff1744, 0), width=2)
        
    lblEntry  := label.new(bar_index 6entryPrice"GÝRÝŢ: " str.tostring(math.round(entryPrice2)), color=color.new(#ff1744, 80), textcolor=color.white, style=label.style_label_left, size=size.small)
        
    lineShelf := line.new(bar_indexshelfLevelbar_index 6shelfLevelcolor=color.new(#00e676, 0), width=1, style=line.style_dashed)
        
    lblShelf  := label.new(bar_index 6shelfLevel"ÝPTAL (Raf): " str.tostring(math.round(shelfLevel2)), color=color.new(#00e676, 80), textcolor=color.white, style=label.style_label_left, size=size.small)

    if activeSide != 0
        line
    .set_x2(lineEntrybar_index 6), label.set_x(lblEntrybar_index 6)
        
    line.set_x2(lineShelfbar_index 6), label.set_x(lblShelfbar_index 6)
        
        
    // ÇIKIŢ SADECE YÖRÜK (STOP) VEYA ÇEKÝRDEK ÝPTALÝYLE OLUR
        
    bool stopOut   = (activeSide == and curPrice curYoruk) or (activeSide == -and curPrice curYoruk)
        
    bool shelfFail activeSide == close shelfLevel close shelfLevel
        
        
    if stopOut or shelfFail
            activeSide 
    := 0
            color grayCol 
    color.new(color.gray60)
            
    line.set_color(lineEntrygrayCol), label.set_color(lblEntrygrayCol)
            
    line.set_color(lineShelfgrayCol), label.set_color(lblShelfgrayCol)

    // ─────────────────────────────────────────────────────────────────
    // 6. MÝNÝ PUSULA (HUD) & KASA YÖNETÝMÝ & YERÇEKÝMÝ
    // ─────────────────────────────────────────────────────────────────
    var table miniHud table.new(position.bottom_right27bgcolor=color.new(color.black40), border_color=color.new(color.gray80), border_width=1)

    if 
    barstate.islast
        
    // Risk ve Kasa Hesaplamasý
        
    float refPrice activeSide != entryPrice close
        float stopDistPct 
    math.abs(refPrice curYoruk) / refPrice 100
        float recSize 
    stopDistPct ? (i_riskPct stopDistPct) * 100 0
        string sizeStr 
    stopDistPct 0.1 "ÇOK YAKIN" "%" str.tostring(math.round(recSize)) + " Kasa"
        
        
    // Yerçekimi (15m TWAP) Analizi
        
    bool isGravityPull = (activeSide == and curPrice curTwap15m) or (activeSide == -and curPrice curTwap15m)
        
    string gravText isGravityPull "⚠️ 15m TWAP'A ÇEKÝLÝYOR" "15m DESTEKLÝYOR"
        
    color gravCol isGravityPull color.orange color.silver

        
    // Anlýk Kâr/Zarar (Sonsuz Dalga Ýzleme)
        
    float livePnl activeSide == ? ((close entryPrice)/entryPrice)*100 activeSide == -? ((entryPrice close)/entryPrice)*100 0.0

        
    // Ţelale Durumu
        
    string cascadeText costBull "KUSURSUZ (BOĐA)" costBear "KUSURSUZ (AYI)" "KARIŢIK (NÖTR)"
        
    color cascadeCol costBull #00e676 : costBear ? #ff1744 : color.silver

        
    table.cell(miniHud00"KKM STRIKER"text_color=color.graytext_size=size.smallbgcolor=color.new(color.black40))
        
    table.merge_cells(miniHud0010)
        
        
    table.cell(miniHud01"MALÝYET ŢELALESÝ"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud11cascadeTexttext_color=cascadeColtext_size=size.small)
        
        
    table.cell(miniHud02"DURUM"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud12activeSide == "AKTÝF (AL)" activeSide == -"AKTÝF (SAT)" "TETÝKTE"text_color=activeSide == #00e676 : activeSide == -1 ? #ff1744 : color.silver, text_size=size.small)
        
        
    table.cell(miniHud03"SONSUZ DALGA"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud13activeSide != ? (livePnl "+" "") + str.tostring(livePnl"#.##") + "%" "-"text_color=livePnl #00e676 : livePnl < 0 ? #ff1744 : color.silver, text_size=size.small)

        
    table.cell(miniHud04"Ýz Süren Stop"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud14activeSide != str.tostring(math.round(curYoruk2)) : "-"text_color=#ff1744, text_size=size.small)

        
    table.cell(miniHud05"RÝSK/KASA"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud15sizeStr " (Uzaklýk: %" str.tostring(stopDistPct"#.##") + ")"text_color=color.aquatext_size=size.small)

        
    table.cell(miniHud06"YERÇEKÝMÝ (15m)"text_color=color.whitetext_size=size.small)
        
    table.cell(miniHud16gravTexttext_color=gravColtext_size=size.small)

    // ─────────────────────────────────────────────────────────────────
    // 7. OTONOM ALARMLAR
    // ─────────────────────────────────────────────────────────────────
    alertcondition(fireBulltitle="🟢 KKM STRIKER: BOĐA ATEŢLEMESÝ"message="ALIM AKTÝF! Kurumsal maliyet hizalandý, sonsuz dalgaya girildi.")
    alertcondition(fireBeartitle="🔴 KKM STRIKER: AYI ATEŢLEMESÝ"message="SATIŢ AKTÝF! Kurumsal maliyet kýrýldý, sonsuz dalgaya girildi."
    16.07.2024 - 10.12.2024

Sayfa 407/407 ÝlkÝlk ... 307357397405406407

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
  •