Premium Only Content
Tutorial 214 | Draw a rectangle between the high and low of the week
Tutorial 214 explains how to draw a rectangle on a chart each week between the highest high and the lowest low of the week. The tutorial is similar to tutorial 212 which drew boxes for the highest high and lowest low of the DAY rather than the week.
The rectangles for completed weeks in the past are drawn at the end of the week from the last bar of the previous week to the first bar of the previous week.
The present week is drawn from the last bar on the chart and is extended as new bars are added to the chart. At the end of the week this rectangle is deleted.
Among the various programming topics covered in the tutorial are how to:
convert dates and time to DateTime format
create DateTime points
find the week number
create a method to draw a rectangle (DrawRectangle)
create a method to change the fill color of a rectangle (ColorRectangle)
The color of the rectangles is based on the highest high and lowest low of the current and previous weeks.
-
30:49
MetatronHistory
16 hours agoThe Truth about Women Warriors Based on Facts, Evidence and Sources
5K3 -
15:17
IsaacButterfield
6 hours ago $0.22 earnedAustralia’s Most Hated Politician
4.62K2 -
4:28
MudandMunitions
12 hours agoSHOT Show 2026 Is Locked In and I’m a Gundie Nominee!
3.27K -
1:19:44
Chad Prather
19 hours agoWhen God Shakes the Room: Bold Faith in a Fearful World
62.4K42 -
LIVE
LFA TV
13 hours agoLIVE & BREAKING NEWS! | FRIDAY 11/21/25
2,773 watching -
58:40
Julie Green Ministries
4 hours agoLIVE WITH JULIE
85.1K136 -
1:01:10
Crypto Power Hour
12 hours ago $2.34 earnedAnimus Bitcoin Technology
29.2K8 -
2:22:18
Game On!
19 hours ago $2.87 earnedAnother FOOTBALL FRIDAY! Weekend Preview And BEST BETS!
24.6K1 -
31:55
ZeeeMedia
20 hours agoHow Gold & Silver Fight Against Digital ID ft. Bill Armour | Daily Pulse Ep 148
23.3K9 -
13:29
Clintonjaws
16 hours ago $17.94 earnedCNN Host Stops Show & Plays Surprise Clip Forcing Democrat To Correct Lie
52.6K26