Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 1 invisible), 620 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 1,729
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,729
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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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


Moderated by  Petra 

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