Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (TedMar, AndrewAMD, alibaba, 7th_zorro, 1 invisible), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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