PINE LIBRARY

ZigZag Library

6 201
This is yet another ZigZag library.

🔵 Key Features

1. Lightning-Fast Performance: Optimized code ensures minimal lag and swift chart updates.
2. Real-Time Swing Detection: No more waiting for swings to finalize! This library continuously identifies the latest swing formation.
3. Amplitude-Aware: Discover significant swings earlier, even if they haven't reached the standard bar length.
4. Customizable Visualization: Draw ZigZag on-demand using polylines for a tailored analysis experience.

Stay tuned for more features as this library is being continuously enhanced. For the latest updates, please refer to the release information.

🔵 API

Pine Script®
// Import this library. Remember to check the latest version of this library and replace the version number below. import algotraderdev/zigzag/1 as zz // Initialize the ZigZag instance. var zz.ZigZag zig = zz.ZigZag.new().init( zz.Settings.new( swingLen = 5, lineColor = color.blue, lineStyle = line.style_solid, lineWidth = 1)) // Analyze the ZigZag using the latest bar's data. zig.tick() // Draw the ZigZag. if barstate.islast zig.draw()

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.