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
25 -
1:00
Woodworkingtools
4 years agoCutting angles greater than saw's capacity
1481 -
16:43
Mrgunsngear
19 hours ago $13.96 earnedKimber 2K11 Pro Review 🇺🇸
65.3K14 -
13:40
Michael Button
1 day ago $4.17 earnedThe Strangest Theory of Human Evolution
56.8K31 -
10:19
Blackstone Griddles
1 day agoMahi-Mahi Fish Tacos on the Blackstone Griddle
39.8K3 -
23:51
Jasmin Laine
1 day ago“Stop Wasting My Time!”—Trump's BRUTAL WARNING To Canada As Poilievre ROASTS CBC LIVE
30.3K30 -
9:54
Millionaire Mentor
1 day agoNBC Host EXPOSES JB Pritzker For Saying This About Trump
20.1K14 -
1:35:39
SB Mowing
2 days agoIt took the WHOLE NEIGHBORHOOD to uncover this yards SHOCKING SECRET
102K66 -
12:52
ROSE UNPLUGGED
1 day agoFrom Vision to Legacy: Charlie Kirk
64.5K22 -
1:14:22
Jeff Ahern
16 hours ago $13.15 earnedThe Sunday Show with Jeff Ahern
88.8K40