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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.