Gamestudio Links
Zorro Links
Newest Posts
bar time, right side open or close?
by qin. 01/02/26 02:15
long time to load data
by qin. 12/31/25 09:57
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (qin, SBGuy, PeroPero), 3,251 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Where do I find .csv file from test? Plot asset equity curve? #433682
12/04/13 12:45
12/04/13 12:45
Joined: Jul 2013
Posts: 110
B
bfleming Offline OP
Member
bfleming  Offline OP
Member
B

Joined: Jul 2013
Posts: 110
I have LOGFILE set, but can't find the testtrades.csv file. Do I need to add something to the script?

Also, I'd like to plot the equity curve of a single asset in a multi-asset strategy with this code from the manual:

Code:
char name[40];
strcpy(name,AssetName);
strcat(name,":");
strcat(name,Algo);
var equity = EquityShort+EquityLong;
if(equity != 0) plot(name,equity,NEW|AVG,BLUE);



Could someone show me how it would look with EURUSD. I'm not sure what to place where "name","AssetName" and "Algo" are and in what form.

Many thanks!

Re: Where do I find .csv file from test? Plot asset equity curve? [Re: bfleming] #433691
12/04/13 14:23
12/04/13 14:23
Joined: Jul 2000
Posts: 28,044
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,044
Frankfurt
All files are in the .log folder. If UAC is activated on your system, make sure to look in the right folder.

There is no "AssetName", it's "Asset". All string variables are listed in your manual unter "System variables".

Re: Where do I find .csv file from test? Plot asset equity curve? [Re: jcl] #433693
12/04/13 14:28
12/04/13 14:28
Joined: Jul 2013
Posts: 110
B
bfleming Offline OP
Member
bfleming  Offline OP
Member
B

Joined: Jul 2013
Posts: 110
Got it. Had to reboot after turning off UAC. BTW, when I open the .csv in Excel it doesn't separate the items into columns. I've never had that problem with other .csv files. Any ideas?

The code was copied directly from the manual in the Tips & Tricks section, so you may want to correct "AssetName" to "Asset".

Have already looked at the Systems variables, I'm just confused by what goes where "name" is in the code, or does that stay there as it is?

Re: Where do I find .csv file from test? Plot asset equity curve? [Re: bfleming] #433714
12/05/13 07:47
12/05/13 07:47
Joined: Jul 2000
Posts: 28,044
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,044
Frankfurt
How do you write numbers in your country - with decimal point, or decimal comma? Your Excel will most likely follow the same convention and you must also store your CSV files in this way.

You can define variables in the code, such as the "name" string above. "AssetName" was also a string variable defined in the code with which that snippet was tested, but it makes indeed no sense without that context.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1