Tutorial 179 | Using AppStorage in the calculation of price change since program first applied
TradeStation EasyLanguage Tutorial 179 uses AppStorage to store the price of a symbol when the tutorial program is first applied (and the date when the program was applied.) According to the TradeStation help files, AppStorage is "A Dictionary of name-value pairs that will be persistent when an analysis technique is re-verified, has its inputs modified, or re-runs for another reason (such as when it is disabled by the user temporarily, and then enabled again)."
This initial value is then used to calculate the change from the most recent close. The value of the date and 'last' price when first applied are retained even when RadarScreen is refreshed (by pressing CTR-R) or when the workspace is saved, closed and later re-opened.
If the user wanted to re-store all the initial values then the program should be deleted from Radarscreen and re-applied.
For more information about AppStorage see: https://markplex.com/free-tutorials/tutorial-119-storing-chart-data-appstorage/
For an explanation of 'Load Additional Data for Accumulative Calculations' and MaxBarsBack in RadarScreen see:
https://markplex.com/free-tutorials/tutorial-25-understanding-smoothed-indicators-load-additional-bars/
The tutorial uses a TokenList to process a comma delimited string. TokenLists make it very easy to refer to individual elements of the comma delimited string.
The tutorial actually demonstrates two programs. In the first the Last keyword is used to refer to the stock price when the program is first applied to RadarScreen. In the second version, Close is used.
-
1:14:10
Talk Nerdy 2 Us
16 hours agoHacks, Leaks & Big Tech Control: Is Your Data Under Siege by Shadow Powers?
15.7K2 -
UPCOMING
I_Came_With_Fire_Podcast
6 hours agoFood Security & the American Beef Industry: AJ Richards on Supply Chain Risks & The SUSTAINSAct
10K1 -
LIVE
Tundra Gaming Live
7 hours agoThe Worlds Worst Horror Streamer Has Heart Attack Playing Phasmophobia
949 watching -
1:38:24
JoBlo Originals
4 hours agoFriday Night Flicks!
36.1K8 -
5:09:20
Nerdrotic
8 hours agoAgatha All Along Geyest Show EVER! Rings of Power Girl POWER! - Friday Night Tights #320 Jonny Law
89.9K23 -
1:18:43
Edge of Wonder
5 hours agoPager Explosions: How Technology Can Be Used Against Us
44K7 -
8:19:47
Akademiks
11 hours agoDiddy Arrest Footage LEAKED! Police Say He's ON S*ICIDE watch after Being Locked up in MDC BROOKLYN
147K71 -
11:44:20
Total Horse Channel
15 hours ago2024 WDAA World Championship Show | Friday | Arena One
48K1 -
4:16
steveinman
6 hours agoAnimals Gone Wild Compilation
39K6 -
2:22:56
WeAreChange
8 hours agoDiddy Will Get EPSTEINED?! The Power Brokers Are LOSING IT
90.1K47