OPEN-SOURCE SCRIPT

Poster Trend Analysis

Cập nhật
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.
Phát hành các Ghi chú
No behavioral change.

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

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để 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 đồ?

Thông báo miễn trừ trách nhiệm