# Pivot High/Low Analysis & Forecast [LUX]

จำนวนเข้าชม 12695
This indicator returns pivot point high/lows alongside the percentage change between one pivot and the previous one (Δ%) and the distance between the same type of pivots in bars (Δt). The trailing mean for each of these metrics is returned on a dashboard on the chart.

The indicator also returns an estimate of the future time position of the pivot points .

1. Settings

• Length: Window size for the detection of pivot points .
• Show Forecasted Pivots: Display forecast of future pivot points .

1.1 Dashboard

• Dashboard Location: Location of the dashboard on the chart
• Dashboard Size: Size of the dashboard on the chart
• Text/Frame Color: Determines the color of the frame grid as well as the text color

2. Usage

The indicator can provide information helping the user to infer the position of future pivot points . This information is directly used in the indicator to provide such forecasting. Note that each metric is calculated relative to the same type of pivot points .

It is also common for analysts to use pivot points for the construction of various figures, getting the percentage change and distance for each pivot point can allow them to eventually filter out points of non-interest.

2.1 Forecast

We use the trailing mean of the distance between respective pivots to estimate the time position of future pivot points . This can be useful to estimate the location of future tops/bottoms. The time position of the forecasted pivot is given by a vertical dashed line on the chart.

We can see a successful application of this method below:

Above we see the forecasted pivots for BTCUSD15. The forecast of interest being the pivot high. We highlight the forecast position with a blue dotted line for reference.

After some time we obtain a new pivot high with a new forecast. However, we can see that the time location of this new pivot high matches perfectly with the prior forecast.

The position in time for the forecast is given by:

`x1_ph + E[Δt]`
`x1_pl + E[Δt]`

where x1_ph denotes the position in time of the most recent pivot high. x1_pl denotes the position in time of the most recent pivot low and E the average distance between respective pivot points .
สคริปต์โอเพนซอร์ซ

จากใจ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ยินดีด้วย! คุณสามารถใช้มันได้ฟรี แต่การใช้โค๊ดนี้ซ้ำเพื่อการเผยเเพร่ อยู่ภายใต้ กฎของเรา คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้กับชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

## ความคิดเห็น

That's a really great piece of work there. Well constructed. =)
ตอบกลับ
kurtsmock
@kurtsmock, Thanks so much!
ตอบกลับ
Like it...Great Job...
ตอบกลับ
ChrisMoody
@ChrisMoody, Thank you, legend!
ตอบกลับ
thank you , this is very useful
ตอบกลับ
dsaidasi
@dsaidasi, <3
ตอบกลับ
Very impressive, thank you ^^
ตอบกลับ
Pratik_4Clover
ตอบกลับ
a youtube video to break this down more in depth would be awesome
ตอบกลับ
Nice! good job! Thanks!
ตอบกลับ