Forum

EA to write boolean values to a file (txt or bin) and retrieve values from file

Need help in writing a code to write 8 boolean values to a text file every new bar after my conditions for buy/sell have been processed. If EA is turned off and restarted it would initialize the boolean values from the same file. I did something like below (my functions to obtain and write values

Strategy Tester

I performed an update today and since then have lost the selections for Optimization and Forward in the Strategy tester . Are there settings in the client terminal that got changed? Can optimization be done on the cloud? kanash

Error initializing object / Error initializing indicators

Why am I getting these errors and what can I do to correct the errors: GH 0 History 08:53:45 EURUSD,Weekly: history begins from 2007.12.30 00:00 FS 0 History 08:53:46 EURUSD: contains 343091 M1 records of beginning data from 2008.01.02 09:01 to 2008.12.31 20:00 ES 0 History 08:53:46 EURUSD,M1