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
2 registered members (TipmyPip, AndrewAMD), 911 guests, and 3 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
myTMF - how to organize #482277
01/23/21 17:57
01/23/21 17:57
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,


how is timing call IF I open order by enterLong(myTMF)?

1. enterLong(myTMS)
2. myTMS ( )
2.1. TradeID during first time is 0
2.2. enter ORDER

second question:
TradeVar[0] ... during first call is 0, I store any value during live TRADE. After close Trade, is still acessible and if I open new trade with myTMS, I can get value from this variable?

Thanks

Re: myTMF - how to organize [Re: Grat] #482282
01/25/21 14:43
01/25/21 14:43
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The ID is 0 when the trade was not yet opened, f.i.with a pending trade. The tradeVars are all 0 on the first TMF run, but keep their last value when the trade was closed.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1