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
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.