Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Highest close? or highest value in series of x bars? #424928
06/24/13 13:59
06/24/13 13:59
Joined: May 2013
Posts: 245
S
swingtraderkk Offline OP
Member
swingtraderkk  Offline OP
Member
S

Joined: May 2013
Posts: 245
I can't seem to find a highest/lowest function that returns the highest value in a series of x bars.

Clearly HH & LL work for the highest high and lowest low of x bars, but I want to get the highest (and lowest) value of closing prices for the x bars.

Re: Highest close? or highest value in series of x bars? [Re: swingtraderkk] #424936
06/24/13 15:03
06/24/13 15:03
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
Use MaxVal and MinVal with a Close series.

Re: Highest close? or highest value in series of x bars? [Re: jcl] #424947
06/24/13 16:53
06/24/13 16:53
Joined: May 2013
Posts: 245
S
swingtraderkk Offline OP
Member
swingtraderkk  Offline OP
Member
S

Joined: May 2013
Posts: 245
Great thanks jcl,

How do I exclude priceClose[0] and get the Maxval of priceClose[1] to [8].

Sorry, I'm used to metatrader, where you specify the bar you want to lookback from and the number of bars to lookback.

Re: Highest close? or highest value in series of x bars? [Re: swingtraderkk] #424949
06/24/13 17:12
06/24/13 17:12
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
For excluding priceClose(0), add a 1-bar shift (+1). Series are explained here: http://manual.zorro-trader.com/series.htm



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