OPEN-SOURCE SCRIPT
מעודכן Structural Trendlines

Automatically detects structural trendlines anchored at confirmed pivot highs (Lower Highs) and pivot lows (Higher Lows), drawing only lines the market
has genuinely respected — every bar between the anchor and touch pivot must stay clean, with no wick violations beyond tolerance. Steep, parabolic lines
are filtered out using rolling angle normalization, and anchors expire after a configurable number of bars so the indicator never draws from forgotten
history. A signal fires only when price closes beyond the projected line — not a wick — eliminating false breakouts from intraday noise. Stop-loss is
automatically set to the low of the break candle (bullish) or the high (bearish).
has genuinely respected — every bar between the anchor and touch pivot must stay clean, with no wick violations beyond tolerance. Steep, parabolic lines
are filtered out using rolling angle normalization, and anchors expire after a configurable number of bars so the indicator never draws from forgotten
history. A signal fires only when price closes beyond the projected line — not a wick — eliminating false breakouts from intraday noise. Stop-loss is
automatically set to the low of the break candle (bullish) or the high (bearish).
הערות שחרור
update default valuesסקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.