allanster

How To Show Vertical Lines

allanster Wizard מעודכן   
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!
הערות שחרור:
Updated for Pine Script v5.
הערות שחרור:
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
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?