NicolasRZ

Nico's SPX Dynamic Channels

Test of dynamic channels and some statistics made by hand.

This indicator was done specifically for the S&P500 index.

As you can see, below the 125 EMA there's a lot more volatility than in the upside. I've made some kind of a dynamic linear regression of the lows and the highs.

I've chosen the MA that best fits the SPX , and then calculated in Excel the percental mean and SDs of most important peaks and valleys that I've chosen in comparison to the 125 MA. This lead to the green, orange and red zones. BUT, I've calculated the peaks and valleys separately, as I assumed that a bear market and crashes have way more volatility than bull markets. That's why the difference between the upper and the lower channels.

The neutral blue zone is composed by an upper EMA of the highs and lower EMA of the lows. No MA in this script uses the close price as a source.

This MA makes sense because it represents a semester of trading, for this particular asset.

Backtest results

It's also interesting to try it here too, as it has a little bit more of data:

SPCFD:SPX

As it's not a trading system, I have no batting average nor ratios for this.

Still, the measures of the peaks and valleys are very accurate and repeat themselves over and over again. The results were:

3rd resistance: 12.88%
2nd resistance: 10.12%
1st resistance: 7.36%

1st support: -6.42%
2nd support: -14.8%
3rd support: -23.18%

All referred to the mean, which is the 125 EMA zone.

After the 1950's works like magic, but not before. You will see that it doesn't work in the great depression and it's crash.

How to use this indicator

Often in a trending market, the price will have the blue zone as it's main support and when trending the price will stick to the green MA.

When the price touches the orange MA, the most probable is that it will return to the green MA.

If the price touches the red zone, there's a high chance that this is a big turning point and it will reverse to the mean (green or blue zone).

Imagine you've bought each time the price touched the red support, check that and you'll start liking this indicator. I think it is a great entry point for investors. The red resistance is good too, but of course it works for a short period of time.


I've backtested this indicator since the beginning of the dataset and it works like magic, but ONLY for the SPX index (spot price).

Leave a comment or some coins if you like it!!!

(I've posted it before like an analysis, not as a script, my bad)
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Bình luận

This is a great script. Is it possible to make a script suitable for Bitcoin? Thank you! ! ! !
+1 Phản hồi
Hello, I see it’s configured mainly for D1 TF. Great script Nick. Longer TFs and patience is the key.
Phản hồi
Cool, can I work with this in 4H timeframe?
Phản hồi
Cool indicator
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Giới thiệu Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Xu Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Tin nhắn riêng Trò chuyện Đăng xuất