OPEN-SOURCE SCRIPT
As Good As It Gets Pivot Arrows [NPR21]

As Good As It Gets Pivot Triangles [NPR21]
Description:
This indicator is a precise replica of the popular Thinkorswim (TOS) "AsGood_HighLowPointPivot_Arrows" script, tweaked by [NPR21] now fully adapted for TradingView Pine Script v6.
It plots clean, small green upward triangles below confirmed pivot lows (buy signals) and red downward triangles above confirmed pivot highs (sell signals). The pivot detection logic is identical to the original TOS script, ensuring the same number and placement of signals. The indicator also includes an optional toggle for white pivot dots (matching the TOS points style).
Features:
Exact replication of TOS pivot logic (left/right strength confirmation)
Small, clean triangles (no text, no clutter)
Brighter green for buy triangles
Toggle for showing/hiding pivot dots
Ignore last bar option (default on)
How to Use:
Add the indicator to your chart.
Adjust the Pivot Length (default 7) to match your timeframe preference (shorter = more signals, longer = fewer).
Use the green upward triangles below price as buy signals (potential bottoms/reversals).
Use the red downward triangles above price as sell signals (potential tops/reversals).
Enable "Show Pivot Dots" if you want the white confirmation points (like TOS).
Use in conjunction with your existing trend, support/resistance, or volume tools for confirmation.
Description:
This indicator is a precise replica of the popular Thinkorswim (TOS) "AsGood_HighLowPointPivot_Arrows" script, tweaked by [NPR21] now fully adapted for TradingView Pine Script v6.
It plots clean, small green upward triangles below confirmed pivot lows (buy signals) and red downward triangles above confirmed pivot highs (sell signals). The pivot detection logic is identical to the original TOS script, ensuring the same number and placement of signals. The indicator also includes an optional toggle for white pivot dots (matching the TOS points style).
Features:
Exact replication of TOS pivot logic (left/right strength confirmation)
Small, clean triangles (no text, no clutter)
Brighter green for buy triangles
Toggle for showing/hiding pivot dots
Ignore last bar option (default on)
How to Use:
Add the indicator to your chart.
Adjust the Pivot Length (default 7) to match your timeframe preference (shorter = more signals, longer = fewer).
Use the green upward triangles below price as buy signals (potential bottoms/reversals).
Use the red downward triangles above price as sell signals (potential tops/reversals).
Enable "Show Pivot Dots" if you want the white confirmation points (like TOS).
Use in conjunction with your existing trend, support/resistance, or volume tools for confirmation.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.