OPEN-SOURCE SCRIPT
업데이트됨

Zig Zag + Breakout Long Signal

2 608
Description

This indicator combines a classic ZigZag with a long-only breakout logic.
A buy signal (small upward triangle) is generated when the price closes above the last confirmed swing high.

The ZigZag calculation can be based either on closing prices or on high/low prices, depending on the selected input option.
This allows the user to adjust the indicator to a more conservative (close-based) or more sensitive (high/low-based) behavior.

Each swing high can trigger only one breakout signal, preventing repeated entries on the same level.
The indicator is designed to help identify trend continuation setups and breakouts from consolidation phases.

An optional confirmed-pivot mode can be used to reduce repainting.

Disclaimer

This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instrument.

Trading involves risk, and past performance does not guarantee future results.
Always conduct your own analysis and use proper risk management before making trading decisions.
릴리즈 노트
What’s New in This Version

Adjustable ZigZag line width
A new input option (ZigZag Line Width) allows users to customize the thickness of the ZigZag lines.

ZigZag can be fully enabled or disabled
With the new Show ZigZag toggle, all ZigZag lines can be completely hidden without affecting the breakout logic.

Breakout logic remains fully functional
Breakout signals (upward triangles) continue to be calculated and displayed even when the ZigZag is turned off.

Clean behavior when toggling visibility
Existing ZigZag lines are automatically removed when the ZigZag display is disabled, preventing leftover or duplicated lines.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.