OPEN-SOURCE SCRIPT

Poster Trend Analysis

已更新
This trend analysis indicator is an idea from:

Stocks & Commodities V. 40:03 (8–12): Intraday Patterns Of Price Change by Richard Poster, PhD

We decide an uptrend or downtrend is in play, if there are certain percentage of bars across N bars where the direction is the same. The default settings use what the article says, 66% of adjacent 15 bars must be in the same direction, to be trending. While the article isn't precise about what up or down bars mean, this indicator assumes an up direction if close is greater than the open.

The indicator also allows differing configurations for up and downtrend analysis, though the defaults, as per the article, are the same.
發布通知
No behavioral change.

Refactor: rename variable to be more consistent in source code.
Trend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明