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
1 registered members (AndrewAMD), 1,089 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
Page 2 of 2 1 2
Re: Handle LookBack exceeded [Re: AndrewAMD] #486026
05/31/22 14:27
05/31/22 14:27
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
Or I can set the Lookback period to a ridiculously large number, then check lookback required, then call quit(+) and set lookback to the small number. (I'm guessing Zorro does some dummy buffer trick anyways.)

Re: Handle LookBack exceeded [Re: AndrewAMD] #486029
05/31/22 16:32
05/31/22 16:32
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, that could work.

Re: Handle LookBack exceeded [Re: AndrewAMD] #486030
06/01/22 11:14
06/01/22 11:14
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
One more question: I see that checkLookBack is used in indicators.c but is not documented. I assume that it sets LookBackNeeded, but does it return anything useful?
Code
C long F(checkLookBack)(long num);

Re: Handle LookBack exceeded [Re: AndrewAMD] #486031
06/01/22 12:02
06/01/22 12:02
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
It returns LookBackNeeded, but you can also access that variable directly.

Page 2 of 2 1 2

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