Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, dBc), 18,430 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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