Premium Only Content
			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:01:12
								Donald Trump Jr.
4 hours agoThe China Matrix with Journalist Lee Smith | TRIGGERED Ep.288
90.9K62 - 	
				
							LIVE
								MattMorseTV
1 hour ago🔴Trump's '60 Minutes' INTERVIEW + MUCH MORE.🔴
1,155 watching - 	
				
							LIVE
								Dr Disrespect
9 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - FULL SEND INTO THE RED
1,314 watching - 	
				
							1:02:08
								BonginoReport
3 hours agoNicki Minaj Speaks Out Against Christian Persecution - Nightly Scroll w/ Hayley Caronia (Ep.169)
23.6K19 - 	
				
							LIVE
								SpartakusLIVE
3 hours agoSNIPING in Battlefield 6 - REDSEC || Monday MOTIVATION to CONQUER the Week
131 watching - 	
				
							LIVE
								Nerdrotic
1 hour agoNerdrotic At Night 531
413 watching - 	
				
							LIVE
								TheCrucible
1 hour agoWATCH PARTY! Coach Greg Adams vs Andrew Wilson: Marriage in the West is Good For Men (11/03/25)
1,415 watching - 	
				
							LIVE
								The Jimmy Dore Show
2 hours agoTrump Threatens to INVADE Nigeria! Kash Patel CRASHES OUT Over Jet Use Criticism!
5,545 watching - 	
				
							LIVE
								Conductor_Jackson
21 hours agoLet's Play Unrailed 2 Solo! 🚂🚂🚂🚂🚂🚂
6 watching - 	
				
							1:25:38
								Kim Iversen
3 hours agoTrump’s Nigeria Threat Isn’t About Christians — It’s About China
76K68