OPEN-SOURCE SCRIPT
Atualizado

GER40 / 1M Setup

1 184
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
Notas de Lançamento
- Bug with DST time for Frankfurt IB fixed
Notas de Lançamento
- Code notes updates
Notas de Lançamento
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.
Notas de Lançamento
- 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.
Notas de Lançamento
Code notes updates
Notas de Lançamento
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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.