OPEN-SOURCE SCRIPT
LWS Cross Structure Levels (CSL)

Cross Structure Levels (CSL)
Cross Structure Levels (CSL) is a structural tool designed to help visualize moving average crosses in a more practical way.
In many trading environments, moving average crosses are used as a confirmation of directional bias. However, these events are often missed in real time, and the subsequent price movement develops after the initial cross.
This script transforms those crosses into horizontal levels, allowing traders to track how price interacts with them over time.
Concept
Instead of reacting to the cross itself, CSL helps observe how price behaves around that level afterward.
Important Clarification
Key Features
How to Use
Notes
Release Notes - CSL
Cross Structure Levels (CSL) is a structural tool designed to help visualize moving average crosses in a more practical way.
In many trading environments, moving average crosses are used as a confirmation of directional bias. However, these events are often missed in real time, and the subsequent price movement develops after the initial cross.
This script transforms those crosses into horizontal levels, allowing traders to track how price interacts with them over time.
Concept
- A cross between a fast and a slow moving average is treated as a structural event
- The closing price of that cross is plotted as a horizontal level
- That level extends forward and can act as a reference for price behavior
Instead of reacting to the cross itself, CSL helps observe how price behaves around that level afterward.
Important Clarification
- A moving average cross is not a trading signal by itself
- The plotted level is not an entry or exit signal
- It is a contextual reference that may help confirm market conditions
Key Features
- Choice between EMA and SMA
- Customizable lengths (default 9/21)
- Multi-timeframe cross detection (e.g., using 3m or 5m crosses on a 1m chart)
- Session filtering (New York session by default)
- Option to display only current session/day
- Automatic removal of outdated or broken levels
- Optional retest labeling
How to Use
- Use levels as contextual references, not as standalone signals
- Observe reactions when price returns to a level after a cross
- Combine with other tools such as VWAP, opening ranges, or support/resistance
- Focus on price behavior rather than the cross itself
Notes
- This script is designed for intraday analysis
- Different moving average settings may produce different results
- Best used as part of a broader trading framework
Release Notes - CSL
- Initial release of Cross Structure Levels (CSL)
- Converts moving average crosses into horizontal levels
- Supports EMA and SMA with customizable lengths
- Multi-timeframe cross detection
- Session filtering and today-only mode
- Smart cleaning of outdated levels
- Automatic removal of broken levels
- Optional retest detection
- Visual customization options
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.