Gamestudio Links
Zorro Links
Newest Posts
Performance report in trade mode
by jcl. 01/18/20 09:25
oldschool fps project
by 3run. 01/14/20 19:15
Question about Clipping
by Dooley. 01/13/20 04:16
Simple backtest for SPX intra weeklies
by interzonez. 01/13/20 03:42
Trojan Agent
by jcl. 01/12/20 08:36
Multiplayer c-script example
by Truth. 01/10/20 19:45
Virtual hedging @OANDA
by jcl. 01/10/20 12:53
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
8 registered members (Dooley, kmerlo, Grat, txesmi, 3run, AndrewAMD, kvm, titanicpiano14), 645 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Leohermoso, matchristrading, pablomfz, tenrally, TradeOperator
18357 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
is(CALLBACK) #477873
08/09/19 00:53
08/09/19 00:53
Joined: Feb 2017
Posts: 827
Chicago
AndrewAMD Online OP
User
AndrewAMD  Online OP
User

Joined: Feb 2017
Posts: 827
Chicago
It would be helpful to be able to distinguish between a function being invoked by run() and not by run(). Zorro does different things intrabar vs. on a per-bar basis. One example is that pool trades occur at the end of run() but instantly at tick().

Suppose a user can call "is(CALLBACK)". This will return true if it is a tick() or callback() or TMF, and false if directly from run().

Re: is(CALLBACK) [Re: AndrewAMD] #477888
08/12/19 06:43
08/12/19 06:43
Joined: Jul 2000
Posts: 27,091
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,091
Frankfurt
I believe there is an internal flag for that, but it is not available with is(). I'll put this on the to-do list.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1