UnknownUnicorn5129145

Stability Max Overload

Stability Max Overload was created in another script I have been working on found below.



I have broken the code down to only display the Stability features.

What this is:
I was trying to find a way that could in some form display the Stability or Instability of the US Treasuries Bond Market. To try and help me do that, I came up with 3 values.
*Stability
*Stability Overload
*Stability Max Overload.

I started with STABILITY. This value is generated based off the number of side by side inversions in the Bond Market. I wanted this value to range between 0 and 1 while 1 equaling all Bonds inverted and 0 equaling no Bonds inverted and any number of inversions in between would equal a percentage value based off the actual number.

STABILITY OVERLOAD was created based off the average of each inversion.

STABILITY MAX OVERLOAD was then created based off the total of each inversion.

The most stable Yield Curve would have no inversions and therefore would generate a 0 for Stability, Stability Overload and Stability Max Overload. The more inversions the Yield Curve has the higher in value Stability itself would have as Stability is weighted more per inversion. With each inversion, data is taken based off the amount with which the Yields are inverted.

This display shows where we currently stand since Dec 2018. It's a telling story so say the least. I do plan on continuing the mentioned above script but again wanted to release a standalone of the data generated.

Hope you enjoy,
OpptionsOnly
版本注释:
** BUG FIX UPDATE** In previous Versions, STABILITY would not generate the correct number given certain criteria.

* Fixed the equation as to how STABILITY is calculated.
* Added a trigger if this value becomes greater than 1.

It is very unlikely that the greater than 1 trigger will come in to play but as it is still possible, I added it in for safety.

Best wishes,
OpptionsOnly
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?