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 -
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?