fikira

Educational: lines, linefill, labels & boxes

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!

LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
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?