allanster

How To Show Vertical Lines

allanster Wizard Güncellendi   
Example of various methods to show dashed or solid vertical lines on chart based on using either session or time.

Credit for line method goes to midtownsk8rguy ->
Credit for plot method goes to PineCoders -> www.pinecoders.com/faq_and_code/

Special thanks to LucF, midtownsk8rguy, and PineCoders for permission to use their work.

NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Sürüm Notları:
Updated for Pine Script v5.
Sürüm Notları:
Updated with cosmetic changes & stricter boolean check:
// previous
isTime = time(timeframe.period, i_Time + ":1234567")
bgcolor(i_BkGr and isTime ? color.new(color.gray, 50) : na)

// revised
isTime = not na(time(timeframe.period, i_Time + ":1234567"))
bgcolor(i_BkGr and isTime ? color.new(color.gray, 50) : na)

lux ex tenebris • deuro mea umbra absens • Telegram: t.me/allanster
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

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.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?