TR High-Low

1. draw ZigZag line
1-1. detect High-Low value
1-2. High-Low value is saved as a provisional value when it is updated
1-3. checks if the provisional value reaches the specified price difference (Difference) when the specified length (High-Low length) is reached
1-4. if the provisional value reaches the specified price difference (Difference), it is officially saved as a High-Low value
1-5. if the provisional value has not reached the specified price difference (Difference), it checks if the price difference (Difference) is reached
for the specified number of extensions (Extension). If it does, the provisional value is officially saved as a High-Low value.
Even if the price difference is not reached and the number of extensions has been reached, the provisional value is officially saved as the High-Low value.
1-6. draw a ZigZag line connecting the detected High-Low values
2. draw a horizontal line
2-1. draw a horizontal line on the High-Low value detected when drawing the ZigZag line
3. Draw a trend line
3-1. Draws a trend line using the High-Low value detected when drawing a ZigZag line
4. Draw a Fibonacci line
4-1. draws a Fibonacci line based on the first and second from the end of the ZigZag line by default
(2) Fibonacci label position adjustment support
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.