PROTECTED SOURCE SCRIPT
gary Long Vertical Spread with Trend Filter

// Description (begin with English; allowed to include additional languages after):
// English:
// "gary Long Vertical Spread with Trend Filter" — protected release by GaryQuant.
// This indicator generates long-entry related signals (B3, B2) and exit/other signals (S, J)
// based on RSI, simple moving averages and a daily ATR-derived optimal price. A trend filter
// (configurable multi-timeframe) optionally suppresses certain long-entry signals in bearish
// conditions. The script supports a "B filter" to limit B signals frequency, draws persistent
// boxes/labels on confirmed bars, and provides alertconditions for filtered confirmed signals.
//
// Key defaults and usage:
// - Pine version: v5 (script published as Protected).
// - Trend filter default timeframe: 15 minutes (configurable).
// - Daily ATR length default: 14 (used to compute optimal price).
// - Recommended use: short timeframes where 1-minute signals are evaluated, trend filter TF
// may be set to 15m/30m/1h/etc. Adjust inputs to match your instrument and timeframe.
// - Inputs are exposed via the indicator settings (periods, multipliers, B filter minutes, etc.).
// - This publication is Protected; source code is not publicly exposed. The description provides
// sufficient explanation for moderation and user understanding without disclosing proprietary logic.
// English:
// "gary Long Vertical Spread with Trend Filter" — protected release by GaryQuant.
// This indicator generates long-entry related signals (B3, B2) and exit/other signals (S, J)
// based on RSI, simple moving averages and a daily ATR-derived optimal price. A trend filter
// (configurable multi-timeframe) optionally suppresses certain long-entry signals in bearish
// conditions. The script supports a "B filter" to limit B signals frequency, draws persistent
// boxes/labels on confirmed bars, and provides alertconditions for filtered confirmed signals.
//
// Key defaults and usage:
// - Pine version: v5 (script published as Protected).
// - Trend filter default timeframe: 15 minutes (configurable).
// - Daily ATR length default: 14 (used to compute optimal price).
// - Recommended use: short timeframes where 1-minute signals are evaluated, trend filter TF
// may be set to 15m/30m/1h/etc. Adjust inputs to match your instrument and timeframe.
// - Inputs are exposed via the indicator settings (periods, multipliers, B filter minutes, etc.).
// - This publication is Protected; source code is not publicly exposed. The description provides
// sufficient explanation for moderation and user understanding without disclosing proprietary logic.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
hello world
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
hello world
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.