RozaniGhani-RG

Zigzag Chart Points

RozaniGhani-RG 已更新   
█  OVERVIEW
This indicator displays zigzag based on high and low using latest pine script version 5, chart.point which using time, index and price as parameters.
Pretty much a strip down using latest pine script function, without any use of library.
This allow pine script user to have an idea of simplified and cleaner code for zigzag.

█  CREDITS
LonesomeTheBlue

█  FEATURES
1. Label can be show / hide including text can be resized.
2. Hover to label, can see tooltip will show price and time.
3. Tooltip will show date and time for hourly timeframe and below while show date only for day timeframe and above.

█  NOTES
1. I admit that chart.point just made the code much more cleaner and save more time. I previously using user-defined type(UDT) which quite hassle.
2. I have no plan to extend this indicator or include alert just I thinking to explore log.error() and runtime.error(), which I may probably release in other publications.

█  HOW TO USE'
Pretty much similar inside mentioned references, which previously I created.


█  REFERENCES
1. Zigzag Array Experimental
2. Simple Zigzag UDT
3. Zig Zag Ratio Simplified
4. Cyclic RSI High Low With Noise Filter
5. Auto AB=CD 1 to 1 Ratio Experimental
版本注释:
  • Add not na() into ph and pl ternary functions
  • Add na() into ph or pl if statement
  • Update from dirchanged = ta.change(dir) to dirchanged = dir != dir

开源脚本

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

免责声明

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

想在图表上使用此脚本?