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 7:04Markplex4 years agoQuick-tip 58 | Drawing object tactics26
- 	
				 1:00 1:00Woodworkingtools4 years agoCutting angles greater than saw's capacity1531
- 	
				 LIVE LIVEThe Mel K Show2 hours agoHunters Become the Hunted: A Reckoning Is Finally Coming - 10/31/25879 watching
- 	
				 1:02:41 1:02:41Outspoken with Dr. Naomi Wolf2 hours ago"The Devil His Due"4.93K
- 	
				 1:02:27 1:02:27VINCE4 hours agoA Very Trump Halloween | Episode 159 - 10/31/25139K98
- 	
				 2:07:18 2:07:18Badlands Media12 hours agoBadlands Daily: October 31, 202551.9K16
- 	
				 1:34:28 1:34:28Graham Allen4 hours agoSCARY: Kamala Had MELT DOWN Over Trump!! Does LSU Hate Charlie Kirk?! + Top Halloween Movies Of ALL TIME!!87K48
- 	
				 1:35:13 1:35:13Caleb Hammer3 hours agoShe Blames MAGA For Her Debt | Financial Audit12.2K1
- 	
				 1:10:40 1:10:40The Big Migâ„¢4 hours agoWhat To Give The Man Who Has EVERYTHING!12.9K13
- 	
				 1:32:16 1:32:16Benny Johnson3 hours agoSHOCK: Massive Food Stamp FRAUD Exposed: 59% of Welfare are Obese Illegal Aliens!? Americans RAGE…40.2K107