Draw a ZigZag line, a trend line , a High-Low line, and two Fibonacci lines.
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