Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, dBc), 18,430 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Alice1a look back #479430
03/28/20 19:46
03/28/20 19:46
Joined: Mar 2020
Posts: 19
London
H
hola123 Offline OP
Newbie
hola123  Offline OP
Newbie
H

Joined: Mar 2020
Posts: 19
London
Hi,

I am looking at the script for Alice1a. When you run a back test the output says Lookback set to 141 bars.

Is this some default setting as in the script there is no lookback mentioned as far as I can see. Are other strategies the same. I am aware you can set the look back period with the LookBack variable. If the look back period is automatically calculated which I assume it is how for example in this script does it calculate 141 bars as the look back?

Looking at this script my guess would have been 100 as the ATR requires the last 100 bars to calculate the stop loss.

Cheers

Re: Alice1a look back [Re: hola123] #479437
03/29/20 10:14
03/29/20 10:14
Joined: Apr 2008
Posts: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
Austria
Yes it calculates the lookback from the used indicators. ATR will need more than 100. Its a cumulative indicator and needs a swing-in period.

Re: Alice1a look back [Re: Petra] #479438
03/29/20 11:22
03/29/20 11:22
Joined: Mar 2020
Posts: 19
London
H
hola123 Offline OP
Newbie
hola123  Offline OP
Newbie
H

Joined: Mar 2020
Posts: 19
London
Thanks for replying. Are you able to explain how the code gets the lookback period as 141 bars? Thanks

Re: Alice1a look back [Re: hola123] #479440
03/29/20 16:01
03/29/20 16:01
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
The default value of UnstablePeriod is 40.
https://zorro-project.com/manual/en/lookback.htm

Re: Alice1a look back [Re: AndrewAMD] #479458
03/31/20 06:20
03/31/20 06:20
Joined: Mar 2020
Posts: 19
London
H
hola123 Offline OP
Newbie
hola123  Offline OP
Newbie
H

Joined: Mar 2020
Posts: 19
London
Thanks Andrew I would never have found that


Moderated by  Petra 

Gamestudio download | 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