This is a helper indicator for "yats" (Yet Another Trading Strategy).
This is a grouping of several indicators in one to help with a very basic trend following strategy. In order to utilize this indicator, it is best to have your chart set to a Line chart.

How to use:
This is a basic trend strategy in which the trader will enter or reverse their position on the break of the trend.
With the chart set to line and the source set to close, a basic line with peaks and valleys is displayed.
When the line peaks, then retreats, this is a potential setup for a long position. The trader is to wait for a valley (lower point) to be formed and then for the previous peak to be broken.
The timeframe continuity labels in the lower right of the chart help to ensure the position taken is in line with the higher timeframe trend.

Example scenario (long):
Chart is set to 1H timeframe. Timeframe continuity indicator will have labels for 1H, 4H, Day, WK, MN, and QTR. Chart shows a peak at a close price of 5 then the next bar sets a valley at a close price of 4.
Next bar forms and sets a close price of 6. Timeframe continuity labels are green for 1H, 4H, Day, and WK. (At least three higher timeframes should match the direction of the desired trade.)
This is a signal to go long as the previous peak was broken and timeframe continuity is in the direction
of the trade (long). Initial conservative stoploss should be placed at the previous valley (4). A wider stoploss could be placed at the low created when the close was 4. This is made visible by the default red line
when Candle Highs and Lows plots are turned on. Stoploss is then trailed up either by each subsequent higher low, OR with each subsequent dip as price moves higher.
A target can be set, but is not an integral part of this strategy.

Features:
Full Timeframe Continuity:
In the lower right corner of the chart will be indicators for timeframes greater than or equal to the chart timeframe.
Each one will be Red, Green, or White to indicate down, up, or flat. This provides you with the direction of the higher timeframes in real time, before the bar has closed.

Potential Support/Resistance Points:
The indicator plots horizontal rays for the previous Day, Week, and Month for the High, Low, and Close. Day = Orange, Week = White, Month = Purple. High and Low are solid lines while Close is a dashed line.
This provides the trader with potential pivot points based on higher timeframe high, low, and close prices. The horizontal rays will automatically move to the right at the start of the newest day, week, or month.

Candle Highs and Lows:
Since the chart should be set to Line instead of Candles or Bars, this indicator provides plots that follow the Highs (Green) and Lows (Red) of each 'bar' of the chart timeframe. This has been made configurable
so these lines can be turned off or edited in the settings for those who do not want them on the chart or just want them to look different.
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 đồ?