Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Trade management functions ( TMF ) [Re: Neb] #482148
01/03/21 17:10
01/03/21 17:10
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
Hi,

One more, for more experienced, because it is not quite clear to me.
How I am entering more than 1 lots if I am using TMF ?
Will it be 2nd parameter in entryLong/Short() and first in TMF() ?

Something like entryLong(myTMF, numLots) ?
And then myTMF(numLots) {}

Or different ?

Thanks,

Neb

Re: Trade management functions ( TMF ) [Re: Neb] #482151
01/03/21 19:45
01/03/21 19:45
Joined: Feb 2017
Posts: 1,731
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,731
Chicago
Simply set the global value Lots before calling enterLong() or enterShort(). Or any of these values:
https://zorro-project.com/manual/en/lots.htm

Page 2 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1