Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, Ayumi), 773 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Read parameter from file #476080
01/25/19 19:32
01/25/19 19:32
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi guys,

Anybody can you help me to read parameter and use it in the script through a file? Is it possible?
Moreover Zorro can read and use parameter without stop and restart platform but read and use parameter during live?

Thanks

Re: Read parameter from file [Re: tradingest] #476083
01/25/19 19:57
01/25/19 19:57
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Check here, under Auxiliary. There are examples on how to read from a file, and also how to check every minute if the file was updated.

https://zorro-project.com/manual/en/tips.htm

Re: Read parameter from file [Re: Dalla] #476086
01/25/19 20:30
01/25/19 20:30
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Woow thanks Dalla,

but for example I can update the stop loss parameter in the file and to be used in Zorro live session?
The strategy start with stop=50pip and through file I update the stop at 30?


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1