Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
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
1 registered members (dBc), 17,971 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
Finding the highest and lowest of a range #481338
08/29/20 08:52
08/29/20 08:52
Joined: Aug 2020
Posts: 2
L
littlereddot Offline OP
Guest
littlereddot  Offline OP
Guest
L

Joined: Aug 2020
Posts: 2
Hi

How can I use Zorro to find the highest and lowest of X bars in 1hr bar period? And to find out whether the price mostly recently created highest price level or mostly recently created the lowest price level?

Re: Finding the highest and lowest of a range [Re: littlereddot] #481340
08/29/20 11:13
08/29/20 11:13
Joined: May 2020
Posts: 27
Germany
M
Morris Offline
Newbie
Morris  Offline
Newbie
M

Joined: May 2020
Posts: 27
Germany
> How can I use Zorro to find the highest and lowest of X bars in 1hr bar period?

BarPeriod = 60; // 1 hour bars

Then use HH(int X, int Offset) and LL(int X, int Offset) for the highest high and lowest low of X bars, see here: zorro-project.com/manual/en/ta.htm

> find out whether the price mostly recently created highest price level or mostly recently created the lowest price level?

if(priceHigh(0) == HH(X)) { ... } // Compare most recent high end of the bar to highest high. For low accordingly

Re: Finding the highest and lowest of a range [Re: Morris] #481342
08/30/20 00:49
08/30/20 00:49
Joined: Aug 2020
Posts: 2
L
littlereddot Offline OP
Guest
littlereddot  Offline OP
Guest
L

Joined: Aug 2020
Posts: 2
Thank you Morris


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1