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
4 years agoCutting angles greater than saw's capacity
1471 -
11:07
Politibrawl
12 days agoRepublican rising star DESTROYS theatrical Democrat in front of the entire world
79.4K30 -
4:42:30
StoneMountain64
5 hours agoOnly game with BETTER desctruction than Battlefield?
53.6K -
4:51:37
Viss
7 hours ago🔴LIVE - Viss & Dr Disrespect Take on The 5 Win Minimum PUBG Challenge!
27.5K2 -
LIVE
sophiesnazz
3 hours ago $0.63 earnedLETS TALK ABOUT BO7 !socials !specs
35 watching -
1:12:05
The Quartering
6 hours agoToday's Breaking News!
87.5K46 -
8:20:24
GritsGG
9 hours agoWin Streaking! Most Wins 3390+ ðŸ§
55.9K2 -
2:20:00
Tucker Carlson
6 hours agoDave Collum: Financial Crisis, Diddy, Energy Weapons, QAnon, and the Deep State’s Digital Evolution
128K117 -
1:06:56
Sean Unpaved
21 hours agoSwitch-Hitting Stories: Chipper on Baseball, Football, & the Game's Future
30.3K1