OPEN-SOURCE SCRIPT
מעודכן GER40 / 1M Setup

The indicator for the 1M GER40 strategy displays Frankfurt IB, OTT trading sessions, and also marks long or short breakouts.
Video: youtube.com/watch?v=autJAPRwTYA&t=295s
Video: youtube.com/watch?v=autJAPRwTYA&t=295s
הערות שחרור
- Bug with DST time for Frankfurt IB fixedהערות שחרור
- Code notes updatesהערות שחרור
1. Zones ±1.5/±2 now only draw after a confirmed 1m-close breakout of the 0-0.5-1 box (long/short respectively)2. Fixed a false short-breakout arrow that could fire on long breakouts due to a boundary-tie bug in the crossover check.
הערות שחרור
- Added 1.8 (BE) / -1.8 (BE) levels (toggleable via checkbox, separate color picker) that appear between 1.5–2 and -1.5–-2 respectively, drawn only after a confirmed candle close beyond the 1 or 0 boundary. Levels 1.5, 1.8, 2 (long) and -1.5, -1.8, -2 (short) are now hidden until price breaks and closes through the respective session high/low.הערות שחרור
Code notes updatesהערות שחרור
Fixes- Zone lines (10-11) draw correctly right away — Lines used to extend 499 bars into the future and only get trimmed to the real end of the window at 11:00. Changed to extend exactly 60 bars (the 10-11 window length), so they show the correct extent immediately instead of visibly shrinking at 11:00.
- Removed "(BE)" from the 1.8 zone label — On-chart labels now show 1.8 / -1.8 instead of 1.8 (BE) / -1.8 (BE).
- Fixed spacing for the 1.8 label in Center mode — It used a doubled gap (savedGap * 2) around the center label while all other levels used a single savedGap, making its line-to-text spacing inconsistent. Now uses savedGap like the rest.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.