marcuskhlim

Trendinator Lite

marcuskhlim 已更新   
The Trendinator Lite indicator detects whether the crypto price is trending up or down. It is based on a set of rules developed by Scott Phillips.

According to the rules, trending is a two stage process (bollinger bands are 20 bar, 2 std):
1) Touch of the upper bollinger band for uptrend or touch of lower bollinger band for downtrend.
2) Look for a subsequent candle that makes both a higher high and a higher close since the upper bollinger touch in 1). When this happends, uptrend is confirmed. The reverse is true for down trend - look for a subsequent candle that makes both a lower low and a lower close since the lower bollinger touch in 1).

Trending stops when one of two things happens:
1) When we touch the lower bollinger band (in case of uptrend), or we touch the upper bollinger band (in case of downtrend).
2) When we continue for 20 bars without making a higher high (lower low for downtrend) than any of the preceding candles since we started trending.

The indicator is overlaid on top of the main chart - green for trending up, red for trending down, yellow for no trend.

Note, the upper bollinger and lower bollinger values are available as upper_bb and lower_bb respectively. Alerts can be set using these values if required.
發布通知:
The Trendinator Lite indicator detects whether the crypto price is trending up or down. Once added to the chart, you will be able to tell at a glance, whether a chart is trending up or down or not trending.

The trending rules were first introduced by the trader Scott Phillips.

According to the trending rules, trending is a two stage process (bollinger bands are 20 bar, 2 std):
1) Touch of the upper bollinger band for uptrend or touch of lower bollinger band for downtrend.
2) Look for a subsequent candle that makes both a higher high and a higher close since the upper bollinger touch in 1). When this happends, uptrend is confirmed. The reverse is true for down trend - look for a subsequent candle that makes both a lower low and a lower close since the lower bollinger touch in 1).

Trending stops when one of two things happens:
1) When we touch the lower bollinger band (in case of uptrend), or we touch the upper bollinger band (in case of downtrend).
2) When we continue for 20 bars without making a higher high (lower low for downtrend) than any of the preceding candles since we started trending.

The indicator is overlaid on top of the main chart - green for trending up, red for trending down, yellow for no trend.

Note, the upper bollinger and lower bollinger values are available as upper_bb and lower_bb respectively. Alerts can be set using these values if required.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?