jim380

Trend Strength Indicator --- Up/Down Bars %

Logic

With the lookback period set to 20 (editable), the script loops over the last 20 bars starting from the current bar and counts the up days (Close > Open) and down days (Close < Open). Then it divides the up/down days by the total number of days to give the %. Color themed fib levels are also implemented in this indicator.


Find me on Twitter

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

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

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