Untitled

 avatar
unknown
plain_text
8 days ago
41 kB
7
Indexable
avatar
trade-can
Çevrimiçi
Takip Edenler
147
Takipte
6
Fikirler
0
Komutlar
0
Statü ekle...
23 May 2022 tarihinde katıldı
Komut Ara
WAVE TREND AND RSI CROSSOVER CONTROL
trade-can
trade-can
Nis 13
📌 Türkçe Açıklama: 📊 WAVE TREND AND RSI CROSSOVER CONTROL 📊 Bu indikatör, Wave Trend osilatörünün alım veya satım koşullarına geçtiği anlarda RSI değerleriyle birlikte tablo üzerinde anlık tarama yapan gelişmiş bir analiz aracıdır. Özellikleri: Alım yönlü sinyaller tablo üzerinde turkuaz, satım yönlü sinyaller ise kırmızı renkle gösterilir. İndikatör kendi...

 
MULTISCREEN BEST INVEST
trade-can
trade-can
Güncellendi 
Nis 13
📊 Gelişmiş BIST Multi-Strateji Screener – Türk Yatırımcı Stratejileriyle Tarama Bu gösterge, Borsa İstanbul (BIST) hisselerini gruplar halinde tarayan kapsamlı bir multi-strateji screener'dır. Kod içerisinde, alanında tanınan yatırımcıların stratejilerine göre yapılandırılmış özel tarama sistemleri bulunmaktadır. 🔍 İçerdiği Stratejiler: Selçuk Gönençler – 5-8-13...

 
YIGITBOX PHL2
trade-can
trade-can
Nis 5
Türkçe Açıklama Bu kod Yiğit Kaynak tarafından yazılmıstır. x.com/@YgtKyn Kodu tradıngvıew ıcın cevıren x.com/@hassonya Genel Bakış Bu kod, TradingView platformunda çalışan bir "YIGITBOX PHL2" adlı göstergedir. Fiyat grafiği üzerine pivot seviyeleri (destek ve direnç) çizer. Kullanıcıya seviyeleri gösterme/gizleme, renkleri özelleştirme ve breakout (kırılım)...

 
Multi-Timeframe Moving Average Analyzer with Pivot Table
trade-can
trade-can
Nis 4
Multi-Timeframe Moving Average Analyzer & Pivot Table This indicator is a powerful Pine Script tool designed for traders who want to analyze price trends across multiple timeframes. It allows you to display up to 10 different moving averages simultaneously, with fully customizable settings such as type, length, source, timeframe, and color. Key Features: ✅...

 
TKE DIVERGENCE AND SCREENER
trade-can
trade-can
Güncellendi 
Nis 4
English Version: The TKE Indicator was created by Dr. Yasar ERDİNÇ (@yerdinc65). This indicator is the arithmetic mean of the 7 most commonly used oscillators, which are: RSI Stochastic Ultimate Oscillator MFI Williams %R Momentum CCI The calculation is simple: TKE = (RSI + Stochastic + Ultimate Oscillator + MFI + Williams %R + Momentum + CCI) / 7 Buy...

 
Moving Average Convergence Divergence
trade-can
trade-can
Güncellendi 
Nis 4
Türkçe Açıklama: Bu gösterge, MACD histogramına dayalı uyumsuzlukları otomatik olarak tespit eden ve BIST hisselerini tarayarak analiz eden gelişmiş bir araçtır. Ayrıca, ilgili hisselerde MACD'nin 0 altına kesişimi ve diğer teknik göstergeleri (RSI, SMA, EMA gibi) de içeren detaylı bir analiz sunar. Özellikler: MACD Histogram Uyumsuzluk Analizi: MACD histogramına...

 
EFSANEM
trade-can
trade-can
Güncellendi 
Nis 3
Description (Açıklama): English: This powerful Pine Script indicator combines multiple technical analysis tools to provide a comprehensive market view. It features automatic trend drawing, Fibonacci retracement & extension levels, and pivot points to help traders identify key price levels. 📊 Included Indicators: ✅ Bollinger Bands, Moving Averages, Parabolic SAR,...

 
ALPHAFİNANS
trade-can
trade-can
Güncellendi 
Nis 4
alpha

 
TKE Pozitif Uyumsuzluk
trade-can
trade-can
Tem 22, 2024
Bu indikatör tke indikatöründeki uyumsuzlukları bulmak için kullanılır

 
SUPERCOMBO
trade-can
trade-can
Haz 25, 2023
otomatik trend fibonacci ve ortalamaları içeren kombo bir indikatördür

 
Tümüyle sevgi
#TradingView
100M+
Her ay bizi ziyaret eden yatırımcı.

#1
Dünyanın en iyi web sitesi: Konu yatırımla ilgili her şey olduğunda.

1.5M+
Ortalama 4.9 puana sahip mobil puanlama. Başka hiçbir finans uygulaması bu kadar sevilmedi.

10M+
Kullanıcılarımız tarafından paylaşılan özel komut dosyası ve fikir.

Instagram @life_of_lorena.fx üzerinde TradingView Grafiği
@life_of_lorena.fx

Instagram @j.kruysbergen üzerinde TradingView Grafiği
@j.kruysbergen

Instagram @SirPickle_ üzerinde TradingView Grafiği
@SirPickle_

Instagram @TradingView üzerinde TradingView Grafiği
@TradingView

Instagram @carrrros üzerinde TradingView Grafiği
@carrrros

Instagram @bradfairbridge üzerinde TradingView Grafiği
@bradfairbridge

Instagram @tradeindicators üzerinde TradingView Grafiği
@tradeindicators

Instagram @fx.today üzerinde TradingView Grafiği
@fx.today

Instagram @satoshi_empire üzerinde TradingView Grafiği
@satoshi_empire

Instagram @crystal_waston1 üzerinde TradingView Grafiği
@crystal_waston1

Instagram @imelycka üzerinde TradingView Grafiği
@imelycka

Instagram @shirin_m_moghaddam üzerinde TradingView Grafiği
@shirin_m_moghaddam

Instagram @trading_tools.ir üzerinde TradingView Grafiği
@trading_tools.ir

Instagram @chartfeed üzerinde TradingView Grafiği
@chartfeed

Instagram @laptopmoneygang üzerinde TradingView Grafiği
@laptopmoneygang

Instagram @Luke Martin üzerinde TradingView Grafiği
@Luke Martin

Instagram @mytradingsetup üzerinde TradingView Grafiği
@mytradingsetup

Instagram @johndollery üzerinde TradingView Grafiği
@johndollery


Alex Honnold kayanın üzerinde
İşlem ne olursa olsun

İşte sebebi









Türkçe
Ürünler
Süpergrafikler
Pine Script®
Hisse Takipçisi
BYF Takipçisi
Tahvil Takipçisi
Kripto Para Takipçisi
CEX Takipçisi
DEX Takipçisi
Hisse Isı Haritası
BYF Isı Haritası
Kripto Isı Haritası
Ekonomik Takvim
Kazanç Takvimi
Sparks
Haberler
TradingView Desktop
Mobil uygulama
CME Grubu vadeli işlemleri
Eurex vadeli işlemleri
ABD hisse paketi
Şirket
Hakkımızda
Özellikler
Ücretlendirme
Sosyal ağ
Sevgi Duvarı
Sporcular
Bildiri
Kariyer
Blog
Güvenlik Açığı
Durum sayfası
Kullanım Koşulları
Feragatname
Gizlilik Politikası
Çerezler Politikası
Medya kiti
Erişilebilirlik Beyanı
Yatırımcılar için tarot kartları
TradingView ürün mağazası
Topluluk
Arkadaşını yönlendir
Fikirler
Komutlar
Kullanım Koşulları
Moderatörler
Pine Wizards
Pine freelancers
Sohbet
İş için
Widget'lar
Reklam
Grafik kütüphaneleri
Lightweight Charts™
Gelişmiş Grafikler
İşlem Platformu
Aracı Kurum Entegrasyonu
Partner programı
Eğitim programı
App Store 'dan indirin
Google Play 'den indirin
Masaüstü uygulamasını indirin
TradingView'de İşlem Yapın
Seçtiğiniz piyasanın verilerini sağlayan ICE Data Services
FactSet tarafından sağlanan referans verileri seçin. Telif Hakkı © 2025 FactSet Research Systems Inc.
© 2025 TradingView, Inc.
Özel Grafik

Kapat


5 Nis
YIGITBOX PHL2

Favorilerimden çıkar
Pine Script®

// İndikatör Sahibi = Yiğit Kaynak @YgtKyn
// Tradingview Çeviri = @Hassonya
//@version=5

// Functions  ----------------------------------------------------------------------------------- //
GetHighestSince(cond, series=high) =>
    var float highestValueSince = na
    if cond or series > highestValueSince
        highestValueSince := series
    highestValueSince

GetLowestSince(condition, series=low) =>
    var float lowestValueSince = na
    if condition or series < lowestValueSince
        lowestValueSince := series
    lowestValueSince

IsSessionStart(sessionTime, sessionTimeZone=syminfo.timezone) =>
    inSess = not na(time(timeframe.period, sessionTime, sessionTimeZone))
    inSess and not inSess[1]
// ----------------------------------------------------------------------------------- //

indicator("YIGITBOX PHL2 ", "YIGITBOX-PHL2", overlay=true)

var string otxt = "Options"
ShowPHL1 = input.bool(true, title="Show/Hide PHL1?", group=otxt)
ShowPHL2 = input.bool(true, title="Show/Hide PHL2?", group=otxt)
Breakout = input.bool(true, title="Breakout Colors?", group=otxt)
InvertCL = input.bool(false, title="Invert Colors?", group=otxt)

res = timeframe.isweekly or timeframe.ismonthly ? "M" : timeframe.isdaily ? "W" : "D"
xHigh = request.security(syminfo.tickerid, res, high, barmerge.gaps_off, barmerge.lookahead_on)
xLow = request.security(syminfo.tickerid, res, low, barmerge.gaps_off, barmerge.lookahead_on)
xClose = request.security(syminfo.tickerid, res, close, barmerge.gaps_off, barmerge.lookahead_on)

sessionA  = IsSessionStart("0900-1700", "GMT+3")
sessionF  = IsSessionStart("0930-1730", "GMT+3")
sessionN  = IsSessionStart("1000-1800", "GMT+3")

isFutures1 = str.contains(syminfo.tickerid, "!")
isFutures2 = str.contains(syminfo.tickerid, str.tostring(year))

var bool YIGIT = na
if str.contains(syminfo.tickerid, "BIST") and (timeframe.period == "D")
    YIGIT := dayofmonth(time) != dayofmonth(time)[1]
else if str.contains(syminfo.tickerid, "BIST") and (timeframe.period == "120" or timeframe.period == "180" or timeframe.period == "240")
    YIGIT := (isFutures1 or isFutures2) ? sessionF : sessionA    
else if str.contains(syminfo.tickerid, "BIST") and (timeframe.multiplier <= 60)
    YIGIT := (isFutures1 or isFutures2) ? sessionF : sessionN    
else
    YIGIT := dayofmonth(time) != dayofmonth(time)[1]

ADAM = ta.valuewhen(YIGIT, xClose, 1)
TX = ta.valuewhen(YIGIT,GetHighestSince(YIGIT,xHigh),1)
RX = ta.valuewhen(YIGIT,GetLowestSince(YIGIT,xLow),1)

PVT1 = (ADAM+RX+TX)/3
r1 = 2*PVT1-RX
s1 = 2*PVT1-TX

PVT2 = ADAM
r2 = PVT2+(TX-RX)/2
s2 = PVT2-(TX-RX)/2

var string gtxt = "Colour Settings"
pvt1_col = input.color(color.blue, "PVT1", inline="p0", group=gtxt)
pvt2_col = input.color(color.orange, "PVT2", inline="p0", group=gtxt)
r1_col = input.color(color.green, "R1", inline="p1", group=gtxt)
s1_col = input.color(color.red, "S1", inline="p1", group=gtxt)
r2_col = input.color(color.green, "R2", inline="p2", group=gtxt)
s2_col = input.color(color.red, "S2", inline="p2", group=gtxt)
box_up_col = input.color(color.green, "Box-Up", inline="p3", group=gtxt)
box_down_col = input.color(color.orange, "Box-Down", inline="p3", group=gtxt)
invertr_col = input.color(color.red, "Resistance Zone", inline="p4", group=gtxt)
inverts_col = input.color(color.green, "Support Zone", inline="p4", group=gtxt)

i_style = input.string("Line", title="Line Type", inline="Line", group="Line Settings", options = ["Line", "Cross", "Circle"])
l_style = i_style == "Cross" ? plot.style_cross : i_style == "Circle" ? plot.style_circles : plot.style_line
i_width = input.int(1, title="Linewidth", inline="Line", group="Line Settings", options = [1, 2, 3, 4])

pvt1_p=plot(ShowPHL1 ? PVT1 : na, title="PVT1", color=pvt1_col, linewidth=2)
pvt1_r1=plot(ShowPHL1 ? r1 : na, title="R1", color=color.new(r1_col,50), linewidth=i_width, style=l_style)
pvt1_s1=plot(ShowPHL1 ? s1 : na, title="S1", color=color.new(s1_col,50), linewidth=i_width, style=l_style)

pvt2_p=plot(ShowPHL2 ? PVT2 : na, title="PVT2", color=pvt2_col, linewidth = 2)
pvt2_r2=plot(ShowPHL2 ? r2 : na, title="R2", color=color.new(r2_col,50), linewidth=i_width, style=l_style)
pvt2_s2=plot(ShowPHL2 ? s2 : na, title="S2", color=color.new(s2_col,50), linewidth=i_width, style=l_style)

fill(pvt1_p, pvt2_p, color= Breakout ? ((ShowPHL1 and close > PVT1) and (ShowPHL2 and close > PVT2)) ? color.new(color.green, 50) : color.new(color.orange,50) : PVT2 > PVT1 ? color.new(box_up_col,50) : color.new(box_down_col,50))
fill(pvt1_r1, pvt2_r2, color= InvertCL ? color.new(invertr_col, 90) : na)
fill(pvt1_s1, pvt2_s2, color= InvertCL ? color.new(inverts_col, 90) : na)

alertcondition(ta.crossover(close, PVT1), title = "PHL1 Up Breakout!", message="PHL 1 UP BREAKOUT ALARM!!")
alertcondition(ta.crossunder(close, PVT1), title = "PHL1 Down Breakout!", message="PHL 1 DOWN BREAKOUT ALARM!!")
alertcondition(ta.crossover(close, PVT2), title = "PHL2 Up Breakout!", message="PHL 2 UP BREAKOUT ALARM!!")
alertcondition(ta.crossunder(close, PVT2), title = "PHL2 Down Breakout!", message="PHL 2 DOWN BREAKOUT ALARM!!")



per = input.timeframe(defval='', title='PERİYOT',group = "Tarama yapmak istediğiniz periyotu seçin")
    
TablePos = input.string(title='Table Location', defval='Top Right', options=['Top Right', 'Middle Right', 'Bottom Right', 'Top Center', 'Bottom Center', 'Top Left', 'Middle Left', 'Bottom Left'], group='Table')

_TablePos = TablePos == 'Top Right' ? position.top_right : TablePos == 'Middle Right' ? position.middle_right :   TablePos == 'Bottom Right' ? position.bottom_right : TablePos == 'Top Center' ? position.top_center : TablePos == 'Middle Center' ? position.middle_center : TablePos == 'Bottom Center' ? position.bottom_center : TablePos == 'Top Left' ? position.top_left : TablePos == 'Middle Left' ? position.middle_left : position.bottom_left










// Tickers lists
g1 = "BIST:A1CAP, BIST:ACSEL, BIST:ADEL, BIST:ADESE, BIST:ADGYO, BIST:AEFES, BIST:AFYON, BIST:AGESA, BIST:AGHOL, BIST:AGROT, BIST:AGYO, BIST:AHGAZ, BIST:AHSGY, BIST:AKBNK, BIST:AKCNS, BIST:AKENR, BIST:AKFGY, BIST:AKFYE, BIST:AKGRT, BIST:AKMGY, BIST:AKSA, BIST:AKSEN, BIST:AKSGY, BIST:AKSUE, BIST:AKYHO, BIST:ALARK, BIST:ALBRK, BIST:ALCAR, BIST:ALCTL, BIST:ALFAS, BIST:ALGYO, BIST:ALKA, BIST:ALKIM, BIST:ALKLC, BIST:ALMAD, BIST:ALTNY"
g2 = "BIST:ALVES, BIST:ANELE, BIST:ANGEN, BIST:ANHYT, BIST:ANSGR, BIST:ARASE, BIST:ARCLK, BIST:ARDYZ, BIST:ARENA, BIST:ARSAN, BIST:ARTMS, BIST:ARZUM, BIST:ASELS, BIST:ASGYO, BIST:ASTOR, BIST:ASUZU, BIST:ATAGY, BIST:ATAKP, BIST:ATATP, BIST:ATEKS, BIST:AVGYO, BIST:AVHOL, BIST:AVOD, BIST:AVPGY, BIST:AVTUR, BIST:AYCES, BIST:AYDEM, BIST:AYEN, BIST:AYES, BIST:AYGAZ, BIST:AZTEK, BIST:BAGFS, BIST:BAHKM, BIST:BAKAB, BIST:BALAT"
g3 = "BIST:BANVT, BIST:BARMA, BIST:BASCM, BIST:BASGZ, BIST:BAYRK, BIST:BEGYO, BIST:BERA, BIST:BEYAZ, BIST:BFREN, BIST:BIENY, BIST:BIGCH, BIST:BIMAS, BIST:BINBN, BIST:BINHO, BIST:BIOEN, BIST:BIZIM, BIST:BJKAS, BIST:BLCYT, BIST:BMSCH, BIST:BMSTL, BIST:BNTAS, BIST:BOBET, BIST:BORLS, BIST:BORSK, BIST:BOSSA, BIST:BRISA, BIST:BRKSN, BIST:BRKVY, BIST:BRLSM, BIST:BRSAN, BIST:BRYAT, BIST:BSOKE, BIST:BTCIM"
g4 = "BIST:BUCIM, BIST:BURCE, BIST:BURVA, BIST:BVSAN, BIST:BYDNR, BIST:CANTE, BIST:CATES, BIST:CCOLA, BIST:CELHA, BIST:CEMAS, BIST:CEMTS, BIST:CEMZY, BIST:CEOEM, BIST:CGCAM, BIST:CIMSA, BIST:CLEBI, BIST:CMBTN, BIST:CMENT, BIST:CONSE, BIST:COSMO, BIST:CRDFA, BIST:CRFSA, BIST:CUSAN, BIST:CVKMD, BIST:CWENE, BIST:DAGHL, BIST:DAGI, BIST:DAPGM, BIST:DARDL, BIST:DCTTR, BIST:DENGE, BIST:DERHL, BIST:DERIM"
g5 = "BIST:DESA, BIST:DESPC, BIST:DEVA, BIST:DGATE, BIST:DGGYO, BIST:DGNMO, BIST:DITAS, BIST:DMRGD, BIST:DMSAS, BIST:DNISI, BIST:DOAS, BIST:DOBUR, BIST:DOCO, BIST:DOFER, BIST:DOGUB, BIST:DOHOL, BIST:DOKTA, BIST:DURDO, BIST:DURKN, BIST:DYOBY, BIST:DZGYO, BIST:EBEBK, BIST:ECILC, BIST:ECZYT, BIST:EDATA, BIST:EDIP, BIST:EFORC, BIST:EGEEN, BIST:EGEPO, BIST:EGGUB, BIST:EGPRO, BIST:EGSER, BIST:EKGYO, BIST:EKOS"
g6 = "BIST:EKSUN, BIST:ELITE, BIST:EMKEL, BIST:ENERY, BIST:ENJSA, BIST:ENKAI, BIST:ENSRI, BIST:ENTRA, BIST:EPLAS, BIST:ERBOS, BIST:ERCB, BIST:EREGL, BIST:ERSU, BIST:ESCAR, BIST:ESCOM, BIST:ESEN, BIST:ETILR, BIST:EUPWR, BIST:EUREN, BIST:EYGYO, BIST:FADE, BIST:FENER, BIST:FLAP, BIST:FMIZP, BIST:FONET, BIST:FORMT, BIST:FORTE, BIST:FRIGO, BIST:FROTO, BIST:FZLGY, BIST:GARAN, BIST:GARFA, BIST:GEDIK, BIST:GEDZA, BIST:GENIL"
g7 = "BIST:GENTS, BIST:GEREL, BIST:GESAN, BIST:GIPTA, BIST:GLBMD, BIST:GLCVY, BIST:GLRYH, BIST:GLYHO, BIST:GMTAS, BIST:GOKNR, BIST:GOLTS, BIST:GOODY, BIST:GOZDE, BIST:GRSEL, BIST:GRTHO, BIST:GSDDE, BIST:GSDHO, BIST:GSRAY, BIST:GUBRF, BIST:GUNDG, BIST:GWIND, BIST:GZNMI, BIST:HALKB, BIST:HATEK, BIST:HATSN, BIST:HDFGS, BIST:HEDEF, BIST:HEKTS, BIST:HKTM, BIST:HLGYO, BIST:HOROZ, BIST:HRKET, BIST:HTTBT"
g8 = "BIST:HUBVC, BIST:HUNER, BIST:HURGZ, BIST:ICBCT, BIST:ICUGS, BIST:IDGYO, BIST:IEYHO, BIST:IHAAS, BIST:IHEVA, BIST:IHGZT, BIST:IHLAS, BIST:IHLGM, BIST:IHYAY, BIST:IMASM, BIST:INDES, BIST:INFO, BIST:INGRM, BIST:INTEK, BIST:INTEM, BIST:INVEO, BIST:INVES, BIST:IPEKE, BIST:ISATR, BIST:ISBIR, BIST:ISBTR, BIST:ISCTR, BIST:ISDMR, BIST:ISFIN, BIST:ISGSY, BIST:ISGYO, BIST:ISKPL, BIST:ISMEN"
g9 = "BIST:ISSEN, BIST:IZENR, BIST:IZFAS, BIST:IZINV, BIST:IZMDC, BIST:JANTS, BIST:KAPLM, BIST:KAREL, BIST:KARSN, BIST:KARTN, BIST:KARYE, BIST:KATMR, BIST:KAYSE, BIST:KBORU, BIST:KCAER, BIST:KCHOL, BIST:KENT, BIST:KERVT, BIST:KFEIN, BIST:KGYO, BIST:KIMMR, BIST:KLGYO, BIST:KLKIM, BIST:KLMSN, BIST:KLNMA, BIST:KLRHO, BIST:KLSER, BIST:KLSYN, BIST:KMPUR, BIST:KNFRT, BIST:KOCMT"
g10 = "BIST:KONKA, BIST:KONTR, BIST:KONYA, BIST:KOPOL, BIST:KORDS, BIST:KOTON, BIST:KOZAA, BIST:KOZAL, BIST:KRDMA, BIST:KRDMB, BIST:KRDMD, BIST:KRGYO, BIST:KRONT, BIST:KRPLS, BIST:KRSTL, BIST:KRTEK, BIST:KRVGD, BIST:KSTUR, BIST:KTLEV, BIST:KTSKR, BIST:KUTPO, BIST:KUYAS, BIST:KZBGY, BIST:KZGYO, BIST:LIDER, BIST:LIDFA, BIST:LILAK, BIST:LINK, BIST:LKMNH, BIST:LMKDC, BIST:LOGO, BIST:LRSHO"
g11 = "BIST:LUKSK, BIST:LYDHO, BIST:LYDYE, BIST:MAALT, BIST:MACKO, BIST:MAGEN, BIST:MAKIM, BIST:MAKTK, BIST:MANAS, BIST:MARBL, BIST:MARKA, BIST:MARTI, BIST:MAVI, BIST:MEDTR, BIST:MEGMT, BIST:MEKAG, BIST:MEPET, BIST:MERCN, BIST:MERIT, BIST:MERKO, BIST:METRO, BIST:METUR, BIST:MGROS, BIST:MHRGY, BIST:MIATK, BIST:MNDRS, BIST:MNDTR, BIST:MOBTL, BIST:MOGAN, BIST:MPARK, BIST:MRGYO, BIST:MRSHL"
g12 = "BIST:MSGYO, BIST:MTRKS, BIST:MZHLD, BIST:NATEN, BIST:NETAS, BIST:NIBAS, BIST:NTGAZ, BIST:NTHOL, BIST:NUGYO, BIST:NUHCM, BIST:OBAMS, BIST:OBASE, BIST:ODAS, BIST:ODINE, BIST:OFSYM, BIST:ONCSM, BIST:ONRYT, BIST:ORCAY, BIST:ORGE, BIST:ORMA, BIST:OSMEN, BIST:OSTIM, BIST:OTKAR, BIST:OTTO, BIST:OYAKC, BIST:OYLUM, BIST:OYYAT, BIST:OZATD, BIST:OZGYO, BIST:OZKGY, BIST:OZRDN, BIST:OZSUB, BIST:OZYSR"
g13 = "BIST:PAGYO, BIST:PAMEL, BIST:PAPIL, BIST:PARSN, BIST:PASEU, BIST:PATEK, BIST:PCILT, BIST:PEHOL, BIST:PEKGY, BIST:PENGD, BIST:PENTA, BIST:PETKM, BIST:PETUN, BIST:PGSUS, BIST:PINSU, BIST:PKART, BIST:PKENT, BIST:PLTUR, BIST:PNLSN, BIST:PNSUT, BIST:POLHO, BIST:POLTK, BIST:PRDGS, BIST:PRKAB, BIST:PRKME, BIST:PRZMA, BIST:PSDTC, BIST:PSGYO, BIST:QNBFK, BIST:QNBTR, BIST:QUAGR, BIST:RALYH, BIST:RAYSG"
g14 = "BIST:REEDR, BIST:RGYAS, BIST:RNPOL, BIST:RODRG, BIST:RTALB, BIST:RUBNS, BIST:RYGYO, BIST:RYSAS, BIST:SAFKR, BIST:SAHOL, BIST:SAMAT, BIST:SANEL, BIST:SANFM, BIST:SANKO, BIST:SARKY, BIST:SASA, BIST:SAYAS, BIST:SDTTR, BIST:SEGMN, BIST:SEGYO, BIST:SEKFK, BIST:SEKUR, BIST:SELEC, BIST:SELGD, BIST:SELVA, BIST:SEYKM, BIST:SILVR, BIST:SISE, BIST:SKBNK, BIST:SKTAS, BIST:SKYLP, BIST:SKYMD, BIST:SMART, BIST:SMRTG, BIST:SMRVA, BIST:SNGYO, BIST:SNICA"
g15 = "BIST:SNPAM, BIST:SODSN, BIST:SOKE, BIST:SOKM, BIST:SONME, BIST:SRVGY, BIST:SUMAS, BIST:SUNTK, BIST:SURGY, BIST:SUWEN, BIST:TABGD, BIST:TARKM, BIST:TATEN, BIST:TATGD, BIST:TAVHL, BIST:TBORG, BIST:TCELL, BIST:TCKRC, BIST:TDGYO, BIST:TEKTU, BIST:TERA, BIST:TEZOL, BIST:TGSAS, BIST:THYAO, BIST:TKFEN, BIST:TKNSA, BIST:TLMAN, BIST:TMPOL, BIST:TMSN, BIST:TNZTP, BIST:TOASO, BIST:TRCAS, BIST:TRGYO, BIST:TRILC, BIST:TSGYO, BIST:TSKB, BIST:TSPOR"
g16 = "BIST:TTKOM, BIST:TTRAK, BIST:TUCLK, BIST:TUKAS, BIST:TUPRS, BIST:TUREX, BIST:TURGG, BIST:TURSG, BIST:UFUK, BIST:ULAS, BIST:ULKER, BIST:ULUFA, BIST:ULUSE, BIST:ULUUN, BIST:UNLU, BIST:USAK, BIST:VAKBN, BIST:VAKFN, BIST:VAKKO, BIST:VANGD, BIST:VBTYZ, BIST:VERTU, BIST:VERUS, BIST:VESBE, BIST:VESTL, BIST:VKGYO, BIST:VKING, BIST:VRGYO, BIST:YAPRK, BIST:YATAS, BIST:YAYLA, BIST:YBTAS, BIST:YEOTK, BIST:YESIL, BIST:YGGYO, BIST:YGYO, BIST:YIGIT"
g17 = 'BIST:YKBNK, BIST:YKSLN, BIST:YONGA, BIST:YUNSA, BIST:YYAPI, BIST:YYLGD, BIST:ZEDUR, BIST:ZOREN, BIST:ZRGYO.BIST:AEFES, BIST:AKBNK, BIST:ALARK, BIST:ASELS, BIST:ASTOR, BIST:BIMAS, BIST:EKGYO, BIST:ENJSA, BIST:ENKAI, BIST:EREGL, BIST:FROTO, BIST:GARAN, BIST:HEKTS, BIST:ISCTR, BIST:KCHOL, BIST:KONTR, BIST:KOZAL, BIST:KRDMD, BIST:MGROS, BIST:PETKM, BIST:PGSUS, BIST:SAHOL, BIST:SASA, BIST:SISE, BIST:TCELL, BIST:THYAO, BIST:TOASO, BIST:TTKOM, BIST:TUPRS, BIST:ULKER, BIST:VAKBN, BIST:VESTL, BIST:YKBNK, BIST:ZOREN'
g18 = ''

// Settings Groups
gn2 = 'Ticker selection'

// General Settings
symGroup = input.string('#1', 'Group', ['#1', '#2', '#3', '#4', '#5', '#6', '#7', '#8', '#9', '#10', '#11', '#12', '#13', '#14', '#15','#16','#17','#18'])




// Ticker group #1
group1  = input.text_area(g1, 'Ticker group #1', group = gn2)

// Ticker group #2
group2  = input.text_area(g2, 'Ticker group #2', group = gn2)

// Ticker group #3
group3  = input.text_area(g3, 'Ticker group #3', group = gn2)

// Ticker group #4
group4  = input.text_area(g4, 'Ticker group #4', group = gn2)

// Ticker group #5
group5  = input.text_area(g5, 'Ticker group #5', group = gn2)

// Ticker group #6
group6  = input.text_area(g6, 'Ticker group #6', group = gn2)

// Ticker group #7
group7  = input.text_area(g7, 'Ticker group #7', group = gn2)

// Ticker group #8
group8  = input.text_area(g8, 'Ticker group #8', group = gn2)

// Ticker group #9
group9  = input.text_area(g9, 'Ticker group #9', group = gn2)

// Ticker group #10
group10  = input.text_area(g10, 'Ticker group #10', group = gn2)

// Ticker group #11
group11  = input.text_area(g11, 'Ticker group #11', group = gn2)

// Ticker group #12
group12  = input.text_area(g12, 'Ticker group #12', group = gn2)

// Ticker group #13
group13  = input.text_area(g13, 'Ticker group #13', group = gn2)

// Ticker group #14
group14  = input.text_area(g14, 'Ticker group #14', group = gn2)

// Ticker group #15
group15  = input.text_area(g15, 'Ticker group #15', group = gn2)

// Ticker group #16
group16  = input.text_area(g16, 'Ticker group #16', group = gn2)

// Ticker group #17
group17  = input.text_area(g17, 'Ticker group #17', group = gn2)

// Ticker group #18
group18 = input.text_area(g18, 'Ticker group #18', group = gn2)


func() =>
    BUY = ta.crossover(close, PVT1) or ta.crossover(close, PVT2)
    SELL = ta.crossunder(close, PVT1) or ta.crossunder(close, PVT2)

    [close, BUY,SELL]

// Getting ticker info based on selected group
selection = symGroup == '#1' ? group1 : symGroup == '#2' ? group2 : symGroup == '#3' ? group3 : symGroup == '#4' ? group4 : symGroup == '#5' ? group5 : symGroup == '#6' ? group6 : symGroup == '#7' ? group7 : symGroup == '#8' ? group8 : symGroup == '#9' ? group9 : symGroup == '#10' ? group10 : symGroup == '#11' ? group11 : symGroup == '#12' ? group12 : symGroup == '#13' ? group13 : symGroup == '#14' ? group14 : symGroup == '#15' ? group15: symGroup == '#16' ? group16 : symGroup == '#17' ? group17 : group18

// Function to extract ticker IDs
feed(back) =>                                            
    loop  = back                                         
    getT  = string(na)                                   
    if str.length(loop) == 0                             
        getT := string(na)                               
        loop := string(na)                               
    else                                                 
        getP  = nz(str.pos(loop, ','), str.length(loop)) 
        getT := str.substring(loop, 0, getP)             
        dlim  = 1                                        
        if str.match(loop, ', ') == ', '                 
            dlim := 2                                    
        clrT  = str.substring(loop, 0, getP + dlim)      
        loop := str.replace(loop, clrT, '')              
    [getT, loop]

// Extract tickers
[tid1,  out1]  = feed(selection), [tid2,   out2]  = feed(out1),  [tid3,   out3]  = feed(out2),  [tid4,   out4]  = feed(out3)
[tid5,  out5]  = feed(out4),      [tid6,   out6]  = feed(out5),  [tid7,   out7]  = feed(out6),  [tid8,   out8]  = feed(out7)
[tid9,  out9]  = feed(out8),      [tid10, out10]  = feed(out9),  [tid11, out11]  = feed(out10), [tid12, out12]  = feed(out11)
[tid13, out13] = feed(out12),     [tid14, out14]  = feed(out13), [tid15, out15]  = feed(out14), [tid16, out16]  = feed(out15)
[tid17, out17] = feed(out16),     [tid18, out18]  = feed(out17), [tid19, out19]  = feed(out18), [tid20, out20]  = feed(out19)
[tid21, out21] = feed(out20),     [tid22, out22]  = feed(out21), [tid23, out23]  = feed(out22), [tid24, out24]  = feed(out23)
[tid25, out25] = feed(out24),     [tid26, out26]  = feed(out25), [tid27, out27]  = feed(out26), [tid28, out28]  = feed(out27)
[tid29, out29] = feed(out28),     [tid30, out30]  = feed(out29), [tid31, out31]  = feed(out30), [tid32, out32]  = feed(out31)
[tid33, out33] = feed(out32),     [tid34, out34]  = feed(out33), [tid35, out35]  = feed(out34), [tid36, out36]  = feed(out35)
[tid37, out37] = feed(out36),     [tid38, out38]  = feed(out37), [tid39, out39]  = feed(out38), [tid40, out40]  = feed(out39)

[v1, s01, c01 ] = request.security(tid1, per, func())
[v2, s02, c02 ] = request.security(tid2, per, func())
[v3, s03, c03 ] = request.security(tid3, per, func())
[v4, s04, c04 ] = request.security(tid4, per, func())
[v5, s05, c05 ] = request.security(tid5, per, func())
[v6, s06, c06] = request.security(tid6, per, func())
[v7, s07, c07] = request.security(tid7, per, func())
[v8, s08, c08] = request.security(tid8, per, func())
[v9, s09, c09] = request.security(tid9, per, func())
[v10, s10, c10] = request.security(tid10, per, func())
[v11, s11, c11] = request.security(tid11, per, func())
[v12, s12, c12] = request.security(tid12, per, func())
[v13, s13, c13] = request.security(tid13, per, func())
[v14, s14, c14] = request.security(tid14, per, func())
[v15, s15, c15] = request.security(tid15, per, func())
[v16, s16, c16] = request.security(tid16, per, func())
[v17, s17, c17] = request.security(tid17, per, func())
[v18, s18, c18] = request.security(tid18, per, func())
[v19, s19, c19] = request.security(tid19, per, func())
[v20, s20, c20] = request.security(tid20, per, func())
[v21, s21, c21] = request.security(tid21, per, func())
[v22, s22, c22] = request.security(tid22, per, func())
[v23, s23, c23] = request.security(tid23, per, func())
[v24, s24, c24] = request.security(tid24, per, func())
[v25, s25, c25] = request.security(tid25, per, func())
[v26, s26, c26] = request.security(tid26, per, func())
[v27, s27, c27] = request.security(tid27, per, func())
[v28, s28, c28] = request.security(tid28, per, func())
[v29, s29, c29] = request.security(tid29, per, func())
[v30, s30, c30] = request.security(tid30, per, func())
[v31, s31, c31] = request.security(tid31, per, func())
[v32, s32, c32] = request.security(tid32, per, func())
[v33, s33, c33] = request.security(tid33, per, func())
[v34, s34, c34] = request.security(tid34, per, func())
[v35, s35, c35] = request.security(tid35, per, func())
[v36, s36, c36] = request.security(tid36, per, func())
[v37, s37, c37] = request.security(tid37, per, func())
//[v38, s38, c38] = request.security(tid38, per, func())
//[v39, s39, c39] = request.security(tid39, per, func())
//[v40, s40, c40] = request.security(tid40, per, func())









roundn(x, n) =>
    mult = 1
    if n != 0
        for i = 1 to math.abs(n) by 1
            mult *= 10
            mult

    n >= 0 ? math.round(x * mult) / mult : math.round(x / mult) * mult


scr_label = ''
scr_label := s01 ? scr_label + tid1 + ' ' + str.tostring(v1) + '\n' : scr_label
scr_label := s02 ? scr_label + tid2 + ' ' + str.tostring(v2) + '\n' : scr_label
scr_label := s03 ? scr_label + tid3 + ' ' + str.tostring(v3) + '\n' : scr_label
scr_label := s04 ? scr_label + tid4 + ' ' + str.tostring(v4) + '\n' : scr_label
scr_label := s05 ? scr_label + tid5 + ' ' + str.tostring(v5) + '\n' : scr_label
scr_label := s06 ? scr_label + tid6 + ' ' + str.tostring(v6) + '\n' : scr_label
scr_label := s07 ? scr_label + tid7 + ' ' + str.tostring(v7) + '\n' : scr_label
scr_label := s08 ? scr_label + tid8 + ' ' + str.tostring(v8) + '\n' : scr_label
scr_label := s09 ? scr_label + tid9 + ' ' + str.tostring(v9) + '\n' : scr_label
scr_label := s10 ? scr_label + tid10 + ' ' + str.tostring(v10) + '\n' : scr_label
scr_label := s11 ? scr_label + tid11 + ' ' + str.tostring(v11) + '\n' : scr_label
scr_label := s12 ? scr_label + tid12 + ' ' + str.tostring(v12) + '\n' : scr_label
scr_label := s13 ? scr_label + tid13 + ' ' + str.tostring(v13) + '\n' : scr_label
scr_label := s14 ? scr_label + tid14 + ' ' + str.tostring(v14) + '\n' : scr_label
scr_label := s15 ? scr_label + tid15 + ' ' + str.tostring(v15) + '\n' : scr_label
scr_label := s16 ? scr_label + tid16 + ' ' + str.tostring(v16) + '\n' : scr_label
scr_label := s17 ? scr_label + tid17 + ' ' + str.tostring(v17) + '\n' : scr_label
scr_label := s18 ? scr_label + tid18 + ' ' + str.tostring(v18) + '\n' : scr_label
scr_label := s19 ? scr_label + tid19 + ' ' + str.tostring(v19) + '\n' : scr_label
scr_label := s20 ? scr_label + tid20 + ' ' + str.tostring(v20) + '\n' : scr_label
scr_label := s21 ? scr_label + tid21 + ' ' + str.tostring(v21) + '\n' : scr_label
scr_label := s22 ? scr_label + tid22 + ' ' + str.tostring(v22) + '\n' : scr_label
scr_label := s23 ? scr_label + tid23 + ' ' + str.tostring(v23) + '\n' : scr_label
scr_label := s24 ? scr_label + tid24 + ' ' + str.tostring(v24) + '\n' : scr_label
scr_label := s25 ? scr_label + tid25 + ' ' + str.tostring(v25) + '\n' : scr_label
scr_label := s26 ? scr_label + tid26 + ' ' + str.tostring(v26) + '\n' : scr_label
scr_label := s27 ? scr_label + tid27 + ' ' + str.tostring(v27) + '\n' : scr_label
scr_label := s28 ? scr_label + tid28 + ' ' + str.tostring(v28) + '\n' : scr_label
scr_label := s29 ? scr_label + tid29 + ' ' + str.tostring(v29) + '\n' : scr_label
scr_label := s30 ? scr_label + tid30 + ' ' + str.tostring(v30) + '\n' : scr_label
scr_label := s31 ? scr_label + tid31 + ' ' + str.tostring(v31) + '\n' : scr_label
scr_label := s32 ? scr_label + tid32 + ' ' + str.tostring(v32) + '\n' : scr_label
scr_label := s33 ? scr_label + tid33 + ' ' + str.tostring(v33) + '\n' : scr_label
scr_label := s34 ? scr_label + tid34 + ' ' + str.tostring(v34) + '\n' : scr_label
scr_label := s35 ? scr_label + tid35 + ' ' + str.tostring(v35) + '\n' : scr_label
scr_label := s36 ? scr_label + tid36 + ' ' + str.tostring(v36) + '\n' : scr_label
scr_label := s37 ? scr_label + tid37 + ' ' + str.tostring(v37) + '\n' : scr_label
//scr_label := s38 ? scr_label + tid38 + ' ' + str.tostring(v38) + '\n' : scr_label
//scr_label := s39 ? scr_label + tid39 + ' ' + str.tostring(v39) + '\n' : scr_label
//scr_label := s40 ? scr_label + tid40 + ' ' + str.tostring(v40) + '\n' : scr_label


//------------------------------------------------------




scr_label_c = ''
scr_label_c := c01 ? scr_label_c + tid1 + ' ' + str.tostring(v1) + '\n' : scr_label_c
scr_label_c := c02 ? scr_label_c + tid2 + ' ' + str.tostring(v2) + '\n' : scr_label_c
scr_label_c := c03 ? scr_label_c + tid3 + ' ' + str.tostring(v3) + '\n' : scr_label_c
scr_label_c := c04 ? scr_label_c + tid4 + ' ' + str.tostring(v4) + '\n' : scr_label_c
scr_label_c := c05 ? scr_label_c + tid5 + ' ' + str.tostring(v5) + '\n' : scr_label_c
scr_label_c := c06 ? scr_label_c + tid6 + ' ' + str.tostring(v6) + '\n' : scr_label_c
scr_label_c := c07 ? scr_label_c + tid7 + ' ' + str.tostring(v7) + '\n' : scr_label_c
scr_label_c := c08 ? scr_label_c + tid8 + ' ' + str.tostring(v8) + '\n' : scr_label_c
scr_label_c := c09 ? scr_label_c + tid9 + ' ' + str.tostring(v9) + '\n' : scr_label_c
scr_label_c := c10 ? scr_label_c + tid10 + ' ' + str.tostring(v10) + '\n' : scr_label_c
scr_label_c := c11 ? scr_label_c + tid11 + ' ' + str.tostring(v11) + '\n' : scr_label_c
scr_label_c := c12 ? scr_label_c + tid12 + ' ' + str.tostring(v12) + '\n' : scr_label_c
scr_label_c := c13 ? scr_label_c + tid13 + ' ' + str.tostring(v13) + '\n' : scr_label_c
scr_label_c := c14 ? scr_label_c + tid14 + ' ' + str.tostring(v14) + '\n' : scr_label_c
scr_label_c := c15 ? scr_label_c + tid15 + ' ' + str.tostring(v15) + '\n' : scr_label_c
scr_label_c := c16 ? scr_label_c + tid16 + ' ' + str.tostring(v16) + '\n' : scr_label_c
scr_label_c := c17 ? scr_label_c + tid17 + ' ' + str.tostring(v17) + '\n' : scr_label_c
scr_label_c := c18 ? scr_label_c + tid18 + ' ' + str.tostring(v18) + '\n' : scr_label_c
scr_label_c := c19 ? scr_label_c + tid19 + ' ' + str.tostring(v19) + '\n' : scr_label_c
scr_label_c := c20 ? scr_label_c + tid20 + ' ' + str.tostring(v20) + '\n' : scr_label_c
scr_label_c := c21 ? scr_label_c + tid21 + ' ' + str.tostring(v21) + '\n' : scr_label_c
scr_label_c := c22 ? scr_label_c + tid22 + ' ' + str.tostring(v22) + '\n' : scr_label_c
scr_label_c := c23 ? scr_label_c + tid23 + ' ' + str.tostring(v23) + '\n' : scr_label_c
scr_label_c := c24 ? scr_label_c + tid24 + ' ' + str.tostring(v24) + '\n' : scr_label_c
scr_label_c := c25 ? scr_label_c + tid25 + ' ' + str.tostring(v25) + '\n' : scr_label_c
scr_label_c := c26 ? scr_label_c + tid26 + ' ' + str.tostring(v26) + '\n' : scr_label_c
scr_label_c := c27 ? scr_label_c + tid27 + ' ' + str.tostring(v27) + '\n' : scr_label_c
scr_label_c := c28 ? scr_label_c + tid28 + ' ' + str.tostring(v28) + '\n' : scr_label_c
scr_label_c := c29 ? scr_label_c + tid29 + ' ' + str.tostring(v29) + '\n' : scr_label_c
scr_label_c := c30 ? scr_label_c + tid30 + ' ' + str.tostring(v30) + '\n' : scr_label_c
scr_label_c := c31 ? scr_label_c + tid31 + ' ' + str.tostring(v31) + '\n' : scr_label_c
scr_label_c := c32 ? scr_label_c + tid32 + ' ' + str.tostring(v32) + '\n' : scr_label_c
scr_label_c := c33 ? scr_label_c + tid33 + ' ' + str.tostring(v33) + '\n' : scr_label_c
scr_label_c := c34 ? scr_label_c + tid34 + ' ' + str.tostring(v34) + '\n' : scr_label_c
scr_label_c := c35 ? scr_label_c + tid35 + ' ' + str.tostring(v35) + '\n' : scr_label_c
scr_label_c := c36 ? scr_label_c + tid36 + ' ' + str.tostring(v36) + '\n' : scr_label_c
scr_label_c := c37 ? scr_label_c + tid37 + ' ' + str.tostring(v37) + '\n' : scr_label_c
//scr_label_c := c38 ? scr_label_c + tid38 + ' ' + str.tostring(v38) + '\n' : scr_label_c
//scr_label_c := c39 ? scr_label_c + tid39 + ' ' + str.tostring(v39) + '\n' : scr_label_c
//scr_label_c := c40 ? scr_label_c + tid40 + ' ' + str.tostring(v40) + '\n' : scr_label_c

groupName = "Grup: " + symGroup









var panel = table.new(position = _TablePos, columns = 50, rows = 50, bgcolor = color.rgb(30, 188, 250, 25), frame_color = color.rgb(0, 0, 0), frame_width = 1, border_color = color.black, border_width = 1, force_overlay = true)

if barstate.islast
    table.cell(panel, 0, 0, text = groupName)
    
    table.merge_cells(panel, 0, 0, 1, 0)
    table.cell(panel, 0, 1, text = "BUY:")
    table.cell(panel, 0, 2, text = str.tostring(scr_label), text_valign = text.align_top)

    table.cell(panel, 1, 1, text = "SELL:")
    table.cell(panel, 1, 2, text = str.tostring(scr_label_c), text_valign = text.align_top)



// Tablo oluştur
var table infoTable = table.new(position=position.top_center , columns=1, rows=3, bgcolor=color.blue, frame_color=color.black, frame_width=1,force_overlay = true)
 
// İçerikleri tabloya ekle
table.cell(infoTable, row=0, column=0, text="X.COM/Alphafinansdata", text_size = size.small, text_color=color.white, bgcolor=color.rgb(0, 53, 97))
table.cell(infoTable, row=1, column=0, text="TELEGRAM : t.me/Alphafinansdata",text_size = size.small, text_color=color.white, bgcolor=color.rgb(0, 53, 97))
table.cell(infoTable, row=2, column=0, text="TELEGRAM BOTU: Alphafinans1bot", text_size = size.small,text_color=color.white, bgcolor=color.rgb(0, 53, 97))

Pine Editor'de görüntüle・416 satır

Use on chart

2
6
5


722
Türkçe Açıklama

Bu kod Yiğit Kaynak tarafından yazılmıstır. x.com/@YgtKyn
Kodu tradıngvıew ıcın cevıren x.com/Hassonya

Genel Bakış
Bu kod, TradingView platformunda çalışan bir "YIGITBOX PHL2" adlı göstergedir. Fiyat grafiği üzerine pivot seviyeleri (destek ve direnç) çizer. Kullanıcıya seviyeleri gösterme/gizleme, renkleri özelleştirme ve breakout (kırılım) uyarıları gibi seçenekler sunar.
Fonksiyonlar
GetHighestSince:
Belirli bir koşul gerçekleştiğinden beri en yüksek değeri (örneğin high) takip eder.

Türkçe: "Koşuldan beri en yüksek değeri al."

GetLowestSince:
Belirli bir koşul gerçekleştiğinden beri en düşük değeri (örneğin low) takip eder.

Türkçe: "Koşuldan beri en düşük değeri al."

IsSessionStart:
Belirtilen saat ve zaman dilimine göre bir işlem seansının başlangıcını tespit eder.

Türkçe: "Seans başlangıcını kontrol et."

Gösterge Ayarları
Başlık: "YIGITBOX PHL2"

Overlay: Grafik üzerine çizilir.

Kullanıcı Girişleri:
PHL1 ve PHL2 seviyelerini gösterme/gizleme.

Kırılım renklerini açma/kapama.

Renkleri tersine çevirme.

Çizgi stilini ve kalınlığını ayarlama.

Zaman Dilimi ve Veri
Grafik zaman dilimine göre bir üst zaman diliminden veri çeker:
Haftalık/Aylık → Aylık ("M")

Günlük → Haftalık ("W")

Gün içi → Günlük ("D")

high, low ve close verilerini bu zaman diliminden alır.

Seans Tespiti
Farklı piyasalar için seans başlangıç saatleri tanımlanmıştır (örneğin, 09:00-17:00, GMT+3).

YIGIT değişkeni, seviyelerin ne zaman yeniden hesaplanacağını belirler:
BIST piyasası için günlük veya seans bazlı kontrol.

Diğer piyasalar için gün değişimi.

Pivot Hesaplamaları
PHL1:
PVT1: Önceki kapanış (ADAM), en yüksek (TX) ve en düşük (RX) ortalaması.

r1 (Direnç 1): 2 * PVT1 - RX

s1 (Destek 1): 2 * PVT1 - TX

PHL2:
PVT2: Önceki kapanış (ADAM).

r2 (Direnç 2): PVT2 + (TX - RX) / 2

s2 (Destek 2): PVT2 - (TX - RX) / 2

Çizim
PHL1 (PVT1, r1, s1) ve PHL2 (PVT2, r2, s2) seviyeleri çizilir.

Çizgi tipi (çizgi, çarpı, daire) ve kalınlığı özelleştirilebilir.

fill ile alanlar boyanır:
PVT1 ve PVT2 arası kırılım veya yön bazlı renklendirilir.

Direnç ve destek bölgeleri isteğe bağlı ters renklerle gösterilir.

Uyarılar
Fiyat PVT1 veya PVT2 seviyesini yukarı/aşağı kırdığında uyarı tetiklenir.

Nasıl Çalışır?
Seans veya gün başlangıcında pivot seviyeleri hesaplanır.

Grafikte iki set pivot seviyesi (PHL1 ve PHL2) gösterilir.

Kırılım renkleri, fiyatın anahtar seviyeleri geçtiğini vurgular.

Uyarılar, önemli fiyat hareketlerini bildirir.

İngilizce Açıklama
Overview
This is a Pine Script code for a TradingView indicator named "YIGITBOX PHL2." It overlays pivot levels (support and resistance) on the price chart, offering options to show/hide levels, customize colors, and set breakout alerts.
Functions
GetHighestSince:
Tracks the highest value of a series (e.g., high) since a condition is met.

English: "Get the highest value since the condition."

GetLowestSince:
Tracks the lowest value of a series (e.g., low) since a condition is met.

English: "Get the lowest value since the condition."

IsSessionStart:
Detects the start of a trading session based on specified time and timezone.

English: "Check session start."

Indicator Setup
Title: "YIGITBOX PHL2"

Overlay: Drawn over the price chart.

User Inputs:
Show/hide PHL1 and PHL2 levels.

Enable/disable breakout colors.

Invert colors.

Customize line style and width.

Timeframe and Data
Fetches data from a higher timeframe based on the chart’s timeframe:
Weekly/Monthly → Monthly ("M")

Daily → Weekly ("W")

Intraday → Daily ("D")

Retrieves high, low, and close from this timeframe.

Session Detection
Defines session start times for different markets (e.g., 09:00-17:00, GMT+3).

The YIGIT variable determines when to recalculate levels:
For BIST, based on daily or session changes.

For others, based on day transitions.

Pivot Calculations
PHL1:
PVT1: Average of previous close (ADAM), highest high (TX), and lowest low (RX).

r1 (Resistance 1): 2 * PVT1 - RX

s1 (Support 1): 2 * PVT1 - TX

PHL2:
PVT2: Previous close (ADAM).

r2 (Resistance 2): PVT2 + (TX - RX) / 2

s2 (Support 2): PVT2 - (TX - RX) / 2

Plotting
Plots PHL1 (PVT1, r1, s1) and PHL2 (PVT2, r2, s2) levels.

Line style (line, cross, circle) and width are customizable.

fill highlights areas:
Between PVT1 and PVT2 with breakout or directional coloring.

Optional resistance/support zones with inverted colors.

Alerts
Triggers alerts when the price crosses above/below PVT1 or PVT2.

How It Works
Recalculates pivot levels at session or day start.

Displays two sets of pivot levels (PHL1 and PHL2) on the chart.

Breakout colors emphasize key price movements.

Alerts notify users of significant price action.

Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.


trade-can
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Editor is loading...
Leave a Comment