Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 3,544 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 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,093
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

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