UnknownUnicorn508364

Average Bar Direction

UnknownUnicorn508364 מעודכן   
This script shows the average count of 'up bars' vs. 'down bars'. It is intended for statistic and probability purposes only. It does not include high or low price in the calculation - only the open and close prices are used.

Under settings, click "show difference" to see the difference between the two averages. This can also be called positive/negative drift. Switch to weekly/monthly S&P 500 to witness positive drift. The general direction over longer time span is up, while shorter time span is more random (like a coin flip).
הערות שחרור:
Corrected formula so that doji bars do not affect the averaging.
סקריפט קוד פתוח

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

כתב ויתור

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

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