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
3 years agoQuick-tip 58 | Drawing object tactics
25 -
1:00
Woodworkingtools
3 years agoCutting angles greater than saw's capacity
1241 -
LIVE
2 MIKES LIVE
1 hour ago2 MIKES LIVE #147 Breaking News!
106 watching -
LIVE
VOPUSARADIO
2 days agoThe Dan Smeriglio Show: Special Guest- Veteran, Rapper & TPUSA Ambassador TOPHER!
34 watching -
49:23
Exploring With Nug
9 hours agoWoman Disappears From L.A. and How Her Father Is Found Dead!
6.14K1 -
51:57
Professor Nez
4 hours ago🚨LAWFARE COLLAPSES? What NOBODY is Saying About Jack Smith Dismissing Trump Case
30.4K54 -
LIVE
GussyWussie
8 hours agoReturning to one of the Best Zelda Games - Breath of the Wild
380 watching -
2:33:50
Wahzdee
4 hours agoMorning Grind: Arena Breakout vs Tarkov Showdown 🎮 - Wahzvember Day 25
47.2K2 -
0:41
World Nomac
19 hours agoThe side of Las Vegas they don't want you to know about
33.1K4 -
2:00:11
Film Threat
9 hours agoVERSUS: WICKED VS GLADIATOR II | Film Threat Versus
26.3K