OPEN-SOURCE SCRIPT
CM Grand Sling Engine

**CM Grand Sling Engine**
CM Grand Sling Engine is a clean trend-following overlay designed to keep the chart readable while focusing on the dominant market direction.
The system uses a dual expanding rail structure based on two different lookback lengths: a fast rail and a slow rail. These rails are not standard moving averages. They are adaptive trend rails built from the indicator’s own calculation engine, combining price structure, volatility, multi-timeframe strength, momentum, flow behavior, PI energy logic, and internal market pressure.
When the fast rail stays above the slow rail, the system identifies a bullish trend environment. When the fast rail moves below the slow rail, the system identifies a bearish trend environment. The colored area between the rails helps traders visually understand the current trend regime without adding unnecessary chart noise.
The candle coloring is designed to separate normal trend movement from possible pullback and re-entry zones:
Yellow candles highlight aggressive pullback areas inside the active trend.
Aqua candles highlight conservative re-entry confirmation after price returns back in the trend direction.
Green rail structure represents bullish trend control.
Red rail structure represents bearish trend control.
CM Grand Sling Engine is built more for trend direction, pullback reading, and market structure clarity than for crowded buy/sell signals. The goal is to provide a cleaner view of trend continuation, weakness, and possible re-entry zones directly on the chart.
It can be useful on liquid markets and higher-volume instruments where trend behavior is clearer. As with any technical tool, it should be used together with risk management and broader market context.
CM Grand Sling Engine is a clean trend-following overlay designed to keep the chart readable while focusing on the dominant market direction.
The system uses a dual expanding rail structure based on two different lookback lengths: a fast rail and a slow rail. These rails are not standard moving averages. They are adaptive trend rails built from the indicator’s own calculation engine, combining price structure, volatility, multi-timeframe strength, momentum, flow behavior, PI energy logic, and internal market pressure.
When the fast rail stays above the slow rail, the system identifies a bullish trend environment. When the fast rail moves below the slow rail, the system identifies a bearish trend environment. The colored area between the rails helps traders visually understand the current trend regime without adding unnecessary chart noise.
The candle coloring is designed to separate normal trend movement from possible pullback and re-entry zones:
Yellow candles highlight aggressive pullback areas inside the active trend.
Aqua candles highlight conservative re-entry confirmation after price returns back in the trend direction.
Green rail structure represents bullish trend control.
Red rail structure represents bearish trend control.
CM Grand Sling Engine is built more for trend direction, pullback reading, and market structure clarity than for crowded buy/sell signals. The goal is to provide a cleaner view of trend continuation, weakness, and possible re-entry zones directly on the chart.
It can be useful on liquid markets and higher-volume instruments where trend behavior is clearer. As with any technical tool, it should be used together with risk management and broader market context.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.