OPEN-SOURCE SCRIPT

Divina - Support and Resistance

已更新
Given the positive feedback received on the first Dynamic Support/Resistance script, I've decided to rewrite it on Pine Script v5 and publish it with open source code.

The main Divina area (box) is derived from change in price and volume, while the other support and resistance levels are based on the golden ratio (Divina proportione) or Fibonacci numbers.

The box will start to paint if the previous closed bar satisfy a condition and it will be never be repainted in the future. Anyway the box and the levels will be extended until a new signal is detected.

The Divina Support and Resistance will help you to find good price zones on wich the market might take trading decision. It is not a strategy by per se, it should be used with other good trading techniques.
版本注释
Minor general fixes.
Now the script does try to actively control the number of boxes and lines on the chart using arrays.
版本注释
Percent change function now use built in function ta.roc.
Added source input for the price.
Demand ZonedivinagoldenPHIratioSupply ZonesupportSupport and Resistancezones

开源脚本

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

想在图表上使用此脚本?

免责声明