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
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
- We cannot control our emotions,
but we can control our keyboard -
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.