Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/20/26 18:18
Ranger by Robert Pardo - now for Zorro
by Smallz. 06/20/26 11:23
Z12 live performance
by jcl. 06/19/26 11:21
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Grant), 8,811 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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