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.
-
25:41
Robbi On The Record
2 days ago $40.65 earnedThe Billion-Dollar Lie Behind OnlyFans “Empowerment” (Her Testimony Will Shock You) | part II
56.9K63 -
1:06:09
Man in America
19 hours agoExposing HAARP's Diabolical Mind Control Tech w/ Leigh Dundas
80K85 -
1:47:16
Tundra Tactical
15 hours ago $114.95 earnedGlock Interview From Beyond The Grave//Whats the Future of Home Training??
65.2K12 -
2:16:35
BlackDiamondGunsandGear
14 hours agoEBT Apocalypse? / Snap Down SHTF / After Hours Armory
33.6K13 -
14:05
Sideserf Cake Studio
1 day ago $19.88 earnedHYPERREALISTIC HAND CAKE GLOW-UP (Old vs. New) 💅
73.8K14 -
28:37
marcushouse
1 day ago $12.96 earnedSpaceX Just Dropped the Biggest Starship Lander Update in Years! 🤯
42.2K19 -
14:54
The Kevin Trudeau Show Limitless
4 days agoThe Hidden Force Running Your Life
129K28 -
2:16:35
DLDAfterDark
14 hours ago $16.79 earnedIs The "SnapPocalypse" A Real Concern? Are You Prepared For SHTF? What Are Some Considerations?
40.7K15 -
19:58
TampaAerialMedia
1 day ago $11.29 earnedKEY LARGO - Florida Keys Part 1 - Snorkeling, Restaurants,
52.4K24 -
1:23
Memology 101
2 days ago $11.42 earnedFar-left ghoul wants conservatives DEAD, warns Dems to get on board or THEY ARE NEXT
41.1K82