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 -
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?