Discussions
»
Special Interest Groups
»
Tips & Tricks
»
Save / Restore global variables between sessions
Rank: Newbie
Groups: Registered, Registered Users, Unverified Users Joined: 1/17/2006(UTC) Posts: 3
|
At the end of a session I would like to save my global variables to a file so when I start up, (like the next day), I can read them in, and continue where I left off. Is there any way this can be done?
Any help would be appreciated !!
Hank571
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi Hank
The only global variable DLL I work with is Mark Pyle's, and there is no way to automatically repopulate global variables with values from the previous session. However, if the are only a limited number of constants to be recovered, and a fixed group of GV's to be repopulated, then it wouln't be difficult to print out a list of values at the end of each session (via an expert commentary for example), then re-enter those values on starting the next MetaStock session.
Restoring variables with different values for each bar presents a much more difficult situation and I have no practical suggestions for solving it.
Roy
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 1/27/2014(UTC) Posts: 1
|
It looks really interesting, and one that would be
useful in almost all implementations. I'm not inclined to believe that
will be used to support from any other place, but would actually be more
useful to the side where they will be used fairly.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Special Interest Groups
»
Tips & Tricks
»
Save / Restore global variables between sessions
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.