Tommy_Rich

TR High-Low

Tommy_Rich Uppdaterad   
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
Versionsinformation:
Minus parameter support.

It is now possible to make trend lines gradually thinner.

Versionsinformation:
Adjusted color scheme when Fibonacci is in single mode.
Corrected the gradient of the trend line.

Versionsinformation:
Fibonacci text size and text position support
Versionsinformation:
The color of the trend line corresponding to the selected Fibonacci can now be changed.
Versionsinformation:
(1) Bug Fixes
(2) Fibonacci label position adjustment support

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?