Where did you see you can pass a 2D array to FrameAdd() ?
Working with files and Frames doesn't have a problem. You don't need to write to a file from all your agents.
Please search before asking, there several good topic about using Frame on this forum.

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 Guys
See code snippet below, i'm trying to get an array of returns for a tester run in the optimizer. WriteProfitData() is working in a single tester run however the full 2D array is not returned from the frame in the optimizer.
I tried to do this by reading/writing files after each tester run but things get very messy when 16 agents are writing to the common folder at the same time....
Also strangely I can access the value of data[0,0] but everything else is zero.