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
0 registered members (), 16,232 guests, and 5 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
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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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