Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, SBGuy, TipmyPip, ozgur), 923 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
param script #481782
10/30/20 17:55
10/30/20 17:55
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

I have in code this:
Code
    string incName=strf("Strategy\\bt%s.ini",strx(Asset,"/",""));

    printf("\nLOAD ini from: %s",incName);
    
    string setup = file_content(incName);
    
    string c = strtext(setup,"cSystem","WRONG");
    
    strcpy(cSystem,c);
    printf("\nSystem: %s",cSystem);


Script = cSystem;


for the store param and advise work OK.
I run more instance Zorro with this code, different symbols. All LOG files have only name the script, not symbol. frown

How to set my own name LOG file? The same problems is with "scriptname".htm and _pnl.csv

Thank's

Re: param script [Re: Grat] #481809
11/04/20 10:07
11/04/20 10:07
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
may be this is a better - I need change the name LOG files. Script not work.

[Linked Image]

Attached Files chnam.jpg
Last edited by Grat; 11/04/20 10:07.
Re: param script [Re: Grat] #481812
11/04/20 14:17
11/04/20 14:17
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
AFAIK the HTM name cannot be changed, but you can store it in a different directory. When you really need a different name, you can use the tock() function to copy the .htm file to a file with the desired name.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1