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.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
hello world
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
hello world
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.