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!
오픈 소스 스크립트
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.