OPEN-SOURCE SCRIPT
CONTINO - Structure Dashboard

CONTINO - Structure Dashboard
A multi-timeframe market structure dashboard that shows, in one compact table, whether each timeframe is bullish or bearish and what the last structural event was — so you can check your top-down bias without switching charts.
HOW IT WORKS
Structure is detected with pivot highs/lows (Structure Length). When a candle CLOSES beyond the last unbroken pivot:
- In the same direction as the current trend → BoS (Break of Structure)
- Against the current trend → MSS (Market Structure Shift)
Swing labels (HH / HL / LH / LL) are calculated separately with Swing Length.
The same logic is run on up to 4 timeframes at once and summarized in the table.
WHAT THE TABLE SHOWS
Simple mode (default): timeframe + last event (BoS ▲ / MSS ▼…), colored green or red, plus an alignment row.
Full mode:
- Structure — current bias per timeframe
- Last — last event (BoS / MSS and direction)
- Broken level — price of the pivot that was broken
- Bars ago — how fresh the event is, in bars of that timeframe
- Swings — latest swing high / swing low labels (HH/LH – HL/LL)
- MSS if closes — the price where a close would shift structure against the current bias (your invalidation level)
The bottom row shows ALIGNED ▲ / ALIGNED ▼ when all active timeframes agree, or MIXED with the count of bullish/bearish timeframes.
HOW TO USE IT
1. Place it on your execution chart (e.g. M15 or M1).
2. Read top-down: the highest timeframe gives the bias, the middle one tells you if execution is with or against it, the lowest one is for timing only.
3. Use the "MSS if closes" level as a reference for where your idea is invalidated.
4. Optional alerts: "Structure aligned BULLISH / BEARISH" when all active timeframes line up.
SETTINGS
- Structure Length / Swing Length — use the same values as your structure indicator so the table matches what you see on the chart.
- Timeframes — up to 4, each can be switched on/off and set to any timeframe.
- Visual — Simple/Full mode, table position, text size, colors.
NOTES
- Breaks are evaluated on the current bar's close, so an event can appear intrabar and disappear if the candle does not close beyond the level. Wait for the candle close before acting.
- Pivots need Structure Length bars on each side to confirm, so pivot levels appear with that delay.
- Timeframes lower than the chart timeframe work but with limited history; best used on your lowest execution timeframe.
- One Structure/Swing Length value is applied to all timeframes.
This tool is for chart analysis and education only. It is not financial advice and does not generate buy/sell signals on its own.
A multi-timeframe market structure dashboard that shows, in one compact table, whether each timeframe is bullish or bearish and what the last structural event was — so you can check your top-down bias without switching charts.
HOW IT WORKS
Structure is detected with pivot highs/lows (Structure Length). When a candle CLOSES beyond the last unbroken pivot:
- In the same direction as the current trend → BoS (Break of Structure)
- Against the current trend → MSS (Market Structure Shift)
Swing labels (HH / HL / LH / LL) are calculated separately with Swing Length.
The same logic is run on up to 4 timeframes at once and summarized in the table.
WHAT THE TABLE SHOWS
Simple mode (default): timeframe + last event (BoS ▲ / MSS ▼…), colored green or red, plus an alignment row.
Full mode:
- Structure — current bias per timeframe
- Last — last event (BoS / MSS and direction)
- Broken level — price of the pivot that was broken
- Bars ago — how fresh the event is, in bars of that timeframe
- Swings — latest swing high / swing low labels (HH/LH – HL/LL)
- MSS if closes — the price where a close would shift structure against the current bias (your invalidation level)
The bottom row shows ALIGNED ▲ / ALIGNED ▼ when all active timeframes agree, or MIXED with the count of bullish/bearish timeframes.
HOW TO USE IT
1. Place it on your execution chart (e.g. M15 or M1).
2. Read top-down: the highest timeframe gives the bias, the middle one tells you if execution is with or against it, the lowest one is for timing only.
3. Use the "MSS if closes" level as a reference for where your idea is invalidated.
4. Optional alerts: "Structure aligned BULLISH / BEARISH" when all active timeframes line up.
SETTINGS
- Structure Length / Swing Length — use the same values as your structure indicator so the table matches what you see on the chart.
- Timeframes — up to 4, each can be switched on/off and set to any timeframe.
- Visual — Simple/Full mode, table position, text size, colors.
NOTES
- Breaks are evaluated on the current bar's close, so an event can appear intrabar and disappear if the candle does not close beyond the level. Wait for the candle close before acting.
- Pivots need Structure Length bars on each side to confirm, so pivot levels appear with that delay.
- Timeframes lower than the chart timeframe work but with limited history; best used on your lowest execution timeframe.
- One Structure/Swing Length value is applied to all timeframes.
This tool is for chart analysis and education only. It is not financial advice and does not generate buy/sell signals on its own.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.