TradingView
fikira
19. Okt. 2022 19:36

Educational: lines, linefill, labels & boxes 

Bitcoin / U.S. dollarBitstamp

Beschreibung

This educational script contains different examples regarding lines, linefill, labels & boxes

First part shows the use of array.new<linefill>() without first
retrieving line.new() which then are put in a linefill.new()

At every start of the week a linefill.new() is added with the top line being
previous Weekly high, and the bottom line being previous Weekly low,
if close doesn't go above top line, or below bottom line, both lines will be made longer
with 1 bar_index (line.set_x2), otherwise the lines stop, and change color

Please read the comments in the script as well

Cheers!
Kommentare
loxx
Excellent work per usual.
fikira
@loxx, Thanks mate! 👍🏻
Food_Plus
Thank you for sharing.. I'm looking for a coder because I need help for a script.. is it possible to talk on telegram?
fikira
@Food_Plus, -> [url=Trusted Pine Programmers for Hire]tradingview.com/?solution=43000601677
Food_Plus
@fikira, I didn't understand your answer but now I understand because I didn't know you stopped
fikira
@Food_Plus, My scripts are not the place for such conversations, thank you
golge5835
I want to draw sequential and different colored boxes with pinescript in traidingview. variables are the size of the box and the scale coefficient. The number of boxes can also be included in the variables. or it can be limited to 5-7. anyone help me pls :(

There must be a relationship between these boxes. for example, the 1st box consists of 160 candle bars; others should shrink by a coefficient of 0.5. These boxes should be slidable and portable at the same time. anyone help me pls :(
fikira
iuliann3
Hello,
Is there a way to get the previous high/low using a different timezone ? I tried "asking" ChatGPT but it doesn't work.
I am trying to get the previous day high/low using EST timezone instead the default UTC. Many times they are different.
Thank you.
Shauryam_or
thnx for sharing mate
Mehr