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.
-
LIVE
I_Came_With_Fire_Podcast
9 hours agoThe Pattern Beneath the World: Nature, The Mark of the Beast, & the Sacred Order
248 watching -
49:56
X22 Report
4 hours agoMr & Mrs X - [DS] Antifa Are Planning An Insurrection,Trump Has Prepared The Counterinsurgency-EP 11
42.5K45 -
1:08:57
Wendy Bell Radio
8 hours agoPet Talk With The Pet Doc
38.5K26 -
8:47
Demons Row
2 days ago $1.45 earnedI Spent $50,000 Building My Dream Harley-Davidson 😳💀 (Learn From My Mistakes)
37.2K9 -
38:18
SouthernbelleReacts
22 hours ago $1.53 earnedThey Thought the Secret Was Buried… But I’m Screaming! | Reaction to I Know What You Did Last Summer
28.7K1 -
29:37
Midwest Crime
1 day ago5 Cops Shot as Minnesota Raid Turns into Chaos
56.8K163 -
31:08
mizery
17 days ago $0.52 earnedI Asked 100 Pros To Help Me Go Pro...
13.8K2 -
7:03:56
FyrBorne
16 hours ago🔴Battlefield 6 Live M&K Gameplay: A Return to Form for This Former Giant
22.2K -
3:40
Danny Rayes
2 days ago $0.81 earnedInfluencers Are Going Broke. What Happened?
9.52K4 -
11:08
It’s the Final Round
19 hours ago $2.91 earned💰NFL Week 6 Best Bets🔥Player Prop Picks, Parlays, Predictions FREE Today October 12th
22.1K5