Gamestudio Links
Zorro Links
Newest Posts
Any Old Timers Still Around?
by pyramide. 08/24/19 18:23
Script filename
by MatPed. 08/24/19 17:18
Oanda FIFO issue?
by AndrewAMD. 08/24/19 12:10
IG plugin initial release
by Dalla. 08/24/19 06:06
Tutorial for Vector Graphics
by Dooley. 08/23/19 22:32
Issue with dataParse function
by byakuren81. 08/23/19 21:57
Multiplayer subscription
by Truth. 08/23/19 20:08
candle pattern on weekly bars
by AndrewAMD. 08/23/19 13:20
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 (pyramide, 3run, AndrewAMD, MatPed, byakuren81, Realspawn, 2 invisible), 644 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Ysbail, trader4321, GorgonzolaBYTE, Southqvist, tawin
18272 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: 742
AndrewAMD Online OP
AndrewAMD  Online OP

Joined: Feb 2017
Posts: 742
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: 26,996
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 26,996
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)

Powered by UBB.threads™ PHP Forum Software 7.7.1