PHP Code:
// © Kinetik Komuta Merkezi - KKM Master Hub (V7 MATRIX ULTIMATE - Hedef Etiketli)
//@version=6
indicator(".", overlay=true, max_lines_count=500, max_boxes_count=500, max_labels_count=500)
// ═════════════════════════════════════════════════════════════════════════
// 1. ΗEKέRDEK FONKSέYONLAR
// ═════════════════════════════════════════════════════════════════════════
f_ozel_sar_ep(src_h, src_l, _start, _inc, _max) =>
var int trend = 0, var float sar_val = 0.0, var float ep = 0.0, var float af = 0.0
if trend == 0 and not na(src_h[1])
trend := src_h >= src_h[1] or src_l >= src_l[1] ? 1 : -1
sar_val := trend > 0 ? src_l[1] : src_h[1]
ep := trend > 0 ? src_h[1] : src_l[1]
af := _start
else
float nextsar = sar_val
if trend > 0
if src_h[1] > ep
ep := src_h[1]
af := math.min(_max, af + _inc)
nextsar := sar_val + af * (ep - sar_val)
nextsar := math.min(math.min(src_l[1], src_l[2]), nextsar)
if nextsar > src_l
trend := -1
nextsar := ep
ep := src_l
af := _start
else
if src_l[1] < ep
ep := src_l[1]
af := math.min(_max, af + _inc)
nextsar := sar_val + af * (ep - sar_val)
nextsar := math.max(math.max(src_h[1], src_h[2]), nextsar)
if nextsar < src_h
trend := 1
nextsar := ep
ep := src_h
af := _start
sar_val := nextsar
[sar_val, trend, ep]
f_adaptif_ema(src, dyn_len) =>
var float ema_val = na
float alpha = 2.0 / (dyn_len + 1.0)
ema_val := na(ema_val[1]) ? src : (alpha * src) + ((1.0 - alpha) * nz(ema_val[1]))
ema_val
f_tam_otonom_kutu(series float src, series float _dynAtr, series float _dynMult, series float _dynMu) =>
float threshold = _dynAtr * _dynMult
var float z = na
var float v = 0.0
float zPrev = na(z[1]) ? src : z[1]
float vPrev = v[1]
float zPred = zPrev + vPrev
float zTemp = zPred + _dynMu * (src - zPred)
float diff = zTemp - zPrev
v := math.abs(diff) > threshold ? math.sign(diff) * (math.abs(diff) - threshold) : 0.0
z := zPrev + v
z
f_otonom_frama(src, series int len) =>
var float filt = na
int safe_len = math.max(2, nz(len, 55))
int n1 = math.max(1, math.floor(safe_len / 2))
int n2 = math.max(1, safe_len - n1)
float hh1 = ta.highest(high, n1)
float ll1 = ta.lowest(low, n1)
float hh2 = ta.highest(high[n1], n2)
float ll2 = ta.lowest(low[n1], n2)
float hh3 = ta.highest(high, safe_len)
float ll3 = ta.lowest(low, safe_len)
float n1_range = (hh1 - ll1) / n1
float n2_range = (hh2 - ll2) / n2
float n3_range = (hh3 - ll3) / safe_len
float D = 0.0
if (n1_range > 0 and n2_range > 0 and n3_range > 0)
D := (math.log(n1_range + n2_range) - math.log(n3_range)) / math.log(2)
float alpha = math.exp(-4.6 * (nz(D) - 1))
alpha := math.max(0.01, math.min(1.0, alpha))
filt := na(filt[1]) ? src : (alpha * src) + ((1.0 - alpha) * nz(filt[1]))
filt
// ═════════════════════════════════════════════════════════════════════════
// 2. ΦZGάR AYNA VE META-SAR
// ═════════════════════════════════════════════════════════════════════════
float ham_volatilite = ta.tr(true)
float max_vol = nz(ta.highest(ham_volatilite, 50), 0.0001)
float min_vol = nz(ta.lowest(ham_volatilite, 50), 0.0)
float vol_orani = (max_vol == min_vol) ? 0.0 : ((ham_volatilite - min_vol) / (max_vol - min_vol))
float ayna_start = 0.02 + (vol_orani * 0.08)
float ayna_inc = 0.02 + (vol_orani * 0.08)
float ayna_max = 0.20 + (vol_orani * 0.30)
[ayna_sar, ayna_trend, ayna_ep] = f_ozel_sar_ep(high, low, ayna_start, ayna_inc, ayna_max)
float ayna = ayna_trend > 0 ? hl2 + math.abs(hl2 - ayna_sar) : hl2 - math.abs(hl2 - ayna_sar)
float ayna_ivme_genel = math.abs(ayna - nz(ayna[1], ayna))
float max_ivme = nz(ta.highest(ayna_ivme_genel, 21), 0.0001)
float min_ivme = nz(ta.lowest(ayna_ivme_genel, 21), 0.0)
float ivme_orani = (max_ivme == min_ivme) ? 0.0 : ((ayna_ivme_genel - min_ivme) / (max_ivme - min_ivme))
float ayna_h = math.max(ayna, nz(ayna[1], ayna))
float ayna_l = math.min(ayna, nz(ayna[1], ayna))
float oto_start = 0.02 + (ivme_orani * 0.04)
float oto_inc = 0.02 + (ivme_orani * 0.04)
float oto_max = 0.15 + (ivme_orani * 0.15)
[meta_sar, meta_trend, meta_ep] = f_ozel_sar_ep(ayna_h, ayna_l, oto_start, oto_inc, oto_max)
// ═════════════════════════════════════════════════════════════════════════
// 3. ANA TREND FέLTRESέ: OTONOM MELEZ OMURGA
// ═════════════════════════════════════════════════════════════════════════
var ep_kasa = array.new_float(6, hl2)
if meta_trend != meta_trend[1]
array.unshift(ep_kasa, meta_ep[1])
array.pop(ep_kasa)
int dinamik_uzunluk = math.max(5, math.min(6, math.floor(6.0 - (ivme_orani * 5.0))))
float ham_medyan = array.median(array.slice(ep_kasa, 0, dinamik_uzunluk))
ham_medyan := na(ham_medyan) ? hl2 : ham_medyan
float ema1 = f_adaptif_ema(ham_medyan, dinamik_uzunluk)
float ema2 = f_adaptif_ema(ema1, dinamik_uzunluk)
float omurga = ema1 + (ema1 - ema2)
// ═════════════════════════════════════════════════════════════════════════
// 5. KΦPEKBALIΠI RADARI (ΗέFT έΗ MUM)
// ═════════════════════════════════════════════════════════════════════════
bool shark_squeeze = low[2] < low[1] and low[1] < low and high[2] > high[1] and high[1] > high
bgcolor(shark_squeeze ? color.new(color.yellow, 85) : na, title="Kφpekbalύπύ Sύkύώma Alanύ")
if shark_squeeze
float ust_hedef = high[2] + (high[2] - low[2])
float alt_hedef = low[2] - (high[2] - low[2])
line.new(bar_index, ust_hedef, bar_index + 3, ust_hedef, color=color.aqua, width=2, style=line.style_dotted)
line.new(bar_index, alt_hedef, bar_index + 3, alt_hedef, color=color.orange, width=2, style=line.style_dotted)
// ═════════════════════════════════════════════════════════════════════════
// 6. MATRIX ANOMALέ RADARI (KAMA KέNETέK ZEMέN)
// ═════════════════════════════════════════════════════════════════════════
f_kama_kinetik(src, len, f, s) =>
mom = math.abs(ta.change(src, len))
vol = math.sum(math.abs(ta.change(src)), len)
er = vol != 0 ? mom / vol : 0
fastA = 2 / (f + 1)
slowA = 2 / (s + 1)
alpha = math.pow(er * (fastA - slowA) + slowA, 2)
var float k = na
k := alpha * src + (1 - alpha) * nz(k[1], src)
k
float kin_z = f_kama_kinetik(hl2, 10, 2, 30)
var int kama_trend = 0
kama_trend := kin_z > kin_z[1] ? 1 : kin_z < kin_z[1] ? -1 : nz(kama_trend[1])
f_polyreg(src, len) =>
float sumX = 0.0
float sumY = 0.0
float sumXY = 0.0
float sumX2 = 0.0
for i = 0 to len - 1
sumX += i
sumY += src[i]
sumXY += i * src[i]
sumX2 += i * i
slope = (len * sumXY - sumX * sumY) / (len * sumX2 - sumX * sumY)
intercept = (sumY - slope * sumX) / len
[slope, intercept]
[p_slope, p_int] = f_polyreg(hl2, 20)
float reg_dist = ta.highest(ta.sma(high - low, 20), 20) * 1.5
f_tanh(v) => (1 - math.exp(-2 * v)) / (1 + math.exp(-2 * v))
k_diff = (kin_z - kin_z[1]) / (kin_z[1] + 1e-9)
n_in = f_tanh(k_diff * 100)
float f_p_open = hl2
float f_p_close = hl2 * (1 + (f_tanh(n_in * 4.16) * 0.01))
float f_p_max = math.max(f_p_open, f_p_close) + (reg_dist * 0.2)
float f_p_min = math.min(f_p_open, f_p_close) - (reg_dist * 0.2)
td_fn(s) => nz((s - nz(s[1])) / (nz(s[1]) + 1e-9))
in_o = f_tanh(td_fn(open))
in_h = f_tanh(td_fn(high))
in_l = f_tanh(td_fn(low))
in_c = f_tanh(td_fn(hl2))
h0 = f_tanh((in_o * 22.427) + (in_h * -26.691) + (in_l * 4.937) + (in_c * 9.034) - 10.692)
h1 = f_tanh((in_o * -38.288) + (in_h * 10.050) + (in_l * -44.706) + (in_c * -17.816) + 30.566)
dl_val = f_tanh((h0 * -22.053) + (h1 * 3.652) - 0.415)
float atmos_range = ta.atr(14) * (1.1 + math.abs(dl_val))
float atmos_top = hl2 + atmos_range
float atmos_bot = hl2 - atmos_range
p_top = plot(atmos_top, "άst", color=color.new(color.silver, 100))
p_bot = plot(atmos_bot, "Alt", color=color.new(color.silver, 100))
fill(p_top, p_bot, color=kama_trend == 1 ? color.new(color.lime, 70) : color.new(color.red, 70), title="Matrix Atmosferi")
bool ihlal_al = (kama_trend == -1) and (f_p_min < atmos_bot)
bool ihlal_sat = (kama_trend == 1) and (f_p_max > atmos_top)
// ═════════════════════════════════════════════════════════════════════════
// 7. FIRTINA RADARI: GέZLέ SIKIήMA (PRICE CURVE)
// ═════════════════════════════════════════════════════════════════════════
var float pc_a = na
var float pc_b = na
var float pc_size = na
float chg_a = nz(pc_a[1]) - nz(pc_a[2])
float chg_b = nz(pc_b[1]) - nz(pc_b[2])
pc_size := (chg_a > 0 or chg_b < 0) ? ta.atr(1) : nz(pc_size[1], ta.tr(true))
int bs_a = nz(ta.barssince(chg_a > 0) + 1, 1)
int bs_b = nz(ta.barssince(chg_b < 0) + 1, 1)
pc_a := math.max(kin_z, nz(pc_a[1], kin_z)) - (pc_size / 100) * bs_a
pc_b := math.min(kin_z, nz(pc_b[1], kin_z)) + (pc_size / 100) * bs_b
float daralma_miktari = pc_a - pc_b
bool firtina_radari = daralma_miktari > 0 and daralma_miktari < (ta.atr(1) * 0.25)
// ═════════════════════════════════════════════════════════════════════════
// ═════════════════════════════════════════════════════════════════════════
// ═════════════════════════════════════════════════════════════════════════
// 8. GέZLέ DUVARLAR VE ANA KONSENSάS (KUSURSUZ ΗέFTE DOΠRULAMA)
// ═════════════════════════════════════════════════════════════════════════
float zlema_gerilim = math.abs(hl2 - ayna)
float max_g = nz(ta.highest(zlema_gerilim, 21), 0.0001)
float min_g = nz(ta.lowest(zlema_gerilim, 21), 0.0)
float g_orani = (max_g == min_g) ? 0.0 : ((zlema_gerilim - min_g) / (max_g - min_g))
float zlema_len = 21.0 - (g_orani * 16.0)
float a_ema1 = f_adaptif_ema(hl2, zlema_len)
float a_ema2 = f_adaptif_ema(a_ema1, zlema_len)
float gizli_zlema = a_ema1 + (a_ema1 - a_ema2)
float zemin_uzunluk = 21.0 - (ivme_orani * 16.0)
float zemin_carpan = 2.0 - (ivme_orani * 1.9)
float zemin_mu = 0.9 - (ivme_orani * 0.8)
float otonom_atr = f_adaptif_ema(ta.tr(true), zemin_uzunluk)
float gizli_zemin = f_tam_otonom_kutu(ayna, otonom_atr, zemin_carpan, zemin_mu)
int frama_uzunluk = math.max(21, math.min(55, nz(math.floor(55.0 - (ivme_orani * 34.0)), 55)))
float gizli_frama = f_otonom_frama(ayna, frama_uzunluk)
// DάZELTME BURADA: Kinetik motorlar kendi iηinde, Fiziksel kόtle kendi iηinde onaylanύyor!
bool bull = (ayna > meta_sar) and (ayna > gizli_zemin) and (ayna > gizli_frama) and (hl2 > gizli_zlema) and (hl2 > omurga)
bool bear = (ayna < meta_sar) and (ayna < gizli_zemin) and (ayna < gizli_frama) and (hl2 < gizli_zlema) and (hl2 < omurga)
var int state = 0
bool al = bull and state != 1
bool sat = bear and state != -1
if al
state := 1
if sat
state := -1
// ═════════════════════════════════════════════════════════════════════════
// 9. OTONOM SUέKAST KUTUSU VE FέYAT ETέKETLERέ
// ═════════════════════════════════════════════════════════════════════════
var box box_tp = na
var box box_sl = na
var line line_entry = na
var label lbl_tp = na
var label lbl_sl = na
var label lbl_entry = na
var bool in_trade = false
var int trade_dir = 0
var float entry_p = na
var float sl_p = na
var float tp_p = na
float sl_carpan = 1.5
float rr_oran = 2.0
if in_trade
box.set_right(box_tp, bar_index)
box.set_right(box_sl, bar_index)
line.set_x2(line_entry, bar_index)
if not na(lbl_tp)
label.set_x(lbl_tp, bar_index)
if not na(lbl_sl)
label.set_x(lbl_sl, bar_index)
if not na(lbl_entry)
label.set_x(lbl_entry, bar_index)
if trade_dir == 1
if high >= tp_p
in_trade := false
box.set_bgcolor(box_tp, color.new(color.lime, 90))
box.set_bgcolor(box_sl, color.new(color.red, 95))
else if low <= sl_p
in_trade := false
box.set_bgcolor(box_tp, color.new(color.lime, 95))
box.set_bgcolor(box_sl, color.new(color.red, 90))
else if trade_dir == -1
if low <= tp_p
in_trade := false
box.set_bgcolor(box_tp, color.new(color.aqua, 90))
box.set_bgcolor(box_sl, color.new(color.red, 95))
else if high >= sl_p
in_trade := false
box.set_bgcolor(box_tp, color.new(color.aqua, 95))
box.set_bgcolor(box_sl, color.new(color.red, 90))
if al and not in_trade
in_trade := true
trade_dir := 1
entry_p := hl2
sl_p := entry_p - (otonom_atr * sl_carpan)
tp_p := entry_p + ((entry_p - sl_p) * rr_oran)
if not na(box_tp)
box.delete(box_tp)
if not na(box_sl)
box.delete(box_sl)
if not na(line_entry)
line.delete(line_entry)
if not na(lbl_tp)
label.delete(lbl_tp)
if not na(lbl_sl)
label.delete(lbl_sl)
if not na(lbl_entry)
label.delete(lbl_entry)
box_tp := box.new(bar_index, tp_p, bar_index, entry_p, bgcolor=color.new(color.lime, 90), border_color=color.lime)
box_sl := box.new(bar_index, entry_p, bar_index, sl_p, bgcolor=color.new(color.red, 90), border_color=color.red)
line_entry := line.new(bar_index, entry_p, bar_index, entry_p, color=color.blue, width=1, style=line.style_dotted)
lbl_tp := label.new(bar_index, tp_p, "TP: " + str.tostring(tp_p, format.mintick), style=label.style_label_left, color=color.new(color.white, 100), textcolor=color.lime, size=size.small)
lbl_sl := label.new(bar_index, sl_p, "SL: " + str.tostring(sl_p, format.mintick), style=label.style_label_left, color=color.new(color.white, 100), textcolor=color.red, size=size.small)
lbl_entry := label.new(bar_index, entry_p, "GέRέή: " + str.tostring(entry_p, format.mintick), style=label.style_label_left, color=color.new(color.white, 100), textcolor=color.white, size=size.small)
if sat and not in_trade
in_trade := true
trade_dir := -1
entry_p := hl2
sl_p := entry_p + (otonom_atr * sl_carpan)
tp_p := entry_p - ((sl_p - entry_p) * rr_oran)
if not na(box_tp)
box.delete(box_tp)
if not na(box_sl)
box.delete(box_sl)
if not na(line_entry)
line.delete(line_entry)
if not na(lbl_tp)
label.delete(lbl_tp)
if not na(lbl_sl)
label.delete(lbl_sl)
if not na(lbl_entry)
label.delete(lbl_entry)
box_tp := box.new(bar_index, entry_p, bar_index, tp_p, bgcolor=color.new(color.aqua, 95), border_color=color.aqua)
box_sl := box.new(bar_index, sl_p, bar_index, entry_p, bgcolor=color.new(color.red, 95), border_color=color.red)
line_entry := line.new(bar_index, entry_p, bar_index, entry_p, color=color.black, width=1, style=line.style_dashed)
lbl_tp := label.new(bar_index, tp_p, "TP: " + str.tostring(tp_p, format.mintick), style=label.style_label_left, color=color.new(color.white, 100), textcolor=color.aqua, size=size.small)
lbl_sl := label.new(bar_index, sl_p, "SL: " + str.tostring(sl_p, format.mintick), style=label.style_label_left, color=color.new(color.white, 100), textcolor=color.red, size=size.small)
lbl_entry := label.new(bar_index, entry_p, "GέRέή: " + str.tostring(entry_p, format.mintick), style=label.style_label_left, color=color.new(color.white, 100), textcolor=color.white, size=size.small)
// ═════════════════════════════════════════════════════════════════════════
// ═════════════════════════════════════════════════════════════════════════
// 10. SAF GΦRSEL EKRAN VE RΦNTGEN MODU
// ═════════════════════════════════════════════════════════════════════════
color ayna_renk = ayna > hl2 ? color.lime : color.red
plot(ayna, "Φzgόr Ayna", color=ayna_renk, linewidth=2, style=plot.style_line)
color sar_renk = meta_trend > 0 ? color.new(color.lime, 0) : color.new(color.red, 0)
plot(meta_sar, "Meta-SAR", color=sar_renk, linewidth=2, style=plot.style_cross)
plot(omurga, "Otonom Melez Omurga", color=color.yellow, linewidth=3, style=plot.style_line)
// --- GέZLέ DUVARLARIN RΦNTGENέ ---
plot(gizli_zlema, "Gizli ZLEMA (Fiziksel Duvar)", color=color.aqua, linewidth=2, style=plot.style_line)
plot(gizli_zemin, "Gizli Zemin (Kinetik Duvar)", color=color.fuchsia, linewidth=2, style=plot.style_stepline)
plot(gizli_frama, "Gizli FRAMA (Fraktal Duvar)", color=color.orange, linewidth=2, style=plot.style_circles)
plotshape(ihlal_al, "Zemin έhlali (Erken AL)", shape.diamond, location.belowbar, color=color.aqua, size=size.normal)
plotshape(ihlal_sat, "Ηatύ έhlali (Erken SAT)", shape.diamond, location.abovebar, color=color.yellow, size=size.normal)
plotchar(shark_squeeze, "Kφpekbalύπύ", "⌖", location.abovebar, color.yellow, size=size.small)
plotchar(firtina_radari, "Fύrtύna Radarύ (Squeeze)", "⚡", location.bottom, color=color.yellow, size=size.small)
plotchar(al, "KONSENSάS AL", "▲", location.belowbar, color.lime, size=size.large)
plotchar(sat, "KONSENSάS SAT", "▼", location.abovebar, color.red, size=size.large)
// ═════════════════════════════════════════════════════════════════════════
// 11. BέRLEήέK έSTέHBARAT AΠI VE CANLI DURUM HUD (EN ALT BΦLάM)
// ═════════════════════════════════════════════════════════════════════════
// --- Savaώ Alanύ Φlηόleri ---
var float ath = 0.0
var float atl = 9999999.0
ath := math.max(ath, hl2)
atl := math.min(atl, hl2)
float mid = (ath + atl) / 2
float tp_85 = ath - (ath - atl) * 0.15
// --- 1H OTE Verisi ---
[hHi_1H, hLo_1H, hOp_1H, hl2_1H] = request.security(syminfo.tickerid, "60", [high[1], low[1], open[1], hl2[1]], barmerge.gaps_off, barmerge.lookahead_on)
bool bull_1H = hl2_1H > hOp_1H
float range_1H = hHi_1H - hLo_1H
float fib500_1H = bull_1H ? hHi_1H - 0.500 * range_1H : hLo_1H + 0.500 * range_1H
float fib618_1H = bull_1H ? hHi_1H - 0.618 * range_1H : hLo_1H + 0.618 * range_1H
float fib786_1H = bull_1H ? hHi_1H - 0.786 * range_1H : hLo_1H + 0.786 * range_1H
string stat_1H = bull_1H ? "AL" : "SAT"
color stat_col_1H = bull_1H ? color.lime : color.red
// --- 1D OTE Verisi ---
[hHi_1D, hLo_1D, hOp_1D, hl2_1D] = request.security(syminfo.tickerid, "1D", [high[1], low[1], open[1], hl2[1]], barmerge.gaps_off, barmerge.lookahead_on)
bool bull_1D = hl2_1D > hOp_1D
float range_1D = hHi_1D - hLo_1D
float fib500_1D = bull_1D ? hHi_1D - 0.500 * range_1D : hLo_1D + 0.500 * range_1D
float fib618_1D = bull_1D ? hHi_1D - 0.618 * range_1D : hLo_1D + 0.618 * range_1D
float fib786_1D = bull_1D ? hHi_1D - 0.786 * range_1D : hLo_1D + 0.786 * range_1D
string stat_1D = bull_1D ? "AL" : "SAT"
color stat_col_1D = bull_1D ? color.lime : color.red
// --- Canlύ Sinyal Zamanlayύcύsύ ve Veri Aktarύmύ ---
var int son_sinyal_zamani = na
if (al or sat) and not in_trade[1]
son_sinyal_zamani := time
string saat_metni = not na(son_sinyal_zamani) ? str.format("{0,time,HH:mm}", son_sinyal_zamani) : "--:--"
string yon_metni = trade_dir == 1 ? "AL" : trade_dir == -1 ? "SAT" : "BEKLEMEDE"
color yon_renk = trade_dir == 1 ? color.lime : trade_dir == -1 ? color.red : color.gray
string giris_str = not na(entry_p) ? str.tostring(entry_p, format.mintick) : "---"
string tp_str = not na(tp_p) ? str.tostring(tp_p, format.mintick) : "---"
string sl_str = not na(sl_p) ? str.tostring(sl_p, format.mintick) : "---"
// --- HUD Tablosu Ηizimi ---
var table hud = table.new(position.top_right, columns=5, rows=10, bgcolor=color.rgb(15, 23, 42, 60), border_width=1, border_color=color.rgb(51, 65, 85, 50))
if barstate.islast
// 1. Satύr: Zirve & TP
table.cell(hud, 0, 0, "ZέRVE (ATH)", text_color=color.gray, text_size=size.small)
table.cell(hud, 1, 0, str.tostring(ath, format.mintick), text_color=color.lime, text_size=size.small)
table.cell(hud, 2, 0, "│", text_color=color.gray, text_size=size.small)
table.cell(hud, 3, 0, "TP/DέRENΗ", text_color=color.gray, text_size=size.small)
table.cell(hud, 4, 0, str.tostring(tp_85, format.mintick), text_color=color.aqua, text_size=size.small)
// 2. Satύr: Medyan & Dip
table.cell(hud, 0, 1, "MEDYAN", text_color=color.gray, text_size=size.small)
table.cell(hud, 1, 1, str.tostring(mid, format.mintick), text_color=color.yellow, text_size=size.small)
table.cell(hud, 2, 1, "│", text_color=color.gray, text_size=size.small)
table.cell(hud, 3, 1, "DέP (ATL)", text_color=color.gray, text_size=size.small)
table.cell(hud, 4, 1, str.tostring(atl, format.mintick), text_color=color.red, text_size=size.small)
// 3. Satύr: OTE Baώlύklarύ
table.cell(hud, 0, 2, "PERέYOT", text_color=color.gray, text_size=size.small)
table.cell(hud, 1, 2, "YΦN", text_color=color.gray, text_size=size.small)
table.cell(hud, 2, 2, "DENGE 0.50", text_color=color.white, text_size=size.small)
table.cell(hud, 3, 2, "OTE 0.618", text_color=color.gray, text_size=size.small)
table.cell(hud, 4, 2, "OTE 0.786", text_color=color.gray, text_size=size.small)
// 4. Satύr: 1H Verileri
table.cell(hud, 0, 3, "1 SAAT", text_color=color.yellow, text_size=size.normal)
table.cell(hud, 1, 3, stat_1H, text_color=stat_col_1H, text_size=size.normal)
table.cell(hud, 2, 3, str.tostring(fib500_1H, format.mintick), text_color=color.white, text_size=size.normal)
table.cell(hud, 3, 3, str.tostring(fib618_1H, format.mintick), text_color=color.yellow, text_size=size.normal)
table.cell(hud, 4, 3, str.tostring(fib786_1H, format.mintick), text_color=color.yellow, text_size=size.normal)
// 5. Satύr: 1D Verileri
table.cell(hud, 0, 4, "1 GάN", text_color=color.fuchsia, text_size=size.normal)
table.cell(hud, 1, 4, stat_1D, text_color=stat_col_1D, text_size=size.normal)
table.cell(hud, 2, 4, str.tostring(fib500_1D, format.mintick), text_color=color.white, text_size=size.normal)
table.cell(hud, 3, 4, str.tostring(fib618_1D, format.mintick), text_color=color.fuchsia, text_size=size.normal)
table.cell(hud, 4, 4, str.tostring(fib786_1D, format.mintick), text_color=color.fuchsia, text_size=size.normal)
// 6. Satύr: Ayraη
table.merge_cells(hud, 0, 5, 4, 5)
table.cell(hud, 0, 5, "────────@YΦRάK@────2026─────────────────────", text_color=color.rgb(51, 65, 85), text_size=size.small)
// 7. Satύr: Canlύ Durum Baώlύπύ ve Zaman
table.merge_cells(hud, 0, 6, 1, 6)
table.cell(hud, 0, 6, "SON SέNYAL:", text_color=color.white, text_size=size.small, text_halign=text.align_left)
table.merge_cells(hud, 2, 6, 4, 6)
table.cell(hud, 2, 6, yon_metni + " " + giris_str + " (" + saat_metni + ")", text_color=yon_renk, text_size=size.normal, text_halign=text.align_right)
// 8. Satύr: Giriώ ve TP Deπerleri
table.cell(hud, 0, 7, "GέRέή", text_color=color.gray, text_size=size.small)
table.cell(hud, 1, 7, giris_str, text_color=color.white, text_size=size.small)
table.cell(hud, 2, 7, "│", text_color=color.gray, text_size=size.small)
table.cell(hud, 3, 7, "KAR AL (TP)", text_color=color.gray, text_size=size.small)
table.cell(hud, 4, 7, tp_str, text_color=color.aqua, text_size=size.small)
// 9. Satύr: Stop Loss ve YTD
table.cell(hud, 0, 8, "STOP (SL)", text_color=color.gray, text_size=size.small)
table.cell(hud, 1, 8, sl_str, text_color=color.red, text_size=size.small)
table.merge_cells(hud, 2, 8, 4, 8)
table.cell(hud, 2, 8, "Yatύrύm Tavsiyesi DEΠέLDέR.", text_color=color.gray, text_size=size.tiny, text_halign=text.align_right)
////////////sarlar////////////////
sar_fast = ta.sar(0.02, 0.02, 0.20)
sar_mid = ta.sar(0.03, 0.03, 0.25)
sar_slow = ta.sar(0.04, 0.04, 0.30)
psar_uzun = ta.sar(0., 0.01, 0.10)
plot(psar_uzun, title = 'YE', color = close > psar_uzun ? #ee01ff : #ee01ff, style = plot.style_cross, linewidth = 1)
plot(sar_fast, 'C', color = color.rgb(234, 0, 255), style = plot.style_cross, linewidth = 1)
plot(sar_mid, 'B', color = color.rgb(234, 0, 255), style = plot.style_cross, linewidth = 1)
plot(sar_slow, 'A', color = color.rgb(234, 0, 255), style = plot.style_cross, linewidth = 1)
Yer έmleri