OPEN-SOURCE SCRIPT
[Dark Data] Trend Conviction

Objective
Quantifies directional efficiency by means of penalizing adverse price extension.
Theory
Price movement with little opposition indicates a trend with conviction. High directional efficiency and low adverse pressure typically result in continued directional bias across lower timeframes.
How To Use
Trend Conviction is best used for directional bias on timeframes higher than your execution timeframe.
The output ranges from 1 to -1, where 1 is a perfect uptrend and -1 is a perfect downtrend.
Increasing Penalty Power filters out trends with significant opposing price activity.
Nuanced Info/Warnings
Different assets naturally tolerate varying degrees of counter-trend extension within a healthy trend, so a higher Penalty Power is not always better.
Quantifies directional efficiency by means of penalizing adverse price extension.
Theory
Price movement with little opposition indicates a trend with conviction. High directional efficiency and low adverse pressure typically result in continued directional bias across lower timeframes.
How To Use
Trend Conviction is best used for directional bias on timeframes higher than your execution timeframe.
The output ranges from 1 to -1, where 1 is a perfect uptrend and -1 is a perfect downtrend.
Increasing Penalty Power filters out trends with significant opposing price activity.
Nuanced Info/Warnings
Different assets naturally tolerate varying degrees of counter-trend extension within a healthy trend, so a higher Penalty Power is not always better.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.