Premium Only Content
Tutorial 194 | Drawing vertical lines to left and right of a clicked bar
A Gold Pass Member asked how he would go about drawing vertical lines, 26 bars left and 26 bars right from a bar chosen by a mouse click.
Such an analysis technique needs three elements:
1) To be able to detect when a bar is clicked on the chart
2) To clear vertical lines drawn when a previous bar was clicked
3) To create and draw vertical line drawing objects
In this tutorial, rather than hard-coding the number of bars before and after the bar clicked, the number is determined by a user input (Gap) as are the weight and thickness of the vertical lines.
The colors of the lines are hard-coded but could easily be changed (see the tutorial video).
Technical lessons include:
Using the ChartingHost class to determine when a bar is clicked
Creating BNPoints for the bars where we draw Vertical lines
Clearing and adding VerticalLines to the chart
Modifying the weight and style of the vertical lines
-
36:22
Brad Owen Poker
8 hours agoGIGANTIC $17,000+ Pot In BOBBY’S ROOM! TRAPPING Top Pro w/FULL HOUSE!! Big Win! Poker Vlog Ep 326
44.2K1 -
3:53
NAG Daily
1 day agoRUMBLE RUNDOWN: DREAM HACK SPECIAL W/Greenman Reports
40K7 -
1:28
Damon Imani
2 days agoThey Laughed at Trump’s Cognitive Test — Damon Made Them REGRET It!
44.7K29 -
9:14
Freedom Frontline
1 day agoAdam Schiff PANICS As Eric Schmitt Exposes His Dirty Lies LIVE
29.6K61 -
10:32
GBGunsRumble
1 day agoGBGuns Armory Ep 153 Adler Arms AD-9`
19.5K2 -
35:53
Degenerate Plays
7 hours ago $0.85 earnedRuckus Randy And Repair Ronald (Socks On) - Call of Duty: Modern Warfare 2 (2009) : Part 7
13.1K1 -
38:35
Stephen Gardner
1 day ago🔥What JUST leaked out of Congress. PROVES Trump RIGHT!!
106K144 -
LIVE
Total Horse Channel
20 hours ago2025 IRCHA Derby & Horse Show - November 2nd
46 watching -
1:59:42
Game On!
1 day ago $45.51 earnedNFL Week 9 Wise Guy Roundtable BEST BETS!
149K15 -
2:18:53
Badlands Media
1 day agoDevolution Power Hour Ep. 403: Brennan Exposed & The Intel War w/ Thomas Speciale
474K147