Binary Storage Corrupted
I have been having problems with Saving and Loading candle data from local Binary storage. When I save a set of s# candles to local storage, then immediately reload that data into another list of candles - if I compare the two lists I see several short sequences of candles where the data is not the same and has been corrupted.
I have attached a small winforms program that demonstrates this issue. In this program there are 5 buttons which to the following actions:
Delete Existing S# binary Storage
Read a JSON file containing historical 5 minute candle data and and convert to S# Candles
Save the S# candles to local Binary storage
Load the local Binary storage to a second list of s# candles.
Iterate over the two lists and print out any differences.
This has been causing me a great deal of problems with analyzing historical data since the data I am loaded has nonsense values and causes indicators to give wildly inaccurate values!
Please can you check the attached application and see if I am doiny anything wrong, or if there is indeed a problem with binary storage..