OrcChieftain

Table: Trendingness of Days and Weeks

I really love the new Pinescript creation --- tables. This one is designed to remind you of DAILY and WEEKLY data when you drop to lower timeframe charts.

Weekly and Daily HIGHS and LOWS are completely objective pieces of information. Good for declaring characteristics of a trading day.

► If any week or day is considered BULLISH, it means the CLOSING price is ABOVE PREVIOUS week's or day's HIGH. The tile will be colored green.
► If any week or day is considered BEARISH, it means the CLOSING price is BELOW PREVIOUS week's or day's LOW. The tile will be colored red.
► When none of the above happens, I do not consider the week or day to be trending. Thereby, the week or day will be colored gray.

There is also a number that represents the strength of the trend. I am not interested in open, instead, the number represents a distance from PREVIOUS HIGH to the CLOSE.

This way, I ditch open and only consider how much the price moved after the breakout. An increasing momentum between the weeks or days signifies a strength. An opposite means weakness.

Obviously, the distance is always a positive number. If an instrument moves to the downside, you know that from the color of the tile.

Lastly, there are two different DAILY EXPONENTIAL MOVING AVERAGES. It is 200 and 20. My table reports back to you last time the price was above the moving average or below it. A period of 200 is often watched by long-term investors, whereas 20 seems to be frequently favored among short-term traders.

Have a good day!


Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

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