twingall

Pivot Points & Midlines with color selector

twingall Zaktualizowano   
Adapted from Pinescript Manual's "Pivot Points Standard". Added extra levels and midlines as well as user inputs for color and a "show labels" on/off switch.
So this will show the Pivot level, the resulting levels R1,R2,R3,S1,S2,S3 and the midpoint lines between these.
User can choose the Higher timeframe period from which to calculate these pivot levels, as per the original script.
I like to add two of these to a chart, one for daily and one for weekly pivot levels.
If you don't need any particular level, just comment out the appropriate lines (one from each of the second last and third last blocks in the script).
Informacje o Wersji:
~added Previous day's high and Previous day's low
~limited the number of historical levels as much as possible (you can tweak these by editing up the numbers in line 8; unfortunately, if you try to make them lower than 26, it throws an error)
Informacje o Wersji:
~allow to show Previous day's highs & lows ONLY
~allow to show Pivot& midlines lines ONLY
(default is show all)
Informacje o Wersji:
-show/hide previous day levels; added user option toggle on/off. Default is not show.
Informacje o Wersji:
-Added option to print price labels
-Cleaned up code
Informacje o Wersji:
-added label position choice (left or right).
-added offset bars for current day's labels (offset +(right) or -(left) of last bar index. Only applies when label position is set to 'right'.

You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?