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
- 	
				 3:35 3:35Gamazda12 hours ago $5.23 earnedThe Darkest Piano Theme?22.2K38
- 	
				 13:42 13:42Nate The Lawyer20 hours ago $4.11 earnedINSANE Judge REMOVED For Lying Under Oath, Insurance Fraud & Stolen Valor18.9K15
- 	
				 38:32 38:32Code Blue Cam1 day agoHow Police Stopped a Potential Church Massacre...50.3K12
- 	
				 24:26 24:26Actual Justice Warrior1 day agoWelfare Queens RAGE OUT Over Food Stamp Cuts21K63
- 	
				 3:05:11 3:05:11Inverted World Live12 hours agoThe Halloween Special with Drea De Matteo and Sam Tripoli | Ep. 133369K16
- 	
				 2:57:52 2:57:52Laura Loomer15 hours agoEP154: Naturalized US Navy Medic From GAZA Exposed For Ties To Hamas53K32
- 	
				 35:45 35:45Stephen Gardner17 hours ago🔴BREAKING: Election Auditor EXPOSES Democrat Election Fraud Evidence!60.4K79
- 	
				 15:48 15:48Sponsored By Jesus Podcast22 hours agoHow to Stop Being JEALOUS | When Comparison Steals Your Joy26.6K13