Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 5,796 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Concept of LookBack and LoadHistory #453491
07/29/15 05:14
07/29/15 05:14
Joined: Feb 2015
Posts: 11
C
chirpydog Offline OP
Newbie
chirpydog  Offline OP
Newbie
C

Joined: Feb 2015
Posts: 11
hi, i would like to write a simple intraday scalping script that runs every 1 min..

While i am using LookBack=1440 to calculate the day High and Low, can i use history data to calculate further points like previous day high/low, weekly high/low etc..... or i need to set LookBack to cover the time range ?

Many thanks!

Re: Concept of LookBack and LoadHistory [Re: chirpydog] #453517
07/30/15 08:12
07/30/15 08:12
Joined: Jul 2000
Posts: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
Frankfurt
You need to set LookBack to cover the time range. But you can use the PRELOAD flag, so the data is taken from the history and needs not be completely loaded at the begin of a trade session.

Re: Concept of LookBack and LoadHistory [Re: jcl] #453521
07/30/15 13:59
07/30/15 13:59
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
I am suspicious that you have set LookBack to 1440 ... What's your BarPeriod? 1 ? LookBack is expressed in number of Bars, not number of minutes.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1