Since i found nothing for this special need, here is my template or snippet for customization..
Case: If i want an optical hint for an exceeding indicator - as a visual alarm feature or similar - it can be very disturbing when the symbol appears for all that cases on the chart. Solution: The script calculates the condition only for the last bar on the right - which isnt trivial, for on principal pine calculates every value for each bar presently growing.
I declared as comments within the code what special aspects have to be kept on focus occasionally by doing so.
ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
רוצה להשתמש בסקריפ זה בגרף?
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.