Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (EternallyCurious, Quad, vicknick), 700 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
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