Premium Only Content
			Quick-tip 61 | Change text object when close greater than close of the previous bar
_Quick-tip 61 is a TradeStation EasyLanguage tutorial for TradeStation 10.
The object of Quick-tip 61 is to draw some text on the chart when the close of a bar is greater than the close of the previous bar. When the close is less than or equal to the close of the previous bar no text should be drawn.
When the ‘problem code’ below was used, the text was permanently displayed on the chart, irrespective of whether the closing price was greater than the close of the previous bar or not.
In fact, the ‘problem code’ was redrawing the text every tick where the current close was greater than the close of the previous bar. The print log displays the count of the text objects drawn.
The modified code creates and draws the text object once using a once statement. For every tick following the text string is modified depending on whether close is greater than the close of the previous bar.
- 	
				
							7:04
								Markplex
4 years agoQuick-tip 58 | Drawing object tactics
26 - 	
				
							1:00
								Woodworkingtools
4 years agoCutting angles greater than saw's capacity
1531 - 	
				
							LIVE
								Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
149 watching - 	
				
							5:55:11
								MattMorseTV
12 hours ago $97.40 earned🔴Trump's '60 Minutes' INTERVIEW + MUCH MORE.🔴
161K49 - 	
				
							2:02:36
								Badlands Media
17 hours agoBaseless Conspiracies Ep. 157: Jack the Ripper, the Crash & the Great Disclosure Countdown
38.3K23 - 	
				
							2:06:09
								Inverted World Live
13 hours agoMysterious Crash at Area 51 | Ep. 134
42.3K17 - 	
				
							2:48:59
								TimcastIRL
11 hours agoTrump Endorses Cuomo, Says NO COMMIE MAMDANI, Obama REFUSES To Endorse Mamdani | Timcast IRL
282K229 - 	
				
							5:51:16
								Drew Hernandez
1 day agoGOP CIVIL WAR: TUCKER CARLSON DERANGEMENT SYNDROME AT ALL TIME HIGH
58.3K42 - 	
				
							14:44
								Sponsored By Jesus Podcast
1 day agoYou Can't Serve God & MONEY | Is Money the Root of All Evil?
26.5K25 - 	
				
							2:47:28
								Barry Cunningham
15 hours agoYOU'VE BEEN MISINFORMED! GREED IS ACTUALLY GOOD! ESPECIALLY NOW! (AND MORE NEWS)
105K43