
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, I've found 2 method to write a data to csv. The first one is to do it like this,
The other method is like this,
I want to write a trade result for when I backtest a strategy or when the EA runs in live trading. I already have a code to run for backtesting and trying to create a new one that can be used for those purpose. I found the second method somewhere in the web and I kind of understand why the function is called in different event handler. Using the second method will make the file always open and be ready to be written but I don't know if there's a problem of doing so. I just want to clarify the second method is valid to use or not.
Thank you