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.
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
For information about Jackrabbit or to subscribe to Jackrabbit, please visit:

https://www.patreon.com/posts/32778737

Want to talk to actual Jackrabbit subscribers, check out the guest area:

https://discord.gg/g93TpbV

評論

So to prevent false alerts how can this be used? On current bar or previous bar or proceeding bar?
I cant see it currently.
回覆