tbiktag

Robust Channel [tbiktag]

Introducing the Robust Channel indicator.

This indicator is based on a remarkable property of robust statistics, namely, the resistance​ to the presence of data points that deviate significantly from the established trend (generally speaking, outliers). Being outlier-resistant, the Robust Channel indicator “remembers” a pre-existing trend and thus exhibits a very peculiar "lag" in case of a sharp price change. This allows high-confidence identification of such price actions as a trend reversal, range break, pullback, etc.

In the case of trending and range-bound market conditions, the price remains within the channel most of the time, fluctuating around the central line.

Technical details

The central line is calculated using the repeated median slope algorithm. For each data point in a lookback window of a user-specified Length, this method calculates the median slope of the lines that connect that point to all other points inside the window. The overall median of these median slopes is then calculated and used as an estimate of the trend slope. The algorithm is very efficient as it uses an on-the-fly procedure to update the array containing the slopes (new data pushed - old data removed).

The outer line is then calculated as the central line plus the Length-period standard deviation of the price data multiplied by a user-defined Channel Width Factor. The inner line is defined analogously below the central line.

Usage

As a stand-alone indicator, the Robust Channel can be applied similarly to the Bollinger Bands and the Keltner Channel:
  • A close above the outer line can be interpreted as a bullish signal and a close below the inner line as a bearish signal.
  • Likewise, a return to the channel from below after a break may serve as a bullish signal, while a return from above may indicate bearish sentiment.
  • Robust Channel can be also used to confirm chart patterns such as double tops and double bottoms.

If you like this indicator, feel free to leave your feedback in the comments below!
오픈 소스 스크립트

진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

코멘트

Nice one, thanks ;)
200 코인
응답
tbiktag e2e4mfck
@e2e4mfck, thanks, I'm glad you liked it!
응답
whats the good time frame for it
+2 응답
tbiktag naba_naif
@naba_naif, I have done most of the backtesting on daily timeframes. However, I have found that lower timeframes (hours, 5m, 15m) also produce good results for 24/7 markets that are devoid of time gaps (crypto, forex).
+1 응답
Thank you very much for this interesting indicator! You are making really exotic indicators, and I am curious to back test this one also. It is also an art how you code the different concepts!
Can you make a version with buy and sell signals? A higher timeframe MA would also be very good!
+1 응답
tbiktag Ether2020
@Ether2020, thank you very much, I really appreciate your feedback! Indeed, building and testing something exotic is what brings me a lot of fun. As for the strategy version of this script, it is in the pipeline.
응답
Thank you so much ,I really like your work
응답
tbiktag PVBabyFather
@PVBabyFather, I'm happy to hear that. Thanks for the feedback!
응답
Great approach! Love to see some original variation in the BB and KC world. Would be interesting to back test this in a strategy.
Keep up your great work.
응답
tbiktag Magnum-Trading
@Magnum-Trading, thank you!
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 정보 차트 특징 프라이싱 프렌드 리퍼하기 하우스룰(내부규정) 헬프 센터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 블로그 & 뉴스 트위터