Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 622 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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,699
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,699
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