RobertD7723

ConditionZero

This study is a proof of concept analysis of situations that can lead to divide with zero or divide by zero conditions. Such situations can lead to mathematical errors, and can increase the potential for false alerts.

One common formula that is prone to this situation is:

pct=(high-close)/(high-low)

This is used to calculate percentage change of a candlestick.

Common outcomes are 0/0, 0/x, x/0, where x is a non zero value.

Visualizing this situation allows for more robust script development and deployment.

There are no user configurations.

Join my Patreon for exclusive access to Jackrabbit TV,

www.patreon.com/RD3277
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?